←2016-07-04 2016-07-05 2016-07-06→ ↑2016 ↑all
00:03:07 <hppavilion[1]> . o O ( As far as we know, #esoteric is full of wizards... )
00:03:47 <oerjan> itym wiseasses hth
00:16:02 <\oren\> hppavilion[1]: Dark wizards
00:16:29 <hppavilion[1]> oerjan: omniscientasses?
00:24:33 * oerjan swats hppavilion[1]. -0.3 shachafs. -----###
00:24:52 <hppavilion[1]> Worth it.
00:25:00 <oerjan> note the negative sign hth
00:25:11 <oerjan> because that was an anti-pun.
00:25:39 <oerjan> afk
00:29:10 * hppavilion[1] deflects the swat with a meat thermometer 0|------>
00:39:00 -!- copumpkin has joined.
01:06:30 <moonythedwarf> anti-puns are for wimps, try a anti-anti-pun
01:09:27 -!- cnr has quit (Ping timeout: 264 seconds).
01:15:28 -!- cnr has joined.
01:18:27 -!- moonythedwarf has changed nick to funktext.
01:19:13 -!- hppavilion[1] has quit (Ping timeout: 252 seconds).
01:19:46 -!- funktext has changed nick to moon_.
01:19:48 <oerjan> . o O ( evil idea: ban moon's non-nickname parts and then make ban exemptions only for moon@* and moon_@* )
01:20:42 <oerjan> or wait, is that moon_@* and moon__@*
01:20:44 -!- moon_ has changed nick to moon-moon.
01:20:53 <\oren\> dammit moon-moon
01:23:07 <\oren\> http://i0.kym-cdn.com/photos/images/original/000/534/248/7f5.jpg
01:24:23 -!- lambda-11235 has joined.
01:34:03 <shachaf> oerjan: Is that the same as 0.3 antishachafs?
01:34:41 <alercah> oerjan: doesn't freenode have a channel mode that prevents nick changes
01:35:01 <oerjan> shachaf: probably?
01:35:12 <shachaf> `welcome alercah
01:35:31 <oerjan> alercah: i don't remember, except that it's a side effect of banning
01:35:46 <HackEgo> alercah: Welcome to the international hub for esoteric programming language design and deployment! For more information, check out our wiki: <http://esolangs.org/>. (For the other kind of esoterica, try #esoteric on EFnet or DALnet.)
01:35:56 <oerjan> alercah: also, it wasn't meant to apply to people _other_ than moon_ hth
01:36:30 <shachaf> I found out that Freenode lets you ban anyone who's banned in another channel.
01:36:42 <shachaf> I wonder whether that lets you get over the ban list length limit.
01:36:55 <oerjan> spiffy
01:36:57 <shachaf> They say it only works for one layer, i.e. $j: ignores $j:.
01:37:07 <alercah> shachaf: why doesn't someone make a channel that bans *!*@* then to make it useless?
01:37:24 <shachaf> I mean: In one channel you can ban $j:#other-channel
01:39:08 <alercah> ohh
01:41:56 <shachaf> oerjan: What's evil about that idea, anyway?
01:44:08 <oerjan> shachaf: it's mobbing
01:44:22 <shachaf> @wn mobbing?
01:44:23 <lambdabot> No match for "mobbing?".
01:44:24 <shachaf> oops
01:44:26 <shachaf> @wn mobbing
01:44:27 <lambdabot> No match for "mobbing".
01:44:44 <oerjan> i just checked on wikipedia that the word exists in english
01:44:47 <oerjan> hth
01:45:30 <shachaf> Ah.
01:45:40 <oerjan> "Shallcross, Ramsay and Barker consider workplace "mobbing" to be a generally unfamiliar term in some English speaking countries. Some researchers claim that mobbing is simply another name for bullying."
01:45:46 -!- copumpkin has quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…).
01:45:53 <oerjan> i suppose it's not that widespread.
01:45:57 <shachaf> Well, if it's up to me, changing your nick all the time would be universally banned.
01:46:02 <oerjan> it's the standard term in norwegian.
01:46:26 <shachaf> Multiple pseudonyms are fine, anonymity is fine, etc.
01:47:46 <alercah> `relcome shachaf
01:47:55 <shachaf> `tervetuloa alercah
01:48:01 <HackEgo> shachaf: Welcome to the international hub for esoteric programming language design and deployment! For more information, check out our wiki: <http://esolangs.org/>. (For the other kind of esoterica, try #esoteric on EFnet or DALnet.)
01:48:02 <HackEgo> alercah: Tervetuloa esoteeristen ohjelmointikielten suunnittelun ja käyttöönoton kansainväliseen keskukseen! Lisätietoa saat wikistämme: <http://esolangs.org/wiki/Main_Page>. (Muu esoteerisuus: kokeile kanavaa #esoteric palvelimella irc.dal.net.)
01:53:42 <oerjan> `cat bin/tervetuloa
01:53:44 <HackEgo> ​#!/usr/bin/perl -w \ if (defined($_=shift)) { s/ *$//; s/ +/ @ /g; exec "bin/@", $_ . " ? welcome.fi"; } else { exec "bin/?", "welcome.fi"; }
01:54:37 <shachaf> `h irc.dahl.net
01:54:38 <HackEgo> Can't open irc.dahl.net: No such file or directory.
01:54:41 <shachaf> `cat bin/h
01:54:42 <HackEgo> ​#!/usr/bin/perl -p \ s/([aeiouy])([bcdfghjklmnpqrstvxz])/$1h$2/ig
01:55:08 <shachaf> oerjan: please fix h twh
01:55:22 <shachaf> (that would h)
01:57:24 <oerjan> `slwd welcome.fi//s,wiki/Main_page,,;s,kanav.*,kanavan #esoteric päälle EFnet tai Dalnet.),
01:57:29 <HackEgo> wisdom/welcome.fi//Tervetuloa esoteeristen ohjelmointikielten suunnittelun ja käyttöönoton kansainväliseen keskukseen! Lisätietoa saat wikistämme: <http://esolangs.org/wiki/Main_Page>. (Muu esoteerisuus: kokeile kanavan #esoteric päälle EFnet tai Dalnet.)
01:57:36 <oerjan> dammit
01:57:39 <oerjan> `revert
01:57:59 <HackEgo> rm: cannot remove `/home/hackbot/hackbot.hg/multibot_cmds/env/.hg/store/data/canary.orig': Is a directory \ Done.
01:58:07 <oerjan> `slwd welcome.fi//s,wiki/Main_Page,,;s,kanav.*,kanavan #esoteric päälle EFnet tai Dalnet.),
01:58:21 <HackEgo> wisdom/welcome.fi//Tervetuloa esoteeristen ohjelmointikielten suunnittelun ja käyttöönoton kansainväliseen keskukseen! Lisätietoa saat wikistämme: <http://esolangs.org/>. (Muu esoteerisuus: kokeile kanavan #esoteric päälle EFnet tai Dalnet.)
01:58:28 <shachaf> oerjan: since when do you speak finnish twh
02:00:03 <oerjan> shachaf: since never. also i just _knew_ i'd get trouble because yesterday script doesn't support that extra #! argument :(
02:00:11 <oerjan> *yesterday's
02:01:04 <oerjan> or wait hm
02:01:11 <oerjan> perl is special isn't it
02:01:58 <shachaf> oerjan: do you recommend joining a union
02:02:20 <oerjan> but not special enough.
02:02:35 <oerjan> shachaf: unions are already joins hth
02:02:55 <shachaf> have you met any union members
02:03:03 <shachaf> or is that against the rules
02:05:07 <oerjan> i don't remember anyone telling me if they were.
02:05:26 <oerjan> `` cat bin/has*
02:05:28 <HackEgo> cat: bin/has*: No such file or directory
02:05:46 <shachaf> perhaps you don't intersect them very often
02:05:51 <oerjan> `` ls bin/*input
02:05:55 <HackEgo> bin/print_args_or_input \ bin/shebang_args_or_input
02:06:11 <oerjan> `` cat bin/sheb*
02:06:12 <HackEgo> ​#!/bin/bash \ interp="$1"; script="$2"; shift 2; if [ "$#" -gt 0 ]; then printf '%s\n' "$*"; else cat; fi | "$interp" "$script"
02:06:25 <oerjan> shachaf: lattice drop the subject
02:07:08 <oerjan> ...
02:08:14 <oerjan> you can only have one shebang argument, right
02:08:40 <shachaf> yes
02:09:01 <oerjan> ok, there's an obvious, traditional solution here.
02:09:22 <oerjan> `cat bin/slashlearn
02:09:24 <HackEgo> sep="/"; [[ "$0" == *//* ]] && sep="//"; [[ "$1" == ?*"$sep"* ]] || exit 1; key="$(echo "${1%%$sep*}" | lowercase)"; value="${1#*$sep}"; [ -e "wisdom/$key" ] && verb="Relearned" || verb="Learned"; echo "$value" > "$(echo-p "wisdom/$key")" && echo "$verb «$key»"
02:10:08 <oerjan> (by traditional i mean insane)
02:10:49 <shachaf> wait, what are you going to do
02:10:57 <shachaf> is this the part where i close my eyes
02:11:02 <shachaf> and/or you close your nose
02:20:07 <oerjan> `fetch http://oerjan.nvg.org/shebang_args_or_input
02:20:11 <HackEgo> 2016-07-05 01:20:01 URL:http://oerjan.nvg.org/shebang_args_or_input [133/133] -> "shebang_args_or_input" [1]
02:20:28 <oerjan> `` chmod +x she*; mv she* bin
02:20:33 <HackEgo> No output.
02:20:37 <oerjan> `rainbow testing
02:20:40 <HackEgo> testing
02:20:51 <shachaf> `cat bin/shebang_args_or_input
02:20:52 <HackEgo> ​#!/bin/bash \ interp="$1"; script="$2"; shift 2; if [ "$#" -gt 0 ]; then printf '%s\n' "$*"; else cat; fi | ${interp/"//"/ } "$script"
02:21:02 <shachaf> does that really require `fetch
02:21:13 <shachaf> wouldn't it be better to improve mk
02:21:38 <oerjan> shachaf: it requires `fetch because i tested it first hth
02:22:19 <oerjan> `sled bin/h//1c#!/hackenv/bin/shebang_args_or_input perl//-p
02:22:25 <HackEgo> bin/h//#!/hackenv/bin/shebang_args_or_input perl//-p \ s/([aeiouy])([bcdfghjklmnpqrstvxz])/$1h$2/ig
02:22:30 <oerjan> `h testing
02:22:31 <HackEgo> tehstihng
02:22:35 <oerjan> yw
02:22:41 <shachaf> oerjan: Of course, the motivation for // doesn't work here.
02:22:49 <shachaf> It only makes sense for paths.
02:22:55 <shachaf> The argument to perl isn't a path.
02:23:03 <shachaf> so now you need a way to escape // hth
02:23:05 <oerjan> shachaf: it works in that perl itself is a path
02:23:15 <oerjan> and also, it won't have more than one argument.
02:23:17 <shachaf> Well, sure.
02:23:24 <shachaf> But you could also just use space?
02:23:25 <oerjan> (assuming it's a converted shebang)
02:23:33 <oerjan> shachaf: how?
02:23:41 <shachaf> Maybe I'm missing something.
02:23:53 <shachaf> #!/hackenv/bin/shebang_args_or_input perl -p ?
02:24:04 <shachaf> Which would run it with the argument "perl -p"
02:24:09 <oerjan> would it?
02:24:20 <oerjan> i didn't think shebangs worked that way
02:24:25 <shachaf> `mkx tmp/sh//#!/bin/echo a b
02:24:26 <HackEgo> tmp/sh
02:24:29 <shachaf> `tmp/sh
02:24:31 <HackEgo> a b /hackenv/tmp/sh
02:24:32 <oerjan> it just ignores arguments other than the first
02:24:45 <shachaf> No, it just includes the space in the argument.
02:24:56 <shachaf> It doesn't have special treatment for spaces other than the first.
02:24:58 <oerjan> shachaf: that doesn't tell whether it split the arguments or not
02:25:01 <shachaf> I know.
02:25:25 <oerjan> i'm skeptical.
02:25:52 <oerjan> because if that were the case, the special treatment i've read that perl does makes no sense.
02:25:55 <shachaf> `mkx tmp/args//for a in "$@"; do echo -n "[$a]"; done
02:25:57 <HackEgo> tmp/args
02:26:09 <shachaf> `mkx tmp/sh//#!/hackenv/tmp/args a b
02:26:12 <HackEgo> tmp/sh
02:26:16 <shachaf> `tmp/sh
02:26:18 <HackEgo> No output.
02:27:00 <oerjan> `sled tmp/args//1i#!/bin/bash
02:27:03 <HackEgo> tmp/args//#!/bin/bash \ for a in "$@"; do echo -n "[$a]"; done
02:27:09 <oerjan> `tmp/sh
02:27:09 <shachaf> yes, that
02:27:11 <HackEgo> ​[a b][/hackenv/tmp/sh]
02:27:19 <oerjan> hm you're apparently right
02:27:22 <shachaf> What special treatment were *you* thinking of?
02:27:36 <shachaf> I thought you meant that even if you run "perl file.pl", it'll read the perl arguments from the #! line.
02:27:55 <oerjan> shachaf: i've read that perl checks the first line
02:28:10 <shachaf> So have I.
02:28:12 <oerjan> and i also read that it was because shebangs can only take one argument.
02:28:16 <shachaf> The way I described it.
02:28:30 <oerjan> anyway, you've showed that my way is overkill, so...
02:28:38 <shachaf> oh no
02:28:45 <shachaf> you wouldn't want anything overkill in HackEgo
02:29:05 <shachaf> Maybe perl has a special case where it splits the #! argument on spaces or something.
02:29:15 <oerjan> `fetch http://oerjan.nvg.org/shebang_args_or_input
02:29:19 <HackEgo> 2016-07-05 01:29:09 URL:http://oerjan.nvg.org/shebang_args_or_input [124/124] -> "shebang_args_or_input" [1]
02:29:25 <oerjan> `` chmod +x she*; mv she* bin
02:29:30 <HackEgo> No output.
02:29:33 <oerjan> `rainbow testing
02:29:36 <HackEgo> testing
02:29:49 <oerjan> `sled bin/h//s,//, ,
02:29:51 <HackEgo> bin/h//#!/hackenv/bin/shebang_args_or_input perl -p \ s/([aeiouy])([bcdfghjklmnpqrstvxz])/$1h$2/ig
02:29:56 <oerjan> `h testing
02:29:57 <HackEgo> tehstihng
02:30:04 <oerjan> excellent
02:30:08 <shachaf> But now you can't h a file anymore.
02:30:17 <oerjan> oh.
02:30:19 <shachaf> That used to work until you changed it.
02:30:28 <shachaf> `h changed
02:30:29 <HackEgo> chahngehd
02:30:36 <shachaf> `h pooch
02:30:37 <HackEgo> poohch
02:30:55 <oerjan> shachaf: well duh, don't ask me to fix things without telling me that
02:31:04 <shachaf> `h doctrine
02:31:05 <HackEgo> dohctrihne
02:31:34 <oerjan> _obviously_ a script cannot support both raw text on command line and filenames, duh
02:31:45 <shachaf> what if you treated it as a path if it contained //
02:32:15 <oerjan> i don't think so. there's nothing that cannot be in a raw text line. it would be illogical.
02:32:23 <alercah> whoa, the Guardian is doing a series of specials on Canada this week
02:32:30 <shachaf> anyway your job now is to find nifty ways to give monoidal structure to the category of hask endofunctors twh
02:32:38 <shachaf> i know of five ways
02:32:43 <shachaf> can you think of another one
02:34:39 <oerjan> hm...
02:35:24 <alercah> oerjan: I don't think it's obvious hth
02:35:52 <shachaf> whoa whoa whoa, Canada?
02:35:54 <oerjan> alercah: well, it cannot support filenames from the hackego `command style.
02:36:07 <shachaf> i heard Canada celebrated the 4th of july three days early
02:36:17 <shachaf> `tmp/args abc
02:36:19 <HackEgo> ​[ abc]
02:36:30 <shachaf> `tmp/args
02:36:31 <HackEgo> No output.
02:36:43 <oerjan> i _could_ make it work in a script with a flag.
02:37:12 <oerjan> so that h -f ... worked
02:37:19 <oerjan> or h -- ...
02:37:54 <shachaf> You would want to make both of them work.
02:38:04 <shachaf> So that you could h -- -f if you wanted to h the string -f
02:40:25 <alercah> oerjan: why not
02:40:42 <alercah> oerjan: escape characters exist
02:42:35 <shachaf> Escaping is one of the biggest scows in computer science.
02:43:06 <alercah> here's a silly example
02:43:27 <alercah> actually no i've better things to do
02:43:48 <oerjan> alercah: well by "supporting raw text" i mean supporting _all_ raw text that can be given on the HackEgo command line.
02:44:22 <oerjan> shachaf: no, that would just be h -f
02:44:32 <alercah> I think you are constraining yourself so as to deliberately make your problem impossible hth
02:44:39 <oerjan> shachaf: the test wouldn't be for a flag, but for having more than one argument.
02:44:59 <oerjan> alercah: i think you don't understand the spirit of HackEgo programming.
02:45:20 <oerjan> alercah: note that the HackEgo command line is _not_ a shell command line.
02:46:09 <oerjan> shachaf: in fact it could ignore what the first argument was. not sure if that's a good idea.
02:50:53 -!- hppavilion[1] has joined.
03:01:30 -!- spiette has quit (Ping timeout: 250 seconds).
03:11:20 <oerjan> `fetch http://oerjan.nvg.org/shebang_args_or_input
03:11:23 <HackEgo> 2016-07-05 02:11:13 URL:http://oerjan.nvg.org/shebang_args_or_input [141/141] -> "shebang_args_or_input" [1]
03:11:30 <oerjan> `` chmod +x she*; mv she* bin
03:11:38 <HackEgo> No output.
03:11:42 <oerjan> `h testing
03:11:42 <HackEgo> tehstihng
03:11:51 <oerjan> `h -- testing
03:11:52 <HackEgo> ​-- tehstihng
03:11:53 <oerjan> `ls
03:11:55 <HackEgo> ​!\.´ \ advice \ bin \ canary \ cdescs \ emoticons \ esobible \ etc \ evil \ factor \ good \ hw \ ibin \ interps \ karma \ le \ lib \ ls \ misle \ out \ paste \ ply-3.8 \ ps \ quines \ quotes \ share \ src \ theorems \ tmflry \ tmp \ wisdom \ wisdom.pdf
03:11:59 <hppavilion[1]> #!
03:12:08 <oerjan> `` h -- wisdom/oerjan
03:12:21 <oerjan> gah
03:12:25 <oerjan> oh
03:12:25 <Sgeo__> Congrats ais523!
03:12:29 <Sgeo__> Gah he's not here
03:12:39 <HackEgo> No output.
03:12:41 <oerjan> `` h -- wisdom/oerjan </dev/null
03:12:42 <HackEgo> Youhr myhstehriouhs ahrtihclehd cahcklihng zohmbie uhndehrlohrd kohmmihsjohnær ehmehrihtuhs oehrjahn ihs a lahzy ehxpehrt ihn fuhtuhre cohmpuhtahtiohn. Ahlso a Prehcahmbriahn Nohrwehgiahn who mihldly dihslihkehs Roahld Dahhl wihth a pahsjohn. Lahtehly whehn he triehs to rehmehmbehr a wohrd, "ahmohrtihzehd" pohps uhp. Hihs ahrch-nehmehsihs ihs Beht
03:13:19 <oerjan> ok a minor flaw, it will cat the input even if the command doesn't use it. hm.
03:13:57 <lifthrasiir> is it possible for `h` to make `sit` into a swear word
03:14:06 <oerjan> i don't think so
03:14:15 <oerjan> it only adds it after vowels.
03:14:23 <lifthrasiir> siht.
03:14:44 <oerjan> `` rainbow -- wisdom/oerjan
03:14:50 <oerjan> argh
03:14:57 <oerjan> ok, this is somewhat inconvenient.
03:15:14 <HackEgo> No output.
03:21:20 <oerjan> `fetch http://oerjan.nvg.org/shebang_args_or_input
03:21:24 <HackEgo> 2016-07-05 02:21:14 URL:http://oerjan.nvg.org/shebang_args_or_input [162/162] -> "shebang_args_or_input" [1]
03:21:26 <oerjan> `` chmod +x she*; mv she* bin
03:21:30 <HackEgo> No output.
03:21:39 <oerjan> `` h -- wisdom/oerjan
03:21:40 <HackEgo> Youhr myhstehriouhs ahrtihclehd cahcklihng zohmbie uhndehrlohrd kohmmihsjohnær ehmehrihtuhs oehrjahn ihs a lahzy ehxpehrt ihn fuhtuhre cohmpuhtahtiohn. Ahlso a Prehcahmbriahn Nohrwehgiahn who mihldly dihslihkehs Roahld Dahhl wihth a pahsjohn. Lahtehly whehn he triehs to rehmehmbehr a wohrd, "ahmohrtihzehd" pohps uhp. Hihs ahrch-nehmehsihs ihs Beht
03:21:46 <oerjan> `` h wisdom/oerjan
03:21:48 <HackEgo> wihsdohm/oehrjahn
03:21:58 <oerjan> `h wisdom/oerjan
03:21:59 <HackEgo> wihsdohm/oehrjahn
03:22:12 <oerjan> `` \? oerjan | h
03:22:16 <HackEgo> Youhr myhstehriouhs ahrtihclehd cahcklihng zohmbie uhndehrlohrd kohmmihsjohnær ehmehrihtuhs oehrjahn ihs a lahzy ehxpehrt ihn fuhtuhre cohmpuhtahtiohn. Ahlso a Prehcahmbriahn Nohrwehgiahn who mihldly dihslihkehs Roahld Dahhl wihth a pahsjohn. Lahtehly whehn he triehs to rehmehmbehr a wohrd, "ahmohrtihzehd" pohps uhp. Hihs ahrch-nehmehsihs ihs Beht
03:22:44 <oerjan> shachaf: ok now it can be used in 3 different ways.
03:29:53 -!- oerjan has quit (Quit: Tmux buggy).
03:32:28 <lifthrasiir> `` echo oops | h | h
03:32:31 <HackEgo> oohhps
03:32:54 <lifthrasiir> `` echo oops | xxd | h | h
03:32:59 <HackEgo> 0000000: 6f6f 7073 0a oohhps.
03:33:13 -!- oerjan has joined.
03:34:23 -!- oerjan has quit (Remote host closed the connection).
03:34:47 -!- oerjan has joined.
03:35:21 -!- oerjan has quit (Remote host closed the connection).
03:35:48 -!- oerjan has joined.
03:36:06 -!- oerjan has quit (Client Quit).
03:38:34 -!- oerjan has joined.
03:40:50 <oerjan> huh there you are.
03:41:32 <oerjan> tmux starts, and opens programs, but does not seem to show me the session
03:42:51 <oerjan> needed to use ^B) to get to it
03:43:14 <oerjan> now food ->
03:52:11 -!- hppavilion[1] has quit (Ping timeout: 240 seconds).
03:59:18 <\oren\> `rainbow qwertyuiopasdfghjkl
03:59:32 <HackEgo> qwertyuiopasdfghjkl
04:00:04 <\oren\> i am not sure that putting the colors in a rondom order is a good "rainbow"
04:01:10 <lifthrasiir> isn't the fixed sequential order better
04:01:53 <\oren\> it should do red yellow green cyan blue magenta
04:02:00 <\oren\> and repeat
04:02:17 <\oren\> there isn't gray in a rainbow
04:03:52 <\oren\> `` tcc -v
04:03:55 <HackEgo> ​/hackenv/bin/`: line 4: tcc: command not found
04:03:58 <\oren\> bah
04:04:10 <\oren\> `` cc -v
04:04:17 <HackEgo> ​<stdin>:1:1: error: expected identifier or ‘(’ before ‘-’ token \ compilation terminated due to -Wfatal-errors.
04:04:23 <\oren\> wtf
04:04:37 <\oren\> `` gcc -v
04:04:39 <HackEgo> Using built-in specs. \ COLLECT_GCC=gcc \ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper \ Target: x86_64-linux-gnu \ Configured with: ../src/configure -v --with-pkgversion='Debian 4.7.2-5' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7
04:04:42 <\oren\> aha
04:05:43 <\oren\> brb making a better rainbow
04:11:32 -!- hppavilion[1] has joined.
04:15:51 -!- hppavilion[1] has quit (Ping timeout: 240 seconds).
04:24:15 <oerjan> \oren\: rainwords does them in order, rainbow is different for traditional reasons.
04:24:55 -!- hppavilion[1] has joined.
04:25:15 <hppavilion[1]> If thou gaze long into /dev/null...
04:25:21 <hppavilion[1]> `? /dev/null
04:25:27 <oerjan> `? tradition
04:26:04 <HackEgo> tradition? ¯\(°​_o)/¯
04:26:05 <HackEgo> No output.
04:26:16 <alercah> is it allowed to eat a scow at a shindig?
04:26:40 <hppavilion[1]> `? sbeef
04:26:47 <HackEgo> sbeef? ¯\(°​_o)/¯
04:27:17 <\oren\> `` cat >orenbow.c <<<$'#include <stdio.h>\n''int main(){int a,c=1;b:a=getchar();if(a==EOF)return 0;if(!(a&128)||(a&192))printf("\e[%d;1m","\37! $\"#"[c]);putchar(a);c=c+1-6*(c>4);goto b;}'
04:27:26 <hppavilion[1]> `learn sbeef is the culinary name for meat from scow
04:27:38 <HackEgo> No output.
04:28:06 <HackEgo> Learned 'sbeef': sbeef is the culinary name for meat from scow
04:28:16 <\oren\> `` gcc orenbow.c -o orenbow
04:28:21 <oerjan> \oren\: using c means it cannot use my wrapper script :(
04:29:00 <oerjan> not directly, anyway.
04:29:00 <hppavilion[1]> But what is the name for a scut of sbeef generally sliced perpendicular to the smuscle fibers? ssteak?
04:29:00 <HackEgo> No output.
04:29:24 <\oren\> `orenbow foobar
04:29:31 <HackEgo> ​/home/hackbot/hackbot.hg/multibot_cmds/lib/limits: line 5: exec: orenbow: not found
04:30:04 <\oren\> `` orenbow <<<"foobars"
04:30:19 <hppavilion[1]> Has anybody gotten a bot running on HackEgo?
04:30:20 <HackEgo> ​/hackenv/bin/`: line 4: orenbow: command not found
04:30:26 <\oren\> `` ./orenbow <<<"foobars"
04:30:29 <oerjan> shachaf: the problem with doing work on HackEgo is that it inspires others to do misguided experiments :(
04:30:38 <HackEgo> ​/hackenv/bin/`: line 4: ./orenbow: No such file or directory
04:31:44 <\oren\> `` mv orenbow bin
04:32:00 <HackEgo> mv: cannot stat `orenbow': No such file or directory
04:32:17 <hppavilion[1]> `` grep -rnw '/wisdom' -e "cow"
04:32:29 <HackEgo> grep: /wisdom: No such file or directory
04:32:31 <hppavilion[1]> Oh
04:32:34 <hppavilion[1]> `ls
04:32:35 <\oren\> `` ls orenbow.c
04:33:23 <HackEgo> ​!\.´ \ advice \ bin \ canary \ cdescs \ emoticons \ esobible \ etc \ evil \ factor \ good \ hw \ ibin \ interps \ karma \ le \ lib \ ls \ misle \ orenbow.c \ out \ paste \ ply-3.8 \ ps \ quines \ quotes \ share \ src \ theorems \ tmflry \ tmp \ wisdom \ wisdom.pdf
04:33:24 <HackEgo> orenbow.c
04:33:42 <\oren\> `` gcc orenbow.c -o orenbow; ls orenbow
04:34:06 <oerjan> hm...
04:34:12 <oerjan> `cat orenbow.c
04:34:12 <hppavilion[1]> `` grep -r './wisdom' -e "cow"
04:34:15 <HackEgo> orenbow
04:34:25 <HackEgo> ​#include <stdio.h> \ int main(){int a,c=1;b:a=getchar();if(a==EOF)return 0;if(!(a&128)||(a&192))printf("\e[%d;1m","\37! $\"#"[c]);putchar(a);c=c+1-6*(c>4);goto b;}
04:34:25 <oerjan> sooo slooooooo
04:34:33 <HackEgo> ​./wisdom/sbeef:sbeef is the culinary name for meat from scow \ ./wisdom/cow:A cow is an animal best served at minus zero degrees. \ ./wisdom/scow:Scow (S-cow) is canned meat made from cows with a lisp.
04:34:36 <hppavilion[1]> oerjan: Correct, and it's my job to worsen it
04:34:44 <\oren\> `` mv orenbow bin
04:34:48 <HackEgo> No output.
04:34:48 <oerjan> hm my suspicion was wrong.
04:35:04 <\oren\> `` orenbow <<<"hello world"
04:35:06 <HackEgo> ​[33;1mh[32;1me[36;1ml[34;1ml[35;1mo[31;1m [33;1mw[32;1mo[36;1mr[34;1ml[35;1md[31;1m
04:35:07 <oerjan> i guess the first gcc just timed out.
04:35:10 * hppavilion[1] is chief of botslowenning
04:35:30 <\oren\> `` orenbow <<<"1234567890"
04:35:32 <HackEgo> ​[33;1m1[32;1m2[36;1m3[34;1m4[35;1m5[31;1m6[33;1m7[32;1m8[36;1m9[34;1m0[35;1m
04:35:37 <oerjan> hm ...
04:35:42 * oerjan has an idea
04:35:46 <hppavilion[1]> `? graham's number
04:35:48 <HackEgo> graham's number? ¯\(°​_o)/¯
04:35:53 <hppavilion[1]> `? g64
04:35:55 <HackEgo> g64? ¯\(°​_o)/¯
04:35:59 <oerjan> `` ls bin/rainb*
04:36:02 <HackEgo> bin/rainbow
04:36:13 <oerjan> `` mv bin/rainbow{,.old}
04:36:19 <HackEgo> No output.
04:36:28 <\oren\> `le/rn graham's number/graham's number isn't as delicious as his crackers.
04:36:33 <HackEgo> Learned «graham's number»
04:37:51 <oerjan> hm wait this won't work
04:37:54 <oerjan> *sigh*
04:37:58 <oerjan> oh
04:38:00 <oerjan> anyway
04:38:24 <oerjan> `mkx bin/rainbow//print_args_or_input "$@" | orenbow
04:38:28 <HackEgo> bin/rainbow
04:38:33 <oerjan> `rainbow testing
04:38:34 <HackEgo> ​[33;1mt[32;1me[36;1ms[34;1mt[35;1mi[31;1mn[33;1mg[32;1m
04:39:04 <\oren\> I wrote it in the finest horrible C.
04:39:27 <shachaf> oerjan: What's the misguided experiment?
04:39:32 <oerjan> `` cp orenbow.c src
04:39:40 <HackEgo> No output.
04:39:44 <oerjan> shachaf: i changed my opinion a bit.
04:39:56 <\oren\> `rainbow でもウニコードを出来る
04:39:58 <HackEgo> ​[33;1mã[32;1m[36;1m§[34;1mã[35;1m‚[31;1m‚[33;1mã[32;1m‚[36;1m¦[34;1mã[35;1mƒ[31;1m‹[33;1mã[32;1m‚[36;1m³[34;1mã[35;1mƒ[31;1m¼[33;1mã[32;1mƒ[36;1m‰[34;1mã[35;1m‚[31;1m’[33;1må[32;1m‡[36;1mº[34;1mæ[35;1m[31;1m¥[33;1mã[32;1m‚[36;1m‹[34;1m
04:40:03 <\oren\> EHHHHH
04:40:35 <\oren\> I totally thought that would work
04:41:04 <oerjan> \oren\: you'll need some utf-8 handling
04:41:25 <oerjan> only put it in front of initial bytes, or something
04:41:32 <\oren\> it has that, but it's not working
04:41:36 <oerjan> oh
04:41:38 <oerjan> lessee
04:41:57 <oerjan> `rainbow Ørjan
04:42:05 <HackEgo> ​[33;1mÃ[32;1m˜[36;1mr[34;1mj[35;1ma[31;1mn[33;1m
04:42:08 <\oren\> `` cat orenbow.c
04:42:10 <HackEgo> ​#include <stdio.h> \ int main(){int a,c=1;b:a=getchar();if(a==EOF)return 0;if(!(a&128)||(a&192))printf("\e[%d;1m","\37! $\"#"[c]);putchar(a);c=c+1-6*(c>4);goto b;}
04:42:23 <\oren\> if(!(a&128)||(a&192))
04:42:24 <oerjan> wrong test maybe?
04:43:03 <\oren\> if the upper bit is clear, or the upper two bits are set...
04:43:36 * oerjan doesn't remember which is which
04:43:43 <oerjan> ^ord Ø
04:43:43 <fungot> 195 152
04:45:03 <oerjan> ^ord でも
04:45:03 <fungot> 227 129 167 227 130 130
04:45:14 <oerjan> looks plausible
04:46:59 <oerjan> `! c int a=227; printf("%d\n",!(a&128)||(a&192));
04:47:14 <oerjan> will that even finish these days.
04:47:17 <HackEgo> Does not compile.
04:47:23 <oerjan> argh
04:48:01 <oerjan> `! c int main () { int a=227; printf("%d\n",!(a&128)||(a&192)); }
04:48:09 <HackEgo> Does not compile.
04:48:27 -!- Sprocklem has quit (Ping timeout: 246 seconds).
04:48:39 * oerjan has no idea what he's doin ... oh.
04:48:58 <hppavilion[1]> That moment when you open a Wikipedia citation for more information and it's completely unrelated
04:49:05 <oerjan> `! c #include <stdio.h>\nint main () { int a=227; printf("%d\n",!(a&128)||(a&192)); }
04:49:15 <oerjan> oh wait
04:49:16 <HackEgo> No output.
04:49:22 <hppavilion[1]> "Hundreds attended his funeral[1]"
04:49:24 <hppavilion[1]> [1]https://www.youtube.com/watch?v=dQw4w9WgXcQ
04:49:25 <oerjan> `! c int main () { int a=227; printf("%d\\n",!(a&128)||(a&192)); }
04:49:34 <HackEgo> 1
04:49:47 <oerjan> `! c int main () { int a=129; printf("%d\\n",!(a&128)||(a&192)); }
04:49:55 <HackEgo> 1
04:50:05 <oerjan> oh that doesn't look good
04:50:45 <\oren\> `! c int main () { int a=129; printf("%d\\n",a&192); }
04:50:51 <HackEgo> 128
04:50:59 <\oren\> OH FUCK
04:51:13 <\oren\> i'm an idiot
04:51:47 <oerjan> i'm not sure why it matters that it's not 0 or 1
04:51:52 <oerjan> oh
04:51:54 <oerjan> duh :P
04:52:04 <\oren\> `! c int main () { int a=129; printf("%d\\n",!(a&192)-192); }
04:52:08 <HackEgo> ​-192
04:52:21 <\oren\> ok good I can fix it in place
04:52:29 <oerjan> \oren\: just s/192/64/, i think.
04:52:56 <oerjan> because the other test ensures if you get there, the highest bit is set.
04:53:06 <\oren\> yeah
04:53:32 <oerjan> `slwd graham's number//s,.,G,
04:53:38 <HackEgo> wisdom/graham's number//Graham's number isn't as delicious as his crackers.
04:54:09 <shachaf> `` culprits "$(lastfiles)"
04:54:24 <HackEgo> oerjan oren
04:54:53 <\oren\> `` sed -i '' -e 's/192/64/' orenbow.c
04:54:58 <HackEgo> sed: can't read : No such file or directory
04:55:45 <\oren\> `` sed -e 's/192/64/' -i orenbow.c
04:55:48 <HackEgo> No output.
04:55:56 <\oren\> `` cat orenbow.c
04:55:59 <HackEgo> ​#include <stdio.h> \ int main(){int a,c=1;b:a=getchar();if(a==EOF)return 0;if(!(a&128)||(a&64))printf("\e[%d;1m","\37! $\"#"[c]);putchar(a);c=c+1-6*(c>4);goto b;}
04:57:12 <oerjan> `` cp orenbow.c src
04:57:17 <HackEgo> No output.
04:58:09 <\oren\> `` gcc orenbow.c -o orenbow; ls orenbow
04:58:31 <HackEgo> orenbow
04:58:48 <\oren\> `` mv orenbow bin
04:58:52 <HackEgo> No output.
04:58:59 <\oren\> `rainbow でもウニコードを出来る
04:59:00 <HackEgo> ​[33;1mで[34;1mも[33;1mウ[34;1mニ[33;1mコ[34;1mー[33;1mド[34;1mを[33;1m出[34;1m来[33;1mる[34;1m
04:59:05 <\oren\> uhhhh
04:59:17 <\oren\> `` sed -e 's/;putchar\(a\);/,/' -i orenbow.c
04:59:20 <HackEgo> No output.
04:59:27 <shachaf> Why are you just putting everything in the root directory?
05:00:16 <\oren\> `` cat orenbow.c
05:00:18 <HackEgo> ​#include <stdio.h> \ int main(){int a,c=1;b:a=getchar();if(a==EOF)return 0;if(!(a&128)||(a&64))printf("\e[%d;1m","\37! $\"#"[c]);putchar(a);c=c+1-6*(c>4);goto b;}
05:00:26 <hppavilion[1]> Remember: There will come a day when rickrolling is no longer effective
05:00:30 <\oren\> `` sed -e 's/;putchar(a);/,/' -i orenbow.c
05:00:35 <HackEgo> No output.
05:00:48 <oerjan> l/rn2sled
05:01:17 <\oren\> `` sed -e 's/>4);/>4);putchar(a);/' -i orenbow.c
05:01:22 <HackEgo> No output.
05:01:25 <\oren\> `` cat orenbow.c
05:01:27 <HackEgo> ​#include <stdio.h> \ int main(){int a,c=1;b:a=getchar();if(a==EOF)return 0;if(!(a&128)||(a&64))printf("\e[%d;1m","\37! $\"#"[c]),c=c+1-6*(c>4);putchar(a);goto b;}
05:01:33 <shachaf> `ls src
05:01:34 <HackEgo> 99.sh \ bf \ bob.c \ brainfuck.fu \ c \ ciol \ ciol.c \ daoyu.c \ egobot.tar.xz \ emmental.hs \ factor-linux-x86-64-0.95.tar.gz \ fizziecoin.jpg \ fueue.c \ grph.c \ hello2.c \ hello.c \ maze.c \ orenbow.c \ ploki \ ploki-0.6.5.1.tar.bz2 \ u8tbl.c \ ul.emm
05:01:36 <shachaf> Put source in src/
05:01:46 <\oren\> `` gcc orenbow.c -o orenbow; ls orenbow;
05:01:46 <shachaf> Everything you do is recorded in version control forever.
05:01:53 <shachaf> `` mv orenbow.c src/
05:01:59 <HackEgo> orenbow
05:02:04 <HackEgo> No output.
05:02:12 <\oren\> `` mv orenbow bin
05:02:17 <HackEgo> No output.
05:02:18 <\oren\> `rainbow でもウニコードを出来る
05:02:20 <HackEgo> ​[33;1mで[32;1mも[36;1mウ[34;1mニ[35;1mコ[31;1mー[33;1mド[32;1mを[36;1m出[34;1m来[35;1mる[31;1m
05:02:23 <\oren\> YAY
05:03:02 <shachaf> Wait, you're not even using IRC colors.
05:03:14 <oerjan> those did look a bit strange
05:03:16 <\oren\> `rainbow 本当にウニコードを虹色出来る
05:03:18 <HackEgo> ​[33;1m本[32;1m当[36;1mに[34;1mウ[35;1mニ[31;1mコ[33;1mー[32;1mド[36;1mを[34;1m虹[35;1m色[31;1m出[33;1m来[32;1mる[36;1m
05:04:18 <shachaf> Also your UTF-8 handling is wrong.
05:04:24 <oerjan> in any case, why aren't you starting with red
05:04:31 <oerjan> shachaf: is it?
05:04:40 <shachaf> Oh, maybe it isn't.
05:04:45 <oerjan> i thought we just fixed that.
05:04:50 <\oren\> my list of colors is the string "\37! $\"#" feel free to reorder it
05:05:00 <shachaf> Hmm, I guess it works for valid UTF-8.
05:05:06 <pikhq> It's a bit hackish, but it'll work with any valid UTF-8.
05:06:04 <\oren\> or you can change c=1 to c=0
05:06:09 <\oren\> or something
05:06:15 <oerjan> yeah
05:06:34 <tswett> Hey everyone, māke sure not to get caught off-guard bȳ thē new macron rūle.
05:06:35 <tswett> `? macron
05:06:39 <HackEgo> ​Ā macron is what you put ōver ā long vowel in order to mark it as ā long vowel. Macrons will bēcome mandatory in English on Octōber 14, 2016.
05:06:48 <oerjan> `sled bin/orenbow.c//s,c=1,c=0,
05:06:49 <HackEgo> Rosebud!
05:06:57 <oerjan> er
05:07:02 <oerjan> `sled src/orenbow.c//s,c=1,c=0,
05:07:07 <shachaf> that's not how c works hth
05:07:07 <HackEgo> src/orenbow.c//#include <stdio.h> \ int main(){int a,c=0;b:a=getchar();if(a==EOF)return 0;if(!(a&128)||(a&64))printf("\e[%d;1m","\37! $\"#"[c]),c=c+1-6*(c>4);putchar(a);goto b;}
05:07:12 <shachaf> But why is that program even written in C?
05:07:16 <pikhq> I'm afraid I'm still on an old version of English. I spell it "coöperate", and as such will not be coöperating with you.
05:07:26 <oerjan> `` gcc src/orenbow.c -o bin/orenbow
05:07:40 <HackEgo> No output.
05:07:49 <oerjan> `rainbow 本当にウニコードを虹色出来る
05:07:50 <HackEgo> ​[31;1m本[33;1m当[32;1mに[36;1mウ[34;1mニ[35;1mコ[31;1mー[33;1mド[32;1mを[36;1m虹[34;1m色[35;1m出[31;1m来[33;1mる[32;1m
05:07:53 <oerjan> there
05:07:56 <\oren\> shachaf: because i like c
05:08:04 <shachaf> But you need to compile it.
05:08:05 <tswett> pikhq: "cōöperāte" hth?
05:08:12 <pikhq> tswett: :(
05:08:20 <tswett> `? cooperate
05:08:21 <HackEgo> cooperate? ¯\(°​_o)/¯
05:08:32 <tswett> `learn "Cooperate" is a common misspelling of "cōöperāte".
05:08:36 <HackEgo> Learned '"cooperate"': "Cooperate" is a common misspelling of "cōöperāte".
05:08:41 <tswett> Nonono.
05:08:50 <\oren\> shachaf: also it means poor hackego doesn't have to fire up another interpreter program adding to its abysmal response time
05:09:01 <tswett> `run mv -v wisdom/{'"cooperate"',cooperate}
05:09:05 <HackEgo> ​`wisdom/"cooperate"' -> `wisdom/cooperate'
05:09:36 <shachaf> Running a Python interpreter isn't what makes HackEgo slow.
05:09:50 <oerjan> tswett: since when does "a" have a long vowel
05:10:01 <\oren\> `` wc bin/orenbow
05:10:03 <HackEgo> ​ 26 85 7149 bin/orenbow
05:10:19 <\oren\> wow that's pretty big
05:10:41 <\oren\> i guess it does include printf
05:12:35 <\oren\> oerjan: it depends on Du cAdens uv Du spEkR
05:12:36 <pikhq> I don't think you're static linking it, so no it doesn't.
05:12:47 <pikhq> However, it will have debug info.
05:12:53 <\oren\> oh.
05:12:55 <\oren\> right.
05:12:58 <pikhq> `` gcc src/orenbow.c -Os -g -o bin/orenbow
05:12:58 <shachaf> `gcc -o tmp/orenbow src/orenbow.c
05:13:11 <shachaf> pikhq: You're adding -g?
05:13:11 <HackEgo> gcc: fatal error: no input files \ compilation terminated.
05:13:13 <pikhq> `` wc bin/orenbow
05:13:18 <pikhq> shachaf: Derp
05:13:23 <pikhq> `` gcc src/orenbow.c -Os -s -o bin/orenbow
05:13:39 <HackEgo> No output.
05:13:43 <HackEgo> ​ 2 61 4696 bin/orenbow
05:13:50 <HackEgo> No output.
05:13:59 <shachaf> That's a lotta bytes.
05:14:06 <\oren\> `` wc bin/orenbow
05:14:07 <shachaf> You should write it in x86 assembly instead.
05:14:09 <HackEgo> ​ 9 137 9037 bin/orenbow
05:14:10 <shachaf> `` uname -r
05:14:11 <HackEgo> 3.13.0-umlbox
05:14:26 <shachaf> `` uname -a
05:14:27 <HackEgo> Linux umlbox 3.13.0-umlbox #1 Wed Jan 29 12:56:45 UTC 2014 x86_64 GNU/Linux
05:15:33 <shachaf> `cat src/orenbow.c
05:15:35 <HackEgo> ​#include <stdio.h> \ int main(){int a,c=0;b:a=getchar();if(a==EOF)return 0;if(!(a&128)||(a&64))printf("\e[%d;1m","\37! $\"#"[c]),c=c+1-6*(c>4);putchar(a);goto b;}
05:17:17 <\oren\> i suppose at the machine level it would be fastest to call write() directly
05:17:28 <pikhq> Not necessarily.
05:17:41 <pikhq> Well, unless you do buffering similar to what stdio does.
05:17:59 <\oren\> oh right
05:18:29 <shachaf> Being fastest has nothing to do with any of it.
05:18:56 <\oren\> wait what hppened back there? the one with -g was smaller than the one with -s!!!
05:19:44 <pikhq> I think we had some racing going on.
05:20:19 <pikhq> `` gcc src/orenbow.c -Os -s -o bin/orenbow
05:20:24 <\oren\> Hackego is multithreaded? oh, that's marvelous
05:20:32 <\oren\> not
05:20:34 <HackEgo> No output.
05:20:35 <pikhq> `` wc bin/orenbow
05:20:38 <HackEgo> ​ 2 61 4696 bin/orenbow
05:21:50 <\oren\> `rainbow well, at least the colors of the rainbow are back in harmony
05:21:52 <HackEgo> ​[31;1mw[33;1me[32;1ml[36;1ml[34;1m,[35;1m [31;1ma[33;1mt[32;1m [36;1ml[34;1me[35;1ma[31;1ms[33;1mt[32;1m [36;1mt[34;1mh[35;1me[31;1m [33;1mc[32;1mo[36;1ml[34;1mo[35;1mr[31;1ms[33;1m [32;1mo[36;1mf[34;1m [35;1mt[31;1mh[33;1me[32;1m [36;1mr[34;1ma[35;1mi[31;1mn[33;1mb[32;1mo[36;1mw[34;1m [35;1ma[31;1mr[3
05:21:57 <\oren\> wut
05:22:11 <\oren\> oh, length limit
05:22:45 <shachaf> You should use IRC colors. Probably more compact.
05:22:51 <pikhq> Agreed.
05:22:52 <shachaf> well, at least the colors of the rainbow are back in harmony
05:23:20 <\oren\> hmm *googles irc colors*
05:23:36 <oerjan> oh righ hm
05:23:42 <oerjan> `cat bin/rainbow.old
05:23:44 <HackEgo> ​#!/hackenv/bin/shebang_args_or_input python \ import random \ import re \ w=raw_input() \ p=list('x'*len(w)+'C'*int((341-len(w))/3+1)) \ random.shuffle(p) \ p=list(re.sub('C+','C',''.join(p))) \ i=(c for c in w) \ print ''.join(i.next() if c=='x' else chr(3)+'%02d' % random.randrange(2,15) for c in ['C']+p)
05:24:03 <pikhq> Lemme go tinker with things.
05:24:06 <oerjan> the old one took care of the limit.
05:25:28 <\oren\> hmm well there is some length optimization that can be dome
05:25:32 <\oren\> *done
05:26:00 <oerjan> as in, it doesn't add more than there's room for.
05:26:23 <oerjan> otoh i don't think it was utf-8 clean.
05:26:51 <shachaf> `` echo 本当にウニコードを虹色出来る | bin/rainbow.old
05:26:54 <HackEgo> ​本当にウニコードを虹色出来る
05:27:03 <shachaf> Did \oren\ just trick me into saying something really rude in Japanese?
05:27:19 <pikhq> shachaf: No.
05:27:24 <\oren\> `` sed -e 's/{/{printf("\e[1m");/' -i orenbow.c
05:27:25 <HackEgo> sed: can't read orenbow.c: No such file or directory
05:27:42 <shachaf> Why don't you use sled?
05:27:45 <\oren\> `` sed -e 's/{/{printf("\e[1m");/' -i src/orenbow.c
05:27:50 <HackEgo> No output.
05:27:53 <pikhq> shachaf: It's slightly butchered, but I think it's supposed to be "I can really do rainbow-colored Unicode".
05:27:57 <\oren\> shachaf: no idea how
05:28:32 <lifthrasiir> shachaf: isn't that Unicode ユニコード
05:28:39 <lifthrasiir> s/that//
05:28:44 <\oren\> `` sed -e 's/;1m/m/' -i src/orenbow.c
05:28:47 <lifthrasiir> ウニコード is more like Woonicode
05:28:48 <HackEgo> No output.
05:29:04 <\oren\> yeah I messed that up
05:29:31 <\oren\> `` cat src/orenbow.c
05:29:33 <HackEgo> ​#include <stdio.h> \ int main(){printf("e[1m");int a,c=0;b:a=getchar();if(a==EOF)return 0;if(!(a&128)||(a&64))printf("\e[%dm","\37! $\"#"[c]),c=c+1-6*(c>4);putchar(a);goto b;}
05:29:54 <tswett> oerjan: since whenever you empasīze it.
05:30:15 <oerjan> tswett: but usually you don't.
05:30:28 <tswett> That's trūe.
05:30:31 <\oren\> `` sed -e 's/e[/\\e[/' -i src/orenbow.c
05:30:35 <HackEgo> sed: -e expression #1, char 10: unterminated `s' command
05:30:45 <\oren\> `` sed -e 's/e\[/\\e\[/' -i src/orenbow.c
05:30:51 <HackEgo> No output.
05:30:54 <\oren\> `` cat src/orenbow.c
05:30:56 <HackEgo> ​#include <stdio.h> \ int main(){printf("\e[1m");int a,c=0;b:a=getchar();if(a==EOF)return 0;if(!(a&128)||(a&64))printf("\e[%dm","\37! $\"#"[c]),c=c+1-6*(c>4);putchar(a);goto b;}
05:30:56 <oerjan> `? sled
05:31:00 <HackEgo> sled? ¯\(°​_o)/¯
05:31:02 <pikhq> Lemme try this out...
05:31:20 <tswett> Wē'll have to let consensus figure out whether or not "a" is to bē macronned.
05:31:21 <\oren\> there that should reduce the output length some
05:31:45 <shachaf> I thought you were going to reduce binary size.
05:31:46 <tswett> Since, y'know, Ī'm sure that mȳ macron convention will tāke off.
05:31:56 <tswett> `loudly 本当にウニコードを虹色出来る
05:31:58 <HackEgo>
05:32:12 <tswett> `loudly I wasn't expecting that to work.
05:32:15 <HackEgo> I wasn't expecting that to work.
05:32:27 <pikhq> `` cat >src/pikhqbow.c <<<$'#include <stdio.h>\\n''#include <wchar.h>\n''int main(){wint_t c;int a=2;b:c=fgetwc(stdin);if(c==EOF) return 0;printf("\x03%2d%s%lc", c==L','?",99":"",c);a++;if(a==14)a=2;goto b;}'
05:32:35 <HackEgo> No output.
05:33:09 <pikhq> hth
05:33:36 <pikhq> Grumble, doesn't work, w/e
05:33:42 <oerjan> `learn sled <filename>//<sed script>
05:33:47 <HackEgo> Learned 'sled': sled <filename>//<sed script>
05:34:08 <\oren\> `` gcc src/orenbow.c -o bin/orenbow
05:34:15 <oerjan> hm
05:34:21 <HackEgo> No output.
05:34:29 <oerjan> `le/rn sled/`sled <filename>//<sed script>
05:34:30 <\oren\> `rainbow well, at least the colors of the rainbow are back in harmony
05:34:32 <HackEgo> Relearned «sled»
05:34:33 <HackEgo> ​[1m[31mw[33me[32ml[36ml[34m,[35m [31ma[33mt[32m [36ml[34me[35ma[31ms[33mt[32m [36mt[34mh[35me[31m [33mc[32mo[36ml[34mo[35mr[31ms[33m [32mo[36mf[34m [35mt[31mh[33me[32m [36mr[34ma[35mi[31mn[33mb[32mo[36mw[34m [35ma[31mr[33me[32m [36mb[34ma[35mc[31mk[33m [32mi[36mn[34m [35mh[31ma[33mr[32mm
05:34:38 <\oren\> better
05:34:51 <pikhq> Oh, helps if you don't fuck it up.
05:35:12 <pikhq> `` cat >src/pikhqbow.c <<<$'#include <stdio.h>\\n''#include <wchar.h>\n''int main(){wint_t c;int a=2;b:c=fgetwc(stdin);if(c==EOF) return 0;printf("\x03%02d%s%lc",a,c==L','?",99":"",c);a++;if(a==14)a=2;goto b;}'
05:35:18 <HackEgo> No output.
05:35:25 <pikhq> `` gcc src/pikhqbow.c -o bin/pikhqbow
05:35:31 <HackEgo> src/pikhqbow.c:1:19: warning: extra tokens at end of #include directive [enabled by default] \ /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o: In function `_start': \ (.text+0x20): undefined reference to `main' \ collect2: error: ld returned 1 exit status
05:35:41 <pikhq> :/
05:36:11 <pikhq> `` cat >src/pikhqbow.c <<<$'#include <stdio.h>\n''#include <wchar.h>\n''int main(){wint_t c;int a=2;b:c=fgetwc(stdin);if(c==EOF) return 0;printf("\x03%02d%s%lc",a,c==L','?",99":"",c);a++;if(a==14)a=2;goto b;}'
05:36:15 <HackEgo> No output.
05:36:17 <pikhq> `` gcc src/pikhqbow.c -o bin/pikhqbow
05:36:21 <HackEgo> src/pikhqbow.c:2:19: warning: extra tokens at end of #include directive [enabled by default] \ /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o: In function `_start': \ (.text+0x20): undefined reference to `main' \ collect2: error: ld returned 1 exit status
05:36:31 <pikhq> `` cat src/pikhqbow.c
05:36:33 <HackEgo> ​#include <stdio.h> \ #include <wchar.h>\nint main(){wint_t c;int a=2;b:c=fgetwc(stdin);if(c==EOF) return 0;printf("\x03%02d%s%lc",a,c==L,?",99":"",c);a++;if(a==14)a=2;goto b;}
05:37:44 <\oren\> your second include line is in '' and not $''
05:37:54 <pikhq> `` cat >src/pikhqbow.c <<<$'#include <stdio.h>\n#include <wchar.h>\n''int main(){wint_t c;int a=2;b:c=fgetwc(stdin);if(c==EOF) return 0;printf("\x03%02d%s%lc",a,c==L','?",99":"",c);a++;if(a==14)a=2;goto b;}'
05:37:58 <HackEgo> No output.
05:38:04 <pikhq> `` gcc src/pikhqbow.c -o bin/pikhqbow
05:38:09 <HackEgo> src/pikhqbow.c: In function ‘main’: \ src/pikhqbow.c:3:95: error: ‘L’ undeclared (first use in this function) \ src/pikhqbow.c:3:95: note: each undeclared identifier is reported only once for each function it appears in \ src/pikhqbow.c:3:97: error: expected expression before ‘?’ token
05:38:21 <pikhq> ... That got pasted wrong or something.
05:38:28 <pikhq> Oh, no, duh, ''
05:38:49 <pikhq> `` cat >src/pikhqbow.c <<<$'#include <stdio.h>\n''#include <wchar.h>\n''int main(){wint_t c;int a=2;b:c=fgetwc(stdin);if(c==EOF) return 0;printf("\x03%02d%s%lc",a,c==L'\'','\''?",99":"",c);a++;if(a==14)a=2;goto b;}'
05:38:54 <HackEgo> No output.
05:38:58 <pikhq> `` gcc src/pikhqbow.c -o bin/pikhqbow
05:39:02 <HackEgo> src/pikhqbow.c:2:19: warning: extra tokens at end of #include directive [enabled by default] \ /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o: In function `_start': \ (.text+0x20): undefined reference to `main' \ collect2: error: ld returned 1 exit status
05:39:11 -!- hppavilion[1] has quit (Ping timeout: 240 seconds).
05:39:26 <pikhq> `cat src/pikhqbow.c
05:39:29 <HackEgo> ​#include <stdio.h> \ #include <wchar.h>\nint main(){wint_t c;int a=2;b:c=fgetwc(stdin);if(c==EOF) return 0;printf("\x03%02d%s%lc",a,c==L','?",99":"",c);a++;if(a==14)a=2;goto b;}
05:39:44 <pikhq> `` cat >src/pikhqbow.c <<<$'#include <stdio.h>\n#include <wchar.h>\n''int main(){wint_t c;int a=2;b:c=fgetwc(stdin);if(c==EOF) return 0;printf("\x03%02d%s%lc",a,c==L'\'','\''?",99":"",c);a++;if(a==14)a=2;goto b;}'
05:39:47 <HackEgo> No output.
05:39:52 <pikhq> `` gcc src/pikhqbow.c -o bin/pikhqbow
05:40:07 <HackEgo> No output.
05:40:08 <pikhq> `` echo "Testing, 1 2 3!" | ./bin/pikhqbow
05:40:10 <HackEgo> Testing, 1 2 3!
05:41:03 <\oren\> uhhh what i dont even
05:41:27 <\oren\> colors in worng order anyway
05:41:53 <pikhq> Using IRC colors in IRC color order and using wchar_t to handle Unicode lazily.
05:42:29 <\oren\> ok but why did it change to a green backgorund
05:42:46 <pikhq> Uh, it shouldn't, and doesn't here?
05:42:51 -!- Kaynato has quit (Ping timeout: 240 seconds).
05:43:04 <pikhq> `` echo "rōmaji de yunikōdo wo tesuto shimashō!" | ./bin/pikhqbow
05:43:06 <HackEgo> r
05:43:16 <pikhq> ...
05:43:27 <pikhq> Oh duh, duh, duh, setlocale needed. :P
05:43:30 <\oren\> I'm seeing a green backgorund on ``, 1 2 3!''
05:43:33 * pikhq officially stops caring
05:44:06 <pikhq> That's your client being buggy: color 99 is the default background, which your client is interpreting as green.
05:44:40 <\oren\> hmmm wht's the channel for irssi?
05:44:44 <pikhq> ... Oh, no, there's client differences.
05:44:45 <pikhq> FFS.
05:45:05 <pikhq> 99 is either the default background *or* the color 99%16.
05:45:21 <\oren\> well mine uses ansi colors which are relatively standards
05:45:43 <pikhq> Yes, but IRC colors are a well-accepted standard on IRC as well.
05:46:21 <pikhq> Unfortunately, IRC colors appear to have a bit of utter brain-damage: you can't reasonably color "," individually.
05:46:24 <shachaf> abcdef
05:46:25 <pikhq> Because that's part of the syntax.
05:47:02 <\oren\> `` echo "well the colors of the rainbow are out of harmony" | ./bin/pikhqbow
05:47:03 <HackEgo> well the colors of the rainbow are out of harmony
05:47:15 <pikhq> A color is set with "\x03%02d", and a color *and background* is set with "\x03%02d,%02d".
05:47:56 <\oren\> I could add bright colors to mine maybe
05:48:12 <\oren\> or dark ones
05:48:28 <\oren\> meh, rainbows have bright colors
05:48:54 <pikhq> So, IRC colors suck. Grumble.
05:48:55 <\oren\> pikhq: oh, I see why you can't do ,
05:54:06 <pikhq> Let's test, shall we?
05:54:21 <pikhq> Mmkay, that'll do.
05:55:53 <\oren\> how about this ,fooar
05:56:07 <\oren\> how about this fooar
05:56:27 <\oren\> aha. it only eats a , if followed directly by a number
05:58:19 <pikhq> Yup.
06:00:36 <\oren\> `` echo "the,3monster,4eats,5commas,6with,7numbers" | ./bin/pikhqbow
06:00:40 <HackEgo> the,3monster,4eats,5commas,6with,7numbers
06:01:01 <\oren\> ok apparently it doesnt
06:01:20 <\oren\> it does however turn everything green background
06:01:24 <pikhq> ``cat >src/pikhqbow.c <<<$'#include <stdio.h>\n#include <wchar.h>\n#include <locale.h>\n''int main(){wint_t c;int a=0;setlocale(LC_ALL,"C.UTF-8");b:c=fgetwc(stdin);if(c==EOF) return 0;printf("\x03%d%lc%s",(int[]){4,7,8,9,12,13}[a],c,c==L'\'','\''?"\x0f":"",c);if(a++==6)a=0;goto b;}
06:01:26 <HackEgo> ​/home/hackbot/hackbot.hg/multibot_cmds/lib/limits: line 5: exec: `cat: not found
06:01:45 <shachaf> The script I uses uses 4,8,9,11,12,13
06:02:10 <pikhq> `` cat >src/pikhqbow.c <<<$'#include <stdio.h>\n#include <wchar.h>\n#include <locale.h>\n''int main(){wint_t c;int a=0;setlocale(LC_ALL,"C.UTF-8");b:c=fgetwc(stdin);if(c==EOF) return 0;printf("\x03%d%lc%s",(int[]){4,8,9,11,12,13}[a],c,c==L'\'','\''?"\x0f":"",c);if(a++==6)a=0;goto b;}
06:02:12 <HackEgo> ​/hackenv/bin/`: eval: line 4: unexpected EOF while looking for matching `'' \ /hackenv/bin/`: eval: line 5: syntax error: unexpected end of file
06:02:18 <pikhq> `` cat >src/pikhqbow.c <<<$'#include <stdio.h>\n#include <wchar.h>\n#include <locale.h>\n''int main(){wint_t c;int a=0;setlocale(LC_ALL,"C.UTF-8");b:c=fgetwc(stdin);if(c==EOF) return 0;printf("\x03%d%lc%s",(int[]){4,8,9,11,12,13}[a],c,c==L'\'','\''?"\x0f":"",c);if(a++==6)a=0;goto b;}'
06:02:22 <HackEgo> No output.
06:02:35 <pikhq> `` gcc -Os -s src/pikhqbow.c -o bin/pikhqbow
06:02:52 <HackEgo> No output.
06:03:05 <pikhq> `` echo "rōmaji de yunikōdo wo tesuto shimashō!" | ./bin/pikhqbow
06:03:08 <HackEgo> rōmaji-1078776480 de yun-1078776480ikōdo w-1078776480o tesut-1078776480o shima-1078776480shō!
06:03:19 <pikhq> Well, that's novel.
06:04:01 <pikhq> `` cat >src/pikhqbow.c <<<$'#include <stdio.h>\n#include <wchar.h>\n#include <locale.h>\n''int main(){wint_t c;int a=0;setlocale(LC_ALL,"C.UTF-8");b:c=fgetwc(stdin);if(c==EOF) return 0;printf("\x03%d%lc%s",(int[]){4,8,9,11,12,13}[a],c,c==L'\'','\''?"\x0f":"",c);if(++a==6)a=0;goto b;}'
06:04:05 <HackEgo> No output.
06:04:09 <pikhq> `` gcc -Os -s src/pikhqbow.c -o bin/pikhqbow
06:04:18 <HackEgo> No output.
06:04:23 <pikhq> `` echo "rōmaji de yunikōdo wo tesuto shimashō!" | ./bin/pikhqbow
06:04:24 <HackEgo> rōmaji de yunikōdo wo tesuto shimashō!
06:04:35 <pikhq> `` echo "And, well, what about this?" | ./bin/pikhqbow
06:04:37 <HackEgo> And, well, what about this?
06:05:02 <pikhq> `` cat bin/rainbow
06:05:05 <HackEgo> print_args_or_input "$@" | orenbow
06:06:16 <pikhq> `mkx bin/rainbow//print_args_or_input "$@" | pikhqbow
06:06:22 <HackEgo> bin/rainbow
06:06:32 <pikhq> `rainbow "Fine, happy now?"
06:06:33 <HackEgo> "Fine, happy now?"
06:06:39 <\oren\> yes
06:07:14 <pikhq> Will probably do weird shit with combining characters though...
06:07:32 <\oren\> `rainbow https://youtu.be/82prN2pF9Zo
06:07:33 <HackEgo> https://youtu.be/8prN2pFZo
06:07:38 <\oren\> mine did too
06:08:09 <\oren\> ooh, my terminal doesn't screw up rainbowed urls
06:08:10 <pikhq> `rainbow À
06:08:12 <HackEgo> À
06:08:18 <\oren\> I can still click on them
06:08:24 <pikhq> Whaddya know, it doesn't mess up on combining characters.
06:08:42 <pikhq> Except it'll probably get colored weirdly.
06:08:57 <\oren\> are you sure that something didn't normalize it on the way?
06:09:03 <pikhq> No, I am not.
06:09:49 <pikhq> Oh, actually, looking at the log, now I am sure.
06:11:06 <\oren\> `` echo "foobar" | zalgo | pikhqbow
06:11:11 <HackEgo> f͎̃o̰̬o̪̺b̭̈́a̺͂r̜͝ \
06:11:53 <\oren\> i think my terminal just ignores colors set on the combiners
06:12:05 <pikhq> Yeah.
06:12:09 <pikhq> Which is probably reasonable.
06:13:20 <\oren\> `` echo "foobar" | zalgo | orenbow
06:13:24 <HackEgo> ​[1m[31mf[33mͬ[32mͬ[36mo[34m̷[35m̝[31mo[33m̾[32m̦[36mb[34m̓[35m̹[31ma[33m̈́[32m̊[36mr[34m̻[35m̧[31m \ [33m
06:20:06 <shachaf> Weren't y'all going to reduce the byte count?
06:21:34 <pikhq> I didn't care, I just wanted to make it use IRC colors instead of vt100 colors.
06:22:02 <\oren\> I was preoccupied with the byte count of the output
06:22:29 <\oren\> and now I'm distracted adding more dingbats to my font
06:22:31 <pikhq> Well. To be sure, moving it to IRC colors will reduce the byte count of the output.
06:22:42 <\oren\> yeah.
06:22:57 <pikhq> Average of 2-3 extra bytes per input instead of... 4-5 or so?
06:24:26 <pikhq> And arguably better text handling, because wchar_t instead.
06:24:38 -!- augur has quit (Remote host closed the connection).
06:24:43 <pikhq> (admittedly a little silly, but w/e)
06:25:18 -!- augur has joined.
06:26:59 -!- augur has quit (Read error: Connection reset by peer).
06:27:22 -!- augur has joined.
06:27:34 -!- augur has quit (Remote host closed the connection).
06:32:23 <shachaf> No, bytes of the executable.
06:32:33 <pikhq> Yup, didn't care.
06:32:41 <shachaf> Who cares about the output?
06:33:03 <pikhq> Would you prefer I pessimize the output? :P
06:33:25 <shachaf> Pessimizing is just optimizing in the opposite category.
07:03:40 -!- augur has joined.
07:13:07 -!- lambda-11235 has quit (Quit: Bye).
07:39:00 <shachaf> \oren\: Are you in a union?
07:46:37 <oerjan> oh ais523 joined the nethack devteam
07:54:03 <shachaf> whoa whoa whoa
07:56:11 <oerjan> https://www.reddit.com/r/nethack/comments/4r77er/new_devteam_members_bhaak_nethackde_unnethack_and/
08:05:36 <FreeFull> \o/
08:26:23 -!- AnotherTest has joined.
08:29:30 -!- hppavilion[1] has joined.
08:56:43 <hppavilion[1]> ...Superman canon contains "Pink Kryptonite"
08:56:50 <hppavilion[1]> Which turns kryptonians gay
08:57:02 <hppavilion[1]> What it does to already-gay kryptonians is as-of-yet unspecified
08:58:34 <izabera> makes them super gay
09:01:05 <oerjan> yellow polkadot kryptonite
09:04:26 <hppavilion[1]> I'm surprised it wasn't rainbow
09:04:34 <hppavilion[1]> Or that it didn't form triangular crystals
09:05:15 <oerjan> i think triangles would be too offensive
09:05:42 <hppavilion[1]> oerjan: Oh? Really?
09:05:59 <hppavilion[1]> oerjan: Keep in mind, superman is /stereotypically/ gay, AND becomes gayly attracted to the first man he sees
09:06:21 <oerjan> hm
09:07:19 <oerjan> never mind
09:09:48 <hppavilion[1]> Then again, one could say "Well that's just how gay superman is- are you criticizing how he chooses to live his life?"
09:10:19 <hppavilion[1]> "Just because he fits the stereotypes of gay doesn't mean it's bad- stereotypical gays are just as valid as non-stereotypical gays"
09:45:05 -!- LKoen has joined.
09:57:00 -!- LKoen has quit (Remote host closed the connection).
09:58:35 -!- LKoen has joined.
10:01:26 -!- oerjan has quit (Quit: Nite).
10:21:15 -!- augur has quit (Remote host closed the connection).
10:29:27 <izabera> version numbering done right: xf86-video-intel-1:2.99.917+674+g9154dff-1
10:32:03 <FreeFull> The intel drivers have been getting lots of updates recently for some reason
10:34:55 <lifthrasiir> epoch - upstream version - downstream revision - git revision - build revision?
10:35:16 <FreeFull> epoch, in case someone decides to do a complete rewrite?
10:35:17 <lifthrasiir> I don't really know Arch's versioning scheme
10:35:22 <lifthrasiir> FreeFull: yeah, exactly
10:35:30 <lifthrasiir> FreeFull: mostly for otherwise uncorrectable fixes
10:35:40 <FreeFull> lifthrasiir: Most things don't have huge versions like that
10:35:59 <lifthrasiir> of course
10:36:42 <FreeFull> For example the linux package's version is just 4.6.3-1
10:41:21 -!- Vorpal has joined.
10:41:21 -!- Vorpal has quit (Changing host).
10:41:21 -!- Vorpal has joined.
11:14:46 -!- boily has joined.
11:41:15 -!- Vorpal has quit (Ping timeout: 264 seconds).
11:50:32 -!- spiette has joined.
12:12:59 <hppavilion[1]> I just learned about debt buyers
12:13:03 <hppavilion[1]> Horribly inethical
12:13:15 <hppavilion[1]> But I think my conscience may have hung himself
12:13:25 <hppavilion[1]> So now I want to make a debt buying company.
12:18:04 <b_jonas> `random-card
12:18:40 <HackEgo> Sword of Fire and Ice \ 3 \ Artifact -- Equipment \ Equipped creature gets +2/+2 and has protection from red and from blue. \ Whenever equipped creature deals combat damage to a player, Sword of Fire and Ice deals 2 damage to target creature or player and you draw a card. \ Equip {2} \ DST-R, MMA-M
12:20:21 <b_jonas> `random-card
12:20:33 <HackEgo> Omnath, Locus of Rage \ 3RRGG \ Legendary Creature -- Elemental \ 5/5 \ Landfall -- Whenever a land enters the battlefield under your control, put a 5/5 red and green Elemental creature token onto the battlefield. \ Whenever Omnath, Locus of Rage or another Elemental you control dies, Omnath deals 3 damage to target creature or player. \ BFZ-M
12:21:19 <b_jonas> `random-card
12:21:28 <HackEgo> Kessig Cagebreakers \ 4G \ Creature -- Human Rogue \ 3/4 \ Whenever Kessig Cagebreakers attacks, put a 2/2 green Wolf creature token onto the battlefield tapped and attacking for each creature card in your graveyard. \ ISD-R, C15-R
12:22:30 <b_jonas> a new Omnath, changed? funny
12:22:31 -!- augur has joined.
12:22:41 <boily> hppavellon[1]. you should create a debt selling company to unhang your conscience hth
12:22:56 <hppavilion[1]> boily: I could do that
12:23:02 <b_jonas> I think you misspelled hpp's name
12:23:18 <hppavilion[1]> b_jonas: It's my porthello, and my irc client responds to it too
12:23:44 <b_jonas> um
12:23:53 <b_jonas> "porthello"?
12:23:56 <b_jonas> `? porthello
12:23:59 <HackEgo> porthello? ¯\(°​_o)/¯
12:24:01 <hppavilion[1]> boily: I was thinking that, in every batch, I would forgive one of the debts (chosen by either some optimization algorithm or just rolling a d9000)
12:24:12 <hppavilion[1]> Uh, yeah, porthellos
12:24:18 <b_jonas> is that like a bordello?
12:24:19 <hppavilion[1]> A time-honored #esoteric tradition
12:24:29 <b_jonas> ah, I see!
12:24:32 <hppavilion[1]> This isn't even a joke, this is a thing that we've been doing at least since I joined the channel
12:24:44 <b_jonas> like a hellonas or helloren
12:24:46 <hppavilion[1]> Like hell\oren\ or ahoily or helloon
12:24:48 <hppavilion[1]> Yes
12:25:08 <hppavilion[1]> Or helloerjan
12:25:19 <b_jonas> there was a French one too
12:25:34 <hppavilion[1]> Or that one time I said <256-digit hex string that appears to be a hash>chaf
12:25:37 <boily> bon_journas?
12:25:59 <hppavilion[1]> boily: Never seen that one, but it's probably been used, and if it hasn't it should be used from now on
12:27:00 -!- augur has quit (Ping timeout: 250 seconds).
12:27:35 -!- boily has quit (Quit: UNUSUAL CHICKEN).
12:34:28 -!- copumpkin has joined.
12:36:56 <b_jonas> boily: no, I think the French one is bon soerjan or something. And the Hungarian one is probably b_jó napot-s or something
12:37:11 <b_jonas> I didn't know these were called porthello
12:38:54 -!- LKoen has quit (Remote host closed the connection).
12:44:51 -!- LKoen has joined.
13:04:25 -!- Vorpal has joined.
13:08:19 <LKoen> b_jonas: can I use the bonsoerjan? I like it
13:08:36 <b_jonas> LKoen: um, don't ask me, that one is for oerjan, not me
13:09:38 <LKoen> for you it would be bon_journas I guess
13:10:04 <b_jonas> LKoen: yes
13:12:07 <izabera> frozen fever is a 6 minutes short by pixar that's sold for 1.99$ or 5.99€
13:12:39 <izabera> really, the italian version costs 5.99€
13:13:03 <izabera> i'm so disgusted
13:14:31 <izabera> oh it's not from pixar but only from disney, whatever
13:17:16 <fizzie> hppavilion[1]: 256-*digit* hex string? That's pretty wide for a hash.
13:18:14 <hppavilion[1]> fizzie: I don't know, maybe it was 64? Yeah, it must've been 256-bit
13:18:36 <izabera> fizzie: must. avoid. collisions.
13:20:33 <hppavilion[1]> Huh, the Cincinnati Zoo shot and killed a gorilla that was actively a danger to a 3-year-old child
13:20:39 <hppavilion[1]> And people questioned there decision
13:22:24 <hppavilion[1]> *their
13:24:55 <b_jonas> hppavilion[1]: how did a child get in there?
13:25:09 <b_jonas> was it a human child? a gorilla child?
13:25:16 <hppavilion[1]> b_jonas: Human
13:25:41 <hppavilion[1]> b_jonas: b_jonas: He climbed over a barrier and managed to get past numerous other measures (wires, etc.) before managing to fall 15 feet into a moat
13:26:31 <hppavilion[1]> b_jonas: And even if it was an issue that the child managed to get in, that doesn't really change the fact that there was a child actively in danger, and they had to shoot the gorilla or risk the life of the child
13:27:41 <b_jonas> hppavilion[1]: sure, it's normal that they shoot the gorilla, I'm just surprised that a child can get in
13:28:23 <b_jonas> because here you can observe the gorillas through these huge plexiglass windows iir
13:30:13 <hppavilion[1]> b_jonas: ydr, itym iirc
13:31:18 <b_jonas> yes, I just can't type.
13:36:03 <hppavilion[1]> b_jonas: itym ijfumk
13:37:08 -!- spiette has quit (Ping timeout: 272 seconds).
13:37:24 <b_jonas> by the way, what kind of drink is it that Faye just bought (in Questionable Content)? The bottle label look strange. Is it wine, beer, liquor, strong drink?
13:41:47 -!- spiette has joined.
13:47:16 -!- spiette has quit (Ping timeout: 272 seconds).
13:51:36 <hppavilion[1]> Where's the nearest space canon terminal?
14:03:57 <hppavilion[1]> QUESTION: Who was the Walrus?
14:07:33 <b_jonas> `? walrus
14:07:41 <HackEgo> walrus? ¯\(°​_o)/¯
14:07:54 <hppavilion[1]> *gasp*
14:07:56 <hppavilion[1]> `? the walrus
14:07:58 <HackEgo> the walrus? ¯\(°​_o)/¯
14:10:05 <b_jonas> `? ¯\_(ツ)_/¯
14:10:07 <HackEgo> ​¯\_(ツ)_/¯? ¯\(°​_o)/¯
14:10:37 <hppavilion[1]> `le/rn the walrus//In order to obtain the unredacted documents specifying the true identity of the walrus, contact the Glass Onion (mailing address: UH2BEStWmPI)
14:10:48 <HackEgo> Learned «the walrus»
14:11:50 -!- LKoen has quit (Remote host closed the connection).
14:16:41 <b_jonas> `learn ¯\_(ツ)_/¯ is the ¯\(°​_o)/¯ of urbandictionary
14:16:42 <hppavilion[1]> wookipedia has an article on divorce
14:16:44 <HackEgo> ​/hackenv/bin/learn: line 4: wisdom/¯\_(ツ)_/¯: No such file or directory \ Learned '¯\_(ツ)_/¯': ¯\_(ツ)_/¯ is the ¯\(°​_o)/¯ of urbandictionary
14:17:10 <hppavilion[1]> Wat?
14:17:16 <b_jonas> `? ¯\_(ツ)_/¯
14:17:18 <HackEgo> ​¯\_(ツ)_/¯? ¯\(°​_o)/¯
14:17:34 <b_jonas> `mkdir wisdom/¯\_(ツ)_
14:17:35 <HackEgo> No output.
14:17:37 <b_jonas> `learn ¯\_(ツ)_/¯ is the ¯\(°​_o)/¯ of urbandictionary
14:17:41 <HackEgo> Learned '¯\_(ツ)_/¯': ¯\_(ツ)_/¯ is the ¯\(°​_o)/¯ of urbandictionary
14:23:44 -!- augur has joined.
14:28:28 -!- augur has quit (Ping timeout: 252 seconds).
14:37:17 <b_jonas> `wisdom
14:37:22 <HackEgo> oic//OIC, OIC means Oh I see.
14:37:41 <b_jonas> `random-card -C\b
14:37:46 <HackEgo> Unknown Unicode option letter '\'.
14:37:54 <b_jonas> `random-card \-C\b
14:37:57 <HackEgo> Crack the Earth \ R \ Sorcery -- Arcane \ Each player sacrifices a permanent. \ BOK-C
14:38:08 <b_jonas> ``` cat bin/random-card
14:38:10 <HackEgo> ​#!/bin/sh \ exec perl -e'open$I,"<","share/mtg/allsets.txt"or die$!;$/=""; @c=grep{/(?mi:$ARGV[0])/}<$I>; print($c[rand(@c)] || "No card found.");' "$1"
14:38:47 <b_jonas> ``` sed 's/("\x241)/-- $1/' bin/random-card
14:38:49 <HackEgo> ​#!/bin/sh \ exec perl -e'open$I,"<","share/mtg/allsets.txt"or die$!;$/=""; @c=grep{/(?mi:$ARGV[0])/}<$I>; print($c[rand(@c)] || "No card found.");' "$1"
14:39:19 <b_jonas> huh
14:39:21 <b_jonas> oh
14:39:31 <b_jonas> ``` perl -pe 's/("\x241)/-- $1/' bin/random-card
14:39:33 <HackEgo> ​#!/bin/sh \ exec perl -e'open$I,"<","share/mtg/allsets.txt"or die$!;$/=""; @c=grep{/(?mi:$ARGV[0])/}<$I>; print($c[rand(@c)] || "No card found.");' -- "$1"
14:39:39 <b_jonas> ``` perl -i -pe 's/("\x241)/-- $1/' bin/random-card
14:39:42 <HackEgo> No output.
14:39:49 <b_jonas> `random-card -C\b
14:39:52 <HackEgo> Harrow \ 2G \ Instant \ As an additional cost to cast Harrow, sacrifice a land. \ Search your library for up to two basic land cards and put them onto the battlefield. Then shuffle your library. \ TE-U, IN-C, ZEN-C, C14-C, DDE-C, DDP-C
14:41:25 <b_jonas> hmm, that Crack the Earth is an interesting one. If I rebuild my Spirit-Arcane tribal deck I should consider it.
14:58:00 -!- `^_^v has joined.
15:18:19 -!- gniourf has quit (Quit: Leaving).
15:21:42 -!- gniourf has joined.
15:38:01 -!- Kaynato has joined.
15:49:39 -!- Sgeo__ has quit (Ping timeout: 264 seconds).
15:50:32 -!- Sprocklem has joined.
15:55:01 -!- Sprocklem has quit (Ping timeout: 258 seconds).
16:23:14 <\oren\> shachaf: no, course not. why would computer programmers need a union?
16:23:51 <\oren\> it's not like our working conditions are dangerous
16:27:28 <\oren\> and for that matter, i'd probably get paid less if there was a union
16:27:40 <alercah> we need a union when a struct won't do
16:30:02 <\oren\> alercah: no puns
16:30:38 <\oren\> punning is bad unless it's type punning
16:41:52 <b_jonas> alercah: In the past, we didn't technically need unions, we could just alias with a char array or memcpy from it. It's only in more modern times when we actually need unions to provide a constexpr-able implementation to sum types like optional
17:09:48 -!- Alcest has quit (Ping timeout: 276 seconds).
17:11:51 -!- AnotherTest has quit (Ping timeout: 264 seconds).
17:12:40 <\oren\> Dredge Ship \ UU \ Creature -- Ship \ U, sacrifice Dredge Ship: Search your library for an Island and place it on the battlefield tapped. \ 2/2 \
17:14:36 -!- adu has joined.
17:14:48 <b_jonas> \oren\: would that be like an explorer ship?
17:14:57 <b_jonas> finding and conquering new isladns
17:16:10 <\oren\> nah, it's a Dredger ship: it dredges up sand and piles it to make an aritfical island
17:16:21 <b_jonas> \oren\: oh!
17:16:27 <\oren\> like the Chinese have been doing lately
17:16:36 <b_jonas> \oren\: but in that case why would you have to sacrifice it?
17:16:55 <\oren\> hmm, good point.
17:17:07 <\oren\> Expedition Ship
17:17:46 <\oren\> you sacrifice it because they were killed by the natives
17:18:30 <b_jonas> mind you, I have the feeling that blue shouldn't be able to do this so cheaply
17:18:39 <b_jonas> `card-by-name Silkwing Scout
17:18:46 <b_jonas> because it's very off-color to them
17:18:55 <\oren\> right
17:19:07 <HackEgo> Silkwing Scout \ 2U \ Creature -- Faerie Scout \ 2/1 \ Flying \ {G}, Sacrifice Silkwing Scout: Search your library for a basic land card and put that card onto the battlefield tapped. Then shuffle your library. \ DIS-C
17:19:07 <b_jonas> `card-by-name Embodiment of Spring
17:19:11 <HackEgo> Embodiment of Spring \ U \ Creature -- Elemental \ 0/3 \ {1}{G}, {T}, Sacrifice Embodiment of Spring: Search your library for a basic land card, put it onto the battlefield tapped, then shuffle your library. \ KTK-C
17:19:16 <b_jonas> `card-by-name Dreamscape Artist
17:19:18 <HackEgo> Dreamscape Artist \ 1U \ Creature -- Human Spellshaper \ 1/1 \ {2}{U}, {T}, Discard a card, Sacrifice a land: Search your library for up to two basic land cards and put them onto the battlefield. Then shuffle your library. \ PLC-C
17:21:07 <\oren\> a lot of cards just say land or basic land. it seems rarer to see things like 'search for a Mountain' 'sacrifice a Forest'
17:21:33 <b_jonas> \oren\: that's true, but a few restrict to a specific land type for power reasons
17:22:31 <b_jonas> Utopia Sprawl is an example, compare it to Wild Growth
17:22:49 <b_jonas> and this is even more important outside of green
17:23:35 <alercah> b_jonas: indeed
17:29:13 <\oren\> Hmm... i wonder whether a good deck could be made using only cards that cose one mana?
17:29:21 <\oren\> (and lands)
17:30:29 <b_jonas> \oren\: in what sort of format or metagame?
17:31:46 <\oren\> standard i guess?
17:32:39 -!- ais523 has joined.
17:33:10 <\oren\> you'd want to go for a quick game because with only 1 mana cards you'd go through your library very quickly
17:33:41 <b_jonas> \oren\: I don't think so
17:34:04 <b_jonas> \oren\: if you want such a deck, I'd think of a combo deck rather, which is less likely to work in standard this way
17:35:17 <alercah> yes it can be done
17:35:35 <alercah> it's called bant hexproof
17:39:28 <shachaf> \oren\: that's what employers want you to think hth
17:39:35 -!- AnotherTest has joined.
17:40:25 <alercah> shachaf: you have an option of joining a union?
17:40:55 <shachaf> I don't think so?
17:41:01 <shachaf> ais523: congrais523
17:41:17 <\oren\> Hmm well it's my understanding that unions tend to move people's pay toward the average. since mine is above the average I don't want that.
17:43:02 <\oren\> also, i defiantly don't want to pay union dues
17:43:27 <\oren\> that wasn't a typo
17:48:31 -!- idris-bot has quit (Ping timeout: 240 seconds).
17:50:45 -!- Melvar has quit (Ping timeout: 276 seconds).
17:51:00 -!- LKoen has joined.
17:51:40 <shachaf> What if it moved the average up?
17:51:51 <shachaf> What is the average, anyway? Maybe you're misled about the average?
17:52:45 -!- Melvar has joined.
17:59:09 <\oren\> shachaf: well the average would include people who are far less competent than me
17:59:19 -!- idris-bot has joined.
17:59:46 <\oren\> I don't want to be lumped in with every copypasta slinger
18:00:16 -!- Guest53854 has joined.
18:00:23 -!- adu has quit (Quit: adu).
18:05:25 <\oren\> also, in general I have a bad impression of unions because they have ruined Toronto
18:06:19 <\oren\> I still remember when the garbage people struck and the city smelled of rotting food for weeks
18:06:48 <\oren\> even now the construction unions are sucking our municipal funds dry
18:07:04 <ais523> when the garbage people went on strike here on the UK the government hired temp workers to do the garbage collection
18:07:12 <ais523> and apparently they were both cheaper and faser than the actual official garbage collectors
18:07:14 <ais523> *faster
18:09:14 <alercah> \oren\: public sector unions suck
18:09:19 <alercah> private sector unions are ok usually
18:09:32 <alercah> problem with public sector unions is they have like nothing to lose
18:09:39 <alercah> they can't drive a government out of business
18:13:01 -!- adu has joined.
18:17:44 <b_jonas> `card-by-name Livewire Lash
18:17:56 <HackEgo> Livewire Lash \ 2 \ Artifact -- Equipment \ Equipped creature gets +2/+0 and has "Whenever this creature becomes the target of a spell, this creature deals 2 damage to target creature or player." \ Equip {2} \ SOM-R
18:17:58 <b_jonas> that sounds dangerous
18:18:14 <b_jonas> I need that card
18:18:24 <b_jonas> oh!
18:18:28 <b_jonas> target of a SPELL!
18:18:32 <b_jonas> not target of a spell or ability
18:18:34 <b_jonas> right
18:18:41 <b_jonas> they aren't that stupid
18:24:08 -!- adu has quit (Quit: adu).
18:24:56 -!- keemyb has joined.
18:32:26 <hppavilion[1]> Verdict of the SECOHE: Islam is not really "the" religion of peace- many Muslims are peaceful, but that isn't because of their religion, it's because they weren't douchebags to begin with; similarly, violent Muslims would probably be violent anyway, but Islam gives them a more clear way to channel it. The peace- and the violence- comes from the people, not from the religion
18:43:11 -!- jaboja has joined.
18:46:58 <izabera> http://eidogo.com/#A30WVDXD enjoy :P
18:47:37 -!- ais523 has quit.
19:00:21 <\oren\> I redesigned http://www.orenwatson.be/allfiles.htm to cope with directories! now not everything has to be in /var/www/html
19:01:46 <int-e> someone on ##math mentioned http://euclidthegame.com/ ... I think some people here might enjoy it (constructive geometry)
19:02:54 -!- pdxleif has quit (Ping timeout: 244 seconds).
19:07:25 -!- pdxleif has joined.
19:13:14 -!- adu has joined.
19:13:34 <hppavilion[1]> int-e: This is the best thing ever
19:13:57 <hppavilion[1]> int-e: I've always wanted to learn c/se, but it seemed like the most boring thing I could possibly do, so I didn't
19:14:38 <shachaf> \oren\: I think many programmers are overpaid compared to the value they provide to society, but underpaid compared to the value they provide to their employers.
19:15:09 <shachaf> I'm pretty sure that goes for me right now. Probably for you. Who knows.
19:20:18 -!- adu has quit (Quit: adu).
19:20:23 <\oren\> yeh.
19:24:25 <hppavilion[1]> ansi.ans is a rather terrifying filename
19:34:11 -!- hppavilion[1] has quit (Ping timeout: 240 seconds).
19:45:27 <myname> sna.isna
19:52:52 -!- Guest53854 has quit (Remote host closed the connection).
20:12:05 <\oren\> i use .ans to mean a file with ansi color escapes in it
20:17:53 -!- LKoen has quit (Remote host closed the connection).
20:18:35 -!- wob_jonas has joined.
20:19:44 -!- LKoen has joined.
20:21:58 <wob_jonas> Why are the logos for SQLite and Apache basically the same?
20:31:37 <wob_jonas> Time to donate to SGDQ!
20:33:36 -!- LKoen has quit (Remote host closed the connection).
20:53:10 -!- LKoen has joined.
21:04:09 <int-e> wob = waste of bandwidth, hmm?
21:04:38 <int-e> `quote wob
21:05:11 <wob_jonas> int-e: no, wob as in http://www.xkcd.com/148/ because it's through a web-based irc client
21:05:17 <HackEgo> No output.
21:06:22 -!- `^_^v has quit (Read error: Connection reset by peer).
21:06:44 -!- `^_^v has joined.
21:07:49 <myname> https://www.kickstarter.com/projects/deadgentlemen/the-gamers-episode-1?ref=project_link :o
21:13:17 -!- augur has joined.
21:33:17 <\oren\> i wish tmux would detect somehow that there's another tmux inside it and seamlessly integrate
21:33:52 <wob_jonas> \oren\: hmm.... that would be interesting, but I think it should be optional
21:34:15 <\oren\> ok, maybe there would be a button like ctrl-b alt-i that integrates
21:34:33 <wob_jonas> \oren\: right, or a configuration option or command-line switch or something
21:34:44 <\oren\> actually that would be much easier than it automatically detecting itself
21:35:06 <wob_jonas> why? detecting automatically isn't actually difficult
21:36:06 <wob_jonas> you just need an option and command for actually integrating IF it detects
21:36:57 <wob_jonas> I guess you could even integrate it in some of those crazy tabbed terminal emulators people use, with a proper protocol.
21:38:50 <\oren\> oh, i see, it would send a quick recognition string when it starts up
21:39:07 <wob_jonas> \oren\: yes
21:58:07 -!- digitalc1ld has changed nick to digitalcold.
22:04:36 -!- AnotherTest has quit (Quit: ZNC - http://znc.in).
22:36:06 <wob_jonas> `wisdom
22:36:40 <HackEgo> mroman//mroman is a leading artist in password security (SFW). He also likes black madness. He can design password hashes that are worse than the identity function. He invented the identity function. He's also an artist in unconventional warfare.
22:40:03 -!- LKoen has quit (Remote host closed the connection).
22:42:40 <myname> wat
22:42:50 <myname> i should invent something, too
22:44:31 <wob_jonas> myname: it's usually Taneb who invents things here
22:44:37 <wob_jonas> be careful not to invent the same things as he did
22:45:13 <myname> i don't care!
22:45:25 <myname> at best i am like schönfinkel
22:54:50 -!- wob_jonas has quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client).
22:57:08 -!- boily has joined.
23:01:58 <\oren\> i nvented the rubblesort
23:03:44 <\oren\> it is a bubblesort but instead of iterating over the array you do them in a random order each pass
23:04:53 <\oren\> this makes the rubblesort immune to malicious input while retaining the bubblesort's raw performance
23:08:46 -!- `^_^v has quit (Ping timeout: 252 seconds).
23:09:56 <boily> he\\oren\.
23:10:40 -!- bb010g has joined.
23:18:03 -!- adu has joined.
23:23:13 <moon-moon> \/\\\/\\/\
23:27:45 -!- spockers has quit (Ping timeout: 246 seconds).
23:27:47 <boily> mhelloon-mhelloon!
23:29:40 -!- Sprocklem has joined.
←2016-07-04 2016-07-05 2016-07-06→ ↑2016 ↑all