00:02:35 -!- 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.”). 00:41:53 -!- imode has quit (Quit: WeeChat 2.6). 01:12:54 -!- xkapastel has quit (Quit: Connection closed for inactivity). 01:14:33 new esolang idea: c but with bash scoping 01:15:19 -!- FreeFull has quit. 01:39:20 -!- Sgeo_ has quit (Read error: Connection reset by peer). 01:41:10 -!- Sgeo has joined. 02:44:34 How will that work? 03:15:13 -!- imode has joined. 03:53:25 all variables have global scope :p and are defined as NULL until you assign to them (which you may do without declaring them) 03:54:35 you could also introduce the local keyword which introduces a new global scope for your function (so if you declare FOO as "local" in a function, then call another function which accesses FOO, it will access the local FOO of the function that called it) 03:55:06 at least i think thats how bash scoping works 05:44:43 -!- Sgeo_ has joined. 05:48:05 -!- Sgeo has quit (Ping timeout: 250 seconds). 07:46:37 -!- b_jonas has quit (Remote host closed the connection). 08:03:33 -!- hakatashi has quit (Remote host closed the connection). 08:03:40 -!- hakatashi1 has joined. 08:20:36 -!- imode has quit (Ping timeout: 265 seconds). 08:25:14 -!- Sgeo__ has joined. 08:28:02 -!- Sgeo_ has quit (Ping timeout: 240 seconds). 08:39:53 -!- wib_jonas has joined. 09:06:48 -!- oerjan has joined. 09:18:42 -!- izabera has quit (Disconnected by services). 09:19:14 -!- izabera1 has joined. 10:56:35 -!- oerjan has quit (Quit: Later). 11:18:24 -!- arseniiv has joined. 11:24:43 -!- Sgeo__ has quit (Read error: Connection reset by peer). 11:25:10 -!- Sgeo__ has joined. 11:28:31 Newly created dogs come from dog shelters, so we should replace the stork mythology by one that says that babies come from human shelters. 11:31:15 that sounds like you need a talk about how dogs are created 11:34:16 from little dogs growing up, usually 11:39:39 okay... 11:40:22 so they just spawn out of atoms? 11:40:40 AIUI, first you have a little dog, then at level 4 it becomes a dog, then at level 6 it becomes a large dog. 11:41:11 that sounds wrong. i would expect a large dog at level 8 or later 11:44:02 MON("large dog", S_DOG, LVL(6, 15, 4, 0, 0), ...) 11:50:42 i thought that, like how humans come from the stork, doggies come from the squirrel 11:51:13 i like that one 11:51:26 where do storks come from, though? 11:51:36 humans 11:51:45 how? 11:51:57 i don't know 11:52:08 i'll ask my parents 11:52:37 stork come from stork nests that are built on top of chimneys by other storks 11:53:26 oh, so now we're bringing reality into this? 11:54:43 dog shelters are reality 11:54:54 there's a dog right here that came from dog shelters 11:58:01 i would assume that this is not the usual way of creation of new dogs 11:58:29 the catholic church is pro "birth control" when it comes to dogs and cats. 12:00:14 and against it when it comes to humans, iirc 12:01:00 of course, because humans are designed to be god-like, dogs clearly are not 12:01:50 Lykaina: that's not, in itself, inconsistent. we know experimentally that there are much more new dogs created than how much people want to adopt, but fewer children up for adoption than people want. 12:02:13 humans are meant to be fruitful and multiply like rabbits 12:02:46 according to my memory of the book of genesis 12:03:13 wib_jonas: is that so? 12:03:23 and monty python's sperm song 13:02:24 [[Talk:Or]] https://esolangs.org/w/index.php?diff=66745&oldid=66740 * A * (-15) 13:23:13 -!- Sgeo__ has quit (Read error: Connection reset by peer). 13:23:40 -!- Sgeo__ has joined. 13:29:13 you won't wait three weeks to post the next o strip again, right, fungot? in fact, you can post the next one soon. 13:29:13 wib_jonas: obviously you can't use your macro language inside scheme code) 13:29:31 what macro language? 13:35:31 [[Iavac]] N https://esolangs.org/w/index.php?oldid=66746 * A * (+3127) Created page with "'''Idvac''' is a language created by [[User:FireCubez]]. Idvac stands for '''I'''ncrement and '''d'''ecrement '''v'''alues '''a'''nd '''c'''ompare. It is an [[OISC]]. Since th..." 13:37:09 shoudln't it be named Iadvac? and the title has a typo 14:27:30 -!- Lord_of_Life has joined. 14:32:26 -!- imode has joined. 14:42:34 -!- shikhin has quit (Quit: Quittin'.). 14:43:45 -!- shikhin has joined. 15:12:26 -!- imode has quit (Quit: WeeChat 2.6). 15:31:01 -!- Lord_of_Life has quit (Quit: Laa shay'a waqi'un moutlaq bale kouloun moumkine). 15:32:02 -!- Lord_of_Life has joined. 15:36:07 -!- Lord_of_Life_ has joined. 15:37:03 -!- Lord_of_Life has quit (Ping timeout: 265 seconds). 15:38:15 -!- Lord_of_Life_ has quit (Remote host closed the connection). 15:39:57 -!- Lord_of_Life has joined. 15:44:38 -!- Lord_of_Life has quit (Client Quit). 15:47:00 -!- imode has joined. 15:53:20 -!- wib_jonas has quit (Remote host closed the connection). 16:11:07 [[Headshot!]] M https://esolangs.org/w/index.php?diff=66747&oldid=60342 * CrazySqueak * (-26) Fixed a mistake describing the state of the iteration/conditional commands. 16:25:02 Is this a suitable way to initialize the random number generator in PostScript? (%Calendar%) /IODevice resourcestatus { pop pop (%Calendar%) currentdevparams dup /Running get { [/Year /Month /Day /Hour /Minute /Second] {1 index exch get rand xor srand} forall } if } if rand rand rand rand rand clear 17:16:40 -!- FreeFull has joined. 17:21:09 -!- b_jonas has joined. 17:26:16 `olist 1183 17:26:17 olist 1183: shachaf oerjan Sgeo FireFly boily nortti b_jonas 17:26:20 `thanks fungot 17:26:20 b_jonas: are you in contact with the r6rs fnord decisions? or is it in? :p) have a fullscreen irc client. 17:26:21 Thanks, fungot. Thungot. 17:54:46 -!- LKoen has joined. 19:08:18 -!- LKoen has quit (Remote host closed the connection). 19:09:41 -!- LKoen has joined. 19:16:02 [ 80*0.0254 19:16:03 b_jonas: 2.032 19:40:06 First time I've seen anyone write Apple's mobile operating system's name as "iOs". 19:40:14 (In the marketing materials of this insurance company.) 19:40:58 -!- LKoen has quit (Remote host closed the connection). 19:41:14 fizzie: insurance company? are the rates higher or lower for apple users? 19:52:36 -!- LKoen has joined. 19:55:49 type IOs = [IO] 19:55:58 > type IOs = [IO] 19:55:59 :1:1: error: parse error on input ‘type’ 19:56:33 No, they've just got an app for "Android" and for "iOs". 19:57:24 -!- atslash has quit (Quit: This computer has gone to sleep). 19:57:34 https://repl.it/repls/MealySarcasticFact 19:58:11 the action is in prelude.modal. it's a REPL. try reverse ((1234) in trinary) 19:58:21 or sum reverse ((1234) in trinary) 19:59:57 I made a huge mistake today, I thought ([0; 1], (x, y) ↦ xy, (x, y) ↦ x + y − xy) is a lattice :o 20:00:10 the operations aren’t even idempotent 20:00:27 and I had seen that fact a year or so ago 20:13:41 -!- 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.”). 20:55:10 is there an irc bot in here that lets people run programs in arbitrary esolangs? like ,eso brainfuck +[>.+<] or something 20:55:46 ornxka: yes, hackeso and fungot can both run brainfuck 20:55:46 b_jonas: you mean it. so we need something for os-level thread communication, and i'm not even sure there is 20:56:03 ^bf +[>.+<] 20:56:10 no wait 20:56:20 @bf +[>.+<] 20:56:25 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghij... 20:56:25 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghij... 20:56:25 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghij... 20:56:28 fungot doesn't run brainfuck, he only runs unefunge and underload 20:56:28 b_jonas: stk calls that closures 20:56:34 yeah, lambdabot runs brainfuck 20:56:44 `! bf +[>.+<] 20:56:45 ​.. \ 20:57:02 ahh thats cool! 20:57:02 hackeso too but he truncates replies at a carriage return so we have to modify that 20:57:10 `! bf +++++++++++++++[>.+<] 20:57:11 ​.. \ 20:57:11 oh right, newlines. (lambdabot filters control characters for sanity reasons) 20:57:29 int-e: filtering makes sense, but truncating at a carriage return is an odd decision 20:57:45 it has to remove carriage return because irc thinks it's not a valid character 20:57:57 (irc is sort of like bbc, but at least only with three of the 256 bytes) 20:58:07 `! bf >+++++++++++++++[+.] 20:58:09 ​ !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~. 20:58:14 b_jonas: fungot *does* run brainfuck. 20:58:14 fizzie: we are probably talking more like 100 lines here, if your terminal is really old) who was well-respected 20:58:16 b_jonas: it skips to the next line on LF, hence we got three lines of output 20:58:19 `! bf >+++++++++++++++++++++++[+.] 20:58:20 ​ !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~. 20:58:25 >ÑÒÓÔÕ 20:58:27 `! bf >++++++++++++++++++++++++++++++[+.] 20:58:27 ​ !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~. 20:58:30 * ornxka scream in norwegian 20:58:36 int-e: huh 20:58:51 ^help 20:58:51 ^ ; ^def ; ^show [command]; lang=bf/ul, code=text/str:N; ^str 0-9 get/set/add [text]; ^style [style]; ^bool 20:59:00 `? bf 20:59:01 See: brainfuck 20:59:02 `whois bf 20:59:03 ​/srv/hackeso-code/multibot_cmds/lib/limits: line 5: exec: whois: not found 20:59:04 `whois brainfuck 20:59:05 ​/srv/hackeso-code/multibot_cmds/lib/limits: line 5: exec: whois: not found 20:59:08 `whatis bf 20:59:09 bf(1hackeso) - no description \ bf(1egobot) - no description \ bf(8fungot) - evaluate brainfuck program \ bf(8lambdabot) - evaluate brainfuck snippet 20:59:10 `whatis brainfuck 20:59:11 brainfuck: nothing appropriate. 20:59:17 `ls 20:59:18 a.out \ bin \ canary \ emoticons \ esobible \ etc \ evil \ f \ factor \ good \ hw \ ibin \ interps \ izash.c \ karma \ le \ lib \ misle \ paste \ ply-3.8 \ quines \ quinor \ quotes \ share \ src \ test2 \ testfile \ tmflry \ tmp \ wisdom 20:59:29 `cat /etc/passwd 20:59:30 cat: /etc/passwd: No such file or directory 20:59:34 ah its a chroot 20:59:36 `bf ++++++++[>++++<][.+] 20:59:38 that makes more sense 20:59:45 ornxka: It's not a chroot, it's a UML. 20:59:48 `! bf ++++++++[>++++<][.+] 20:59:53 UML? 20:59:58 `? uml 20:59:58 imode: User-mode Linux. 21:00:00 uml? ¯\(°​_o)/¯ 21:00:01 righto. 21:00:03 ahh 21:00:07 No output. 21:00:18 Well, an UML inside a namespaced container inside kvm. 21:00:19 No output. 21:00:37 oh 21:00:47 `! bf ++++++++[->++++<][.+] 21:00:48 No output. 21:00:53 thats actually a pretty cool way to do a bot actually 21:01:00 `! bf ++++++++[->++++<].+.+.+.+ 21:01:01 ​.. 21:01:03 very unixy 21:01:05 `! bf +++++++++[->++++<].+.+.+.+ 21:01:06 ​.. 21:01:09 `? hackeso 21:01:10 HackEso is almost but not quite unlike HackEgo. 21:01:14 `? hackego 21:01:15 HackEgo, also known as HackBot, is a bot that runs arbitrary commands on Unix. See `help for info on using it. You should totally try to hax0r it! Make sure you imagine it's running as root with no sandboxing. HackEgo is the slowest bot in all Mexico! 21:01:16 `? help 21:01:17 Help is on the way. We don't know where the way is, though. You might try `help instead. 21:01:19 `help 21:01:19 Runs arbitrary code in GNU/Linux. Type "`", or "`run " for full shell commands. "`fetch [] " downloads files. Files saved to $PWD are persistent, and $PWD/bin is in $PATH. $PWD is a mercurial repository, "`revert " can be used to revert to a revision. See http://codu.org/projects/hackbot/fshg/ 21:01:23 yeah, one of those 21:01:36 >Make sure you imagine it's running as root with no sandboxing. HackEgo is the slowest bot in all Mexico! 21:01:39 laughing at that 21:01:54 I think I can't brainfuck 21:02:05 `! bf +++++++++[->++++<]>[.+] 21:02:07 ​$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ 21:02:14 HackEso's brainfuck interpreter is the one inherited from EgoBot, that's why it's accessible via !. 21:02:26 but then what's 21:02:28 ``` type bf 21:02:29 bf is /hackenv/bin/bf 21:02:31 that? 21:02:36 `url bin/bf 21:02:37 https://hack.esolangs.org/repo/file/tip/bin/bf 21:02:44 `! bf ++++++++[>++++[>++>+++>+++>+<<<<-]>+>->+>>+[<]<-]>>.>>---.+++++++..+++.>.<<-.>.+++.------.--------.>+.>++. 21:02:44 Hello World! 21:02:45 A wrapper, apparently. 21:02:53 `bf 21:02:53 Run what? 21:03:05 hmm, that broke 21:03:13 or something 21:03:17 A wrapper with the !-style standard input thing, further. 21:03:29 `bf ,[.,]!foobar 21:03:29 foobar 21:03:33 @bf +++++++++[->++++<]>[.+] 21:03:33 $%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmn... 21:04:37 And fungot does the ! input thing natively. 21:04:37 fizzie: armed bear common lisp instead if i want. is to get the 3m binaries. can't open new ssh connection either 21:04:38 ^bf ,[>,]<[.<]!hello 21:04:39 olleh 21:05:40 i feel like a jerk being responsible for you doing all this work just because i wanted to know if there was a brainfuck bot :p 21:07:05 ornxka: don't feel bad 21:07:34 this is perfectly normal for #esoteric, and I suspect everybody's enjoying this. 21:07:38 -!- imode has quit (Quit: WeeChat 2.6). 21:07:52 what work? oh right, modifying characters in the code until it starts to appear to work, without thinking or looking up anything. yeah, a lot of people get payed for that, so you could count that as work. I don't. 21:09:42 -!- atslash has joined. 21:10:36 you could probably also convince j-bot to evaluate brainfuck, if you first write a brainfuck interpreter in J 21:15:45 fungot's ^bf interpreter is approximately lines 298-310 and 355-376 of https://github.com/fis/fungot/blob/master/fungot.b98 21:15:45 fizzie: the report is cute. http://gehennom.org/fizban/ fnord/ music/ fnord if you're using c++, we can get the position of substituting atoms or groups of signed 8-bit values. there should be 21:16:16 The former is the actual core, which runs a bf-style bytecode (except with consecutive +s, -s, s folded), the latter parses brainfuck source into that form. 21:42:07 [[Talk:Or]] https://esolangs.org/w/index.php?diff=66748&oldid=66745 * Areallycoolusername * (+252) 21:42:20 [[Talk:Or]] https://esolangs.org/w/index.php?diff=66749&oldid=66748 * Areallycoolusername * (+119) 21:43:00 [[Talk:Or]] https://esolangs.org/w/index.php?diff=66750&oldid=66749 * Areallycoolusername * (+0) 21:43:18 [[Talk:Or]] https://esolangs.org/w/index.php?diff=66751&oldid=66750 * Areallycoolusername * (-2) /* Is Or really stack-based? */ 21:43:50 [[Or]] https://esolangs.org/w/index.php?diff=66752&oldid=66743 * Areallycoolusername * (-28) /* Implementation */ 21:44:07 -!- imode has joined. 21:54:25 -!- imode has quit (Ping timeout: 250 seconds). 21:56:29 `whatis bf 21:56:30 bf(1hackeso) - no description \ bf(1egobot) - evaluate brainfuck snippet \ bf(8fungot) - evaluate brainfuck program \ bf(8lambdabot) - evaluate brainfuck snippet 21:56:38 I added a description to the egobot command, seeing that I used it 22:00:04 ideally at some point I should amend the whatis program to accept a section name as first argument 22:00:22 although that can be tricky, because we have genuine commands whose names are section names 22:00:26 `whatis 1 22:00:27 1(1hackeso) - run command, wrap output to irc lines 22:00:28 `whatis 5 22:00:29 5(1hackeso) - run command 5 times, wrap output to irc lines 22:00:30 `whatis 4 22:00:31 4(1hackeso) - run command 4 times, wrap output to irc lines 22:00:41 `whatis 2 22:00:42 2(1hackeso) - run command, wrap output to irc lines, show second line 22:06:47 b_jonas: out of curiosity, does 0xef 0xbf 0xbd mean anything to you? 22:07:00 (as a recurring byte sequence in some data) 22:07:49 int-e: is that the byte order mark in utf-8? 22:07:58 close, actually. 22:08:17 (though that wouldn't be recurring) 22:08:21 `unidecode � 22:08:21 ​[U+FFFD REPLACEMENT CHARACTER] 22:08:45 It took me much longer to home in on UTF-8. 22:08:56 `perl -euse Encode;printf"%vX",encode_utf8("\xFFFD") 22:08:57 C3.BF.46.44 22:09:07 `perl -euse Encode;printf"%vX",encode_utf8("\x{FFFD}") 22:09:08 EF.BF.BD 22:09:17 `perl -euse Encode;printf"%vX",encode_utf8("\x{FEFF}") 22:09:18 EF.BB.BF 22:09:24 ok 22:09:52 I don't remember all these numbers 22:10:21 It's of no importance, but I guess you passed the test. 22:11:21 these days I work with a lot of utf-16 and utf-8 files that have a byte order mark and are made of almost completely ascii otherwise 22:12:13 `perl -euse Encode;printf"%vX",decode_utf8("\xEF\xBF\xBD") 22:12:14 FFFD 22:12:19 `perl -euse Encode;printf"%vX",decode_utf8("\xB9") 22:12:20 FFFD 22:12:32 right, that's cheating, it decodes replacement character for invalid utf-8 input 22:12:45 Yeah, but that's probably what happened! 22:12:50 `perl -euse Encode;printf"%vX",decode_utf8("\xB9",Encode::FB_CROAK) 22:12:51 utf8 "\xB9" does not map to Unicode at /usr/lib/x86_64-linux-gnu/perl/5.24/Encode.pm line 243. 22:12:59 (Somebody taking raw data and decoding it as UTF-8.) 22:12:59 `perl -euse Encode;printf"%vX",decode_utf8("\xEF\xBF\xBD",Encode::FB_CROAK) 22:13:00 Modification of a read-only value attempted at /usr/lib/x86_64-linux-gnu/perl/5.24/Encode.pm line 244. 22:13:15 (Which explains how you get *a lot* of these replacement characters.) 22:13:38 hmm 22:13:42 -!- imode has joined. 22:13:56 `perl -euse Encode;printf"%vX",decode("utf-8","\xEF\xBF\xBD",Encode::FB_CROAK) 22:13:57 Modification of a read-only value attempted at /usr/lib/x86_64-linux-gnu/perl/5.24/Encode.pm line 204. 22:14:00 what 22:14:04 (I don't know for sure what happened because I was just helping somebody look at the resulting mess.) 22:14:17 `perl -euse Encode;printf"%vX",decode("utf-8","\xEF\xBF\xBD",1) 22:14:17 Modification of a read-only value attempted at /usr/lib/x86_64-linux-gnu/perl/5.24/Encode.pm line 204. 22:14:22 what why? 22:15:21 doesn't like the ,1? 22:16:09 `perl -euse Encode;decode("utf-8","\xEF\xBF\BD",9) 22:16:10 utf8 "\xEF" does not map to Unicode at /usr/lib/x86_64-linux-gnu/perl/5.24/Encode.pm line 202. 22:16:37 'If *CHECK* is 1, methods immediately die with an error message.' -- I guess you got *some* error message. 22:17:00 int-e: no, the relevant part is that if bit 3 is not set, it shifts the characters that it did decode from the string 22:17:15 on an error that is 22:17:31 but now why doesn't it deocde "\xEF\xBF\xBD"? 22:17:33 ah, what an awkward interface 22:18:01 int-e: I think there are high-level constants for this 9 and stuff, I just don't recall right now 22:18:45 `` perl '-euse Encode;printf"%vX\n",decode("utf-8","\xEF\xBF\xBD",9)' 22:18:46 FFFD 22:18:57 ...so what's different... 22:19:06 `perl -euse Encode;printf"%vX\n",decode("utf-8","\xEF\xBF\xBD",9) 22:19:06 FFFD 22:19:11 probably doesn't like void context 22:19:17 `perl -euse Encode;$x=decode("utf-8","\xEF\xBF\xBD",9) 22:19:18 No output. 22:19:21 `perl -euse Encode;()=decode("utf-8","\xEF\xBF\xBD",9) 22:19:21 No output. 22:19:28 `perl -euse Encode;decode("utf-8","\xEF\xBF\xBD",9) 22:19:29 No output. 22:19:49 `perl -euse Encode;printf"%vX\n",decode("utf-8","\xBF\xBD",9) 22:19:49 utf8 "\xBF" does not map to Unicode at /usr/lib/x86_64-linux-gnu/perl/5.24/Encode.pm line 202. 22:19:53 `perl -euse Encode;printf"%vX\n",decode("utf-8","\xEF\xBF\xBD",9) 22:19:54 FFFD 22:20:01 `perl -euse Encode;printf"(%vX)\n",decode("utf-8","\xEF\xBF\xBD",9) 22:20:04 ​(FFFD) 22:20:08 good enough 22:23:51 `python3 b"\xEF\xBF\xBD".decode() 22:23:52 python3: can't open file 'b"\xEF\xBF\xBD".decode()': [Errno 2] No such file or directory 22:23:57 `python3 -cprint(b"\xEF\xBF\xBD".decode()) 22:23:58 ​� 22:24:45 `python3 -cprint(list(map(ord,b"\xEF\xBF\xBD".decode()))) 22:24:46 ​[65533] 22:24:47 `python3 -cprint(list(map(ord,b"\xBD".decode()))) 22:24:47 Traceback (most recent call last): \ File "", line 1, in \ UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbd in position 0: invalid start byte 22:28:15 -!- arseniiv has quit (Ping timeout: 264 seconds). 22:39:47 -!- xkapastel has joined. 22:49:53 -!- imode has quit (Ping timeout: 276 seconds). 23:39:45 -!- FreeFull has quit. 23:49:57 -!- imode has joined.