00:24:31 -!- tromp has joined. 00:29:08 -!- tromp has quit (Ping timeout: 265 seconds). 01:07:00 [[Parse this sic]] https://esolangs.org/w/index.php?diff=83002&oldid=82562 * Digital Hunter * (+243) /* Computational class */ Updated the underload-to-wdigpcras program to be shorter, and added a wdigpcras-to-underload program 01:33:05 -!- tromp has joined. 01:37:54 -!- tromp has quit (Ping timeout: 252 seconds). 01:53:45 [[FlipJump]] https://esolangs.org/w/index.php?diff=83003&oldid=82920 * Tomhe * (+369) /* The Assembly Language */ - add segment+reserve syntax 02:27:23 -!- tromp has joined. 02:31:41 -!- tromp has quit (Ping timeout: 240 seconds). 02:33:44 -!- sprock has joined. 03:13:24 -!- tromp has joined. 03:15:34 -!- xkapastel has quit (Quit: Connection closed for inactivity). 03:17:26 -!- tromp has quit (Ping timeout: 240 seconds). 03:35:07 -!- oerjan has quit (Quit: Nite). 03:57:40 [[Talk:Clockwise]] N https://esolangs.org/w/index.php?oldid=83004 * Bangyen * (+733) Created page with "==Cat Program== How is the cat program supposed to work? I don't think it's possible to create one in this language because it is impossible to enter a loop and output the sam..." 04:07:54 -!- tromp has joined. 04:11:11 [[User:Bangyen]] https://esolangs.org/w/index.php?diff=83005&oldid=83000 * Bangyen * (-10) /* Implementations */ 04:11:59 [[Bit~]] https://esolangs.org/w/index.php?diff=83006&oldid=76535 * Bangyen * (-4) /* Implementations */ 04:12:06 -!- tromp has quit (Ping timeout: 240 seconds). 04:15:28 [[EXCON]] https://esolangs.org/w/index.php?diff=83007&oldid=76277 * Bangyen * (-61) /* Interpreter */ 04:15:48 [[BF-PDA]] https://esolangs.org/w/index.php?diff=83008&oldid=76306 * Bangyen * (-1) /* External resources */ 04:16:14 [[Suffolk]] https://esolangs.org/w/index.php?diff=83009&oldid=82964 * Bangyen * (-1) /* Implementations */ 04:16:51 [[RAM0]] https://esolangs.org/w/index.php?diff=83010&oldid=76006 * Bangyen * (-1) /* Implementations */ 04:17:16 [[BFStack]] https://esolangs.org/w/index.php?diff=83011&oldid=75996 * Bangyen * (-1) /* Implementations */ 05:01:31 [[Special:Log/newusers]] create * HellishBro * New user account 05:01:59 -!- tromp has joined. 05:06:22 [[Esolang:Introduce yourself]] https://esolangs.org/w/index.php?diff=83012&oldid=82983 * HellishBro * (+215) /* Introductions */ 05:06:59 -!- tromp has quit (Ping timeout: 268 seconds). 05:23:53 Do you think that it can be suitable to check argv[0] to activate/disactivate "portable mode" (not installing files in home directory or otherwise common locations), if there is also some other method for overriding this decision? 05:25:28 -!- Sgeo has quit (Read error: Connection reset by peer). 05:30:07 I forget what the C standard has to say about argv[0] but iirc it isn't a full path, right? 05:31:00 I think it isn't normally a full path, anyways. 05:32:10 on unix it can be anything 05:32:34 execve(2) takes the path of the executable and the whole argv including argv[0] separately 05:33:10 in fact you can exec with argc == 0 and therefore no argv[0] 05:33:21 a great many programs will segfault if you do that 05:33:35 i'm not sure if it's allowed by C or POSIX standards, but you can do it in practice 05:34:22 on Linux you can get the actual exec'd path from /proc/self/exe 05:34:44 although there may be cases where it no longer exists, or never existed in the path namespace of the resulting executable 05:34:52 s/executable/process/ 05:35:21 Yes, but I think argv[0] is usually whatever is typed in; so, if it is in the PATH then usually the path is not typed in. 05:39:17 The actual executable file name is also available in AT_EXECFN 05:39:34 I guess (char *) getauxval(AT_EXECFN) 05:45:47 I have no man page for "getauxval" on my computer 05:46:44 i have it 05:46:54 Are you running Linux? 05:47:07 Instead of using getauxval, you can get the aux values directly from the stack at process startup. 05:47:29 It goes argc, argv, envv, auxv 05:47:34 take a look at busybox 05:47:41 it has a ton of aliases that all call the same program 05:47:55 I guess the alias becomes arg[0] 05:50:27 Yes, other programs do that too (not only busybox). But, it isn't quite what I meant. Rather, what I meant is that if other options do not override it, it check if argv[0] has a slash; if so, then use portable mode; otherwise, look for configuration files in the home directory. I can also add a command-line switch to disable portable mode and a special environment variable to force portable mode with a specific directory. 05:51:03 bash exec lets you specify argv[0] explicitly (via -a) 05:51:12 bash -c 'exec -a foo ls -?' 05:51:15 makes ls think it's named foo 05:51:41 Yes, that can be useful sometimes in case the program cares about argv[0] 05:51:49 but i'm not sure if there's a way to exec with no argv[0] without writing a custom C program 05:53:47 Apparently on Amiga clicking on the program will set argc=0; argv is filled in if you type in the name of the program 05:55:23 interesting 06:48:09 -!- tromp has joined. 06:57:39 -!- Lord_of_Life has quit (Read error: Connection reset by peer). 06:58:08 -!- Lord_of_Life has joined. 07:07:14 -!- imode has quit (Ping timeout: 268 seconds). 08:06:40 -!- hendursa1 has joined. 08:09:57 -!- hendursaga has quit (Ping timeout: 240 seconds). 08:20:38 -!- LKoen has joined. 08:23:28 -!- sprock has quit (Ping timeout: 252 seconds). 09:59:31 argc == 0 is allowed by the C standard, though arguably (no pun intended) it would be "more correct" to set argc == 1 and make argv[0] the empty string if the implementation knows about program names, but the program name just doesn't happen to be available: https://0x0.st/-jdX.txt 09:59:39 (C11 5.1.2.2.1p2) 10:03:25 -!- tromp has quit (Remote host closed the connection). 10:04:43 -!- tromp has joined. 10:11:09 I once got this message from Donald Knuth: 10:11:21 "A few minutes ago I spoke with Ken Thompson. He confirms that he and his colleagues never wanted argc to be 0; and he agrees with me that the authors of C89 should not have allowed that case to be legal. He is pretty sure that Plan 9, in particular, always ensured that argc>=1, by supplying a default environment if necessary." 10:12:55 -!- spruit11 has quit (Ping timeout: 252 seconds). 10:15:00 Appeal to authority. ;) 10:15:10 he messaged you? 10:18:56 -!- spruit11 has joined. 10:19:05 POSIX rationale has a bit about how it originally required >= 1, but since ISO C said 0 is okay, they now only say it "should" be one (but a "should" is a binding requirement for a strictly conforming POSIX application). 10:19:18 > Early proposals required that the value of argc passed to main() be "one or greater". This was driven by the same requirement in drafts of the ISO C standard. In fact, historical implementations have passed a value of zero when no arguments are supplied to the caller of the exec functions. This requirement was removed from the ISO C standard and subsequently removed from this volume of POSIX.1-2017 as 10:19:20 :1:41: error: :1:41: error: parse error on input ‘of’ 10:19:24 well. The wording, in particular the use of the word should, requires a Strictly Conforming POSIX Application to pass at least one argument to the exec function, thus guaranteeing that argc be one or greater when invoked by such an application. In fact, this is good practice, since many existing applications reference argv[0] without first checking the value of argc. 10:19:31 lambdabot: Sorry, that wasn't for you, I forgot. 10:20:20 Is there any implementation that can cause a negative argc, I wonder 10:21:19 ...pass 3 billion arguments to a program... 10:22:59 I would find it amusing if an implementation had a corner case where argc is negative, but it would still take care to ensure that argv[argc] is a null pointer. 10:23:13 (In any case, it wouldn't be a conforming C implementation.) 10:24:49 shachaf: did you ever find a good gui library 10:29:48 int-e: For what context? I think probably not. 10:49:43 -!- xkapastel has joined. 11:51:06 -!- arseniiv has joined. 12:49:33 -!- Lord_of_Life_ has joined. 12:50:46 -!- Lord_of_Life has quit (Ping timeout: 240 seconds). 12:50:58 -!- Lord_of_Life_ has changed nick to Lord_of_Life. 13:08:48 -!- xelxebar has quit (Remote host closed the connection). 13:09:05 -!- xelxebar has joined. 13:13:51 -!- kelly8080 has joined. 13:23:23 -!- fungot has quit (Ping timeout: 260 seconds). 13:24:12 -!- fungot has joined. 13:31:34 -!- ProofTechnique has quit (Ping timeout: 276 seconds). 13:33:15 -!- ProofTechnique has joined. 13:49:43 -!- hakatashi has quit (Remote host closed the connection). 13:50:03 -!- hakatashi has joined. 14:04:12 -!- APic has quit (Ping timeout: 240 seconds). 14:10:41 -!- kelly8080 has quit (Quit: kelly8080). 14:12:45 -!- Sgeo has joined. 14:34:58 -!- tromp has quit (Remote host closed the connection). 15:03:38 -!- metcalf has joined. 15:03:42 -!- APic has joined. 15:08:14 -!- tromp has joined. 15:36:48 -!- LKoen has quit (Remote host closed the connection). 15:38:52 [[Cheese]] M https://esolangs.org/w/index.php?diff=83013&oldid=82988 * Sanscicondos * (+30) /* Alpha 1.3.5 */ 15:39:49 [[Cheese]] M https://esolangs.org/w/index.php?diff=83014&oldid=83013 * Sanscicondos * (+104) /* Alpha 1.3 */ 15:40:32 -!- arseniiv has quit (Ping timeout: 240 seconds). 15:49:21 -!- ArthurStrong has quit (Read error: Connection reset by peer). 15:49:36 -!- ArthurStrong has joined. 15:58:24 -!- LKoen has joined. 16:08:45 -!- tromp has quit (Remote host closed the connection). 16:23:38 -!- metcalf has quit (Quit: metcalf). 16:23:44 [[User talk:Sanscicondos]] https://esolangs.org/w/index.php?diff=83015&oldid=82993 * Sanscicondos * (+288) 16:23:56 -!- metcalf has joined. 16:28:05 [[User:Sanscicondos]] https://esolangs.org/w/index.php?diff=83016&oldid=82992 * Sanscicondos * (+140) 16:28:09 -!- metcalf has quit (Client Quit). 16:28:24 -!- metcalf has joined. 16:35:45 -!- tromp has joined. 16:39:24 -!- xkapastel has quit (Quit: Connection closed for inactivity). 16:39:57 [[Talk:Don't]] N https://esolangs.org/w/index.php?oldid=83017 * Sanscicondos * (+655) hmmmm 16:43:38 -!- metcalf has quit (Quit: metcalf). 16:43:53 -!- metcalf has joined. 16:43:54 -!- arseniiv has joined. 16:48:09 -!- metcalf has quit (Client Quit). 16:48:26 -!- metcalf has joined. 17:04:24 -!- tromp has quit (Remote host closed the connection). 17:18:48 -!- kspalaiologos has joined. 17:23:25 -!- hendursa1 has quit (Quit: hendursa1). 17:25:51 -!- hendursaga has joined. 17:28:02 -!- xkapastel has joined. 17:47:24 -!- LKoen has quit (Remote host closed the connection). 17:49:44 -!- tromp has joined. 18:07:33 -!- tromp has quit (Remote host closed the connection). 18:12:15 -!- tromp has joined. 18:27:14 -!- metcalf has quit (Quit: metcalf). 18:27:36 -!- metcalf has joined. 18:32:57 -!- imode has joined. 18:35:21 [[Special:Log/delete]] delete * Ais523 * deleted "[[File:Cheese one.jpg]]": Copyright violation: "all rights reserved" on original source 18:37:20 [[User talk:Sanscicondos]] https://esolangs.org/w/index.php?diff=83018&oldid=83015 * Ais523 * (+465) looks like the cheese picture was a copyright violation 18:46:24 [[Neat]] N https://esolangs.org/w/index.php?oldid=83019 * HellishBro * (+1395) Neat 18:46:29 -!- tromp has quit (Remote host closed the connection). 18:55:22 [[Language list]] https://esolangs.org/w/index.php?diff=83020&oldid=82941 * HellishBro * (+11) /* N */ 18:55:23 -!- LKoen has joined. 18:56:31 -!- tromp has joined. 19:16:47 -!- oerjan has joined. 19:27:56 [[User:Bangyen]] https://esolangs.org/w/index.php?diff=83021&oldid=83005 * Bangyen * (+134) 19:28:44 What, no Eurovision commentary going on? 19:28:51 I guess the semifinals don't count maybe. 19:29:01 Norway's in this one, I think. 19:29:29 int-e: what do those pulsing rings in Recursed do? 19:30:12 What, no Eurovision commentary going on? => didn’t even know it’s happening 19:30:26 I've lost interest after that woman with a beard 19:30:38 or whatever it was 19:31:47 I think I almost never ever watched it more than a couple minutes for a time, which seems strange in some way 19:33:03 first levels of Recursed seem pretty neato-easy but I believe when I start with progressing the ice palace DLC then it will be hard 19:33:38 arseniiv: yes it starts out very easy 19:34:03 oh and after that beard woman there was a scandal that after nazi revolution in Ukraine in 2014 some people heard in "lasha tumbai" the "Russia goodbye" in Serdyuchka's song not even understanding that Serdyuchka hates nazis 19:34:21 so it's now looking rather about scandals than music I guess 19:35:48 int-e: do you know what those rings do? If you take it and then drop it, it starts pulsing until you return from some other chest, it seems to indicate something but I think I haven’t read about that in a book at the start 19:36:21 arseniiv: throw them and they'll play a message 19:36:53 bbbb,Recursed starts out too slow, definitely 19:37:14 arseniiv: oh you said it's pulsing... if you don't have sound, turn on subtitles in the menu 19:37:17 nakilon: some say it was for a long time about some behind-the-scene shenanigans, though I don’t care either way. At least hopefully some people have fun from all that 19:37:41 int-e: aaah thank you! 19:38:36 I thought about subtitles (I turned them on in minecraft even when I play with earphones on just for fun of it) but for some reason didn’t ended up enabling them 19:40:08 the slow start makes me believe my not-puzzle-gaming friend will get a confidence about her skills though 19:44:46 . o O ( the early Eurovision sequence: ABBACCCABBADDDDABBA… ) 19:44:48 -!- TheLie has joined. 19:44:59 lol 19:48:38 -!- metcalf has quit (Quit: metcalf). 19:48:56 -!- metcalf has joined. 19:53:09 -!- metcalf has quit (Client Quit). 19:53:24 -!- metcalf has joined. 20:06:22 -!- metcalf has quit (Quit: metcalf). 20:20:12 -!- sprock has joined. 20:24:27 [[Eek!]] N https://esolangs.org/w/index.php?oldid=83022 * Zero player rodent * (+2641) Created page with "'''Eek!''' is an [[esoteric programming language]] that only uses the characters "E", "e", and "k". == Commands == {| class="wikitable" |- ! Command !! Outcome |- | E || Move..." 20:24:58 shachaf: I kind of disagree... yes the initial levels are easy, but the test I'd apply is whether the game repeats itself early on (in the extreme making a dozen levels all based around the same idea)... and I don't think it does. 20:25:02 [[User:Zero player rodent]] https://esolangs.org/w/index.php?diff=83023&oldid=82620 * Zero player rodent * (+12) 20:25:38 also the rings did a lot for me to stave off boredom 20:29:44 -!- kspalaiologos has quit (Quit: Leaving). 21:06:45 [[Nya~]] N https://esolangs.org/w/index.php?oldid=83024 * Sech1p * (+2127) Initial :eyes: 21:23:37 -!- tromp has quit (Remote host closed the connection). 21:47:52 -!- tromp has joined. 21:52:16 -!- tromp has quit (Ping timeout: 260 seconds). 21:52:42 -!- tromp has joined. 21:56:31 -!- LKoen has quit (Quit: “It’s only logical. First you learn to talk, then you learn to think. Too bad it’s not the other way round.”). 21:57:26 hit the harder ones but didn’t reach cauldrons and jars yet 21:57:31 -!- tromp has quit (Ping timeout: 260 seconds). 21:59:13 hmm, dungeon, or ruins? 22:01:36 (sets are: 1st woodland, introduces chests, keys, blocks, and doors; 2nd, sewers, introduces water; 3rd, dungeon, introduces green things; 4th, ruins, introduces red water) 22:04:42 [[Special:Log/newusers]] create * AdamJ * New user account 22:06:27 -!- TheLie has quit (Remote host closed the connection). 22:06:39 [[Esolang:Introduce yourself]] M https://esolangs.org/w/index.php?diff=83025&oldid=83012 * AdamJ * (+123) /* Introductions */ 22:43:37 -!- arseniiv has quit (Ping timeout: 265 seconds). 22:46:43 -!- tromp has joined. 22:51:11 -!- tromp has quit (Ping timeout: 260 seconds). 23:26:50 -!- tromp has joined. 23:31:28 -!- tromp has quit (Ping timeout: 265 seconds).