00:00:04 and then it gets called with arguments python scriptfile restofargs 00:00:52 -!- Cale has quit (Ping timeout: 250 seconds). 00:02:16 oerjan: i'm suggesting a general metaethical principle that it not the purpose of etiquette and manners to compensate for the /choices/ of others. whether you want to do so should be a personal choice every time with no denigration if you choose not to 00:03:22 and i have yet to figure out an acceptable way to make my client treat too long messages the way i'd like them to be treated, so i'm willing to accept the occasional cut-off message 00:05:21 quintopia: isn't the entire purpose of etiquette and manners not to disturb people unintentionally? 00:05:42 s/unintentionally// 00:05:47 you can of course do it if you _intend_ to, in which case you are allowed, but _still_ rude. 00:06:03 oerjan: no 00:06:05 it is not 00:06:07 quintopia: yes. 00:06:11 you are wrong hth 00:06:42 it is about establishing general principles that *everyone* is supposed to follow. societally enforced laws. a list of items which it is acceptable to refer to someone as rude for not obeying 00:07:02 in general we try to pick those items based on whether not doing them would disturb people unintentionally 00:07:14 but not disturbing people unintentionally goes well beyond manners and etiquette 00:07:33 hm 00:07:57 one thing that should never be on that list is "it should be my fault for doing something that i had absolutely no way of knowing would offend you" 00:09:07 maybe hitler didn't know that holocaust would offend jews 00:11:27 maybe 00:11:45 he certainly kept doing it long after they made it clear to him 00:13:03 -!- Cale has joined. 00:26:44 `fetch http://oerjan.nvg.org/shebang_args_or_input 00:26:51 2016-07-03 23:26:39 URL:http://oerjan.nvg.org/shebang_args_or_input [126/126] -> "shebang_args_or_input" [1] 00:27:01 `` mv she* bin 00:27:07 No output. 00:27:14 `` chmod +x bin/she* 00:27:17 No output. 00:27:31 ok now what was that python script 00:28:24 `` grep -l python bin 00:28:25 grep: bin: Is a directory 00:28:29 `` grep -l python bin/* 00:28:36 bin/cAt \ bin/CaT \ bin/distort \ bin/gs2c \ bin/gs2.py \ bin/gs2x \ bin/icode \ bin/json \ bin/loudly \ bin/loudlye \ bin/multicode \ bin/rainbow \ bin/rainwords \ bin/raw-url \ bin/toutf8 \ bin/unicode \ bin/unidecode \ bin/uniqs \ bin/url \ bin/wl \ bin/zalgo 00:29:00 rainbow it was 00:29:06 `head bin/rainbow 00:29:08 ​#!/usr/bin/env 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) 00:29:27 `rainbow test 00:29:43 `` echo test | rainbow 00:29:46 oh duh 00:29:55 ​test 00:29:58 No output. 00:30:48 `sled bin/rainbow//1c#!/hackenv/bin/shebang_args_or_input python 00:30:54 bin/rainbow//#!/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) 00:30:59 argh 00:31:12 now that was right 00:31:15 `rainbow test 00:31:18 ​test 00:31:30 `` echo test | rainbow 00:31:33 ​test 00:31:37 splendid 00:31:53 `head bin/rainwords 00:31:54 ​#!/usr/bin/python \ import random; w=[l.split() for l in open("/dev/stdin").read().split("\n")]; r=[4,7,8,9,2,6,13]; print "\n".join((lambda s: " ".join(chr(3) + "%02d"%r[(i+s)%len(r)] + l[i] for i in range(len(l))))(random.randrange(0, len(r))) for l in w) 00:32:12 `` rainwords test is it random colors now 00:32:16 No output. 00:32:23 `rainbow WHAT WILL ALL THE COLORS BE 00:32:25 ​WHAT WILL ALL THE COLORS BE 00:32:32 quintopia: rainbow and rainwords is different 00:32:53 `sled bin/rainwords//1c#!/hackenv/bin/shebang_args_or_input python 00:32:55 bin/rainwords//#!/hackenv/bin/shebang_args_or_input python \ import random; w=[l.split() for l in open("/dev/stdin").read().split("\n")]; r=[4,7,8,9,2,6,13]; print "\n".join((lambda s: " ".join(chr(3) + "%02d"%r[(i+s)%len(r)] + l[i] for i in range(len(l))))(random.randrange(0, len(r))) for l in w) 00:33:06 `rainwords would you look at all this stuff 00:33:09 ​would you look at all this stuff 00:33:39 is there one that does a smooth evenly distributed progression from red to purple 00:34:04 using all the color colors, not just those 7 00:34:15 `` zalgo test No output. 00:34:30 `` echo test | zalgo 00:34:34 t̶̃e҉̏s̝̀t̂ͧ 00:34:37 `head bin/zalgo 00:34:38 ​#!/usr/bin/python \ import codecs,sys,random \ stdin=codecs.getreader("utf-8")(sys.stdin) \ stdout=codecs.getwriter("utf-8")(sys.stdout) \ x=[unichr(0x300+i) for i in range(0,112)+[393,2887]] \ def z(n,c): \ if c in ["\n"]+x: \ n=0 \ return u"".join(x[random.randrange(0,len(x))] for i in range(n)) \ stdout.write(u"".join(c+z(2,c) for c in st 00:34:52 `sled bin/zalgo//1c#!/hackenv/bin/shebang_args_or_input python 00:34:54 bin/zalgo//#!/hackenv/bin/shebang_args_or_input python \ import codecs,sys,random \ stdin=codecs.getreader("utf-8")(sys.stdin) \ stdout=codecs.getwriter("utf-8")(sys.stdout) \ x=[unichr(0x300+i) for i in range(0,112)+[393,2887]] \ def z(n,c): \ if c in ["\n"]+x: \ n=0 \ return u"".join(x[random.randrange(0,len(x))] for i in range(n)) \ stdout.w 00:35:01 `` zalgo test t̃̅e͓͐s͎̓t̜̟ 00:37:06 -!- boily has joined. 00:38:06 using all the color colors, not just those 7 <-- not to my knowledge. does irc even allow that? 00:38:35 helloily 00:38:53 helloily ain't seen you here in a bit 00:38:55 what been up to 00:39:02 quinthellørjan! 00:39:11 `` loudly test ​test 00:39:27 I was invaded by my parents! mahjong happened! 00:39:35 `` echo test | loudly 00:39:37 ​test 00:39:43 that one seems to already work 00:39:49 `head bin/loudly 00:39:49 ​#!/usr/bin/env python \ import sys, itertools, locale, locale \ inp = len(sys.argv) >= 2 and sys.argv[1] or raw_input() \ cyc = itertools.cycle(["\00304,09","\00309,04"]) \ print "".join(cyc.next() + c for c in unicode(inp, locale.getpreferredencoding())).encode(locale.getpreferredencoding()) 00:40:14 `head bin/distort 00:40:14 ​#!/usr/bin/env python \ import sys \ N=330 \ name = sys.argv[1] if len(sys.argv) > 1 else "/dev/stdin" \ with open(name, "r") as f: \ data = ' \\ '.join(f.read().splitlines()) \ for i in xrange(0, len(data), N): \ print data[i:i+N] 00:40:37 is it possible to shoot ANSI escape codes over IRC? 00:40:40 hm that one actually uses files. 00:41:18 cannot change it backwards compatibly. 00:41:49 boily: are you complaining about my loud tests 00:42:21 no, I want more colours! :D 00:42:48 boily: probably, but do clients support them? 00:43:05 `` cAt test No output. 00:43:24 hm wait that one obviously does files 00:44:32 `cat bin/wl 00:44:34 ​#!/usr/bin/env python \ \ import os \ import sys \ import json \ import urllib2 \ \ proxy_handler = urllib2.ProxyHandler({'http': os.environ['http_proxy']}) \ opener = urllib2.build_opener(proxy_handler) \ urllib2.install_opener(opener) \ \ def lose(): \ print 'You get NOTHING! You LOSE! Good DAY sir!' \ sys.exit() \ \ def eels(): \ 00:45:01 hm i don't think that one is relevant, or for that matter will work on HackEgo 00:45:34 `` grep -l perl bin/* 00:45:45 oerjan: The trouble with shebang_args_or_input is that you need a #! line, which means you need a newline 00:45:45 bin/@ \ bin/asm \ bin/benvenuto \ bin/bienvenido \ bin/bienvenue \ bin/blessyou \ bin/card-by-name \ bin/ctof \ bin/culprits-ng \ bin/dis86 \ bin/en2sv \ bin/fromroman \ bin/ftoc \ bin/h \ bin/?h \ bin/h! \ bin/hatesgeo \ bin/?hh \ bin/hi \ bin/hyfinate \ bin/hyphenate.fi \ bin/jq \ bin/lastwisdoms \ bin/learn_append \ bin/len \ bin/len.pl \ bin/ma 00:45:52 Which means you can't use mk, as it currently exists. 00:46:07 shachaf: true, but it's intended for scripts are _already_ shebangs. 00:46:15 e.g. those python ones. 00:47:48 shachaf: i just made it because i was annoyed of them only working as pipes, and the usual print_args_or_input only works well with shell scripts. 00:47:57 Sure. 00:48:07 But mk should be jammed up to support newlines or something. 00:48:54 it's a little tricky because in my mind a main feature of mk is that you _don't_ need to escape stuff. 00:49:13 Right. 00:49:17 In my mind too. 00:49:35 I guess an alternative would be mk_append 00:49:40 So you mk one line at a time. 00:49:48 yeah 00:49:54 `blessyou ants 00:49:55 Bless you, ants. Blants. 00:50:05 huh 00:50:13 Gesundheit, ants. Gesants. 00:51:17 `blessyou consonant 00:51:18 Bless you, consonant. Blonsonant. 00:51:34 `blessyou ďiacritic 00:51:35 Bless you, ďiacritic. Bliacritic. 00:51:43 `blessyou édiacritic 00:51:44 Bless you, édiacritic. Bliacritic. 00:52:53 `blessyou wood 00:52:55 Bless you, wood. Blood. 00:53:35 `blessyou night 00:53:39 Bless you, night. Blight. 00:53:39 `` blessyou food # catholics are fond of this 00:53:40 Bless you, food. Blood. 00:54:05 oerjan: Isn't it the wine that turns into blood, though? 00:54:09 MAyBE 00:54:56 They will say it does, and then admit there is no change, so how does that mean? 00:56:32 it's a mystery hth 00:57:36 * quintopia puts a pumpkin on boily's head 00:57:52 what now 00:57:53 is oerjan catholic 00:58:35 * boily has a pumpkin helmet ^^ 00:58:59 i wonder is it about to rain 00:59:04 am i going to have to walk home in the rain 00:59:35 Wait, since when is zalgo written in Python? 00:59:38 shachaf: i'm a rather passive member of the norwegian church. except for that church election i mentioned a year or two ago. 00:59:46 shachaf: i dunno? 01:00:12 Apparently Jafet rewrote it? 01:00:47 @metar KATL 01:00:47 KATL 032352Z 33007KT 10SM -RA SCT065TCU BKN100 BKN200 BKN250 29/19 A3003 RMK AO2 WSHFT 2246 RAB50 SLP159 TCU E-OHD-W & DSNT SE CB DSNT NE P0000 60000 T02940194 10367 20294 53006 01:00:55 &??? 01:01:02 quintopia: that takes either umbrage or umbrella hth 01:01:27 oerjan: umbrellas provide umbrage. i will have neither tdnh 01:01:45 the dogs now howl 01:03:05 -!- jaboja has quit (Remote host closed the connection). 01:08:01 yep it sure started raining 01:08:08 wonder when it stops 01:09:00 oh it's not gonna last long 01:11:45 @tell hppavilion[1] Did that go through? <-- far too much of it hth 01:11:45 Consider it noted. 01:14:59 -!- Nathan2055 has quit (Quit: Connection closed for inactivity). 01:26:49 -!- moon_ has quit (Read error: Connection reset by peer). 01:32:47 -!- ais523 has quit. 01:36:23 -!- moon_ has joined. 01:45:08 -!- boily has quit (Quit: SACRED CHICKEN). 01:54:34 -!- MoALTz has quit (Ping timeout: 272 seconds). 01:59:51 -!- bb010g has quit (Quit: Connection closed for inactivity). 02:08:16 -!- Akaibu has quit (Read error: Connection reset by peer). 02:08:34 -!- Akaibu has joined. 02:37:28 -!- Akaibu has quit (Quit: Connection closed for inactivity). 02:40:33 -!- augur has quit (Remote host closed the connection). 02:41:13 -!- augur has joined. 02:45:21 -!- augur has quit (Ping timeout: 246 seconds). 02:55:10 moo 02:58:14 good mooning 03:08:35 -!- adu has joined. 03:10:40 `wisdom 03:11:08 nœd//Nœd is Norwegian for distress. 03:45:41 I was making a new toolkit library for X and this is one example program that works so far: http://sprunge.us/AQAd 03:46:38 zzo38: Do you have a program that automatically extracts code from "#if 0" and runs it? 03:48:02 The program "bash" will treat "#if 0" as a comment and stop once "exit" is reached, so that is what can be used 03:48:19 Ah, of course. 03:58:33 -!- moon_ has quit (Ping timeout: 240 seconds). 04:19:31 -!- Kaynato has quit (Ping timeout: 240 seconds). 04:34:28 -!- hppavilion[2] has joined. 04:51:05 -!- bender has joined. 04:51:08 -!- bender has quit (Remote host closed the connection). 04:59:40 -!- hppavilion[2] has changed nick to hppavilion[1]. 05:07:02 -!- newsham has joined. 05:29:01 -!- hppavilion[1] has quit (Ping timeout: 252 seconds). 05:34:08 -!- augur has joined. 05:38:07 -!- adu has quit (Quit: adu). 06:01:34 This program makes a window with the title "Test!" and the mouse cursor shape is a eight-way arrow; when clicked it exits, the exit code tell which mouse button is pushed. Command-line arguments can be used to override the title, cursor shape, window size, and background colour. 06:02:40 most usefull program of all time? 06:02:59 It is just an example of this use and just a test; nor very useful. 06:03:29 (Normally you should use XwicCreateFormWindow (which additionally sets up the event handler automatically and populates the window with widgets and a few other things) rather than XwicCreateMainWindow, although XwicCreateFormWindow is not fully implemented yet.) 06:04:48 -!- hppavilion[1] has joined. 06:04:50 If the Internet declared sovereignty and formed a government, what would its political structure be? 06:05:09 (We assume that the people on the internet lack physical bodies and are no longer part of their host nations) 06:05:15 @massages-houd 06:05:15 oerjan said 4h 53m 30s ago: Did that go through? <-- far too much of it hth 06:05:22 oerjan: sry 06:06:16 -!- lambda-11235 has joined. 06:11:55 -!- lambda-11235 has quit (Quit: Bye). 06:13:48 -!- lambda-11235 has joined. 06:19:40 https://arin.ga/9UPuGZ/raw i just wrote this 06:20:06 surely someone else came up with it before me 06:20:23 but i've never seen it anywhere 06:20:30 izabera: print("dang", NULL, "it"); 06:20:51 what would you expect it to print in that case? 06:21:21 i'd expect it to either segfault or vomit junk 06:21:41 so just don't pass null pointers to it 06:41:12 -!- J_Arcane has quit (Quit: ChatZilla 0.9.92-rdmsoft [XULRunner 35.0.1/20150122214805]). 06:44:41 izabera: You need to va_end(ap); at the end of that function. 06:45:04 yes i do but my compiler ought to help me find stupid bugs like that 06:45:19 It should, yes, but it doesn't. Grumble! 06:45:21 compiler is stupid :) 06:59:39 -!- AnotherTest has joined. 06:59:46 -!- hppavilion[1] has quit (Ping timeout: 252 seconds). 07:02:27 izabera: I could write a Rust macro that does the same thing 07:02:46 you can't 07:02:57 my license is proprietary 07:03:07 i'll sue the shit out of you 07:04:23 on a more serious note, what's the smallest amount of code you can copyright? 07:09:05 izabera: https://is.gd/iqltum Too late 07:09:41 lawyer up 07:10:17 -!- hppavilion[1] has joined. 07:11:03 Nah 07:12:42 mine works with numbers too 07:12:47 as long as they're in your address space 07:12:58 and you can dereference them as pointer to char 07:13:45 Mine works with any type that implements Display 07:15:25 hikhq 07:20:32 I didn't even need va_end(ap); 07:20:47 rust is so unfair 07:33:20 -!- lambda-11235 has quit (Quit: Bye). 07:40:30 `wisdom 07:40:43 future//We know nothing about the future. 07:41:09 i know what time it will be 1 minute in the future 07:42:06 `8-ball Was a bounty hunter justified in shooting this man's dog? 07:42:08 Outlook good. 07:42:12 Damn 07:42:15 I was hoping that would work 07:42:23 That's what happens when you rely on random chance to make a joke 07:42:50 `8-ball is https://www.youtube.com/watch?v=IS5mwymTIJU reflective of real Magic 8 balls? 07:42:51 You may rely on it. 07:42:54 you should have a joke ready for all possible outcomes 07:42:54 OK 07:43:03 izabera: Yeah, generally that's the case 07:43:17 `8-ball is literal horseshit tasty? 07:43:19 Yes. 07:43:22 ...wow 07:43:40 `8-ball is Justin Bieber a good singer? 07:43:40 You may rely on it. 07:43:47 `8-ball is Justin Timberlake a good singer? 07:43:48 Concentrate and ask again. 07:43:50 `8-ball is Justin Timberlake a good singer? 07:43:51 It is certain. 07:44:02 (I'm just waiting for the right response to trigger) 07:44:09 `8-ball is Miley Cyrus a good singer? 07:44:10 Very doubtful. 07:44:14 `8-ball is 8-ball working correctly? 07:44:17 Outlook good. 07:44:19 `8-ball is Hannah Montanna a good singer? 07:44:20 It is certain. 07:44:29 `8-ball is Donald Trump a good singer? 07:44:29 Holy shit, I can't believe you're even asking me. NO! 07:44:34 THERE we go 07:44:37 `8-ball am I sane right now? 07:44:37 Don't count on it. 07:44:51 It's a reference to https://www.youtube.com/watch?v=IS5mwymTIJU 07:44:55 For all wondering 07:45:13 `8-ball Is hppavilion[1] trying too hard? 07:45:14 Yes definitely. 07:45:20 hth 07:45:29 oerjan: ty tdh 07:46:40 yw 08:06:37 What is the worst name for a US state (or other area) that a band could take? 08:06:49 My guess is US Virgin Islands 08:09:03 <\oren\> Virgin Islands sounds like a h-game title 08:23:44 -!- MoALTz has joined. 08:26:34 -!- AnotherTest has quit (Ping timeout: 250 seconds). 08:42:38 -!- augur has quit (Remote host closed the connection). 08:50:25 -!- AnotherTest has joined. 08:55:05 -!- AnotherTest has quit (Ping timeout: 258 seconds). 08:55:35 -!- ejsf has joined. 08:56:45 how's it going? 08:59:41 https://en.wikipedia.org/wiki/United_States_v._Approximately_64,695_Pounds_of_Shark_Fins 09:01:39 United States v. Vampire Nation 09:05:52 -!- ejsf has quit (Ping timeout: 272 seconds). 09:06:38 it's Monday! 09:08:37 it's been Monday for 17 hours here 09:19:56 -!- LKoen has joined. 09:27:10 -!- hppavilion[1] has quit (Ping timeout: 252 seconds). 09:34:34 -!- AnotherTest has joined. 09:53:11 -!- oerjan has quit (Quit: Nite). 09:59:52 -!- AnotherTest has quit (Ping timeout: 258 seconds). 10:06:36 -!- AnotherTest has joined. 10:12:13 -!- LKoen has quit (Remote host closed the connection). 10:43:45 -!- augur has joined. 10:47:59 -!- augur has quit (Ping timeout: 244 seconds). 10:49:39 -!- AnotherTest has quit (Ping timeout: 264 seconds). 10:50:12 `dateu 10:50:24 wakey wakey HackEgo 10:51:02 2016-07-04 09:50:51.348726000+00:00 10:52:38 `` cat bin/dateu 10:52:45 ​#!/bin/sh \ exec date --rfc-3=n -u "$@" 10:52:51 izabera: it has a pair, datei 10:52:56 `` cat bin/datei 10:52:57 ​#!/bin/sh \ exec date --rfc-3=n "$@" 10:53:03 `datei 10:53:04 2016-07-04 09:52:56.239897000+00:00 10:53:21 they do the same on HackEgo, because it has UTC as its default timezone, 10:53:24 although you can still do 10:53:38 i'm disappointed tho 10:53:44 ``` TZ=Europe/Paris; dateu; datei 10:53:46 2016-07-04 09:53:38.753286000+00:00 \ 2016-07-04 09:53:38.786882000+00:00 10:53:50 izabera: why? 10:54:27 (that didn't work) 10:54:54 ``` TZ=:Europe/Paris; dateu; datei 10:54:56 2016-07-04 09:54:47.754040000+00:00 \ 2016-07-04 09:54:47.788169000+00:00 10:55:01 still no 10:55:22 whatever 11:14:12 -!- LKoen has joined. 11:23:38 -!- MoALTz has quit (Quit: Leaving). 11:25:03 ``` export TZ=Europe/Paris; dateu; datei 11:25:05 2016-07-04 10:24:56.472202000+00:00 \ 2016-07-04 12:24:56.495597000+02:00 11:25:06 b_jonas: ^ 11:26:55 -!- AnotherTest has joined. 11:31:36 @work we have macros that end in try { 11:43:47 fizzie: oh DUH 11:43:53 I just don't know my bash 11:43:57 thanks 11:46:38 -!- LKoen has quit (Remote host closed the connection). 11:46:55 -!- LKoen has joined. 12:12:33 -!- Sgeo_ has joined. 12:13:38 -!- Sgeo has quit (Ping timeout: 250 seconds). 12:16:07 -!- Sgeo__ has joined. 12:16:51 -!- Sgeo_ has quit (Ping timeout: 240 seconds). 12:36:11 `wisdom 12:36:13 `random-card 12:36:16 `wisdom 12:36:18 `random-card 12:37:08 No output. 12:37:15 No output. 12:37:16 space elevator//Like the shorter and more familiar strings of stringed musical instruments, the cable of a space elevator has a natural resonant frequency. 12:37:16 Vedalken AEthermage \ 1U \ Creature -- Vedalken Wizard \ 1/2 \ Flash (You may cast this spell any time you could cast an instant.) \ When Vedalken AEthermage enters the battlefield, return target Sliver to its owner's hand. \ Wizardcycling {3} ({3}, Discard this card: Search your library for a Wizard card, reveal it, and put it into your hand. Then 12:37:48 that's one of the Time Spiral block ones, right? 12:38:07 yup, FUT time shifted 12:38:40 `random-card [a-z]cycling 12:38:43 Jhessian Zombies \ 4UB \ Creature -- Zombie \ 2/4 \ Fear (This creature can't be blocked except by artifact creatures and/or black creatures.) \ Islandcycling {2}, swampcycling {2} ({2}, Discard this card: Search your library for an Island or Swamp card, reveal it, and put it into your hand. Then shuffle your library.) \ ARB-C, DDH-C 12:44:47 -!- augur has joined. 12:48:53 they ported docker in go https://twitter.com/icecrime/status/730422482516082688 12:49:09 -!- augur has quit (Ping timeout: 250 seconds). 13:04:36 // replace \n with "" and trim 13:04:37 replaceString("\n", "", lValue); 13:04:39 trim(lValue); 13:05:03 useful comments everywhere 13:13:13 Fun codebase 14:00:22 -!- MDream has changed nick to MDude. 14:45:30 -!- augur has joined. 14:50:03 -!- augur has quit (Ping timeout: 250 seconds). 15:26:26 -!- jaboja has joined. 15:27:10 -!- spiette has joined. 15:50:14 -!- ais523 has joined. 16:06:14 -!- alercah_ has joined. 16:06:45 -!- izabera1 has joined. 16:09:38 -!- izabera has quit (Ping timeout: 260 seconds). 16:09:52 -!- alercah has quit (Ping timeout: 276 seconds). 16:15:33 -!- alercah_ has changed nick to alercah. 16:15:59 -!- alercah has changed nick to alercah_. 16:16:03 -!- alercah_ has changed nick to alercah. 16:20:56 handy: #define Sprintf(fmt, ...) ({ char *tmp; asprintf(&tmp, fmt, __VA_ARGS__); tmp; }) 16:24:04 -!- izabera1 has changed nick to izabera. 16:33:27 -!- jaboja has quit (Ping timeout: 264 seconds). 16:35:08 moar comments from work: 16:35:09 Reboot the Solaris Server 16:35:11 I know this sounds stupid, but even after restarting LDAP and enabling/starting/restarting the DNS client, things still didn’t work for me in the lab. However, after rebooting the Solaris server, it worked like a champ. So, just in case, reboot the Solaris server after completing the configuration. 16:37:44 and we have a trash bin with a /dev/null label http://i.imgur.com/K3ncORb.jpg 16:39:59 izabera: but reading from /dev/null gives EOF 16:40:06 I don't think you can do that from a trashcan 16:40:20 In today's xkcd, am I supposed to assume there's more explanation omitted between the last two panels? 16:40:21 i sure am not gonna try 16:40:32 hi, ais523 16:41:19 b_jonas: I think so 16:44:43 -!- LKoen has quit (Remote host closed the connection). 16:46:26 -!- augur has joined. 16:50:57 -!- augur has quit (Ping timeout: 250 seconds). 16:53:17 -!- AnotherTest has quit (Ping timeout: 260 seconds). 17:03:47 -!- LKoen has joined. 17:05:55 -!- adu has joined. 17:10:36 -!- ais523 has quit. 17:12:23 -!- Kaynato has joined. 17:26:11 -!- AnotherTest has joined. 17:42:20 -!- adu has quit (Quit: adu). 17:46:33 -!- LKoen has quit (Remote host closed the connection). 17:51:11 -!- augur has joined. 17:55:31 -!- augur has quit (Ping timeout: 250 seconds). 17:58:41 -!- Akaibu has joined. 18:28:35 -!- zzo38 has quit (Remote host closed the connection). 19:07:07 -!- spockers has quit (Read error: Connection reset by peer). 19:08:11 -!- spockers has joined. 19:20:13 -!- wob_jonas has joined. 19:24:29 <\oren\> I hate C++ 19:24:57 i hate kids 19:24:59 `wisdom 19:25:00 <\oren\> it shouldn't be possible for it to have a type error in invisible code 19:25:21 yeeeeeeesh//See yeeeeeesh. 19:25:28 \oren\: you mean like in templates? 19:25:33 <\oren\> yeah 19:25:46 `wisdom 19:25:47 <\oren\> Somehow it generated a class with a type error 19:25:48 mapole//A mapole is a thwackamacallit built from maple according to Canadian standards. The army version includes a spork, a corkscrew and a moose whistle. A regulatory mapole measures 6’ by 12 kg, ±0.5 inHg. 19:26:45 \oren\: um, I dunno, if you want a strong type system, wait like a few more years till rust gains better support for generics (e.g. generics parametrized by compile-time constant values rather than by types, etc) and maybe use that 19:27:18 or, like, try Haskell 19:27:34 <\oren\> Haskell has sucky support for imperative code 19:28:33 -!- iaglium has quit (Quit: Bed Time). 19:29:29 <\oren\> I get how monads are "programmable semicolons" or whatever, but it would be nice if haskell had support for our normal semicolons that we've been using since 1970 19:30:13 -!- augur has joined. 19:30:21 hehe, "programmable semicolons" 19:30:21 `? monads 19:30:25 Monads are just free monad monad monad algebras. 19:30:39 hmm, how to wisdom that 19:39:59 `wisdom 19:40:02 caffè//Caffè is an oddly-spelled hot beverage popular in Italy. 19:41:23 <\oren\> is there a library that adds a goto statement to Heskell? 19:42:27 <\oren\> actually I guess you would first need the ability to tell haskell what order to do things in 19:43:04 <\oren\> and then a simpler syntax for variables 19:43:19 <\oren\> (like, variable variables I mean) 19:44:49 <\oren\> Ooh, Control.Monad.Imperative 19:45:28 <\oren\> https://github.com/mmirman/ImperativeHaskell/blob/master/Main.hs 19:46:23 When do you refill the lemon-scented paper napkins? 19:46:48 \oren\: you know, a lot of imperative languages could actually do with having a goto added. 19:47:02 Eg. ruby, python, rust. 19:47:12 (I was surprised to learn that lua has a goto now.) 19:49:11 -!- augur has quit (Remote host closed the connection). 20:01:21 `? napkin 20:01:23 napkin? ¯\(°​_o)/¯ 20:11:13 hbot got klined and i cant find any freenode staff >_> 20:14:01 it turns out, it's lemon-soaked paper napkins instead 20:15:57 -!- jaboja has joined. 20:17:24 -!- Akaibu has quit (Quit: Connection closed for inactivity). 20:30:55 -!- augur has joined. 20:36:45 `shashlearn napkin/A complement of small lemon-soaked paper napkins is essential for the comfort, refreshment, and hygiene of the passengers during the journey. 20:36:56 ​/home/hackbot/hackbot.hg/multibot_cmds/lib/limits: line 5: exec: shashlearn: not found 20:37:08 `slashlearn napkin/A complement of small lemon-soaked paper napkins is essential for the comfort, refreshment, and hygiene of the passengers during the journey. 20:37:15 Learned «napkin» 20:39:10 What happened to putting the name of the thing at the beginning of the wisdom entry? 20:39:23 Also, why do you make those b_jonas-style wisdom entries? 20:41:52 dunno, they're sort of my style or something 20:42:40 besides, the statistical likelihood is, some day a civilization will arise, and then there will be small lemon-soaked paper napkins, and then there'll be a short delay before continuing your flight 20:44:36 `? cake 20:44:39 The Enrichment Center is required to remind you that you will be baked, and then there will be cake. 20:46:01 shachaf: do you have a good idea how to turn this one into a wisdom entry? I think it wouldn't be b_jonas-style => "<\oren\> I get how monads are "programmable semicolons" or whatever," 20:46:15 the problem is, we already have a wisdom/monad 20:46:43 Not everything needs a wisdom entry. 20:47:11 maybe addquote it or something, how does that work? 20:47:20 `? addquote 20:47:21 addquote? ¯\(°​_o)/¯ 20:48:06 Why? 20:48:43 Oh, you're thinking it was the first time it was said or something? 20:48:56 "programmable semicolons" is an old phrase. 20:49:10 is it? 20:49:15 `? programmable semicolons 20:49:16 programmable semicolons? ¯\(°​_o)/¯ 20:49:22 @google "programmable semicolons" 20:49:23 http://zacharyvoase.com/2014/04/30/monads/ 20:49:24 Title: Monads, or Programmable Semicolons | Zack’s Blog 20:49:47 I'm not a huge fan of it but it's been around for at least five years. 21:04:56 shachaf: I see 21:16:04 <\oren\> i'd prefer if languages like Haskell and C++ had fewer solutions to invented problems 21:17:37 -!- adu has joined. 21:20:50 <\oren\> C++ could have made more operators like the new[] and delete[] operators and thus done away with the vector<> class 21:23:00 -!- adu has quit (Quit: adu). 21:44:09 -!- Sprocklem has joined. 21:45:02 C++ should have had something like vector instead of new[] and delete[] 21:57:17 -!- AnotherTest has quit (Quit: ZNC - http://znc.in). 22:10:46 <\oren\> shachaf: right. if they had vector<> as a builtin that would also be good 22:11:16 -!- wob_jonas has quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client). 22:20:53 It's in the standard library. 22:21:00 Even better than built-in. 23:10:24 -!- hppavilion[1] has joined. 23:16:39 -!- jaboja has quit (Ping timeout: 264 seconds). 23:20:38 -!- jaboja has joined. 23:26:40 -!- oerjan has joined. 23:37:22 @work hm 23:38:05 * oerjan noticed izabera accidentally doing @work in the logs, and lambdabot not responding 23:38:17 @werk 23:38:17 Maybe you meant: where vera 23:38:27 @worf 23:38:35 @word 23:38:42 @woom 23:38:42 Unknown command, try @list 23:38:49 @list word 23:38:49 No module "word" loaded 23:38:53 @list work 23:38:53 No module "work" loaded 23:38:58 @bork 23:39:03 @bork hi there 23:39:09 @bank 23:39:09 Who should I ask? 23:39:13 wat 23:39:25 @worse 23:39:34 @worst 23:39:34 Unknown command, try @list 23:39:42 @wor 23:39:42 world02 ..... CIA World Factbook 2002 23:39:49 @world 23:39:49 world02 ..... CIA World Factbook 2002 23:39:53 @work 23:40:02 that's weird 23:40:12 @hork 23:40:20 @wock 23:40:20 http://haskell.org/ghc/docs/latest/html/libraries/index.html 23:40:32 @park 23:40:32 Not enough privileges 23:40:38 :t (.)(.)(.)(.)(.)(.)(.)(.)(.) 23:40:39 (a -> a1 -> a2 -> b -> c) -> a -> a1 -> a2 -> (a3 -> b) -> a3 -> c 23:40:42 Hmm. 23:40:46 Foiled. 23:40:48 @pock 23:40:48 http://haskell.org/ghc/docs/latest/html/libraries/index.html 23:40:56 look 23:40:58 i've figured it out already 23:41:27 @djinn Maybe a -> Maybe b -> Maybe (a,b) 23:41:28 f a b = 23:41:28 case a of 23:41:28 Nothing -> Nothing 23:41:28 Just c -> case b of 23:41:28 Nothing -> Nothing 23:41:30 Just d -> Just (c, d) 23:41:37 @djinn Maybe a -> Maybe b -> Maybe c -> Maybe ((a,b),c) 23:41:37 f a b c = 23:41:37 case a of 23:41:37 Nothing -> Nothing 23:41:38 Just d -> case b of 23:41:40 Nothing -> Nothing 23:41:42 Just e -> case c of 23:41:44 Nothing -> Nothing 23:41:46 Just f -> Just ((d, e), f) 23:41:49 OK, never mind. 23:41:55 It's @more 23:42:02 ooh 23:42:07 But I don't know how to make lambdabot say a bunch of text. 23:42:11 @wn work 23:42:12 *** "work" wn "WordNet (r) 3.0 (2006)" 23:42:12 work 23:42:12 n 1: activity directed toward making or doing something; "she 23:42:12 checked several points needing further work" 23:42:12 2: a product produced or accomplished through the effort or 23:42:14 [112 @more lines] 23:42:16 @work 23:42:16 activity or agency of a person or thing; "it is not regarded 23:42:16 @wook 23:42:18 as one of his more memorable works"; "the symphony was hailed 23:42:20 as an ingenious work"; "he was indebted to the pioneering 23:42:22 work of John Dewey"; "the work of an active imagination"; 23:42:24 "erosion is the work of wind or water over time" [syn: 23:42:26 [107 @more lines] 23:42:28 Unknown command, try @list 23:42:28 Sorry for the spam. 23:42:29 argh 23:42:45 I mean, I intended to spam, just not that much. 23:42:45 @moor 23:43:03 -!- jaboja has quit (Ping timeout: 264 seconds). 23:44:03 @list bork 23:44:03 No module "bork" loaded 23:45:06 oh right 23:45:43 @nerk 23:45:43 vera ........ V.E.R.A.: Virtual Entity of Relevant Acronyms 23:45:56 hm that is weird 23:46:02 @list vera 23:46:02 dict provides: dict-help all-dicts bouvier cide devils easton elements foldoc gazetteer hitchcock jargon thesaurus vera wn world02 23:46:05 @list more 23:46:06 more provides: more 23:46:09 oh wait 23:46:23 wrong baseline 23:46:49 @woke 23:46:49 Maybe you meant: wiki vote more 23:46:52 finally 23:53:37 oerjan: Apparently, in the Harry Potter universe the Norwegian magic school teaches the Dark Arts as a class 23:54:04 (Well, it might be in Sweden; it pretty much just serves the whole of Scandinavia) 23:55:12 OKAY