< 1701736225 242442 :fizzie!irc@selene.zem.fi PRIVMSG #esolangs :Bah. Tried to add the missing day 3 Burlesque versions, and it gives the correct value for the example, but it's off by 0.008% (532401 vs. 532445) for the actual puzzle input. < 1701736251 854955 :fizzie!irc@selene.zem.fi PRIVMSG #esolangs :Which probably means there's some rare corner case that it's not doing right. < 1701736765 230308 :fizzie!irc@selene.zem.fi PRIVMSG #esolangs :Well, it's a difference of 44, and the Go code finds five instances of 44 while the Burlesque code's list only contains four, so that's probably a good clue. < 1701737018 150379 :fizzie!irc@selene.zem.fi PRIVMSG #esolangs :Oh, NB removes all duplicates, not just *consecutive* duplicates, that's the problem. < 1701737070 524855 :fizzie!irc@selene.zem.fi PRIVMSG #esolangs :I think I can use =[)-] as a version that doesn't. < 1701737239 850401 :tromp!~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl JOIN #esolangs * :Textual User < 1701737290 969561 :tromp!~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl QUIT :Client Quit > 1701740677 955769 PRIVMSG #esolangs :14[[07Funge-9814]]4 10 02https://esolangs.org/w/index.php?diff=120148&oldid=117825 5* 03BoundedBeans 5* (+90) 10Added github backup of rcfunge > 1701745459 876415 PRIVMSG #esolangs :14[[07User:BoundedBeans/My Funge-98 fingerprints14]]4 N10 02https://esolangs.org/w/index.php?oldid=120149 5* 03BoundedBeans 5* (+7841) 10Created page with "This is a list of custom [[Funge-98]] fingerprint specifications made by [[User:BoundedBeans]]. They are currently all unimplemented. ==FOEA== Bitstring: 0x464f4541 This fingerprint contains various for-each block constructs. T > 1701745513 242629 PRIVMSG #esolangs :14[[07User:BoundedBeans14]]4 10 02https://esolangs.org/w/index.php?diff=120150&oldid=120106 5* 03BoundedBeans 5* (+87) 10 > 1701748804 645965 PRIVMSG #esolangs :14[[07SOAP14]]4 10 02https://esolangs.org/w/index.php?diff=120151&oldid=119709 5* 03BoundedBeans 5* (+166) 10 < 1701751252 980878 :sprout_!~quassel@2a02-a448-3a80-0-4042-747a-caf1-95b7.fixed6.kpn.net NICK :sprout < 1701754811 60768 :ais523!~ais523@user/ais523 QUIT :Quit: quit < 1701758492 96922 :Sgeo!~Sgeo@user/sgeo QUIT :Ping timeout: 256 seconds < 1701759677 529431 :Sgeo!~Sgeo@user/sgeo JOIN #esolangs Sgeo :realname < 1701761867 486610 :tromp!~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl JOIN #esolangs * :Textual User < 1701764184 753181 :tromp!~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl QUIT :Quit: My iMac has gone to sleep. ZZZzzz… < 1701765301 233604 :Koen_!~Koen@2a01:e34:ec7c:30:3d82:4047:4f22:39b0 JOIN #esolangs * :Koen < 1701766334 332567 :tromp!~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl JOIN #esolangs * :Textual User < 1701767240 261841 :Sgeo!~Sgeo@user/sgeo QUIT :Read error: Connection reset by peer < 1701769318 159209 :wib_jonas!~wib_jonas@business-37-191-60-209.business.broadband.hu JOIN #esolangs b_jonas :[https://web.libera.chat] wib_jonas < 1701769529 290755 :wib_jonas!~wib_jonas@business-37-191-60-209.business.broadband.hu PRIVMSG #esolangs :hi, I have a question. suppose I am writing an interpreter for an esolang, and I'm writing it memory-safe. I want to add library functions so it can fopen, fread and fwrite files, but I want to keep this sandboxed so it can only access files in one directory that the user who runs the interpreter specifies, so the code can't just read or write < 1701769529 799782 :wib_jonas!~wib_jonas@business-37-191-60-209.business.broadband.hu PRIVMSG #esolangs :arbitrary files on the file system. is there a library or standard set of advice for this, ideally in a way that won't blow up in someone's face if they compile this on some weird system that pretends to be unix but isn't really (like one of the many unix-ish environments on windows)? < 1701769581 252074 :wib_jonas!~wib_jonas@business-37-191-60-209.business.broadband.hu PRIVMSG #esolangs :I can probably put together something that works fine on real unix and win32, but that's not really all platforms, and given that this is an esolang interpreter, people may try to compile it on esoteric systems. obviously that's their problem, not mine, but still if there's some best practice for this I'd like to know. < 1701769614 482004 :wib_jonas!~wib_jonas@business-37-191-60-209.business.broadband.hu PRIVMSG #esolangs :I'll make the file access optional, gated behind a command-line option, with the default being to just access the three standard handles. < 1701770172 497658 :Koen_!~Koen@2a01:e34:ec7c:30:3d82:4047:4f22:39b0 QUIT :Quit: Leaving... < 1701771076 360614 :tromp!~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl QUIT :Quit: My iMac has gone to sleep. ZZZzzz… < 1701771341 854819 :Lord_of_Life!~Lord@user/lord-of-life/x-2819915 QUIT :Ping timeout: 256 seconds < 1701771345 113316 :Lord_of_Life_!~Lord@user/lord-of-life/x-2819915 JOIN #esolangs Lord_of_Life :Lord < 1701771429 838706 :Lord_of_Life_!~Lord@user/lord-of-life/x-2819915 NICK :Lord_of_Life < 1701772066 233764 :Koen_!~Koen@2a01:e34:ec7c:30:3d82:4047:4f22:39b0 JOIN #esolangs * :Koen > 1701773695 104473 PRIVMSG #esolangs :14[[07Talk:Kipple14]]4 N10 02https://esolangs.org/w/index.php?oldid=120152 5* 03None1 5* (+151) 10Created page with "==Stack identifier== Where is the stack identifier in the program: (i>o) --~~~~" < 1701775284 977993 :tromp!~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl JOIN #esolangs * :Textual User > 1701780110 410268 PRIVMSG #esolangs :14[[07Special:Log/newusers14]]4 create10 02 5* 03Nebular 5* 10New user account > 1701781322 923091 PRIVMSG #esolangs :14[[07Esolang:Introduce yourself14]]4 10 02https://esolangs.org/w/index.php?diff=120153&oldid=120139 5* 03Nebular 5* (+410) 10Introduction | Why is the signature breaking in the preview? Please don't be like that when I save this! > 1701781462 490749 PRIVMSG #esolangs :14[[07+/-14]]4 M10 02https://esolangs.org/w/index.php?diff=120154&oldid=120093 5* 03None1 5* (+12) 10 > 1701783226 747676 PRIVMSG #esolangs :14[[07BracketOnly14]]4 10 02https://esolangs.org/w/index.php?diff=120155&oldid=120147 5* 03None1 5* (+1753) 10 > 1701783301 398049 PRIVMSG #esolangs :14[[07BracketOnly14]]4 10 02https://esolangs.org/w/index.php?diff=120156&oldid=120155 5* 03None1 5* (+170) 10/* Functions */ > 1701783329 863100 PRIVMSG #esolangs :14[[07BracketOnly14]]4 M10 02https://esolangs.org/w/index.php?diff=120157&oldid=120156 5* 03None1 5* (+35) 10/* Functions */ > 1701784143 222139 PRIVMSG #esolangs :14[[07Esolang:Sandbox14]]4 10 02https://esolangs.org/w/index.php?diff=120158&oldid=120079 5* 03Lilchiky 5* (+0) 10/* Neu Berlin */ > 1701784560 114368 PRIVMSG #esolangs :14[[07BracketOnly14]]4 M10 02https://esolangs.org/w/index.php?diff=120159&oldid=120157 5* 03None1 5* (+0) 10/* Functions */ < 1701784939 539705 :tromp!~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl QUIT :Quit: My iMac has gone to sleep. ZZZzzz… < 1701785247 183470 :tromp!~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl JOIN #esolangs * :Textual User < 1701786942 510786 :tromp!~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl QUIT :Quit: My iMac has gone to sleep. ZZZzzz… < 1701788251 626523 :tromp!~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl JOIN #esolangs * :Textual User < 1701789758 821083 :__monty__!~toonn@user/toonn JOIN #esolangs toonn :Unknown > 1701790152 622563 PRIVMSG #esolangs :14[[07Esolang:Sandbox14]]4 M10 02https://esolangs.org/w/index.php?diff=120160&oldid=120158 5* 03NameGoesThere 5* (+69) 10/* Play Area (Don't clear after use!) */ < 1701792297 450970 :Koen_!~Koen@2a01:e34:ec7c:30:3d82:4047:4f22:39b0 QUIT :Remote host closed the connection < 1701793230 542256 :tromp!~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl QUIT :Quit: My iMac has gone to sleep. ZZZzzz… > 1701793713 482157 PRIVMSG #esolangs :14[[07AGG14]]4 10 02https://esolangs.org/w/index.php?diff=120161&oldid=120146 5* 03Mmph 5* (+89) 10 < 1701794782 966649 :Koen_!~Koen@78.199.192.3 JOIN #esolangs * :Koen < 1701795005 237935 :tromp!~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl JOIN #esolangs * :Textual User < 1701795021 188474 :wib_jonas!~wib_jonas@business-37-191-60-209.business.broadband.hu QUIT :Quit: Client closed < 1701795491 57087 :int-e!~noone@int-e.eu PRIVMSG #esolangs :ACTION wonders whether fizzie is collecting twistyness data again this year > 1701796983 333315 PRIVMSG #esolangs :14[[07AGG14]]4 10 02https://esolangs.org/w/index.php?diff=120162&oldid=120161 5* 03Mmph 5* (+190) 10 > 1701797356 460297 PRIVMSG #esolangs :14[[07AGG14]]4 M10 02https://esolangs.org/w/index.php?diff=120163&oldid=120162 5* 03Mmph 5* (+2) 10 < 1701798099 824541 :tromp!~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl QUIT :Quit: My iMac has gone to sleep. ZZZzzz… < 1701799260 454908 :fizzie!irc@selene.zem.fi PRIVMSG #esolangs :int-e: I moved the graphs to https://zem.fi/misc/aoc/ and wrote an index page for them, but yeah. < 1701799276 915550 :fizzie!irc@selene.zem.fi PRIVMSG #esolangs :https://zem.fi/misc/aoc/twist.html -- days 1 and 5 have been unusually twisty so far. < 1701799398 918625 :Taneb!~Taneb@runciman.hacksoc.org PRIVMSG #esolangs :I'm surprised a lot of people found part 2 of today so difficult < 1701799622 920272 :tromp!~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl JOIN #esolangs * :Textual User < 1701800767 357318 :int-e!~noone@int-e.eu PRIVMSG #esolangs :Taneb: there's plenty of room to make it difficult < 1701800804 406854 :int-e!~noone@int-e.eu PRIVMSG #esolangs :also the idea to work with intervals may not be as obvious as it seems > 1701800870 87570 PRIVMSG #esolangs :14[[07AGG14]]4 10 02https://esolangs.org/w/index.php?diff=120164&oldid=120163 5* 03Mmph 5* (-192) 10 < 1701800877 486152 :fizzie!irc@selene.zem.fi PRIVMSG #esolangs :I think I'm counting today as this year's first instance of the traditional "you could technically use the part 1 solution directly to answer part 2, but it's computationally infeasible" pattern that's pretty typical in AoC. > 1701800882 525083 PRIVMSG #esolangs :14[[07AGG14]]4 10 02https://esolangs.org/w/index.php?diff=120165&oldid=120164 5* 03Mmph 5* (+0) 10 < 1701800929 439672 :fizzie!irc@selene.zem.fi PRIVMSG #esolangs :Also I've only done part 1 in Burlesque so far because it's such a slog to deal with intervals in it. < 1701800930 716486 :int-e!~noone@int-e.eu PRIVMSG #esolangs :fizzie: yeah except that it's barely feasible. and much more feasible with a reversal of direction < 1701800960 737759 :int-e!~noone@int-e.eu PRIVMSG #esolangs :oh that's one or two orders of magnitude though, which changes what's feasible. < 1701801058 359179 :fizzie!irc@selene.zem.fi PRIVMSG #esolangs :I thought briefly about doing it backwards, but what I wrote initially in Go (forwards, with a list of intervals) benchmarks at 0.14 milliseconds so didn't feel the need to spend more time on it. < 1701801070 206744 :int-e!~noone@int-e.eu PRIVMSG #esolangs :Taneb: an example of making it difficult is that I spent quite some time lost in the arithmetic when working with (start, length) intervals, before switching to (start, end). < 1701801088 941921 :int-e!~noone@int-e.eu PRIVMSG #esolangs :fizzie: I meant for part 2 < 1701801139 217847 :int-e!~noone@int-e.eu PRIVMSG #esolangs :And brute force. The point being, the first seed you find gives you the right answer. Which from what I've seen happens in the tens of millions, while there are billions of seeds. < 1701801168 847252 :int-e!~noone@int-e.eu PRIVMSG #esolangs :I didn't think of that, some #haskell fellow did. < 1701801235 611671 :fizzie!irc@selene.zem.fi PRIVMSG #esolangs :Right. < 1701801313 587270 :fizzie!irc@selene.zem.fi PRIVMSG #esolangs :As for Burlesque, here's what I currently have for the "find the correct range for a single number and remap it": jJ{Jx/[-iT[-)++rm==}j+]x/jfe~]^p.-.+ < 1701801372 27597 :fizzie!irc@selene.zem.fi PRIVMSG #esolangs :Doing it for an interval is likely going to be annoying. < 1701801448 530420 :fizzie!irc@selene.zem.fi PRIVMSG #esolangs :I have bad memories from doing that quadtree or octree (which is also kind of an interval thing) last year. < 1701801834 651805 :Taneb!~Taneb@runciman.hacksoc.org PRIVMSG #esolangs :int-e: I worked out the (start, length) interval stuff on paper, but a lot of people seem to not have realised they can work directly with the intervals at all < 1701801871 396783 :int-e!~noone@int-e.eu PRIVMSG #esolangs :Taneb: the nice thing about [start,end) is that you get to use min/max when splitting intervals < 1701801899 606611 :int-e!~noone@int-e.eu PRIVMSG #esolangs :(it's helpful to make one end exclusive) < 1701801927 166961 :int-e!~noone@int-e.eu PRIVMSG #esolangs :Taneb: http://paste.debian.net/hidden/fb4ecd95/ lines 24-26 (link will be dead tomorrow) < 1701801948 251629 :int-e!~noone@int-e.eu PRIVMSG #esolangs :Or in 3 days, rather. < 1701801979 397611 :Taneb!~Taneb@runciman.hacksoc.org PRIVMSG #esolangs :Oh, I agree, I just followed the path that needed the least thinking at each step for me. "figuring out how to do (start, length)" was shallower than "realising I could do (start, end)" < 1701802186 80483 :Koen_!~Koen@78.199.192.3 QUIT :Remote host closed the connection < 1701802314 748904 :Koen_!~Koen@78.199.192.3 JOIN #esolangs * :Koen < 1701802630 522912 :fizzie!irc@selene.zem.fi PRIVMSG #esolangs :I did have the thought "hmm, [start, end) would probably be a little more pleasant", but had pretty much finished at that point already. < 1701802710 389470 :int-e!~noone@int-e.eu PRIVMSG #esolangs :I somehow got lost in case distinctions, and decided to reset with [start, end). < 1701803259 783980 :Koen_!~Koen@78.199.192.3 QUIT :Remote host closed the connection < 1701803433 498444 :fizzie!irc@selene.zem.fi PRIVMSG #esolangs :There's two instances of `min` in my solution too, though, just for the sizes rather than points. < 1701803454 498739 :fizzie!irc@selene.zem.fi PRIVMSG #esolangs :I basically had part 2 look up the start point of the "incoming" interval in the mappings (using the standard library's binary search function, same as in part 1) and ended up with three unique cases: either the start was inside a mapping, or it was not but there was some mapping starting after it, or there was not. < 1701803468 622931 :fizzie!irc@selene.zem.fi PRIVMSG #esolangs :For the first case, I mapped the first `min(r.size, m.size-offset)` items using the mapping; for the second, I sliced off the first `min(r.size, next.src-r.start)` items as an unmapped interval; for the third, I just kept the original as-is. And then continued with what was left of the original (if any). < 1701803627 737359 :Taneb!~Taneb@runciman.hacksoc.org PRIVMSG #esolangs :I did five cases, based on where the start and end of the input range were relative to the start and end of the program range < 1701803882 687546 :int-e!~noone@int-e.eu PRIVMSG #esolangs :Aren't there six cases? < 1701803945 887436 :int-e!~noone@int-e.eu PRIVMSG #esolangs :> do xs@(x:_) <- tails "LMR"; y <- xs; [[x,y]] < 1701803947 281501 :lambdabot!~lambdabot@haskell/bot/lambdabot PRIVMSG #esolangs : ["LL","LM","LR","MM","MR","RR"] < 1701803959 108627 :Taneb!~Taneb@runciman.hacksoc.org PRIVMSG #esolangs :Depends if you separate the "does not intersect" into "Is before entirely" and "is after entirely" I think < 1701803983 266558 :int-e!~noone@int-e.eu PRIVMSG #esolangs :That would check out. (those would be LL and RR here) < 1701804072 917608 :int-e!~noone@int-e.eu PRIVMSG #esolangs :(L = to the left of the source interval; M = in the interval; R = to the right. We do this for two points, knowing that one is further to the left than the other one, so ML, RL, and RM are impossible) < 1701804316 606242 :Europe2048!~Europe204@46.150.64.242.nat.volia.net JOIN #esolangs * :[https://web.libera.chat] Europe2048 < 1701804329 645856 :Europe2048!~Europe204@46.150.64.242.nat.volia.net PRIVMSG #esolangs :Hello. < 1701804339 941091 :Taneb!~Taneb@runciman.hacksoc.org PRIVMSG #esolangs :`welcome Europe2048 < 1701804343 276013 :HackEso!~h@techne.zem.fi PRIVMSG #esolangs :Europe2048: Welcome to the international hub for esoteric programming language design and deployment! For more information, check out our wiki: . (For the other kind of esoterica, try #esoteric on EFnet or DALnet.) < 1701804361 529559 :Europe2048!~Europe204@46.150.64.242.nat.volia.net PRIVMSG #esolangs :`welcome Taneb < 1701804364 750189 :HackEso!~h@techne.zem.fi PRIVMSG #esolangs :Taneb: Welcome to the international hub for esoteric programming language design and deployment! For more information, check out our wiki: . (For the other kind of esoterica, try #esoteric on EFnet or DALnet.) < 1701804414 837583 :int-e!~noone@int-e.eu PRIVMSG #esolangs :Taneb: Maybe I should've reviewed my 2022 solutions before AoC this year... that did feature interval arithmetic at least once. < 1701804634 555847 :fizzie!irc@selene.zem.fi PRIVMSG #esolangs :I guess an easier way to describe what I'm doing is: Check if the first item in the input interval should be mapped. If it should, make a mapped interval that extends to where either the interval or the mapping ends. Otherwise, make an unmapped interval that extends to where either the interval ends or the next mapping begins. < 1701804719 166584 :int-e!~noone@int-e.eu PRIVMSG #esolangs :"interval arithmetic" - I probably should've used a different phrase :) < 1701804781 264589 :fizzie!irc@selene.zem.fi PRIVMSG #esolangs :I also had a version that kept both input intervals and the mappings in sorted order, and then iterated over both in sync, the same way that traditional "merge two sorted lists" operation works, making new intervals as it goes along. < 1701804791 254865 :fizzie!irc@selene.zem.fi PRIVMSG #esolangs :But it looked more complicated. < 1701804816 237554 :fizzie!irc@selene.zem.fi PRIVMSG #esolangs :(Worked fine, though.) < 1701804870 137648 :int-e!~noone@int-e.eu PRIVMSG #esolangs :oh right, the intervals stay disjoint < 1701804873 788895 :tromp!~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl QUIT :Quit: My iMac has gone to sleep. ZZZzzz… < 1701806891 385149 :tromp!~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl JOIN #esolangs * :Textual User < 1701809740 82391 :zzo38!~zzo38@host-24-207-52-143.public.eastlink.ca PRIVMSG #esolangs :About file access, the file handling is necessarily going to be different in different operating systems anyways for many reasons, although I think command-line switch to enable file access makes sense, which is what I have done in uxn38 (which also has a separate switch for read-only or read/write; if neither is specified then only stdin/stdout/stderr can be accessed, like you described). < 1701809882 533667 :Europe2048!~Europe204@46.150.64.242.nat.volia.net QUIT :Quit: Client closed < 1701809911 804785 :wpa!uid568065@id-568065.helmsley.irccloud.com JOIN #esolangs WeepingAngel :wpa < 1701810344 790883 :Koen_!~Koen@2a01:e34:ec7c:30:da2:9f88:f018:8bcd JOIN #esolangs * :Koen < 1701810899 791460 :ais523!~ais523@user/ais523 JOIN #esolangs ais523 :(this is obviously not my real name) < 1701811823 278648 :b_jonas!~x@88.87.242.184 PRIVMSG #esolangs :zzo38: hmm yes, a mid-way option for read only could make sense and is easy to implement if I have the rest < 1701814936 148995 :__monty__!~toonn@user/toonn QUIT :Quit: leaving < 1701815155 65585 :iovoid!iovoid@hellomouse/dev/iovoid QUIT :Ping timeout: 260 seconds < 1701815161 492825 :[iovoid]!iovoid@hellomouse/dev/iovoid JOIN #esolangs iovoid :Special Finest Tippy Golden Flowery Orange Iovoid < 1701815217 945632 :[iovoid]!iovoid@hellomouse/dev/iovoid NICK :iovoid < 1701815385 383789 :ais523!~ais523@user/ais523 PRIVMSG #esolangs :b_jonas: on Linux there's an API for reading files only below certain directories, and which can't be tricked by "../" or the like < 1701815387 649881 :ais523!~ais523@user/ais523 PRIVMSG #esolangs :but I don't think it's standard < 1701815412 19528 :fizzie!irc@selene.zem.fi PRIVMSG #esolangs :Ugh, finally part 2 done in Burlesque too, in a very brutish fashion. < 1701815414 759219 :fizzie!irc@selene.zem.fi PRIVMSG #esolangs :Ended up turning the {dst src len} ranges into {start end offset}, then for each "layer" added synthetic {start end 0} ranges to fill all the gaps, and finally reduced the starting ranges with a step that did: 1. take the cross product of input ranges and layer mappings; 2. turn every {{start1 end1} {start2 end2 offset}} pair into {max(start1,start2) min(end1,end2) offset}; 3. filter to keep only < 1701815416 759100 :fizzie!irc@selene.zem.fi PRIVMSG #esolangs :the max < min cases; 4. add offset. < 1701815421 49082 :b_jonas!~x@88.87.242.184 PRIVMSG #esolangs :ais523: do you mean chroot? < 1701815426 915934 :ais523!~ais523@user/ais523 PRIVMSG #esolangs :b_jonas: no, openat2(2) < 1701815450 783780 :b_jonas!~x@88.87.242.184 PRIVMSG #esolangs :what? openat does let you get out with .. < 1701815457 556051 :ais523!~ais523@user/ais523 PRIVMSG #esolangs :b_jonas: openat2 is not openat < 1701815472 471828 :b_jonas!~x@88.87.242.184 PRIVMSG #esolangs :openat2? let me check < 1701815476 230617 :fizzie!irc@selene.zem.fi PRIVMSG #esolangs :"RESOLVE_BENEATH: Do not permit the path resolution to succeed if any component of the resolution is not a descendant of the directory indicated by dirfd." < 1701815478 758758 :fizzie!irc@selene.zem.fi PRIVMSG #esolangs :Cool. < 1701815610 13542 :b_jonas!~x@88.87.242.184 PRIVMSG #esolangs :interesting, I hadn't known about this one, I might try that < 1701815721 603571 :fizzie!irc@selene.zem.fi PRIVMSG #esolangs :ln{""};;g_-]WD[-)ri2co{iT[-)++}m[j)[-ps{{J[-iT[-)++j~]^p.-[+}m[}m[1rz9e9?*3.*tp{_+>]<]++}z[\[e!Cl}m[{~]^p.<}{l_?+}FM}r[FL<] < 1701815727 66093 :fizzie!irc@selene.zem.fi PRIVMSG #esolangs :And people call this a concise language. < 1701815749 610291 :zzo38!~zzo38@host-24-207-52-143.public.eastlink.ca PRIVMSG #esolangs :I think the original design had some problems, so they are good to add such things to improve it but still it is a bit messy due to the result of the original design. Still, it helps a bit. < 1701815750 166546 :ais523!~ais523@user/ais523 PRIVMSG #esolangs :Burlesque doesn't really compete with the top golfing languages < 1701815750 706502 :fizzie!irc@selene.zem.fi PRIVMSG #esolangs :Okay, to be fair, it is concise for more reasonable operations, and/or after spending a lot of effort. < 1701815768 180164 :zzo38!~zzo38@host-24-207-52-143.public.eastlink.ca PRIVMSG #esolangs :However, some systems might not have such function, possibly you can use #ifdef to check if it is available in your program? < 1701815818 713401 :ais523!~ais523@user/ais523 PRIVMSG #esolangs :zzo38: that just checks whether the compiler knows about it, whereas what matters is the kernel on the system the executable runs on < 1701815846 43722 :ais523!~ais523@user/ais523 PRIVMSG #esolangs :Linux does have consistent behaviour if you try to call a nonexistent system call, so there are safe ways to check whether the API in question exists < 1701815921 945183 :zzo38!~zzo38@host-24-207-52-143.public.eastlink.ca PRIVMSG #esolangs :Yes, if you intend to use the same compiled binary file on a different system then you would check in a different way, although there might also be the consideration if you want to compile the program for a different system that is not Linux but emulates some of its functions. < 1701815962 664678 :b_jonas!~x@88.87.242.184 PRIVMSG #esolangs :ais523: and that consistent behavior is that either libc emulates the call or you get an error and errno is set to ENOSYS? < 1701815975 638196 :ais523!~ais523@user/ais523 PRIVMSG #esolangs :b_jonas: yes < 1701815982 296468 :ais523!~ais523@user/ais523 PRIVMSG #esolangs :at least from userspace's point of view < 1701815992 917134 :ais523!~ais523@user/ais523 PRIVMSG #esolangs :if you do the system call manually you just get a return value of -ENOSYS and nothing else happens < 1701816019 895496 :zzo38!~zzo38@host-24-207-52-143.public.eastlink.ca PRIVMSG #esolangs :If it checks for unknown flags rather than only unknown system calls, then that will work < 1701816036 523893 :ais523!~ais523@user/ais523 PRIVMSG #esolangs :zzo38: unknown flags often have a consistent behaviour too, depending on the system call < 1701816041 721131 :b_jonas!~x@88.87.242.184 PRIVMSG #esolangs :zzo38: that depends on the specific syscall < 1701816047 937565 :ais523!~ais523@user/ais523 PRIVMSG #esolangs :but it's defined individually for each system call < 1701816059 836790 :ais523!~ais523@user/ais523 PRIVMSG #esolangs :I think EINVAL is a common response, although openat2 gives E2BIG < 1701816377 716602 :tromp!~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl QUIT :Quit: My iMac has gone to sleep. ZZZzzz… < 1701817052 953566 :Koen_!~Koen@2a01:e34:ec7c:30:da2:9f88:f018:8bcd QUIT :Quit: Leaving... > 1701817592 461018 PRIVMSG #esolangs :14[[07AGG14]]4 M10 02https://esolangs.org/w/index.php?diff=120166&oldid=120165 5* 03None1 5* (+0) 10/* Programs */ < 1701817912 798141 :sprout!~quassel@2a02-a448-3a80-0-4042-747a-caf1-95b7.fixed6.kpn.net QUIT :Ping timeout: 255 seconds < 1701820109 407271 :Sgeo!~Sgeo@user/sgeo JOIN #esolangs Sgeo :realname < 1701820565 877471 :ais523!~ais523@user/ais523 QUIT :Quit: sorry about my connection < 1701820580 894304 :ais523!~ais523@user/ais523 JOIN #esolangs ais523 :(this is obviously not my real name)