< 1612657840 405896 :tromp!~tromp@dhcp-077-249-230-040.chello.nl JOIN :#esoteric < 1612658105 315342 :tromp!~tromp@dhcp-077-249-230-040.chello.nl QUIT :Ping timeout: 240 seconds < 1612658486 829259 :oerjan!oerjan@sprocket.nvg.ntnu.no JOIN :#esoteric < 1612659684 972880 :rain1!~My_user_n@unaffiliated/rain1 QUIT :Quit: WeeChat 3.0 < 1612659961 348215 :tromp!~tromp@dhcp-077-249-230-040.chello.nl JOIN :#esoteric < 1612660245 346233 :tromp!~tromp@dhcp-077-249-230-040.chello.nl QUIT :Ping timeout: 264 seconds < 1612660628 345416 :oerjan!oerjan@sprocket.nvg.ntnu.no PRIVMSG #esoteric : I... think it's usually supposed to be Sceolang? <-- argh. < 1612660652 534517 :oerjan!oerjan@sprocket.nvg.ntnu.no PRIVMSG #esoteric :feel free to include something suitably celtic in the entry < 1612660671 180720 :hendursaga!~weechat@gateway/tor-sasl/hendursaga JOIN :#esoteric < 1612660759 173363 :Sgeo!~Sgeo@ool-18b98aa4.dyn.optonline.net PRIVMSG #esoteric :My knowledge of Celtic anything is limited to the existence of a dog named Sceolang and that Enya has music related to Celtic culture. < 1612660849 544794 :oerjan!oerjan@sprocket.nvg.ntnu.no PRIVMSG #esoteric :i didn't know about the dog but i've been aware of a dog of dogs < 1612660901 405977 :oerjan!oerjan@sprocket.nvg.ntnu.no PRIVMSG #esoteric :wait < 1612660907 259067 :oerjan!oerjan@sprocket.nvg.ntnu.no PRIVMSG #esoteric :i'm confused < 1612662180 413313 :tromp!~tromp@dhcp-077-249-230-040.chello.nl JOIN :#esoteric < 1612662425 324521 :tromp!~tromp@dhcp-077-249-230-040.chello.nl QUIT :Ping timeout: 240 seconds < 1612662967 840193 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :05:00:38 how I think that if I take some existing library ... < 1612663003 386085 :tromp!~tromp@dhcp-077-249-230-040.chello.nl JOIN :#esoteric < 1612663023 788438 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :the only thing I've found is https://www.cis.uni-muenchen.de/~schmid/tools/TreeTagger/ < 1612663075 57684 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :and compared to mystem (that is Russian only) it gives to little information that my plan didn't work well < 1612663086 107980 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :*so little < 1612663147 480420 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :the automated tagging appeared to be only 45% accurate < 1612663251 374474 :tromp!~tromp@dhcp-077-249-230-040.chello.nl QUIT :Ping timeout: 246 seconds < 1612664274 379113 :tromp!~tromp@dhcp-077-249-230-040.chello.nl JOIN :#esoteric < 1612664317 443553 :tromp!~tromp@dhcp-077-249-230-040.chello.nl QUIT :Remote host closed the connection < 1612664425 323951 :zzo38!~zzo38@host-24-207-14-22.public.eastlink.ca QUIT :Ping timeout: 240 seconds < 1612666361 117381 :tromp!~tromp@dhcp-077-249-230-040.chello.nl JOIN :#esoteric < 1612666647 98364 :tromp!~tromp@dhcp-077-249-230-040.chello.nl QUIT :Ping timeout: 256 seconds < 1612667374 852440 :oerjan!oerjan@sprocket.nvg.ntnu.no QUIT :Quit: leaving < 1612667582 418878 :ubq323!~ubq323@host86-154-198-83.range86-154.btcentralplus.com QUIT :Quit: WeeChat 2.3 > 1612668526 893722 PRIVMSG #esoteric :14[[07User:Erinius/Ideas14]]4 10 02https://esolangs.org/w/index.php?diff=80592&oldid=80525 5* 03Erinius 5* (+110) 10 > 1612668931 30671 PRIVMSG #esoteric :14[[07IDK14]]4 M10 02https://esolangs.org/w/index.php?diff=80593&oldid=80584 5* 03GrapeApple 5* (-35) 10 > 1612669519 898486 PRIVMSG #esoteric :14[[07IDK14]]4 M10 02https://esolangs.org/w/index.php?diff=80594&oldid=80593 5* 03GrapeApple 5* (+97) 10 < 1612670408 363698 :zzo38!~zzo38@host-24-207-14-22.public.eastlink.ca JOIN :#esoteric < 1612670655 807442 :deltaepsilon23!~deltaepsi@d179-68-39-184.evv.wideopenwest.com JOIN :#esoteric < 1612670666 71217 :delta23!~deltaepsi@d179-68-39-184.evv.wideopenwest.com QUIT :Ping timeout: 265 seconds < 1612670677 19312 :deltaepsilon23!~deltaepsi@d179-68-39-184.evv.wideopenwest.com QUIT :Remote host closed the connection < 1612670721 429131 :delta23!~deltaepsi@d179-68-39-184.evv.wideopenwest.com JOIN :#esoteric > 1612672486 522135 PRIVMSG #esoteric :14[[07IDK14]]4 M10 02https://esolangs.org/w/index.php?diff=80595&oldid=80594 5* 03GrapeApple 5* (+1137) 10 > 1612672585 605281 PRIVMSG #esoteric :14[[07IDK14]]4 M10 02https://esolangs.org/w/index.php?diff=80596&oldid=80595 5* 03GrapeApple 5* (-15) 10/* Language */ < 1612672608 350827 :tromp!~tromp@dhcp-077-249-230-040.chello.nl JOIN :#esoteric < 1612672686 331432 :tromp!~tromp@dhcp-077-249-230-040.chello.nl QUIT :Remote host closed the connection < 1612672883 952062 :b_jonas!~a@catv-176-63-12-131.catv.broadband.hu PRIVMSG #esoteric :ais523: if it's C11 mode then try #pragma STDC FP_CONTRACT OFF < 1612673283 830896 :b_jonas!~a@catv-176-63-12-131.catv.broadband.hu PRIVMSG #esoteric :" really the problem is that C doesn't have any way to say "excess precision is OK in this small subset of an expression" => it does: enable -fexcess-precision=standard or -std=c11 for standard behavior, then use an assignment or cast to force a value without excess precision. that's documented. < 1612673398 376890 :tromp!~tromp@dhcp-077-249-230-040.chello.nl JOIN :#esoteric < 1612673442 314376 :b_jonas!~a@catv-176-63-12-131.catv.broadband.hu PRIVMSG #esoteric :"for example, how do you take the average of two size_t values in C (rounding towards 0)?" => Hacker's Delight suggests (x & y) + ((x ^ y) >> 1) < 1612673667 376599 :tromp!~tromp@dhcp-077-249-230-040.chello.nl QUIT :Ping timeout: 246 seconds < 1612673706 811057 :b_jonas!~a@catv-176-63-12-131.catv.broadband.hu PRIVMSG #esoteric :but you're probably right that the hand-written assembly might work better here < 1612674501 899576 :delta23!~deltaepsi@d179-68-39-184.evv.wideopenwest.com QUIT :Read error: Connection reset by peer < 1612674520 419108 :delta23!~deltaepsi@d179-68-39-184.evv.wideopenwest.com JOIN :#esoteric < 1612676024 549886 :Lord_of_Life!~Lord@unaffiliated/lord-of-life/x-0885362 QUIT :Read error: Connection reset by peer < 1612676025 409524 :sprock!~sprocklem@unaffiliated/sprocklem QUIT :Ping timeout: 240 seconds < 1612676156 450338 :Lord_of_Life!~Lord@unaffiliated/lord-of-life/x-0885362 JOIN :#esoteric < 1612676784 59353 :sprock!~sprocklem@unaffiliated/sprocklem JOIN :#esoteric > 1612678624 925770 PRIVMSG #esoteric :14[[07IDK14]]4 M10 02https://esolangs.org/w/index.php?diff=80597&oldid=80596 5* 03GrapeApple 5* (-32) 10/* Language */ < 1612678745 684501 :delta23!~deltaepsi@d179-68-39-184.evv.wideopenwest.com QUIT :Quit: zzzzzzzzzzzzzz < 1612682701 57028 :sprock!~sprocklem@unaffiliated/sprocklem QUIT :Ping timeout: 265 seconds < 1612682830 441953 :tromp!~tromp@dhcp-077-249-230-040.chello.nl JOIN :#esoteric < 1612686813 347025 :craigo!~craigo@144.136.206.168 QUIT :Ping timeout: 264 seconds < 1612689005 885101 :hendursa1!~weechat@gateway/tor-sasl/hendursaga JOIN :#esoteric < 1612689059 825589 :hendursaga!~weechat@gateway/tor-sasl/hendursaga QUIT :Ping timeout: 268 seconds < 1612689177 587282 :LKoen!~LKoen@252.248.88.92.rev.sfr.net JOIN :#esoteric > 1612691645 274547 PRIVMSG #esoteric :14[[07Brainfuck code generation14]]4 10 02https://esolangs.org/w/index.php?diff=80598&oldid=79780 5* 03Maxi 5* (+453) 10/* Other */ > 1612691662 134113 PRIVMSG #esoteric :14[[07Brainfuck code generation14]]4 10 02https://esolangs.org/w/index.php?diff=80599&oldid=80598 5* 03Maxi 5* (-586) 10/* Languages that compile to brainfuck */ > 1612691680 96804 PRIVMSG #esoteric :14[[07Brainfuck code generation14]]4 10 02https://esolangs.org/w/index.php?diff=80600&oldid=80599 5* 03Maxi 5* (+586) 10/* Other */ < 1612692765 347518 :imode!~imode@unaffiliated/imode QUIT :Ping timeout: 240 seconds < 1612693554 423935 :rain1!~My_user_n@unaffiliated/rain1 JOIN :#esoteric < 1612693685 932510 :spruit11!~unknown@86-82-44-193.fixed.kpn.net QUIT :Read error: No route to host < 1612693798 366273 :Lord_of_Life_!~Lord@unaffiliated/lord-of-life/x-0885362 JOIN :#esoteric < 1612693883 116982 :spruit11!~unknown@86-82-44-193.fixed.kpn.net JOIN :#esoteric < 1612693977 401538 :Lord_of_Life!~Lord@unaffiliated/lord-of-life/x-0885362 QUIT :Ping timeout: 264 seconds < 1612693981 429524 :Lord_of_Life_!~Lord@unaffiliated/lord-of-life/x-0885362 NICK :Lord_of_Life < 1612694961 483423 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :with this p-o-s tagger results are even worse: http://www.cs.cmu.edu/~ark/TweetNLP/ < 1612695009 285215 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :maybe because they use only one char long tags < 1612695552 278938 :Sgeo!~Sgeo@ool-18b98aa4.dyn.optonline.net QUIT :Read error: Connection reset by peer < 1612696131 485451 :pablo!~home@37.163.187.236 JOIN :#esoteric < 1612696510 183110 :pablo!~home@37.163.187.236 QUIT :Quit: Leaving < 1612697558 915417 :Hooloovo0!Hooloovoo@sorunome.de QUIT :Ping timeout: 260 seconds < 1612698096 105501 :Hooloovo0!Hooloovoo@sorunome.de JOIN :#esoteric < 1612698372 800612 :Hooloovo0!Hooloovoo@sorunome.de QUIT :Ping timeout: 256 seconds < 1612700322 574693 :Hooloovo0!Hooloovoo@sorunome.de JOIN :#esoteric < 1612701068 70098 :FreeFull!~freefull@defocus/sausage-lover JOIN :#esoteric > 1612701743 677974 PRIVMSG #esoteric :14[[07Flame14]]4 N10 02https://esolangs.org/w/index.php?oldid=80601 5* 03CatLooks 5* (+76) 10Created page with "'''Flame''' is a programming language created by [[User:CatLooks|CatLooks]]." < 1612703737 909863 :tromp!~tromp@dhcp-077-249-230-040.chello.nl QUIT :Remote host closed the connection < 1612703739 43196 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :results of these one https://code.google.com/archive/p/hunpos/ are close to tree-tagger; this one https://textblob.readthedocs.io/en/dev/index.html worked for me as bad as ARK > 1612704722 180345 PRIVMSG #esoteric :14[[07Horribly Translated BASIC14]]4 N10 02https://esolangs.org/w/index.php?oldid=80602 5* 03Gilbert189 5* (+4679) 10Created page with ":''Note that I have horribly translated this page just for the heck of it. The original text should be available.'' :''Remember, this is just an example. Dictionary, syntax, e..." > 1612704843 381869 PRIVMSG #esoteric :14[[07Talk:Horribly Translated BASIC14]]4 N10 02https://esolangs.org/w/index.php?oldid=80603 5* 03Gilbert189 5* (+4830) 10Created page with "==Original text== :''Note that this is only an example. The keywords, syntax, and any other should not be exactly like this.'' Horribly Translated BASIC is BASIC but horribly..." > 1612704981 543924 PRIVMSG #esoteric :14[[07Horribly Translated BASIC14]]4 10 02https://esolangs.org/w/index.php?diff=80604&oldid=80602 5* 03Gilbert189 5* (+33) 10 < 1612704983 376962 :tromp!~tromp@dhcp-077-249-230-040.chello.nl JOIN :#esoteric > 1612705167 906648 PRIVMSG #esoteric :14[[07Horribly Translated BASIC14]]4 10 02https://esolangs.org/w/index.php?diff=80605&oldid=80604 5* 03Gilbert189 5* (+77) 10 > 1612705222 618110 PRIVMSG #esoteric :14[[07Horribly Translated BASIC14]]4 10 02https://esolangs.org/w/index.php?diff=80606&oldid=80605 5* 03Gilbert189 5* (+27) 10 > 1612705343 605233 PRIVMSG #esoteric :14[[07SQ14]]4 M10 02https://esolangs.org/w/index.php?diff=80607&oldid=80276 5* 03PythonshellDebugwindow 5* (+74) 10/* Opcodes */ Categories < 1612707981 343612 :Arcorann_!~awych@159-196-65-46.9fc441.mel.nbn.aussiebb.net QUIT :Ping timeout: 264 seconds > 1612708453 482132 PRIVMSG #esoteric :14[[07User:Gilbert18914]]4 10 02https://esolangs.org/w/index.php?diff=80608&oldid=80514 5* 03Gilbert189 5* (+32) 10 < 1612710754 389996 :arseniiv_!~arseniiv@94.41.5.225.dynamic.ufanet.ru JOIN :#esoteric < 1612712893 351095 :arseniiv!~arseniiv@95.105.2.1.dynamic.ufanet.ru JOIN :#esoteric < 1612713000 393649 :arseniiv_!~arseniiv@94.41.5.225.dynamic.ufanet.ru QUIT :Ping timeout: 246 seconds < 1612716378 930048 :xelxebar!~xelxebar@gateway/tor-sasl/xelxebar QUIT :Remote host closed the connection < 1612716397 884363 :xelxebar!~xelxebar@gateway/tor-sasl/xelxebar JOIN :#esoteric < 1612717162 374271 :craigo!~craigo@144.136.206.168 JOIN :#esoteric < 1612717178 371957 :ais523!~ais523@unaffiliated/ais523 JOIN :#esoteric > 1612717491 50559 PRIVMSG #esoteric :14[[07BSS14]]4 10 02https://esolangs.org/w/index.php?diff=80609&oldid=80395 5* 03CatLooks 5* (+2335) 10 > 1612718536 40354 PRIVMSG #esoteric :14[[07User:Hakerh400/JavaScript Quiz14]]4 10 02https://esolangs.org/w/index.php?diff=80610&oldid=80146 5* 03Hakerh400 5* (+221) 10 > 1612718663 189731 PRIVMSG #esoteric :14[[07User:Hakerh400/JavaScript Quiz14]]4 10 02https://esolangs.org/w/index.php?diff=80611&oldid=80610 5* 03Hakerh400 5* (-36) 10 > 1612718769 864046 PRIVMSG #esoteric :14[[07User:Hakerh400/JavaScript Quiz14]]4 10 02https://esolangs.org/w/index.php?diff=80612&oldid=80611 5* 03Hakerh400 5* (-1) 10 < 1612719023 862605 :b_jonas!~a@catv-176-63-12-131.catv.broadband.hu PRIVMSG #esoteric :apparently I can't type "quest". my fingers finish it as "question". < 1612719306 141353 :int-e!~noone@int-e.eu PRIVMSG #esoteric :typing of questionable quality < 1612719332 386911 :b_jonas!~a@catv-176-63-12-131.catv.broadband.hu PRIVMSG #esoteric :yeah < 1612720430 331850 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :A quest for an ion. < 1612721490 294338 :tromp!~tromp@dhcp-077-249-230-040.chello.nl QUIT :Remote host closed the connection < 1612721642 191625 :shachaf!~shachaf@unaffiliated/shachaf PRIVMSG #esoteric :What are some interesting Las Vegas algorithms that aren't SAT or that kind of search problem? < 1612721669 50808 :shachaf!~shachaf@unaffiliated/shachaf PRIVMSG #esoteric :There are a lot of randomized algorithms, like randomized quicksort or something, but those finish quickly with such high probability that they barely count. < 1612722696 378926 :tromp!~tromp@dhcp-077-249-230-040.chello.nl JOIN :#esoteric < 1612722753 834996 :NotApplicable!6344f5ae@99-68-245-174.lightspeed.bcvloh.sbcglobal.net JOIN :#esoteric < 1612722975 368659 :tromp!~tromp@dhcp-077-249-230-040.chello.nl QUIT :Ping timeout: 246 seconds < 1612723391 470842 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :Is "hammersmith" the kind of smith that makes hammers, or the kind of smith that uses hammers to make other things (possibly also including hammers)? < 1612723409 888382 :NotApplicable!6344f5ae@99-68-245-174.lightspeed.bcvloh.sbcglobal.net PRIVMSG #esoteric :yes < 1612723449 535106 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :It seems to be a maker of hammers, if wiktionary is to be believed. < 1612723695 753950 :LKoen!~LKoen@252.248.88.92.rev.sfr.net QUIT :Remote host closed the connection < 1612723773 51168 :int-e!~noone@int-e.eu PRIVMSG #esoteric :two more islands, one more friend... < 1612724296 655888 :FreeFull!~freefull@defocus/sausage-lover QUIT : < 1612725265 435519 :Lord_of_Life!~Lord@unaffiliated/lord-of-life/x-0885362 QUIT :Ping timeout: 240 seconds < 1612725520 386509 :tromp!~tromp@dhcp-077-249-230-040.chello.nl JOIN :#esoteric < 1612725768 414979 :tromp!~tromp@dhcp-077-249-230-040.chello.nl QUIT :Ping timeout: 246 seconds < 1612725777 742772 :Lord_of_Life!~Lord@unaffiliated/lord-of-life/x-0885362 JOIN :#esoteric < 1612727381 322142 :NotApplicable!6344f5ae@99-68-245-174.lightspeed.bcvloh.sbcglobal.net QUIT :Quit: Connection closed < 1612727505 366879 :tromp!~tromp@dhcp-077-249-230-040.chello.nl JOIN :#esoteric < 1612728098 48765 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric : ais523: if it's C11 mode then try #pragma STDC FP_CONTRACT OFF ← I did, it didn't help < 1612728098 729435 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :hammersmith sounds like WW2 time German aircraft < 1612728127 716463 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :actually I think I forgot to use -std=c99 / -std=c11 in addition to the pragma, although that's unlikely to matter < 1612728142 316015 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :I tried -fexcess-precision=standard as well, that didn't help either < 1612728235 997561 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :your (x & y) + ((x ^ y) >> 1) suggestion is clever, slightly fewer operations than (x / 2) + (y / 2) + (x & y & 1), although neither is obviously equivalent to ((int65_t)x + (int65_t)y) / 2 < 1612728250 3183 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :and at least to me, it's a lot less obvious what it's doing < 1612728278 444183 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :(it works by doing the two half-additions that make up a full-addition separately) < 1612728473 510289 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :it looks clearly better than clang -O3's compilation of the __builtin_uaddll_overflow version > 1612728499 308509 PRIVMSG #esoteric :14[[07NyaScript14]]4 10 02https://esolangs.org/w/index.php?diff=80613&oldid=80459 5* 03ThatCookie 5* (+938) 10Added NyaScript++ < 1612728505 242378 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :not clear on whether it's better than gcc's branchy version, it probably depends on how predictable the branch is > 1612728539 787648 PRIVMSG #esoteric :14[[07NyaScript14]]4 M10 02https://esolangs.org/w/index.php?diff=80614&oldid=80613 5* 03ThatCookie 5* (+1) 10 < 1612728560 917514 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :really, I think in terms of compiler branch hints, a hint that a branch is predictable/unpredictable would be more useful than a hint that a branch is likely/unlikely… < 1612728737 362732 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :predictable branches are very cheap, but unpredictable branches are very costly < 1612728767 798017 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :(assuming that all the code being run is in L1 cache already, which it normally will be for anything performance-sensitive) < 1612728878 772166 :kmc!~beehive@unaffiliated/kmcallister PRIVMSG #esoteric :what would the CPU do with such a hint? < 1612728917 212342 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :not the CPU, the compiler < 1612728932 958468 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :there's often a complex way to avoid generating a branch instruction, by computing all possible branches in parallel < 1612728945 832703 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :this is normally slower if the branch instruction would be fast, but faster if the branch instruction would be slo < 1612728947 670686 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :* slow < 1612728970 429342 :tromp!~tromp@dhcp-077-249-230-040.chello.nl QUIT :Remote host closed the connection < 1612729243 857732 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :e.g. modern compilers targeting x86-64 will compile (x >= 0 ? x : -x) (with x an int) to the equivalent of ({long _Temp = (long)x >> 32; (x ^ _Temp) - _Temp}) < 1612729348 394719 :myname!~myname@2001:41d0:1:766f::1 PRIVMSG #esoteric :isn't there an abs asm command? < 1612729362 979220 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :not as far as I know < 1612729370 541276 :myname!~myname@2001:41d0:1:766f::1 PRIVMSG #esoteric :huh < 1612729386 917086 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :there isn't even a floating-point negate, most compilers use an xor to flip the sign bit < 1612729454 985770 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :(I have a suspicion that subtraction from zero may be more efficient, though, although the answer isn't quite the same due how floating point works) < 1612729465 611263 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :`fabs`, on the other hand, was a thing back when floats were done by x87. < 1612729467 446384 :HackEso!~h@unaffiliated/fizzie/bot/hackeso PRIVMSG #esoteric :fabs`,? No such file or directory < 1612729481 131108 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :HackEso: I wasn't talking to you. < 1612729481 437610 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :ah yes, I'm only checking the sse/avx FPU < 1612729498 475137 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :x87 has its own set of commands that are different < 1612729606 370718 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :Looks like x87 negate was the rather unexpectedly named "FCHS", for "change sign". > 1612729660 545260 PRIVMSG #esoteric :14[[07English14]]4 M10 02https://esolangs.org/w/index.php?diff=80615&oldid=77788 5* 03ThisIsTheFoxe 5* (+16) 10added link (awesome lang btw) < 1612729717 288198 :hakatashi1!~hakatashi@104.131.49.125 QUIT :Remote host closed the connection < 1612729733 827366 :hakatashi!~hakatashi@104.131.49.125 JOIN :#esoteric < 1612729777 458786 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :huh, the treatement of negative zero seems to be consistent across languages, so maybe subtraction from 0 isn't a *valid* way to negate a floating point number < 1612729799 721397 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :in particular, 0-0 is positive zero < 1612729812 296649 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :-0-0 is negative zero, and -0+0 is positive zero < 1612729956 366920 :imode!~imode@unaffiliated/imode JOIN :#esoteric < 1612730010 122788 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :oh, I didn't try 0+-0, that's also positive zero < 1612730211 115016 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :in ruby it depends on if the zero is integer or float < 1612730241 827001 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :twos-complement integers don't have a separate +0 and -0 so you will always just get (the only available) zero < 1612730268 562829 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :https://dpaste.org/P1w4/slim < 1612730276 990368 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :but floats are represented as sign-magnitude on almost all commonly used processors, so +0 and -0 have separate representations < 1612730417 722120 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :seems like in RASEL they are always positive < 1612730497 33476 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :I've been keeping track of the C23 process every now and then, and the current draft drops support for non-two's-complement integers. And no longer allows a trap representation for two's-complement either, unless there's padding bits. So a signed char will finally have exactly as many unique values as unsigned char. < 1612730635 398018 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :wait, didn't they both had 256? _OO < 1612730645 28891 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :*have < 1612730841 586009 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :Up until now, unsigned char has had two to the power of CHAR_BIT unique values (where CHAR_BIT is 8 or greater), but signed char may have had one less. For ones' complement and sign-and-magnitude, because of the redundant "negative" zero. And for all three allowed representations, even without padding bits, there's one special bit pattern that's allowed to be a trap representation. (Come to think of it, < 1612730847 596987 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :maybe that was ruled out for character types, though.) < 1612731149 428630 :tromp!~tromp@dhcp-077-249-230-040.chello.nl JOIN :#esoteric < 1612731572 854770 :hendursa1!~weechat@gateway/tor-sasl/hendursaga QUIT :Ping timeout: 268 seconds < 1612731585 420074 :tromp!~tromp@dhcp-077-249-230-040.chello.nl QUIT :Ping timeout: 246 seconds < 1612731597 166730 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :"0 with sign bit flipped" makes for a decent trap representation in practice, but most systems don't want one < 1612731727 697785 :NotApplicable!~NotApplic@2600:1702:3680:756f:b481:1307:3246:1aa5 JOIN :#esoteric < 1612731732 569046 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :I'm sorry I still don't get it, unsigned were 0..255, signed were -128..+127 -- isn't it the same number 256 of uniq values? < 1612731794 987198 :hendursa1!~weechat@gateway/tor-sasl/hendursaga JOIN :#esoteric < 1612731802 406866 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :It would if those were the guaranteed ranges, but signed is allowed to be just -127 .. 127. < 1612731816 713591 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :woah < 1612732121 318691 :NotApplicable!~NotApplic@2600:1702:3680:756f:b481:1307:3246:1aa5 PRIVMSG #esoteric :fizzie: (I just joined so I don't have much context) From my experience its -128 ... +127. Perhaps there's a +0 and a -0? < 1612732208 162630 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :That's more or less what we were talking about, yes. < 1612732226 223572 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :C11 6.2.6.2p2: "If the sign bit is one, the value shall be modified in one of the following ways: [explains sign and magnitude, two's complement, ones' complemet]. Which of these applies is implementation-defined, as is whether the value with sign bit 1 and all value bits zero (for the first two), or with sign bit and all value bits 1 (for ones' complement), is a trap representation or a normal value. In < 1612732232 190993 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :the case of sign and magnitude and ones' complement, if this representation is a normal value it is called a /negative zero/." < 1612732263 973523 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :With the larger context being that current C23 draft no longer allows that. < 1612732283 389240 :NotApplicable!~NotApplic@2600:1702:3680:756f:b481:1307:3246:1aa5 PRIVMSG #esoteric :Ah, thanks < 1612732418 210296 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :so what I was taught in uni back in 2004 wasn't really implemented until C23? lol < 1612732505 61554 :Sgeo!~Sgeo@ool-18b98aa4.dyn.optonline.net JOIN :#esoteric < 1612732516 429075 :rain1!~My_user_n@unaffiliated/rain1 QUIT :Ping timeout: 240 seconds < 1612732536 142563 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :I don't think there were necessarily too many more people using non-two's-complement integers back in 2004 either, but the standard doesn't follow practice that fast. < 1612732627 441236 :tromp!~tromp@dhcp-077-249-230-040.chello.nl JOIN :#esoteric < 1612732876 361930 :tromp!~tromp@dhcp-077-249-230-040.chello.nl QUIT :Ping timeout: 240 seconds < 1612732880 154861 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :god bless hipster languages and bignums < 1612733009 332153 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :if I knew this before I would not be able to sleep < 1612733425 846713 :ubq323!~ubq323@host86-154-198-83.range86-154.btcentralplus.com JOIN :#esoteric < 1612733993 453394 :tromp!~tromp@dhcp-077-249-230-040.chello.nl JOIN :#esoteric < 1612734057 597010 :int-e!~noone@int-e.eu PRIVMSG #esoteric :fizzie: every time I see this I wonder whether there really are architectures like this anymore < 1612734127 777048 :int-e!~noone@int-e.eu PRIVMSG #esoteric :maybe if you implement signed ints as floats < 1612734190 667493 :int-e!~noone@int-e.eu PRIVMSG #esoteric :but I'm not sure whether that's really allowed... are int and unsigned int required to have the same size? < 1612734220 856808 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :Yes. < 1612734244 663265 :int-e!~noone@int-e.eu PRIVMSG #esoteric :that's awkward then < 1612734268 1950 :int-e!~noone@int-e.eu PRIVMSG #esoteric :for this particular (bad) idea < 1612734282 47173 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :They're even required to have the value bits of the signed type be exactly the same bits of the object representation as the matching value bits of the corresponding unsigned type. < 1612734323 587065 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :AFAICT, you could have the sign bit of the signed type not be the same bit as the last remaining value bit of the unsigned type, though. < 1612734332 848852 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :(You'll need at least one padding bit for that.) < 1612734335 500887 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :fwiw, the all-ones representation doesn't make for a good trap representation in one's complement < 1612734350 317037 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :most calculations will naturally produce it when producing a result of zero < 1612734362 635644 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :so it makes more sense for all-zeros to be the trap representation, and all-ones the representation of 0 < 1612734405 661810 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :one's-complement is almost as easy to implement in hardware as two's-complement, incidentally (the only difference is what you do with the carry from the top element) < 1612734406 265172 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :Right, but it also makes sense (and is required) for all-zeros be a valid representation of 0 for the purposes of zeroed memory and such. < 1612734420 662008 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :but I think two's-complement is preferred because it chains better to numbers that are more than one word wide < 1612734433 929248 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :(Well, maybe if all your integer types were ones' complement, you'd 1-fill your memory instead, who knows.) < 1612734436 623547 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :fizzie: C doesn't require zero-initialised structures to have zeroed memory, does it? < 1612734446 89907 :int-e!~noone@int-e.eu PRIVMSG #esoteric :oh right, using 0x80...00 as a trap value in 2s complement would make sense < 1612734478 69791 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :ais523: No, but it does require zeroed memory to be a valid representation of 0 for integer types. < 1612734490 501133 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :one advantage of 0x80…00 as a trap value is that you can't get an integer overflow on division any more < 1612734515 743454 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :it's quite easy to forget that INT_MIN/-1 will overflow the integer range < 1612734516 655141 :int-e!~noone@int-e.eu PRIVMSG #esoteric :> abs (minBound :: Int) < 1612734518 496592 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :It also makes `-x` defined for all valid values of x. < 1612734518 606712 :lambdabot!~lambdabot@haskell/bot/lambdabot PRIVMSG #esoteric : -9223372036854775808 < 1612734529 473928 :int-e!~noone@int-e.eu PRIVMSG #esoteric :there's also this (related) < 1612734543 141265 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :fizzie: aww (wrt zeroed memory) < 1612734561 858067 :int-e!~noone@int-e.eu PRIVMSG #esoteric :> abs (minBound :: Int8) -- human readable < 1612734563 872085 :lambdabot!~lambdabot@haskell/bot/lambdabot PRIVMSG #esoteric : -128 < 1612734580 142279 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :I've grown to really hate C, because it attempts to give generic access to a range of processor features, yet it isn't generic enough and is holding back processors from doing things that C can't express or disallows < 1612734600 837697 :int-e!~noone@int-e.eu PRIVMSG #esoteric :ACTION somehow doesn't know 2^63 or 2^64 by heart :) < 1612734613 866322 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :I know 4294967296 off by heart (2**32) < 1612734620 310134 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :but not 2**31 or 2**63 or 2**64 < 1612734634 338490 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :(C11 6.2.6.2p4: "For any integer type, the object representation where all the bits are zero shall be a representation of the value zero in that type." It doesn't have to be the "canonical" representation of zero -- that could have some set padding bits, or maybe be the negative one -- but it has to be a non-trap zero.) < 1612734634 797029 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :Int, Int8... -- there was probably the reason to introduce such type as "byte" < 1612734639 855714 :int-e!~noone@int-e.eu PRIVMSG #esoteric :2147...something < 1612734650 105540 :int-e!~noone@int-e.eu PRIVMSG #esoteric :> 2^31 < 1612734652 158007 :lambdabot!~lambdabot@haskell/bot/lambdabot PRIVMSG #esoteric : 2147483648 < 1612734663 780247 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :it's not that hard to divide 2**32 by 2 in your head < 1612734672 733958 :int-e!~noone@int-e.eu PRIVMSG #esoteric :I'm sure I knew it all at some point :) < 1612734685 61214 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :you aren't required to remember the 10-base number < 1612734688 809390 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :I don't know 2**63 or 2**64 by heart, but I immediately assume anything that starts with 9 or 18 and is about the right length is going to be exactly that. < 1612734705 913089 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :ais523 1**32 < 1612734713 913917 :int-e!~noone@int-e.eu PRIVMSG #esoteric :nakilon: of course not... but it wouldn't hurt < 1612734719 143556 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :1**32 is just 1, isn't it? < 1612734723 332096 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :or did you mean 1<<32? < 1612734725 382344 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :tshhhhh < 1612734742 205 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :I forgot to add /s to the end < 1612734757 398117 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :In fact, I don't remember any of the ones past 16777216, and even that probably just because of the 777. < 1612734783 841652 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :216 is 6^3 < 1612734794 161386 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :don't tell me now I'll remember this number too < 1612734823 362108 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :59049 is 3**10 < 1612734832 100597 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :that one comes up in Malbolge and TriINTERCAL < 1612734842 294502 :int-e!~noone@int-e.eu PRIVMSG #esoteric :86400 seconds in a day, 1440 minutes < 1612734844 467046 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :sort of the 65536 equivalent < 1612734867 838447 :int-e!~noone@int-e.eu PRIVMSG #esoteric :45054 = 0xAFFE, no reason ;) < 1612734873 103105 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :(I think esolangers have collectively decided that a word on a trinary virtual machine is a multiple of 10 trits long) < 1612734891 861113 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :1114111 == 0x10ffff, the maximum codepoint in Unicode < 1612734919 260319 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :yeah, 86400 is in my "one post in a day"-filtered RSS feed URL < 1612734935 915341 :int-e!~noone@int-e.eu PRIVMSG #esoteric :nakilon: well you probably know a lot of random and mostly useless numbers like these < 1612734936 389395 :NotApplicable!~NotApplic@2600:1702:3680:756f:b481:1307:3246:1aa5 PRIVMSG #esoteric :This is unrelated, but does anybody know why sometimes `(float 1) = (float 1) - (float 2)` results in the actual answer plus/minus 0.00000001 or 0.11111111 or something along those lines, regardless of the value in either of the variables beforehand? > 1612734957 919346 PRIVMSG #esoteric :14[[07Photon (Quintopia)14]]4 10 02https://esolangs.org/w/index.php?diff=80616&oldid=80588 5* 03Quintopia 5* (+592) 10/* Computational Class */ < 1612734969 157211 :int-e!~noone@int-e.eu PRIVMSG #esoteric :86400 though is useful, and a lot of people don't know it... < 1612734969 301175 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :when I was a reserve for the UK olympic maths team, I asked my co-competitors what the largest prime was that they could spell out as digits from memory < 1612734973 538636 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :the most common answer was 65537 < 1612734975 317157 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :int-e my brother was learning Pi < 1612734983 300997 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :and I don't think I have a higher prime memorised either < 1612734988 386821 :int-e!~noone@int-e.eu PRIVMSG #esoteric :3.141592...enough :) < 1612734989 861332 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :I guess he has learned 100 digits < 1612735004 293615 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :some of them could get very deep into pi, though < 1612735020 761853 :int-e!~noone@int-e.eu PRIVMSG #esoteric :(yes, I didn't even memorize the full calculator value... 10 digits) < 1612735031 33523 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :NotApplicable: I've been looking into floating-point maths a lot, recently < 1612735050 897814 :xelxebar!~xelxebar@gateway/tor-sasl/xelxebar QUIT :Ping timeout: 268 seconds < 1612735058 225335 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :the way to think about it is that a floating-point number is stored internally as an integer times 2 to the power of an integer (either of the integers can be negative) < 1612735073 154837 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :00:56:28 3.141592...enough :) < 1612735086 961935 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :you floored it though instead of rounding < 1612735087 637811 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :so for example, 2.25 would be stored as 9*(2**-2) < 1612735096 556535 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :the next digit is 6 < 1612735098 886266 :int-e!~noone@int-e.eu PRIVMSG #esoteric :> (2^2^5 + 1) `mod` 641 < 1612735101 37244 :lambdabot!~lambdabot@haskell/bot/lambdabot PRIVMSG #esoteric : 0 < 1612735126 331293 :int-e!~noone@int-e.eu PRIVMSG #esoteric :(I somehow remember that 641) < 1612735134 659380 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :however, both these integers have a limited range (the range on the exponent rarely ends up mattering, but the range on the multiplier is very often relevant) < 1612735138 604228 :xelxebar!~xelxebar@gateway/tor-sasl/xelxebar JOIN :#esoteric < 1612735140 663523 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :3.141592654 (rounded) is I think what my calculator used to have, so I learned that, and 3.141592653589... (floored) as an extension to that. < 1612735142 743407 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :maybe there can be a computer based not on binary, not on ternary but on prime numbers < 1612735162 542101 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :so if you end up with an integer overflow on the multiplier, the processor compensates by halving, quartering, etc. the multiplier and adjusting the exponent to match < 1612735175 898568 :int-e!~noone@int-e.eu PRIVMSG #esoteric :nakilon: yes it's floored and that's still good enough :P < 1612735185 159884 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :nakilon: Is this leading to some sort of a pun about the word "primary"? < 1612735209 87276 :NotApplicable!~NotApplic@2600:1702:3680:756f:b481:1307:3246:1aa5 PRIVMSG #esoteric :ais523: OH < 1612735220 485124 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :oh, my Pi estimation was floored too? ( < 1612735233 939152 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :anyway, if you're adding or subtracting floats, the processor basically has to scale the multipliers to make the exponents the same, and when the exponents are very different, normally one of the multipliers ends up overflowing as a consequence and lots of bits get thrown away < 1612735245 346174 :NotApplicable!~NotApplic@2600:1702:3680:756f:b481:1307:3246:1aa5 PRIVMSG #esoteric :so if I make the numbers smaller, it wouldn't overflow < 1612735262 546126 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :smaller, ignoring multiples of 2 < 1612735281 369389 :NotApplicable!~NotApplic@2600:1702:3680:756f:b481:1307:3246:1aa5 PRIVMSG #esoteric :thanks! < 1612735288 306793 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :e.g. 3072 is a very "small" number as a floating point, because it's 3*(2**10) and 3 and 10 are small < 1612735316 983285 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :ACTION is glad RASEL does not have float precision errors < 1612735341 336245 :int-e!~noone@int-e.eu PRIVMSG #esoteric :shachaf: at least I can reasonably estimate the number of islands now... I'll say 590 +/- 3. < 1612735346 693815 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :The base-2 representation is also why numbers like 0.1 can't be exactly represented as floats. < 1612735364 500891 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :yep, 0.1 isn't an exact integer multiplier of *any* power of 2 < 1612735365 195106 :NotApplicable!~NotApplic@2600:1702:3680:756f:b481:1307:3246:1aa5 PRIVMSG #esoteric :ACTION is sad because QB64 apparently does < 1612735379 181358 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :so it will get rounded to a float that can actually be represented < 1612735390 711176 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :`! c printf("%.80f", 0.1); < 1612735391 570424 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :fizzie it was probably an old human mistake to adopt 10 base < 1612735392 543474 :HackEso!~h@unaffiliated/fizzie/bot/hackeso PRIVMSG #esoteric :0.10000000000000000555111512312578270211815834045410156250000000000000000000000000 < 1612735409 15061 :int-e!~noone@int-e.eu PRIVMSG #esoteric :"mistake" < 1612735433 309371 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :fizzie: now I'm curious what the exponent on that one is < 1612735466 371742 :int-e!~noone@int-e.eu PRIVMSG #esoteric :binary would've been a mistake < 1612735478 792610 :NotApplicable!~NotApplic@2600:1702:3680:756f:b481:1307:3246:1aa5 PRIVMSG #esoteric :I personally really like working in hexadecimal > 1612735513 47194 PRIVMSG #esoteric :14[[07Parse this sic14]]4 M10 02https://esolangs.org/w/index.php?diff=80617&oldid=80586 5* 03Digital Hunter 5* (-9) 10 < 1612735568 57043 :int-e!~noone@int-e.eu PRIVMSG #esoteric :decimal really works well enough, except for computers if one isn't careful < 1612735573 79858 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :0.1000000000000000055511151231257827021181583404541015625, on the other hand, is exactly 3602879701896397*2^-55. < 1612735586 606430 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :fizzie: thanks for working it out for me < 1612735591 789463 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :I was trying to but wasn't sure of a good approach to use < 1612735637 250737 :int-e!~noone@int-e.eu PRIVMSG #esoteric :> toRational (10^54 * 0.1) < 1612735638 967550 :lambdabot!~lambdabot@haskell/bot/lambdabot PRIVMSG #esoteric : 100000000000000020589742799994816764107083808679919616 % 1 < 1612735678 361079 :rain1!~My_user_n@unaffiliated/rain1 JOIN :#esoteric < 1612735700 826908 :int-e!~noone@int-e.eu PRIVMSG #esoteric :> toRational (2^54 * 0.1) * 5^54 < 1612735703 85099 :lambdabot!~lambdabot@haskell/bot/lambdabot PRIVMSG #esoteric : 200000000000000011102230246251565404236316680908203125 % 2 < 1612735715 317819 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :I used bc + scale=100 + tested multiplying that number by some reasonable powers of two, starting from 2^50, until I got an integer result (at 2^55). < 1612735722 681504 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :$ ruby -e 'p 10r**100' < 1612735722 857162 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :(10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000/1) < 1612735744 203009 :int-e!~noone@int-e.eu PRIVMSG #esoteric :> toRational 0.1 * 10^55 -- err, that was stupid < 1612735745 431263 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :$ ruby -e 'p (10r**100).to_i' < 1612735745 592310 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 < 1612735746 570878 :lambdabot!~lambdabot@haskell/bot/lambdabot PRIVMSG #esoteric : 1000000000000000055511151231257827021181583404541015625 % 1 < 1612735768 466007 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :> toRational 0.1 < 1612735770 643232 :lambdabot!~lambdabot@haskell/bot/lambdabot PRIVMSG #esoteric : 3602879701896397 % 36028797018963968 < 1612735792 343533 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :$ ruby -e 'p 0.1r' < 1612735792 539056 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :(1/10) < 1612735812 526948 :int-e!~noone@int-e.eu PRIVMSG #esoteric :`toRational` is a really terrible function < 1612735815 656076 :HackEso!~h@unaffiliated/fizzie/bot/hackeso PRIVMSG #esoteric :toRational`? No such file or directory < 1612735817 273360 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :ah sorry this is correct: < 1612735818 819117 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :$ ruby -e 'p 0.1.to_r' < 1612735818 916801 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :(3602879701896397/36028797018963968) < 1612735827 259392 :int-e!~noone@int-e.eu PRIVMSG #esoteric :HackEso: sorry < 1612735832 65807 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :*correct analogy < 1612735891 824816 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :huh, this just made me realise a parser ambiguity in Rust (0.1 could either be a single number, or field 1 of the integer 0) < 1612735903 628871 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :at least one of the meanings is never going to be useful, so you can resolve it as the other < 1612735919 742322 :rain1!~My_user_n@unaffiliated/rain1 PRIVMSG #esoteric :interesting < 1612735924 780711 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :this doesn't come up in most languages, because "1" is not a valid identifier < 1612735934 101996 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :so you can't use it as a method/property name < 1612735944 438898 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :but Rust uses numeric identifiers for anonymous fields of structures < 1612735966 187145 :int-e!~noone@int-e.eu PRIVMSG #esoteric :> [False..] < 1612735968 585712 :lambdabot!~lambdabot@haskell/bot/lambdabot PRIVMSG #esoteric : :1:9: error: :1:9: error: parse error on input ‘]’ < 1612735971 446442 :int-e!~noone@int-e.eu PRIVMSG #esoteric :> [False ..] < 1612735973 555493 :lambdabot!~lambdabot@haskell/bot/lambdabot PRIVMSG #esoteric : [False,True] < 1612735982 888886 :int-e!~noone@int-e.eu PRIVMSG #esoteric :kinda similar < 1612736012 901315 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :it actually shocks me how many ambiguities there are in programming language syntax in general, especially if you don't have a separate lexing stage < 1612736037 159448 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :lots of languages have constructs that could plausibly mean something else < 1612736105 943798 :int-e!~noone@int-e.eu PRIVMSG #esoteric :/*/ comment /*/ < 1612736130 250129 :rain1!~My_user_n@unaffiliated/rain1 PRIVMSG #esoteric :it's nuts < 1612736134 382359 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :ah, /*/, the "toggle comment" construct, beloved of polyglots < 1612736139 699762 :rain1!~My_user_n@unaffiliated/rain1 PRIVMSG #esoteric :everything is basically defined by implementation < 1612736149 471538 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :Go has this thing where, because they dropped the ()s around the controlling expressions of if and friends, expressions that'd want to involve a composite literal, like `if x == T{a,b,c} { ... }`, need to be instead written either `if x == (T{a,b,c}) { ... }` or `if (x == T{a,b,c}) { ... }` to disambiguate the composite literal from the statement's block. < 1612736163 172159 :rain1!~My_user_n@unaffiliated/rain1 PRIVMSG #esoteric :hah < 1612736174 429172 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :!c int a = 4; int *b = &a; printf("%d", 8/*b); < 1612736181 305509 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :`! c int a = 4; int *b = &a; printf("%d", 8/*b); < 1612736183 339453 :HackEso!~h@unaffiliated/fizzie/bot/hackeso PRIVMSG #esoteric :Does not compile. < 1612736189 81359 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :`! c int a = 4; int *b = &a; printf("%d", 8/ *b); < 1612736191 359275 :HackEso!~h@unaffiliated/fizzie/bot/hackeso PRIVMSG #esoteric :2 < 1612736200 346129 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :I guess this is why we teach people to put spaces in their expressions :-) < 1612736203 168570 :NotApplicable!~NotApplic@2600:1702:3680:756f:b481:1307:3246:1aa5 PRIVMSG #esoteric :QB64 has ALOT of ambiguatitiesicantspell < 1612736213 74355 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :everything in undefined in the first place ..D < 1612736222 584215 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :especially in JS < 1612736263 146578 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :fizzie: Rust gets away with that by not using {} as a subscripting operator < 1612736280 740788 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :JS is very precisely defined, just the definitions are usually not what you are expecting < 1612736334 902766 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :well it clearly says everything is undefined < 1612736335 765891 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :https://i.imgur.com/JYeLWqr.png < 1612736357 792666 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :"not defined", whatever < 1612736392 791137 :int-e!~noone@int-e.eu PRIVMSG #esoteric :the browser side (DOM, events) used to be terrible < 1612736426 15264 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :it still is terrible, just more standardised than it used to be < 1612736427 258748 :int-e!~noone@int-e.eu PRIVMSG #esoteric :the JS language itself is mostly okay < 1612736444 294444 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :`` echo 'long long long i;' | gcc -x c - # I keep waiting for the day when someone with no sense of humour gets rid of this specific error message < 1612736445 491278 :HackEso!~h@unaffiliated/fizzie/bot/hackeso PRIVMSG #esoteric :​:1:11: error: ‘long long long’ is too long for GCC < 1612736451 102489 :int-e!~noone@int-e.eu PRIVMSG #esoteric :ais523: yeah good point < 1612736456 417005 :tromp!~tromp@dhcp-077-249-230-040.chello.nl QUIT :Remote host closed the connection < 1612736463 70193 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :int-e: JS was created by someone who clearly knew what they were doing, but in a timescale too short to do a proper job of it < 1612736485 580728 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :so it has all sorts of shortcuts-to-get-the-implementation-done-faster, like function scope rather than lexical scope < 1612736508 997732 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :ACTION sees "jshell" command available in his bash and wonder if it's J SHELL or JS HELL < 1612736509 861347 :myname!~myname@2001:41d0:1:766f::1 PRIVMSG #esoteric :modern js is pretty nice if you compare it with pre-ES6 < 1612736602 510338 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :this reminds me, a while ago I improved JSFuck down to just a 5-character character set using ES6 features (but losing IO-completeness, although I retained Turing-completeness), but apparently now there are newer JS features that give you IO-completeness (and even DOM-completeness) with just a 5 character character set < 1612736625 98207 :myname!~myname@2001:41d0:1:766f::1 PRIVMSG #esoteric ::O < 1612736639 317276 :myname!~myname@2001:41d0:1:766f::1 PRIVMSG #esoteric :what new features made it possible to remove chars from jsfuck? < 1612736658 263192 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :template strings let you call functions with `` as long as you give them a hardcoded string literal as argument < 1612736674 662182 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :which saves characters because `` is one character twice, as opposed to () which is two different characters < 1612736696 204471 :myname!~myname@2001:41d0:1:766f::1 PRIVMSG #esoteric :i see < 1612736723 543504 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :the new new feature is the |> pipeline operator, which *also* lets you call functions < 1612736740 586146 :myname!~myname@2001:41d0:1:766f::1 PRIVMSG #esoteric :oh i'm not aware of |> < 1612736743 543781 :myname!~myname@2001:41d0:1:766f::1 PRIVMSG #esoteric :what does it do? < 1612736745 418353 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :and saves one char because > is a comparison operator, so you can get at booleans without needing to add =, >, or some similar character < 1612736755 933322 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :x |> f is equivalent to f(x) < 1612736764 518110 :myname!~myname@2001:41d0:1:766f::1 PRIVMSG #esoteric :of course < 1612736780 517180 :myname!~myname@2001:41d0:1:766f::1 PRIVMSG #esoteric :somebody liked haskell, i guess < 1612736788 901161 :shachaf!~shachaf@unaffiliated/shachaf PRIVMSG #esoteric :Man, they gotta stop adding features to JavaScript. < 1612736805 354400 :myname!~myname@2001:41d0:1:766f::1 PRIVMSG #esoteric :nah < 1612736811 172379 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :last time I seriously programmed OCaml I was using two different pipeline operators, I forget what the difference was < 1612736822 265249 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :maybe one of them had a built-in map and the other didn't? < 1612736829 901277 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :IIRC one was a builtin and I implemented the other myself < 1612736874 810633 :shachaf!~shachaf@unaffiliated/shachaf PRIVMSG #esoteric :Or at least the version that's in browsers. < 1612736927 173963 :int-e!~noone@int-e.eu PRIVMSG #esoteric :|> seems such a silly addition... < 1612736937 621130 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :oh wow: https://caniuse.com/mdn-javascript_operators_pipeline < 1612736949 980047 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :apparently |> isn't implemented by *any* common browser < 1612736962 989247 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :I don't think I've ever seen that when looking up the compatibility of a JavaScript feature < 1612736965 427874 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :in Ruby the new features are added in the way that on meetings guys come up with ideas or community feedbacks as "what if we implement this?" and Matz either says "yes" or "no" -- and sometimes he's in too good mood to allow implementation of a shit the language didn't need on my opinion < 1612736970 835944 :myname!~myname@2001:41d0:1:766f::1 PRIVMSG #esoteric :what about node? < 1612737000 236741 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :"The experimental pipeline operator |> (currently at stage 1) --" makes me wonder what exactly the stages are. < 1612737007 395134 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :such things that kind of hide the errors, like "let's return nil here instead of raising the exception" -- the community loves it because it's in the mood of web < 1612737024 709309 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :I don't think caniuse supports Node (or other offline JSes like Rhino) < 1612737025 813045 :int-e!~noone@int-e.eu PRIVMSG #esoteric :s/silly/useless/ < 1612737038 356944 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :https://github.com/tc39/proposal-pipeline-operator "Warning: The details of the pipeline syntax are currently unsettled. There are two competing proposals under consideration." < 1612737053 900625 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :don't they mean "not settled"? "unsettled" means something else < 1612737096 708061 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :"Man's greatest asset is the unsettled mind", said an Asimov short story. < 1612737133 989047 :myname!~myname@2001:41d0:1:766f::1 PRIVMSG #esoteric :i wonder how you would use multiple arguments in pipeline < 1612737144 822065 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :the proposal gives an example < 1612737160 62370 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :but I don't find it very readable, it basically involves wrapping the pipeline stage in a lambda < 1612737185 941129 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :they suggest combining it with https://github.com/tc39/proposal-partial-application < 1612737187 958686 :shachaf!~shachaf@unaffiliated/shachaf PRIVMSG #esoteric :I don't know why they even work on anything other than making browser programming a usable compiler target. < 1612737188 180724 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :which is, wow < 1612737215 581524 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :it reminds me of Mathematica's #…& operator, but it's actually pretty different < 1612737280 803205 :myname!~myname@2001:41d0:1:766f::1 PRIVMSG #esoteric :oh, partial application would be nice < 1612737316 959570 :int-e!~noone@int-e.eu PRIVMSG #esoteric :ais523: https://www.merriam-webster.com/dictionary/unsettled looks ambiguous < 1612737332 788071 :shachaf!~shachaf@unaffiliated/shachaf PRIVMSG #esoteric :This is only for something in function argument position, and it lambdifies the immediately surrounding function? < 1612737336 511741 :int-e!~noone@int-e.eu PRIVMSG #esoteric :I'm sure I've seen "unsettled conjecture" before < 1612737353 93068 :int-e!~noone@int-e.eu PRIVMSG #esoteric :(which is redundant, but never mind that) < 1612737361 629211 :craigo!~craigo@144.136.206.168 QUIT :Quit: Leaving < 1612737366 996868 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :"Need to write |> _ => for each step in the pipeline." // That looks like one of those horizontal / non-rotated emoticons. < 1612737400 172250 :shachaf!~shachaf@unaffiliated/shachaf PRIVMSG #esoteric :That seems very specific. < 1612737418 341194 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :it's just a lambda inside a pipeline stage < 1612737427 634180 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :_ => is the lambda (with a funky argument name) < 1612737434 652777 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :and |> is the pipeline operator < 1612737456 522676 :shachaf!~shachaf@unaffiliated/shachaf PRIVMSG #esoteric :|> _ => < 1612737593 515757 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :The fact that `f(g(?))` is `f(_0 => g(_0))` rather than `_0 => f(g(_0))` makes perfect sense, but I feel like that'd lead to bugs anyway. < 1612737618 863848 :int-e!~noone@int-e.eu PRIVMSG #esoteric :the competing proposal looks more like a syntactical transformation where foo |> bar is let # = foo [# here unless `foo` uses #] in bar (ML-style non-recursive let) < 1612737621 963365 :fizzie!fis@unaffiliated/fizzie PRIVMSG #esoteric :(Well, maybe it's more likely to not work at all rather than to work wrong.) < 1612737623 756822 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :fizzie lol at those "Think" magazine rejections: https://en.wikipedia.org/wiki/The_Greatest_Asset < 1612737645 381716 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :fizzie: Mathematica's # … & operator gets round the problem by using an & to mark the function you're partially applying < 1612737666 485880 :shachaf!~shachaf@unaffiliated/shachaf PRIVMSG #esoteric :I guess you're encouraged to write g(?) |> f instead. < 1612737668 247031 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :but, it's too general and is even harder to figure out the scope, because the & is placed at the end of the scope you're lambda'ing over but there's no marker for the start < 1612737694 700700 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :shachaf: no, g(?) |> f is equivalent to f(g(?)) < 1612737704 860889 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :i.e. the partially applied function is given as an argument to f < 1612737726 123147 :shachaf!~shachaf@unaffiliated/shachaf PRIVMSG #esoteric :Oh, right, I forgot what the goal was. < 1612737749 349407 :tromp!~tromp@dhcp-077-249-230-040.chello.nl JOIN :#esoteric < 1612737749 517822 :shachaf!~shachaf@unaffiliated/shachaf PRIVMSG #esoteric :Wait, hmm. < 1612737756 500460 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :you'd need a Haskell-style compose operator < 1612737759 965943 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :(g . f)(?) < 1612737763 287748 :shachaf!~shachaf@unaffiliated/shachaf PRIVMSG #esoteric :I meant you'd write ... |> g |> f < 1612737765 60540 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :(or just (g . f)) < 1612737773 296793 :shachaf!~shachaf@unaffiliated/shachaf PRIVMSG #esoteric :But of course it's all silly in that context anyway. < 1612737791 942651 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :ooh! that's probably the other operator I had, besides |> < 1612737797 532972 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :I must have had both pipeline and compose < 1612737811 61381 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :but an argument-swapped compose < 1612737819 56556 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :or, hmm < 1612737822 20547 :ais523!~ais523@unaffiliated/ais523 PRIVMSG #esoteric :not swapped < 1612738154 398967 :sprock!~sprocklem@unaffiliated/sprocklem JOIN :#esoteric < 1612738233 182161 :NotApplicable!~NotApplic@2600:1702:3680:756f:b481:1307:3246:1aa5 QUIT :Quit: Leaving < 1612738648 362021 :shachaf!~shachaf@unaffiliated/shachaf PRIVMSG #esoteric :I was wondering the other day about centralizing handling of all JavaScript events. < 1612738759 722045 :shachaf!~shachaf@unaffiliated/shachaf PRIVMSG #esoteric :So instead of having callbacks that do anything, they'd just add events to a queue, which you'd drain later. < 1612738793 331046 :shachaf!~shachaf@unaffiliated/shachaf PRIVMSG #esoteric :One problem is that if you get multiple events at once, there's no way of knowing, really. You can't ask if there are other events on the queue, as far as I know. < 1612738806 23576 :shachaf!~shachaf@unaffiliated/shachaf PRIVMSG #esoteric :You can process events once per frame or something like that, I suppose. < 1612739069 3694 :NotApplicable!~NotApplic@2600:1702:3680:756f:c4a0:e06b:3b46:8b06 JOIN :#esoteric < 1612739363 228892 :hendursa1!~weechat@gateway/tor-sasl/hendursaga QUIT :Remote host closed the connection < 1612739516 999699 :hendursa1!~weechat@gateway/tor-sasl/hendursaga JOIN :#esoteric > 1612739749 464652 PRIVMSG #esoteric :14[[07Photon (Quintopia)14]]4 M10 02https://esolangs.org/w/index.php?diff=80618&oldid=80616 5* 03Hakerh400 5* (-9) 10fix formatting < 1612740225 113552 :zzo38!~zzo38@host-24-207-14-22.public.eastlink.ca PRIVMSG #esoteric :I think over the time they have added many good features into JavaScript, such as typed arrays, generator functions, arrow functions, big integers, etc. But, some things they didn't add, such as a goto command, and a alternate call stack capability. < 1612740436 850659 :tromp!~tromp@dhcp-077-249-230-040.chello.nl QUIT :Remote host closed the connection < 1612740693 199280 :tromp!~tromp@dhcp-077-249-230-040.chello.nl JOIN :#esoteric < 1612740775 277489 :zzo38!~zzo38@host-24-207-14-22.public.eastlink.ca PRIVMSG #esoteric :I don't know what new functions they will add for big integers. They should add 64-bit MOR and MXOR, and also popcount, two log2 functions (one returning a floating number and one returning a integer), Date.bigNow() (in case of future), and functions for reading/writing arbitrary length integers into array buffers. < 1612740775 808837 :tromp!~tromp@dhcp-077-249-230-040.chello.nl QUIT :Read error: Connection reset by peer < 1612740783 317952 :tromp!~tromp@dhcp-077-249-230-040.chello.nl JOIN :#esoteric < 1612741011 366513 :tromp!~tromp@dhcp-077-249-230-040.chello.nl QUIT :Read error: Connection reset by peer < 1612741033 657556 :zzo38!~zzo38@host-24-207-14-22.public.eastlink.ca PRIVMSG #esoteric :I think those idea about partial application are not so good, I thought of other way too they don't seem very good; best probably using arrow functions in the existing way, since the other ways are not general enough < 1612741037 120335 :tromp!~tromp@dhcp-077-249-230-040.chello.nl JOIN :#esoteric < 1612741321 948020 :tromp!~tromp@dhcp-077-249-230-040.chello.nl QUIT :Ping timeout: 272 seconds < 1612741356 887280 :NotApplicable!~NotApplic@2600:1702:3680:756f:c4a0:e06b:3b46:8b06 PRIVMSG #esoteric :why does tromp keep joining and quitting < 1612741373 13248 :zzo38!~zzo38@host-24-207-14-22.public.eastlink.ca PRIVMSG #esoteric :I don't know why. < 1612741468 249427 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :my client folds these messages, like: "10 users have joined, and 1 user has left" < 1612741487 793988 :NotApplicable!~NotApplic@2600:1702:3680:756f:c4a0:e06b:3b46:8b06 PRIVMSG #esoteric :What client is that? < 1612741538 216784 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :https://thelounge.chat/ < 1612741577 758218 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric : /ctcp nakilon version < 1612741609 383295 :Arcorann_!~awych@159-196-65-46.9fc441.mel.nbn.aussiebb.net JOIN :#esoteric < 1612741621 250881 :NotApplicable!~NotApplic@2600:1702:3680:756f:c4a0:e06b:3b46:8b06 QUIT :Remote host closed the connection < 1612741627 445120 :NotApplicable2!~NotApplic@2600:1702:3680:7560:414e:feac:b759:d1c9 JOIN :#esoteric < 1612741643 186780 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :also I've applied a CSS to make them barely visible' < 1612741675 356068 :nakilon!~nakilon@62.241.154.104.bc.googleusercontent.com PRIVMSG #esoteric :https://i.imgur.com/58qEz5u.png < 1612741777 107929 :NotApplicable2!~NotApplic@2600:1702:3680:7560:414e:feac:b759:d1c9 NICK :NotApplicable