00:03:58 <b_jonas> zzo38: I assume you'd start with two things: handling ordinary damaging moves that don't have special attributes but you have to do the to-hit randomness and the damage calculation and subtract the HP; and some way to get lots of example pokémon with stas and move lists, probably by importing the parties of every enemy trainer in one of the early games
00:04:19 -!- Sgeo has joined.
00:04:28 <b_jonas> no wait, before that, you start by checking what other people have done. let me find the link.
00:11:43 <zzo38> I would think that the data structures and data files would have to be set up first.
00:11:55 <zzo38> But I am not even sure how that should be done, either.
00:21:34 <zzo38> I did partially write the "pokemon.h" file, although that might be changed in future.
01:08:01 <b_jonas> found it. https://www.youtube.com/@pimanrules/videos is the person who simulated lots of pokemon battles. he didn't reimplement everything, but ran the relevant game in an emulator, but still had to understand a lot of parts of the game to be able to write the necessary interfaces for that, largely because they wanted both trainers to be controlled by the enemy AI, and the games don't normally support
01:08:07 <b_jonas> that. I think that's not quite what you want, you want a reimplementation, but there's probably still a lot of relevant information there.
01:08:55 <b_jonas> also they extracted the parties of all trainers in red/blue and I think like two more games
01:13:49 <b_jonas> which pokemon game do you mostly want to base this on?
01:14:42 <b_jonas> (hopefully you didn't mean the TCG because then everything I said would be irrelevant)
01:25:53 <zzo38> I don't mean the TCG. I would intend that it would eventually be able to implement all generations, although not necessarily all implemented in the first version
01:33:39 <zzo38> This is what I wrote so far: http://zzo38computer.org/fossil/pokemontext.ui/raw/4955470380beede4d27d7d9e72876ebcf1b58f4d It is only a part of the C API definition, and it may be changed in future. It is not an implementation, so far. (Some of them might be made only a minimal implementation at first. However, loading the data and implementing it in a way that can be easily extensible later, is something important)
01:37:30 <fizzie> Kind of a random thing, but I guess I might as well ask for ideas.
01:37:33 <zzo38> (Using some existing code/data may be acceptable, especially if it is public domain and is written in C)
01:37:39 <fizzie> I have this situation where there's a daemon, and it has a multiplexed connection thing to a remote system; it's actually an SSH connection, with regular OpenSSH daemon on the other end, while the client side is Go's standard SSH library.
01:37:48 <fizzie> I'd like to have the daemon run an rsync operation tunneled over this connection, by starting an instance of rsync locally, starting another as --daemon on the remote side, and then passing data between the two over the existing multiplexed SSH connection.
01:37:56 <fizzie> Unfortunately, as far as I can tell, rsync just has two ways it can connect to a remote system: either over a TCP connection (where it expects the daemon as the remote end), or using a remote-shell program (traditionally rsh, usually ssh, sometimes a wrapper of some kind). In the latter case, it'll make its own pipes and then spawn a shell to run the remote-shell command line. In my case, I'd
01:37:58 <fizzie> rather just hand it a pair of file descriptors that are pipes my daemon will read/write.
01:38:12 <fizzie> I can think of a couple of workarounds how to give it a command line that would connect to the daemon (cat with some named pipes, nc/socat to a Unix domain socket), but nothing that would avoid requiring an extra copy, with all data passing from local rsync to its spawned program via a pipe rsync makes, then from that command to the daemon using some mechanism. I'd like that just be a single
01:38:14 <fizzie> thing rsync would use to talk to the daemon.
01:38:21 <fizzie> (I vaguely recall last time I tried this, I verified that even if I pass some extra file descriptors to rsync when starting it, it does not cause those to be inherited by the shell that runs the remote-shell command.)
01:38:31 <fizzie> (There's one potential solution where I have the remote-shell command be a program that connects to the daemon over a Unix domain socket and passes references to its own stdin and stdout over the socket so that the daemon can start reading/writing them instead, but that feels a little too overengineered.)
01:38:38 <fizzie> Am I missing some simple method by which I could hand my own pipes to rsync and tell it "here, these are connected to a rsync daemon"?
01:38:45 <fizzie> (Having rsync use TCP would also avoid the extra copy, but then my daemon would have to listen on a TCP port and worry about unexpected connections and whatnot.)
01:41:57 -!- Lord_of_Life has quit (Ping timeout: 272 seconds).
01:43:02 -!- Lord_of_Life has joined.
01:59:05 -!- Koen_ has quit (Quit: Leaving...).
03:13:12 <esolangs> [[Special:Log/newusers]] create * Presi1234 * New user account
03:18:22 <esolangs> [[Esolang:Introduce yourself]] https://esolangs.org/w/index.php?diff=123015&oldid=122990 * Presi1234 * (+141)
03:20:10 <esolangs> [[User:Presi1234]] N https://esolangs.org/w/index.php?oldid=123016 * Presi1234 * (+31) Created page with "Hi, Im in Vietnam :1 [[JSF*ck]]"
04:50:41 -!- FreeFull has quit (Ping timeout: 272 seconds).
04:51:57 -!- FreeFull has joined.
05:09:56 <esolangs> [[Talk:Ascenic]] https://esolangs.org/w/index.php?diff=123017&oldid=122967 * Ais523 * (+1540) I think this is TC but it isn't completely obvious, the usual methods of proving this sort of language TC don't work because its stack manipulation primitives are limited
05:17:59 <esolangs> [[Talk:Ascenic]] M https://esolangs.org/w/index.php?diff=123018&oldid=123017 * Ais523 * (+3) fix typo
06:23:51 <esolangs> [[Spiral Rise]] M https://esolangs.org/w/index.php?diff=123019&oldid=120577 * Ais523 * (+0) /* 5-symbol tag system */ fix typo
07:53:46 -!- tromp has joined.
08:00:19 -!- Koen_ has joined.
08:16:58 -!- Sgeo has quit (Read error: Connection reset by peer).
08:31:17 <b_jonas> fizzie: I just tested, and in fact rsync does pass an extra file descriptor to the program that it uses to connect
08:31:26 <HackEso> bash: line 0: type: rsync: not found
08:31:40 <b_jonas> fizzie: the command to reproduce is: (set -e; rm fakeaux; echo $'#!/bin/sh\necho hello >&8' > fakesh; chmod a+x fakesh; rsync --rsh ~+/fakesh imaginary::imaginary 8>fakeaux ||:; cat fakeaux)
08:32:09 <b_jonas> fizzie: the rsync will fail here, but it does execute fakesh with the extra file descriptor found, and fakesh writes "hello" into that file descriptor
08:37:25 <b_jonas> of course a drastic option would be to compile a modified custom rsync
08:49:28 <esolangs> [[User talk:Presi1234]] N https://esolangs.org/w/index.php?oldid=123020 * Presi1234 * (+31) Created page with "Hi, I im Vietnam :1<br> [[Len]]"
09:14:56 <fizzie> Huh, I must've not tested that after all. Though I guess it only helps for passing in the pipes without giving them names; the `fakesh` equivalent would still need to copy between the rsync pipes and the extra ones.
09:16:51 -!- tromp has quit (Quit: My iMac has gone to sleep. ZZZzzz…).
09:24:19 -!- joes has joined.
09:28:53 -!- joes has quit (Ping timeout: 268 seconds).
09:30:45 -!- joes has joined.
09:32:34 <esolangs> [[Wagon]] M https://esolangs.org/w/index.php?diff=123021&oldid=66661 * Chris Pressey * (+67) Update links; GitHub is no longer a recommended host for Cat's Eye Technologies things
09:33:00 <esolangs> [[Wagon]] M https://esolangs.org/w/index.php?diff=123022&oldid=123021 * Chris Pressey * (+0) /* External links */ cApitalization
09:35:04 -!- joes has quit (Ping timeout: 246 seconds).
09:37:03 <b_jonas> fizzie: I believe you can pass arguments to your connectin program in the --rsh option of rsync, you can pass in the file decriptor numbers or other small configuration info there
09:39:25 <b_jonas> plus you can use the "hostname" and "username" that rsync will pass to your connecting program for passing other data as well
09:44:35 -!- __monty__ has joined.
10:20:03 -!- tromp has joined.
10:41:04 <esolangs> [[ExtendedFuck]] N https://esolangs.org/w/index.php?oldid=123023 * TeslaX93 * (+1385) Created page with "{{lowercase}} '''ExtendedFuck''' (shorthand '''bf4h''') is a [[brainfuck]] derivative by [[User:TeslaX93]] designed in February 2024. It adds some useful commands to Brainfuck. == Instructions == Current instruction set {| class="wikitable" |- ! Instruction !! D
10:41:32 <esolangs> [[User:TeslaX93]] https://esolangs.org/w/index.php?diff=123024&oldid=58276 * TeslaX93 * (+18)
10:56:55 -!- Koen_ has quit (Remote host closed the connection).
11:01:27 <esolangs> [[Sloopy]] N https://esolangs.org/w/index.php?oldid=123025 * Chris Pressey * (+2434) Created page with "'''Sloopy''' is a pedestrian C-like Turing-complete language intended to be used in proofs of Turing-completeness. There are four global variables in every Sloopy program: * <code>done</code>, a boolean, initially false * <code>state</code>, an unbounded integer,
11:02:32 <esolangs> [[Sloopy]] M https://esolangs.org/w/index.php?diff=123026&oldid=123025 * Chris Pressey * (+66) /* Computational class */ formatting
11:27:24 -!- Koen_ has joined.
11:29:01 <esolangs> [[Sloopy]] M https://esolangs.org/w/index.php?diff=123027&oldid=123026 * Chris Pressey * (+205) Link to reference for the 2nd claim in this paragraph
11:41:48 <esolangs> [[Sloopy]] https://esolangs.org/w/index.php?diff=123028&oldid=123027 * Chris Pressey * (+815) Rough description of "Tape-only Sloopy".
11:42:52 <esolangs> [[Sloopy]] https://esolangs.org/w/index.php?diff=123029&oldid=123028 * Chris Pressey * (-12) Fix that
12:01:19 <esolangs> [[InternationalFuck]] N https://esolangs.org/w/index.php?oldid=123030 * TeslaX93 * (+1247) Created page with "PitbullFuck is yet another [[TrivialBrainfuckSubstitution]] language. Instructions are based on the song ''International Love'' by '''Pitbull'''. === Lyrics (chorus) === You put it down like New York City, I never sleep Wild like Los Angeles, my fantasy Hott
12:01:26 <esolangs> [[Sloopy]] https://esolangs.org/w/index.php?diff=123031&oldid=123029 * Chris Pressey * (+651) More discussing the transformation from Tape-only Sloopy to Sloopy proper
12:01:34 <esolangs> [[InternationalFuck]] https://esolangs.org/w/index.php?diff=123032&oldid=123030 * TeslaX93 * (+5)
12:06:07 <esolangs> [[Sloopy]] M https://esolangs.org/w/index.php?diff=123033&oldid=123031 * Chris Pressey * (+290) A clarifying note
12:07:10 <esolangs> [[InternationalFuck]] https://esolangs.org/w/index.php?diff=123034&oldid=123032 * TeslaX93 * (+2373)
12:07:22 <esolangs> [[InternationalFuck]] https://esolangs.org/w/index.php?diff=123035&oldid=123034 * TeslaX93 * (+6)
12:07:42 <esolangs> [[User:TeslaX93]] https://esolangs.org/w/index.php?diff=123036&oldid=123024 * TeslaX93 * (+23)
12:13:19 <esolangs> [[Sloopy]] https://esolangs.org/w/index.php?diff=123037&oldid=123033 * Chris Pressey * (+548)
12:26:43 <esolangs> [[Sloopy]] https://esolangs.org/w/index.php?diff=123038&oldid=123037 * Chris Pressey * (+320) Describe what is messed up here. Note to self: fix this later.
12:45:47 -!- wib_jonas has joined.
12:46:09 <esolangs> [[User:Shamrocky]] https://esolangs.org/w/index.php?diff=123039&oldid=123007 * Shamrocky * (+3) /* About Me */
12:46:47 <esolangs> [[User:Shamrocky]] https://esolangs.org/w/index.php?diff=123040&oldid=123039 * Shamrocky * (+33) /* Baiken */
12:54:36 <esolangs> [[User:Shamrocky]] https://esolangs.org/w/index.php?diff=123041&oldid=123040 * Shamrocky * (+522)
12:55:31 <esolangs> [[User:Shamrocky]] https://esolangs.org/w/index.php?diff=123042&oldid=123041 * Shamrocky * (+6)
12:56:07 <esolangs> [[User:Shamrocky]] https://esolangs.org/w/index.php?diff=123043&oldid=123042 * Shamrocky * (+6)
12:57:21 <esolangs> [[User:Shamrocky]] https://esolangs.org/w/index.php?diff=123044&oldid=123043 * Shamrocky * (-29) /* Favorite Entries */
12:59:34 <esolangs> [[Data]] N https://esolangs.org/w/index.php?oldid=123045 * Yourusername * (+552) Created page with "Data is a programming language i made that uses only json-like data and dot notation to make logic == The Two Things == === Data === a = {val: "hi", op: "hello", other: "idk", these: "names don't matter until you use dot notation"} true = { val: "true" op: false a
13:02:05 <esolangs> [[User:Shamrocky]] https://esolangs.org/w/index.php?diff=123046&oldid=123044 * Shamrocky * (+85)
13:56:34 <esolangs> [[User talk:Shamrocky]] https://esolangs.org/w/index.php?diff=123047&oldid=123011 * Shamrocky * (+24)
13:57:01 <esolangs> [[User talk:Shamrocky]] https://esolangs.org/w/index.php?diff=123048&oldid=123047 * Shamrocky * (-5696) Replaced content with "=Inbox="
13:57:15 <esolangs> [[User:Shamrocky]] https://esolangs.org/w/index.php?diff=123049&oldid=123046 * Shamrocky * (+5597) /* Ramblings of a Madwoman */
14:45:11 <esolangs> [[Sloopy]] https://esolangs.org/w/index.php?diff=123050&oldid=123038 * Chris Pressey * (-818) Fix the translation (mainly delete the uneeded translation in the wrong direction)
14:46:08 <esolangs> [[Sloopy]] M https://esolangs.org/w/index.php?diff=123051&oldid=123050 * Chris Pressey * (+0) catipalizatioN
15:11:17 -!- chiselfuse has quit (Ping timeout: 255 seconds).
15:11:48 <esolangs> [[Tuvars]] https://esolangs.org/w/index.php?diff=123052&oldid=100268 * Kaveh Yousefi * (+170) Added a hyperlink to my implementation of the Tuvars programming language on GitHub and designated the reference implementation as a dead link.
15:12:08 -!- chiselfuse has joined.
15:22:57 <esolangs> [[Sloopy]] https://esolangs.org/w/index.php?diff=123053&oldid=123051 * Chris Pressey * (+701) Add EBNF grammar.
15:25:36 <esolangs> [[Sloopy]] https://esolangs.org/w/index.php?diff=123054&oldid=123053 * Chris Pressey * (+351) Add grammar changes for Tape-only Sloopy.
15:38:17 -!- tromp has quit (Quit: My iMac has gone to sleep. ZZZzzz…).
15:56:39 <esolangs> [[Sloopy]] https://esolangs.org/w/index.php?diff=123055&oldid=123054 * Chris Pressey * (+477) A few words on the semantics
15:56:59 <esolangs> [[Sloopy]] M https://esolangs.org/w/index.php?diff=123056&oldid=123055 * Chris Pressey * (-2) /* Semantics */ formatting
15:57:51 <esolangs> [[Sloopy]] M https://esolangs.org/w/index.php?diff=123057&oldid=123056 * Chris Pressey * (+14) Add section to make the ToC show up in a nicer place
15:59:34 -!- tromp has joined.
16:10:50 -!- wib_jonas has quit (Quit: Client closed).
16:21:34 <esolangs> [[MIX (Knuth)]] https://esolangs.org/w/index.php?diff=123058&oldid=110299 * B jonas * (+100) /* Extensions */ references for the extensions
16:37:33 <esolangs> [[Config+]] N https://esolangs.org/w/index.php?oldid=123059 * Jaio * (+6552) Create page for Config+
16:40:25 <esolangs> [[Language list]] M https://esolangs.org/w/index.php?diff=123060&oldid=123013 * Jaio * (+14) add Config+ to Language list
16:43:23 <esolangs> [[Config+]] M https://esolangs.org/w/index.php?diff=123061&oldid=123059 * Jaio * (+1) typo :)
17:23:58 -!- Hooloovoo has quit (Ping timeout: 256 seconds).
17:26:28 -!- Hooloovoo has joined.
17:51:15 -!- Koen_ has quit (Remote host closed the connection).
17:51:29 <esolangs> [[Data]] https://esolangs.org/w/index.php?diff=123062&oldid=123045 * Yourusername * (+72) /* Data */
17:52:21 -!- tromp has quit (Quit: My iMac has gone to sleep. ZZZzzz…).
17:58:22 <esolangs> [[Unpseudorandom]] https://esolangs.org/w/index.php?diff=123063&oldid=122961 * LEOMOK * (+40) the computational class is added
18:10:20 <esolangs> [[2dLang]] N https://esolangs.org/w/index.php?oldid=123064 * Yourusername * (+573) ~~~~
18:13:41 <esolangs> [[User:Shamrocky]] https://esolangs.org/w/index.php?diff=123065&oldid=123049 * Shamrocky * (+476)
18:22:54 -!- tromp has joined.
18:36:17 <esolangs> [[User:Shamrocky]] https://esolangs.org/w/index.php?diff=123066&oldid=123065 * Shamrocky * (+466) /* Resident Evil */
18:36:45 <esolangs> [[User:Shamrocky]] https://esolangs.org/w/index.php?diff=123067&oldid=123066 * Shamrocky * (+1)
18:41:09 <esolangs> [[FUNC]] N https://esolangs.org/w/index.php?oldid=123068 * Yourusername * (+314) ~~~~
18:55:37 <esolangs> [[User:Shamrocky]] https://esolangs.org/w/index.php?diff=123069&oldid=123067 * Shamrocky * (+6)
18:59:03 <esolangs> [[User:Shamrocky]] https://esolangs.org/w/index.php?diff=123070&oldid=123069 * Shamrocky * (+178)
19:09:09 -!- tromp has quit (Read error: Connection reset by peer).
19:54:28 -!- __monty__ has quit (Quit: leaving).
21:25:34 <esolangs> [[OlleH]] M https://esolangs.org/w/index.php?diff=123071&oldid=115591 * PythonshellDebugwindow * (+52) Categories
22:39:55 <esolangs> [[User talk:Ais523]] https://esolangs.org/w/index.php?diff=123072&oldid=117878 * BoundedBeans * (+503) Detailed how I got the C-INTERCAL source to compile
23:15:04 <esolangs> [[User talk:Ais523]] https://esolangs.org/w/index.php?diff=123073&oldid=123072 * BoundedBeans * (+436) Confirmed compile method working on WSL
23:32:59 <esolangs> [[Keywords]] N https://esolangs.org/w/index.php?oldid=123074 * BestCoder * (+477) ~~~~
23:33:52 <esolangs> [[Keywords]] https://esolangs.org/w/index.php?diff=123075&oldid=123074 * BestCoder * (+32) /* Wait... */
23:34:21 -!- Sgeo has joined.
23:34:39 <esolangs> [[Keywords]] https://esolangs.org/w/index.php?diff=123076&oldid=123075 * BestCoder * (+45) /* Wait... */
23:36:31 <esolangs> [[Keywords]] https://esolangs.org/w/index.php?diff=123077&oldid=123076 * BestCoder * (+62) /* Funcs */