←2016-06-24 2016-06-25 2016-06-26→ ↑2016 ↑all
00:01:08 <boily> scowchaf? shascow?
00:01:20 <shachaf> boily: whoa whoa whoa
00:01:22 <shachaf> @wn scowly
00:01:24 <lambdabot> No match for "scowly".
00:01:27 <shachaf> hm
00:01:35 <oerjan> boily: to repeat, it's not yolŋu, but the same family.
00:02:43 <boily> oerjan: warlpiri?
00:03:10 <boily> shoachoaf!
00:03:13 <oerjan> *ding*(o)
00:03:27 <boily> . o O ( shoachoaf sounds strangely Bavarian... )
00:03:45 <shachaf> `wisdom
00:03:48 <HackEgo> møøse//Møøse is Norwegian for moss.
00:03:53 <shachaf> `wisdom
00:03:57 <HackEgo> nobody//Nobody killed the cyclops Polyphemos after he tried to eat a shipful of sailors, and this perceived injustice made Poseidon so mad he swore vengeance at him and the gods couldn't calm him down for ten years.
00:04:07 <shachaf> `wisdom
00:04:09 <HackEgo> rhenium//Rhenium is a precious metal. It can be found nowhere in Earth because the Enemy has used up all of it for forging the One Ring.
00:04:21 <oerjan> Igler i møøsen.
00:06:59 <quintopia> did oerjans wisdom once read future expert in lazy computation?
00:06:59 <oerjan> `? odysseus
00:07:01 <HackEgo> odysseus? ¯\(°​_o)/¯
00:07:24 <oerjan> quintopia: i dunno
00:08:32 <oerjan> `learn Odysseus was a Greek nobody, who somehow got famous for horsing around.
00:08:35 <HackEgo> Learned 'odysseu': Odysseus was a Greek nobody, who somehow got famous for horsing around.
00:08:48 <oerjan> oops
00:08:50 <shachaf> oerjan: Aren't you an expert in past computation?
00:08:55 <shachaf> Being Precambrian?
00:08:59 <oerjan> `` mv odysseu{,s}
00:09:00 <HackEgo> mv: cannot stat `odysseu': No such file or directory
00:09:19 <oerjan> shachaf: well given i haven't really programmed for ages, sounds about right
00:09:25 <oerjan> `` mv wisdom/odysseu{,s}
00:09:28 <HackEgo> No output.
00:09:46 <shachaf> oerjan: And you're not American anyway.
00:09:54 <shachaf> http://i.imgur.com/ViHGGeg.png
00:10:58 <oerjan> washington, er, maybe jefferson, or was he later? some adams guy maybe.
00:11:07 <oerjan> definitely not.
00:11:27 <izabera> made a small http server in bash http://arin.ga:8080/
00:11:31 <boily> there's a Garfield in there, innit?
00:11:33 <izabera> http://arin.ga:8080/srv source is here
00:11:43 <oerjan> i cannot name the first four norwegian kings (medieval, we haven't had four modern ones yet) in order either.
00:12:11 <oerjan> boily: in the first four?
00:12:17 <izabera> don't hack me
00:12:33 <boily> izabellora. as if we were going to be hacking you :P
00:12:56 <izabera> if someone can, they're in this chan
00:13:10 <boily> oerjan: darn. he was the 20th.
00:13:26 <boily> `addquote <izabera> if someone can, they're in this chan
00:13:29 <HackEgo> 1284) <izabera> if someone can, they're in this chan
00:14:02 <izabera> also nobody else knows it exists
00:15:42 <shachaf> http://i.imgur.com/iRy6j43.png
00:15:44 <shachaf> ken m is tg
00:17:19 <oerjan> conclusion: mr machines see the future hth
00:18:40 <oerjan> `addquote <Ken M> If we don't study the mistakes of the future we're doomed to repeat them for the first time :(
00:18:42 <HackEgo> 1285) <Ken M> If we don't study the mistakes of the future we're doomed to repeat them for the first time :(
00:20:15 -!- jaboja has quit (Ping timeout: 264 seconds).
00:21:33 <izabera> irc is the only medium where brexit isn't on topic
00:21:43 <izabera> i'm so glad it exists
00:26:41 <shachaf> oerjan: now i'm just reading ken ms
00:26:44 <shachaf> http://i.imgur.com/G4uwvB3.png
00:28:44 <shachaf> https://i.imgur.com/5oQV7rN.png
00:30:05 * oerjan thinks he's reached his ken m quota
00:35:29 <shachaf> http://i.imgur.com/mOvuYhY.png http://i.imgur.com/bz6BAdb.png http://i.imgur.com/N6aImsQ.png
00:35:32 <shachaf> these are great
00:46:00 -!- FreeFull has joined.
00:48:54 * oerjan is doing some ancient catching up instead http://www.irregularwebcomic.net/podcasts/podcast015.html
00:53:11 <shachaf> `? oerjan
00:53:14 <HackEgo> Your mysterious articled cackling zombie overlord kommisjonær emeritus oerjan is a lazy expert in future computation. Also a Precambrian Norwegian who mildly dislikes Roald Dahl with a pasjon. Lately when he tries to remember a word, "amortized" pops up. His arch-nemesis is Betty Crocker. He sometimes puns without noticing it.
00:53:26 <shachaf> That wisdom entry has too many adjectives.
00:53:30 <shachaf> No room to add more adjectives.
00:53:33 <oerjan> <\oren\> Finnxit <-- surely one should use the proper name and say Suxit hth
00:54:27 <izabera> it's funny because politics
00:54:34 <shachaf> i,i poistuomi
00:54:49 <shachaf> fizzie: can you confirm/deny twh
00:54:56 <shachaf> @time fizzie
00:54:57 <lambdabot> Local time for fizzie is Sat Jun 25 00:54:57 2016
01:00:23 <quintopia> hmm
01:07:12 <quintopia> Ken M is apparently the best troll ever. how can we aspire to such greatness?
01:08:01 <\oren\> EU got 1GB of free space.
01:08:20 <quintopia> brexit offtopic stahp
01:08:52 <oerjan> @tell hppavilion[1] grep has a -r option hth
01:08:52 <lambdabot> Consider it noted.
01:10:08 <oerjan> `? brexit
01:10:12 <HackEgo> brexit is like a break, except when there's no surrounding loop, in which case it's like an exit.
01:11:21 <oerjan> `learn brexit is a command to forcefully exit, releasing 1GB of free space.
01:11:21 <quintopia> Lets talk about bitcoin...and how thanks to certain political events not to be mentioned i just may have enough to make that purchase...
01:11:24 <HackEgo> Relearned 'brexit': brexit is a command to forcefully exit, releasing 1GB of free space.
01:14:52 <shachaf> What about the 1NI?
01:16:15 <boily> bitcoin is still alive?
01:17:23 <quintopia> https://m.reddit.com/r/Bitcoin/comments/4pmrpt/bitcoin_price_be_like/
01:17:23 <shachaf> quintopia: what, are you liquidating your britcoin position?
01:18:04 <quintopia> eh...i never held any GBTC
01:25:06 -!- MoALTz has quit (Ping timeout: 244 seconds).
01:26:15 <shachaf> `wisdom
01:26:17 <HackEgo> abstract nonsense//We would have an explanation of abstract nonsense here, but it fled into a diagram and we haven't been able to chase it. We will try again once we find an abstract machete.
01:26:32 <shachaf> `wisdom
01:26:35 <HackEgo> john//John is not Hziulquoigmnzhah of Cykranosh, the dread spawn of Cxaxukluth, according to http://smbc-comics.com/index.php?id=4072
01:26:39 <shachaf> `wisdom
01:26:41 <HackEgo> shachaf//shachaf sprø som selleri and cosplays Nepeta Leijon on weekends. He hates bell peppers with a passion. The unit of fun punnery is named after him.
01:27:19 <shachaf> HackEgo: nepeta leijon is dead
01:27:31 <shachaf> `wisdom
01:27:33 <HackEgo> universe//A universe is a poem in one stanza.
01:29:33 <shachaf> `wisdom
01:29:36 <HackEgo> derangement//"Green tandem" is a derangement of "derangement".
01:35:02 <boily> `wisdom
01:35:04 <HackEgo> burlesque//Burlesque is only the sexiest language on Earth. (See: http://mroman.ch/burlesque)
01:37:19 <shachaf> `culprits wisdom/derangement
01:37:33 <HackEgo> int-e
01:41:44 <shachaf> `sled wisdom/derangement//s/"\([^"]*\)"\([^"]*\)"\([^"]*\)"/"\3"\2"\1"/
01:41:47 <HackEgo> wisdom/derangement//"derangement" is a derangement of "Green tandem".
01:42:05 <shachaf> `slwd derangement//s/G/g/
01:42:10 <HackEgo> wisdom/derangement//"derangement" is a derangement of "green tandem".
02:06:10 <oerjan> @tell Etaoin You probably _can_ get it from the euler identity somehow, but it seems easier to me to get _both_ from the Taylor power series for exp, sin and cos. Well, it all gets a bit circular so there are probably several choices for how to bootstrap the definitions.
02:06:10 <lambdabot> Consider it noted.
02:07:03 <shachaf> oerjan: another unintentional pun? tdnh
02:07:54 <oerjan> @tell etaoin Hm wait, euler identity seems a little weak. You want at least Euler's formula.
02:07:54 <lambdabot> Consider it noted.
02:08:10 <oerjan> shachaf: well at least i noticed it before you said it.
02:10:09 -!- hppavilion[1] has joined.
02:12:03 <\oren\> ARGH
02:12:23 <\oren\> why does /who \oren\ not say orenwatson.be?
02:12:40 <\oren\> oren@ec2-52-2-213-98.compute-1.amazonaws.com <-- what's this crap
02:13:21 <shachaf> orenwatson.be.mad
02:13:33 <shachaf> \oren\: https://aws.amazon.com/blogs/aws/reverse-dns-for-ec2s-elastic-ip-addresses/ hth
02:14:25 <shachaf> You could just get a cloak, though.
02:14:52 <\oren\> like, the clothing? I have one.
02:15:02 <shachaf> @google irc cloak
02:15:04 <lambdabot> https://meta.wikimedia.org/wiki/IRC/Cloaks
02:15:28 <boily> I could use a cloak... boily@chicken.chicken.chicken
02:16:21 <shachaf> Maybe if you get Chicken Scheme to provide IRC cloaks.
02:17:14 <oerjan> @tell etaoin It's pretty direct from that + conjugation, actually.
02:17:14 <lambdabot> Consider it noted.
02:17:37 <oerjan> . o O ( TRIPLICATE CHICKEN )
02:31:14 * boily snatches the departicken word from oerjan. thanks!
02:31:46 <\oren\> ok well we'll see if this form does anything...
02:34:20 <boily> he\\oren\. what colour is your cloak?
02:35:54 -!- hppavilion[2] has joined.
02:37:29 <\oren\> black
02:37:43 <hppavilion[2]> It's interesting that https://faq.ssa.gov/ics/support/default.asp?deptID=34019&_referrer= (which is a rather shitty URL) doesn't have a "What the hell is social security" entry
02:37:51 -!- hppavilion[1] has quit (Ping timeout: 246 seconds).
02:37:51 <\oren\> waterproof, too
02:38:55 <hppavilion[2]> https://www.cuidadodesalud.gov/es/ is the spanish healthcare.gov. One must wonder why they need the /es/
02:42:13 <\oren\> probably as opposed to catalan?
02:43:51 <pikhq> hppavilion[2]: As opposed to /en/.
02:44:07 -!- centrinia has joined.
02:45:06 <quintopia> boily: having a BiG fRiDaY nIgHt Eh?
02:45:15 <coppro> I think he's asking why it's the default
02:45:31 <coppro> boily: does your cloak billow?
02:47:28 <boily> quintopia: quiet night here :D
02:47:39 -!- hppavilion[2] has quit (Ping timeout: 246 seconds).
02:48:10 <boily> (at least I downed a few ounces of québécois gin. my patriotic gland is atrophied, and my wild party days are over...)
02:48:22 <boily> coppro: I don't have any cloaks yet :(
02:48:28 <coppro> :(
02:50:05 <quintopia> boily: howzabouta quick game of sth
02:51:43 <boily> do you have anything 1v1 that can be hooked up?
02:52:36 <quintopia> uh probs. tend to prefer coop
02:54:53 <boily> not sure I can stand something coordinated atm. a little bit too sloshed >_>'...
02:55:28 <boily> tomorrow night I'll borderlands with ya.
02:55:41 <boily> for now, time to express a pillow.
02:55:43 <coppro> boily: did you replace your patriotic gland with alcohol?
02:55:53 <boily> <_<;;... >_>.......
02:56:01 * boily whistles tunelessly
02:56:27 -!- boily has quit (Quit: TRIPLICATE CHICKEN).
03:03:41 -!- bender has joined.
03:07:51 -!- hppavilion[2] has joined.
03:20:49 -!- lambda-11235 has joined.
03:20:51 -!- dos has joined.
03:24:24 -!- hppavilion[2] has quit (Ping timeout: 246 seconds).
03:27:17 -!- centrinia has quit (Quit: Leaving).
04:13:19 -!- spockers has quit (Quit: bye http://i.imgur.com/nkzOWAv.jpg).
04:13:56 -!- spockers has joined.
04:20:04 -!- dos has quit (Ping timeout: 252 seconds).
04:41:11 -!- Kaynato has quit (Read error: Connection reset by peer).
04:46:35 -!- centrinia has joined.
04:47:10 -!- Kaynato has joined.
04:51:35 -!- centrinia has quit (Quit: Leaving).
05:16:34 -!- augur has joined.
05:42:51 -!- Kaynato has quit (Ping timeout: 240 seconds).
06:16:31 -!- Melvar` has joined.
06:17:10 -!- Melvar has quit (Disconnected by services).
06:17:13 -!- Melvar` has changed nick to Melvar.
06:18:46 -!- idris-bot has quit (Ping timeout: 272 seconds).
06:41:16 -!- oerjan has quit (Quit: Nite).
06:47:33 -!- augur has quit (Remote host closed the connection).
07:30:43 -!- lambda-11235 has quit (Quit: Bye).
08:53:25 <int-e> `` dc <<<11+11+11+11+11+11+1+1+1+1+1+1+P11+11+11+11+11+11+11+11+11+1+1+P11+11+11+11+11+11+11+11+11+1+1+1+1+1+1+1+1+1+P11+11+11+11+11+11+11+11+11+1+1+1+1+1+1+1+1+1+P111P11+11+11+11+P11+11+1+1+1+1+1+1+1+1+1+1+P111+1+1+1+1+1+1+1+1+P111P111+1+1+1+P11+11+11+11+11+11+11+11+11+1+1+1+1+1+1+1+1+1+P11+11+11+11+11+11+11+11+11+1+P11+11+11+P
08:53:52 <HackEgo> dc: stack empty \ dc: stack empty \ dc: stack empty \ dc: stack empty \ dc: stack empty \ dc: stack empty \ dc: stack empty \ dc: stack empty \ dc: stack empty \ dc: stack empty \ dc: stack empty \ Hello, world!
09:17:16 -!- MoALTz has joined.
09:24:03 -!- heroux has quit (Remote host closed the connection).
09:25:36 <Cale> `` dc <<<"11 11+11+11+11+11+1+1+1+1+1+1+P11 11+11+11+111+1+P11 11+11+11+11+11+11+11+11+1+1+1+1+1+1+1+1+1+P11 11+11+11+11+11+11+11+11+1+1+1+1+1+1+1+1+1+P111P11 11+11+11+P11 11+1+1+1+1+1+1+1+1+1+1+P111 1+1+1+1+1+1+1+1+P111P111 1+1+1+P11 11+11+11+11+11+11+11+11+1+1+1+1+1+1+1+1+1+P11 11+11+11+11+11+11+11+11+1+P11 11+11+P"
09:25:53 <HackEgo> Hœllo, world!
09:26:04 <int-e> Cale: there's a reason for the stack overflows: the idea was to use as few distinct characters as possible
09:26:11 <Cale> ah
09:26:47 <int-e> (I'm going through old files and this turned up)
09:28:13 <lifthrasiir> `` dc <<<11111111111111111111111111111zP
09:28:17 <HackEgo> ​.
09:28:23 <lifthrasiir> `` dc <<<11111111111111111111111111111zp
09:28:24 <HackEgo> 1
09:28:26 <lifthrasiir> hmm.
09:29:56 <Cale> `` dc <<<11111111111111111111111111111Zp
09:29:57 <HackEgo> 29
09:33:44 -!- heroux has joined.
09:34:21 <int-e> true, that'll work.
09:35:03 <lifthrasiir> Cale: oh, I didn't ever think of Z
09:35:07 <int-e> in an idealized version of dc, zzzz...zzzzP will work
09:35:38 <int-e> (with 3179672657468351522 z-s in a row... okay, that can be shortened quite a bit)
09:38:04 <Cale> oh, whoa, how did the code for e get so mangled there...
09:38:25 <lifthrasiir> int-e: not really, 1830 bytes are enough
09:38:32 <lifthrasiir> `` python -c 's="Hello, world!\n"; print "".join((ord(d)-ord(c))%256*"z"+"zP" for c,d in zip("\0"+s, s))' | dc
09:38:40 <HackEgo> Hello., world!
09:39:07 <lifthrasiir> ah wait...
09:39:11 <lifthrasiir> you are right
09:39:12 -!- gamemanj has joined.
09:39:23 <lifthrasiir> it goes through two byte realm
09:39:40 <lifthrasiir> but it would take much less z's than 3179672657468351522
09:41:45 <lifthrasiir> int-e: printing 0x48, 0x65, 0x65, 0x6c, 0x2c20, 0x776f, 0x726c64, then... hmm, the final part is a bit off.
09:42:53 <int-e> H/e/l/l/o/, /wo/rld!/ ends up with 1919706161 characters
09:43:27 <lifthrasiir> int-e: let's cheat and use H/e/l/l/o/, /Wo/rl/d!\n instead :)
09:43:51 <lifthrasiir> 7103522 z's
09:47:16 <int-e> dropping the comma may be the nicer cheat, and that allows H/e/l/l/o/ w/or/ld!/ with 7103537 characters. you should get 6562074, I think?
09:47:45 <int-e> oh I'm counting the Ps, too, but you need an extra z for each P anyway.
09:53:51 <lifthrasiir> the final number to print + 1 + number of characters
09:54:14 <int-e> lifthrasiir: no, final number + 2 * number of prints
09:54:15 <lifthrasiir> ah, no, P consumes
09:54:17 <lifthrasiir> yeah
09:54:29 <gamemanj> why, exactly, does "hello world" in whatever language this is take up kilobytes?
09:55:00 <lifthrasiir> int-e was doing it with the smallest number of unique bytes
09:55:05 <lifthrasiir> in this case, only with z and P
09:55:16 <gamemanj> Ah.
09:55:55 <lifthrasiir> int-e: in any case zP approach is very viable, I guess
10:07:55 <Cale> What if we were to allow ourselves the alphabet "1d+P", how short could we make the program? There's a lot of room for common subexpression elimination.
10:09:31 <int-e> `` dc <<<zzzzzzzzzzzzzz+z+z+++Pzzzzzzz+z++z+++Pzzzzzzz++++z++Pzzzzzz++++z++Pzzzzzz+z+++++P++z+P++z+Pzzzzzzzzzzzzzz++++++Pzzzzz+z+++++Pzzzzzzz+++++z+Pzzzzz++++z++Pzzzzz+++++z+Pz++P
10:09:40 <HackEgo> Hello, world!
10:10:11 <Cale> `` dc <<<1ddddd11ddddd+++++++++++P1d11dddddddd++++++++++P11dddddddd++++++++d1dddddddd+++++++++ddPP111P11ddd+++P1ddddddddd11d+++++++++++P1ddddddd111++++++++P111P1dd111+++PP1+P11dd++P
10:10:12 <HackEgo> Hello, world!
10:10:20 <int-e> (the alphabet z+P also gives rise to an interesting optimization problem)
10:11:06 * int-e is not printing any final newline, btw
10:11:13 <Cale> (I didn't work very hard at optimising there, just removed the most obnoxious of the duplications :)
10:13:11 <int-e> but actually I could just append zP to get it... lucky!
10:14:38 <int-e> obviously you should use a doubling approach for multiplication.
10:15:18 <int-e> so ddddd+++++ ==> d+dd++
10:16:08 <int-e> but the real waste seems to be that the no values are preserved across the P instructions
10:16:50 <int-e> very tricky.
10:21:04 <shachaf> `zalgo dc
10:21:35 <HackEgo> No output.
10:21:39 <shachaf> `` echo dc | zalgo
10:21:42 <HackEgo> d̊ͯc̗̆
10:21:45 <shachaf> zalgo is the only Haskell program on HackEgo, I think.
10:22:06 <shachaf> I guess there's also quines/haskell. But I compiled that one into bash.
10:22:15 <int-e> looks like python to me
10:22:25 <shachaf> Oh, maybe I compiled it into Python?
10:22:28 <shachaf> `cat quines/haskell
10:22:29 <HackEgo> echo 'main=putStrLn$(<*>)(++)show"main=putStrLn$(<*>)(++)show"'
10:22:43 <shachaf> Or maybe you mean zalgo.
10:26:09 <int-e> I meant zalgo
10:27:52 <int-e> hmm, the more naive main=putStr s>>print s;s="main=putStr s>>print s;s=" is shorter
10:31:10 <shachaf> `` find -name '*zalgo*
10:31:11 <HackEgo> ​/hackenv/bin/`: eval: line 4: unexpected EOF while looking for matching `'' \ /hackenv/bin/`: eval: line 5: syntax error: unexpected end of file
10:31:16 <shachaf> `` find -name '*zalgo*'
10:31:22 <shachaf> int-e: Feel free to improve it.
10:31:27 <shachaf> `quines/haskell
10:31:39 <HackEgo> main=putStrLn$(<*>)(++)show"main=putStrLn$(<*>)(++)show"
10:31:46 <HackEgo> ​./bin/zalgoverload \ ./bin/zalgoerjan \ ./bin/zalgo \ ./.hg/store/data/zalgo.d \ ./.hg/store/data/bin/zalgo.d \ ./.hg/store/data/bin/zalgoverload.i \ ./.hg/store/data/bin/zalgo.i \ ./.hg/store/data/bin/zalgo2.i \ ./.hg/store/data/bin/zalgoerjan.i \ ./.hg/store/data/zalgo.o.i \ ./.hg/store/data/zalgo.hi.i \ ./.hg/store/data/zalgo.i \ ./.hg/store/
10:32:14 <shachaf> I just adapted the old ap(++)show"ap(++)show"
10:32:37 <int-e> right.
10:34:48 -!- Reece` has joined.
10:37:33 <int-e> `` ( echo 'main=putStr s>>print s'; echo 's="main=putStr s>>print s\ns="' ) > quines/haskell
10:37:37 <HackEgo> No output.
10:37:43 <int-e> `cat quines/haskell
10:37:44 <HackEgo> main=putStr s>>print s \ s="main=putStr s>>print s\ns="
10:42:09 <shachaf> Two-line quine? That's a bit scow, given how HackEgo renders newlines.
10:42:31 <shachaf> Well, I guess it's unavoidable.
10:42:32 <shachaf> `quines/c
10:42:33 <HackEgo> ​#include <stdio.h> \ char*a="#include <stdio.h>\nchar*a=\"@\";\nvoid main(){char*b=a;for(;(*a)!=0;a++){switch(*a){case '@':if(!(*b))putchar('@');for(;(*b)!=0;b++){switch(*b){case '\"':case '\\\\':putchar('\\\\');putchar(*b);break;case '\\n':putchar('\\\\');putchar('n');break;default:putchar(*b);}}break;default:putchar(*a);}}}"; \ void main(){cha
10:42:33 <int-e> pfft
10:42:49 <int-e> `` ( echo 'main=putStr s>>print s;s="main=putStr s>>print s;s="' ) > quines/haskell
10:42:52 <HackEgo> No output.
10:43:46 <int-e> woah
10:44:14 <int-e> long, *void* main...
10:44:25 <shachaf> What's wrong with void main?
10:44:37 <int-e> it's only allowed in free-standing implementations
10:45:48 <shachaf> Is that true?
10:46:31 <shachaf> It looks like it can be defined "in some other implementation-defined manner".
10:46:41 <shachaf> I guess it's not too standard.
10:46:59 <shachaf> `culprits quines/c
10:47:05 <HackEgo> gamemanj
10:47:24 <int-e> hmm, okay, it's less strict than I recall.
10:48:01 <int-e> `` ( echo '#include <stdio.h>'; echo 'int main(){char *s="#include <stdio.h>%cint main(){char *s=%c%s%c;printf(s,10,34,s,34,10);}%c";printf(s,10,34,s,34,10);}' ) > quines/c
10:48:04 <HackEgo> No output.
10:49:01 <gamemanj> uh, wait a sec, if that's now "int main", where's the return?
10:50:04 <shachaf> In C99 you don't need to return from main.
10:50:09 <shachaf> Kind of scow if you ask me.
10:50:14 <shachaf> `quines/c++
10:50:15 <HackEgo> ​/home/hackbot/hackbot.hg/multibot_cmds/lib/limits: line 5: /hackenv/quines/c++: No such file or directory
10:50:33 <shachaf> please write a quine in the c++ template system twh
10:51:31 <int-e> `` sed -i 's/r /r/g' quines/c
10:51:34 <HackEgo> No output.
10:52:18 <shachaf> sled :'(
10:52:52 <gamemanj> I'm pretty sure even learning how to use C++ templates require sacrificing a newborn program to the great Oracle of mlatu, who governs sanity and destruction. Or something.
10:53:06 <int-e> gamemanj: funny thing... the return is optional, and reaching the end of the main function is defined as producing an exit code of 0... *if* the return type is int.
10:53:23 <int-e> ("compatible with int" is the precise formulation)
10:53:38 <gamemanj> void * main()
10:53:52 <gamemanj> (depending on your definition of "compatible with int", this might work!)
11:08:08 <int-e> well, it's not my definition.
11:13:19 <int-e> and I'm not quite sure what the definition is... as far as I can see it allows for typedefs. (with typedef MYINT int, MYINT is compatible with int)
11:16:13 <int-e> oh also signed int and int are compatible.
11:17:10 <int-e> But unsigned int and signed int are not. Such fun.
11:24:19 -!- MoALTz has quit (Read error: Connection reset by peer).
11:25:09 -!- MoALTz has joined.
11:35:56 -!- jaboja has joined.
11:58:54 -!- jaboja has quit (Read error: Connection reset by peer).
12:01:42 -!- APic has quit (Ping timeout: 260 seconds).
12:28:06 <int-e> `` dc <<<zzzzzzzzzzzzzzzzzzz+zz++Pzzzz+zz+z++P+zzz++++Pzz++zz++++Pzzz+z+zz+++++Pz+zz++Pzz+z+Pzzzzzzzzzzzzzzzz+z+++P+++++Pzzzzz+z+z+++Pzz+zzz++++Pz+++++++Pzzzz++PzP
12:28:32 <HackEgo> Hello, world!
12:33:09 <int-e> `` dc <<<zzzzzzzzzzzzzzzzzzz+zz++Pzzzz+zz+z++P+zzz++++Pzz++zz++++Pzzz+z+zz+++++Pz+zz++Pzz+z+Pzzzzzzzzzzzzzzzz+z+++Pz+zz+z++Pzzzz+z+++Pzzz++z++Pzzz++++P+P
12:33:15 <HackEgo> Hello, world!
12:34:10 <int-e> (That should be optimal with the restriction that each P leaves numbers 0..k on a stack of size k+1... but I expect that violating that restriction would help)
12:58:42 <int-e> `` dc <<<11dd+ddd++1+d1dd+d+++P++d1+dP1dd+dd++d+dd+P1d+dd+d+++P111d1d+d+d++PdP1dd+++PPP11dd++P
12:58:47 <HackEgo> Hewor.e!
12:59:06 <int-e> `` dc <<<11dd+ddd++1+d1dd+d+++P++d1+dP1dd+dd++++dPdP111P11d+dd+P1d+dd+d+++P111d1d+d+d++PdP1dd+++PPP11dd++P
12:59:08 <HackEgo> Hello, world!
13:06:12 <int-e> `` dc <<<11d1+d+ddd++dP+1d+d++d1+Pd1d+d+d++dPddP1dd+++dP11d+dd+P1d+dd+d+++Pd1d+d+d++PdP1dd+++PPPdd++P
13:06:15 <HackEgo> Hello, world!
13:10:55 <int-e> `` dc <<<11d1+d+ddd++dP+d1dd+d+++Pd11+1+dPdPd1+P1d+dd+d+++Pd11+Pd1dd+++dP1dd+++PP1d+d++Pdd++P
13:10:57 <HackEgo> dc: stack empty \ dc: stack empty \ dc: stack empty \ dc: stack empty \ dc: stack empty \ Hellmvkcf`
13:11:02 <int-e> ah!
13:20:15 <int-e> `` dc <<<11d1+d+ddd++dP+d1dd+d+++Pd11+1+dPdPd+P1d+dd+d+++Pd11+Pd1dd+++dP1dd+++PP1d+d++Pdd++P
13:20:17 <HackEgo> dc: stack empty \ dc: stack empty \ dc: stack empty \ dc: stack empty \ dc: stack empty \ dc: stack empty \ HellØj
13:20:47 <int-e> :-/
13:32:42 <int-e> `` dc <<<11d1+d+ddd++dP+1d+d++d1+Pd1d+d+d++dPdP111P11d+dd+P1d+dd+d+++Pd11+P111dP1dd+++PPPdd++P
13:32:44 <HackEgo> Hello, world!
13:35:58 <int-e> Okay, that's half of Cale's program's size... perhaps that's a good place to stop.
13:36:15 <Cale> hah, nicely done
13:55:44 <int-e> (I'm also at a loss about what to try next to improve that program.)
14:47:03 -!- zgrep_ has joined.
14:47:33 -!- boily has joined.
14:48:39 -!- Warrigal has joined.
14:48:41 -!- pikhq_ has joined.
14:48:55 -!- bender has quit (Ping timeout: 250 seconds).
14:49:15 -!- kragniz_ has joined.
14:49:27 -!- erdic_ has joined.
14:50:35 -!- ^v^v has joined.
14:51:14 -!- sebbu has quit (Ping timeout: 258 seconds).
14:51:15 -!- pikhq has quit (Ping timeout: 258 seconds).
14:51:16 -!- fractal has quit (Ping timeout: 258 seconds).
14:51:16 -!- heroux has quit (Ping timeout: 258 seconds).
14:51:17 -!- erdic has quit (Ping timeout: 258 seconds).
14:51:17 -!- ^v has quit (Ping timeout: 258 seconds).
14:51:17 -!- tswett has quit (Ping timeout: 258 seconds).
14:51:17 -!- kragniz has quit (Ping timeout: 258 seconds).
14:51:17 -!- zgrep has quit (Ping timeout: 258 seconds).
14:51:30 -!- erdic_ has changed nick to erdic.
14:54:46 -!- zgrep_ has changed nick to zgrep.
14:56:18 -!- heroux has joined.
15:00:28 -!- bender has joined.
15:01:08 -!- fractal has joined.
15:03:05 -!- kragniz_ has changed nick to kragniz.
15:17:27 -!- Kaynato has joined.
15:29:34 -!- augur has joined.
15:33:38 -!- sebbu has joined.
16:47:39 -!- bender has quit (Ping timeout: 250 seconds).
16:55:46 <boily> `wisdom
16:56:15 <HackEgo> xkcq//"xkcq" is worth 8 more points than "xkcd" in Scrabble, or a whopping 30 more if both are played optimally on a triple word score. Nyahhh.
16:57:13 <boily> `` culprits wisdom/xkcq
16:57:27 <HackEgo> b_jonas
16:59:05 * boily equips his mapole with cat ears, the proceeds to mapole b_jonas for having nyaaahhhed.
17:02:58 <int-e> scrabble is too hard
17:40:01 -!- augur has quit (Remote host closed the connection).
17:45:02 -!- PinealGlandOptic has joined.
17:50:17 <izabera> 5$ file zpipe.c
17:50:19 <izabera> zpipe.c: CLIPPER instruction trace
17:50:26 <izabera> and zpipe.c is this https://github.com/madler/zlib/blob/master/examples/zpipe.c
17:51:43 <izabera> i don't even know what a CLIPPER is
17:56:30 <gamemanj> https://github.com/file/file/blob/master/magic/Magdir/clipper
17:56:45 <gamemanj> I have no idea what this means
17:56:48 <gamemanj> but it contains your answer
17:57:00 <gamemanj> see the "pipe"?
17:57:13 -!- boily has quit (Quit: JUPITER CHICKEN).
17:57:26 <gamemanj> "pipe" at 4 bytes in, which zpipe.c matches,
17:57:37 <gamemanj> says that it's a CLIPPER instruction trace
17:58:09 <gamemanj> `` echo " pipe" > .tmp-clipper-instruction-trace
17:58:17 <HackEgo> No output.
17:58:18 <gamemanj> `` file .tmp-clipper-instruction-trace
17:58:21 <HackEgo> ​.tmp-clipper-instruction-trace: CLIPPER instruction trace
17:58:23 <gamemanj> `` rm .tmp-clipper-instruction-trace
17:58:28 <HackEgo> No output.
17:59:03 <gamemanj> in your case the text was "/* zpipe"
18:19:47 <lifthrasiir> gamemanj: probably priority issue. contact file(1) maintainer.
18:20:09 <lifthrasiir> (I'm pretty sure that the magics do include "/*" rules for C/C++ files)
18:23:01 <zzo38> I looked up "Intergraph Clipper" in Wikipedia, and I have managed to find it.
18:23:48 -!- augur has joined.
18:27:37 -!- Melvar has quit (Ping timeout: 252 seconds).
18:32:16 -!- Melvar has joined.
19:01:29 <int-e> `? comonad
19:02:03 <HackEgo> Comonads are just monads in the dual category.
19:05:01 <int-e> `learn_append comonad They are hard to get into.
19:05:13 <HackEgo> Learned 'comonad': Comonads are just monads in the dual category. They are hard to get into.
19:14:36 <shachaf> int-e: Are they?
19:19:18 <int-e> at least in the same sense as that monads are hard to get out of :-P
19:20:04 <int-e> But I also have not yet found comonads useful, personally... I'm sure it's entirely my own fault.
19:20:53 <fizzie> Come *on*! .tmp at the root directory?
19:21:21 <fizzie> There's a /tmp that's a tmpfs, and a tmp/ that's unversioned.
19:21:42 <fizzie> s/root/hackenv/
19:22:04 <int-e> `` ls -lad .tmp
19:22:07 <HackEgo> ls: cannot access .tmp: No such file or directory
19:22:18 <fizzie> It was .tmp-clipper-instruction-trace and got removed already.
19:22:23 <int-e> oh, up there
19:22:28 <fizzie> (But still made two commits, of course.)
19:24:36 <shachaf> I don't think monads are hard to get out of either.
19:24:42 <shachaf> fizzie: To be fair, tmp/ is a new innovation.
19:24:44 <shachaf> `? shaventions
19:24:46 <HackEgo> shaventions include: before/lastfiles, culprits, hog/hogue, le//rn, mk/mkx, sled/sedlast, spore/spam/speek/sport/1. Taneb invented them.
19:25:00 <Taneb> What does shaventions do?
19:25:09 <shachaf> `sled wisdom/shanvention//s#mk#tmp/, mk#
19:25:10 <HackEgo> Rosebud!
19:25:19 <shachaf> `sled wisdom/shanventions//s#mk#tmp/, mk#
19:25:21 <HackEgo> Rosebud!
19:26:52 <int-e> `culprits bin/sled
19:27:12 <HackEgo> oerjan oerjan oerjan oerjan oerjan shachaf shachaf shachaf shachaf
19:27:28 <int-e> so many!
19:28:11 <shachaf> `ls wisdom/shavention
19:28:12 <HackEgo> wisdom/shavention
19:28:17 <int-e> oh because oerjan needed 3 attempts to add the movie spoiler
19:45:34 <int-e> hmmmmm.... flaming hot sled
19:46:04 <shachaf> `cat bin/sled
19:46:08 <HackEgo> ​[[ "$1" == ?*//* ]] || { echo 'usage: sled file//script'; exit 1; }; key="${1%%//*}"; value="${1#*//}"; [[ -f "$key" ]] || { echo 'Rosebud!'; exit 1; }; sed -i "$value" "$key" && { echo -n "$key//"; cat "$key"; }
19:46:31 <shachaf> Oh.
19:46:41 <shachaf> `sled wisdom/shavention//s#mk#tmp/, mk#
19:46:45 <HackEgo> wisdom/shavention//shaventions include: before/lastfiles, culprits, hog/hogue, le//rn, tmp/, mk/mkx, sled/sedlast, spore/spam/speek/sport/1. Taneb invented them.
20:15:29 -!- dos has joined.
20:25:52 -!- dos has quit (Ping timeout: 252 seconds).
20:29:36 -!- jaboja has joined.
20:34:11 -!- dos has joined.
20:42:22 -!- dos has quit (Ping timeout: 252 seconds).
20:46:23 -!- boily has joined.
20:46:25 <boily> @metar CYUL
20:46:26 <lambdabot> CYUL 251900Z 24009KT 30SM FEW075 BKN250 29/10 A3012 RMK CU1CI6 CU TR SLP202 DENSITY ALT 1500FT
20:48:07 <int-e> parse error. "Density altitude is the altitude relative to the standard atmosphere conditions (ISA) at which the air density would be equal to the indicated air density at the place of observation." - that did not help.
20:48:28 <shachaf> @metar KOAK
20:48:28 <lambdabot> KOAK 251853Z AUTO 27006KT 10SM CLR 23/11 A2996 RMK AO2 SLP145 T02330106
20:48:35 <shachaf> @metar KSJC
20:48:35 <lambdabot> KSJC 251853Z 31004KT 10SM CLR 28/11 A2995 RMK AO2 SLP140 T02780111
20:48:44 <shachaf> hm
20:48:45 <shachaf> @metar KSAN
20:48:45 <lambdabot> KSAN 251851Z 19006KT 10SM SCT019 21/15 A2990 RMK AO2 SLP126 T02060150 $
20:49:06 <shachaf> @metar KSMF
20:49:06 <lambdabot> KSMF 251853Z 34008KT 10SM CLR 31/11 A2991 RMK AO2 SLP128 T03060106
20:50:44 <boily> hellochaf. are you still in KOAK?
20:50:50 <shachaf> Close enough.
20:51:28 <shachaf> @metar KPHX
20:51:28 <lambdabot> KPHX 251851Z 22006KT 10SM FEW120 FEW250 38/09 A2984 RMK AO2 SLP079 T03830089
20:53:01 <int-e> actually the International Standard Atmosphere looks like a great concept
20:54:11 * int-e is imagining a big room of people negotiating what the standard atmosphere should be like... and signing a treaty agreeing to adjust their respective climates accordingly
20:58:06 <boily> it should be blue!
20:58:47 <int-e> especially at night
21:07:46 -!- PinealGlandOptic has quit (Quit: leaving).
21:14:49 <fizzie> @metar EGLL
21:14:49 <lambdabot> EGLL 251950Z AUTO 27008KT 9999 NCD 16/11 Q1017 NOSIG
21:24:24 -!- augur has quit (Remote host closed the connection).
22:02:03 <\oren\> the international sky should be CCCCFF
22:04:30 <Taneb> \oren\, that's a bit pinky for my taste
22:04:38 <Taneb> How about BBDDFF
22:09:30 -!- idris-bot has joined.
22:14:31 -!- augur has joined.
22:32:46 -!- lleu has joined.
22:39:54 -!- gamemanj has quit (Ping timeout: 276 seconds).
22:46:48 -!- lleu has quit (Quit: That's what she said).
22:58:08 -!- lleu has joined.
22:58:37 -!- boily has quit (Quit: MOMENTARY CHICKEN).
23:15:25 -!- jaboja has quit (Read error: Connection reset by peer).
23:24:31 -!- jaboja has joined.
23:30:42 -!- jaboja has quit (Read error: Connection reset by peer).
23:43:41 -!- jaboja has joined.
23:44:26 -!- dos has joined.
23:55:15 -!- jaboja has quit (Read error: Connection reset by peer).
←2016-06-24 2016-06-25 2016-06-26→ ↑2016 ↑all