00:05:32  * bradleymeckquit (Quit: bradleymeck)
00:05:40  * ericktquit (Ping timeout: 248 seconds)
00:09:46  * c4milojoined
00:12:52  * pooyaquit (Quit: pooya)
00:14:42  * bradleymeckjoined
00:15:16  * c4milo_joined
00:16:14  * pooyajoined
00:16:20  * c4miloquit (Ping timeout: 248 seconds)
00:20:46  <MI6>joyent/node: Francois Marier v0.8 * 44dd2c3 : doc: remove duplicate set of options - http://git.io/J7Gk3w
00:24:35  * lohkeypart
00:25:29  * lohkey_joined
00:26:58  * lohkey_part
00:36:00  * kohaiquit (Remote host closed the connection)
00:41:59  * c4milo_quit (Ping timeout: 260 seconds)
00:55:12  * bradleymeckquit (Quit: bradleymeck)
01:03:23  * dapquit (Quit: Leaving.)
01:05:21  * AvianFlu_joined
01:05:40  * AvianFluquit (Ping timeout: 268 seconds)
01:05:52  * xer0xquit (Ping timeout: 252 seconds)
01:08:17  * AvianFlu_quit (Read error: Connection reset by peer)
01:08:55  * AvianFlujoined
01:23:08  * pooyaquit (Quit: pooya)
01:29:39  * AvianFluquit (Ping timeout: 256 seconds)
01:45:10  * abraxasjoined
02:01:14  * TooTallNatequit (Quit: Computer has gone to sleep.)
02:14:26  * bradleymeckjoined
02:21:59  * bnoordhuisquit (Ping timeout: 260 seconds)
02:27:49  * brsonquit (Quit: leaving)
02:37:56  * stagas_quit (Ping timeout: 245 seconds)
02:38:36  * stagasquit (Ping timeout: 240 seconds)
03:08:31  * joeandaverdejoined
03:16:29  * joeandaverdequit (Quit: joeandaverde)
03:22:12  * mmaleckichanged nick to mmalecki[zzz]
03:26:05  * xer0xjoined
03:35:51  * TheJHquit (Ping timeout: 252 seconds)
03:50:01  * Benviequit (Read error: Connection reset by peer)
03:50:29  * Benviejoined
03:51:53  * brsonjoined
03:58:15  * EhevuTovquit (Quit: This computer has gone to sleep)
03:59:09  * xer0xquit (Ping timeout: 276 seconds)
04:01:29  * EhevuTovjoined
05:17:08  * avalanche123joined
05:23:32  * avalanche123quit (Ping timeout: 248 seconds)
05:24:10  * avalanche123joined
05:37:00  * bradleymeckquit (Quit: bradleymeck)
05:48:38  * TooTallNatejoined
05:53:16  * avalanche123quit (Ping timeout: 244 seconds)
05:58:53  * avalanche123joined
06:00:52  * Benviequit (Ping timeout: 246 seconds)
06:01:22  * Benviejoined
06:02:56  * avalanche123quit (Ping timeout: 245 seconds)
06:05:55  * avalanche123joined
06:15:42  * benoitcquit (Excess Flood)
06:15:46  * xer0xjoined
06:18:56  * benoitcjoined
06:21:36  * benoitcquit (Changing host)
06:21:37  * benoitcjoined
06:32:59  * mikealquit (Quit: Leaving.)
06:33:04  * TooTallNatequit (Quit: ["Textual IRC Client: www.textualapp.com"])
06:36:27  * mikealjoined
06:39:01  * brsonquit (Read error: Connection reset by peer)
06:42:39  * paddybyersjoined
06:46:37  * joshthecoderquit (Quit: Leaving...)
06:54:37  * EhevuTovquit (Quit: Leaving)
07:08:36  * paddybyersquit (Ping timeout: 248 seconds)
07:10:32  * loladiropart
07:18:03  * xer0xquit (Ping timeout: 252 seconds)
07:41:18  * rendarjoined
08:03:57  * janjongboomjoined
08:05:01  * `3rdEdenjoined
08:05:34  * janjongboomquit (Client Quit)
08:11:15  * Ralt_joined
08:24:55  * paddybyersjoined
08:43:19  * avalanche123quit (Ping timeout: 255 seconds)
08:58:46  * benoitcquit (Excess Flood)
09:02:57  * benoitcjoined
09:03:31  * janjongboomjoined
09:28:57  * othiym23quit (Ping timeout: 252 seconds)
09:32:32  * janjongboomquit (Quit: janjongboom)
09:33:09  * janjongboomjoined
09:34:14  * othiym23joined
09:37:28  * mmalecki[zzz]changed nick to mmalecki
09:46:51  * stagasjoined
10:04:43  * Ralt_quit (Quit: WeeChat 0.3.9)
10:20:16  * avalanche123joined
10:21:43  * TheJHjoined
10:41:01  * TheJHquit (Ping timeout: 268 seconds)
11:16:47  * TheJHjoined
11:41:00  * piscisaureus_joined
11:41:39  * avalanche123quit (Ping timeout: 256 seconds)
11:56:25  * sgallaghjoined
12:00:13  * abraxasquit (Remote host closed the connection)
12:16:34  * kazuponjoined
12:24:24  * bnoordhuisjoined
12:41:09  * AvianFlujoined
12:43:47  * bradleymeckjoined
12:51:29  * bradleymeckquit (Quit: bradleymeck)
13:04:34  * stagasquit (Ping timeout: 260 seconds)
13:05:12  * avalanche123joined
13:11:01  * AvianFlu_joined
13:11:33  * AvianFluquit (Disconnected by services)
13:12:55  * AvianFlu_quit (Read error: Connection reset by peer)
13:13:08  * AvianFlujoined
13:18:41  * avalanche123quit (Ping timeout: 256 seconds)
13:27:27  * AndreasMadsenjoined
13:39:35  <bnoordhuis>piscisaureus_: bertje, presentatietje doen vrijdag?
13:39:44  <piscisaureus_>oke
13:39:48  <piscisaureus_>over wat?
13:40:02  <bnoordhuis>piscisaureus_: ehm... verzin jij eens wat
13:40:10  <piscisaureus_>bnoordhuis: heeft jos je daar over gespamd?
13:40:21  <piscisaureus_>hoezo ik eens :-/
13:40:25  <bnoordhuis>piscisaureus_: niet alleen mij :)
13:41:27  <piscisaureus_>maar wat doen wij nou helemaal
13:42:22  <piscisaureus_>ff over nadenken
13:42:47  <bnoordhuis>piscisaureus_: ja, lastig he?
13:43:15  <bnoordhuis>over iedere vijf minuten F5-en op HN en slashdot kun je niet echt een presentatie samenstellen
13:48:40  * bradleymeckjoined
13:49:03  <piscisaureus_>slashdot, wat is dat?
13:49:34  <piscisaureus_>maar in die context
13:50:07  <piscisaureus_>we have a new "worst anti node article of all times" -> http://gwan.com/blog/20121027.html
13:50:20  * AvianFluquit (Ping timeout: 268 seconds)
13:50:36  <piscisaureus_>the guy claims that that node is popular because tens of millions dollars were spent on marketing
13:50:39  <piscisaureus_>uh-huh
13:51:33  <bnoordhuis>oh, that gwan guy
13:51:37  <bnoordhuis>certified nutter
13:51:43  <bnoordhuis>piscisaureus_: https://github.com/bnoordhuis/node/compare/issue4172 <- review?
13:52:12  <piscisaureus_>ok
13:52:18  <piscisaureus_>bnoordhuis: btw - I was thinking
13:52:37  <piscisaureus_>bnoordhuis: for this string-write optimization we also don't call SetAmountOfExternalBlaBla
13:52:47  <piscisaureus_>bnoordhuis: maybe that's why people complain about high memory usage
13:53:15  <bnoordhuis>haha, that guy - guess he ran all out of ritalin :)
13:54:16  <bnoordhuis>piscisaureus_: yeah, maybe. relatively easy to verify though, isn't it?
13:54:38  <piscisaureus_>bnoordhuis: i have no ffing clue what that onEnd code does
13:54:52  <bnoordhuis>piscisaureus_: though otoh, the upside of AdjustAmountOfExternalAllocatedMemory() is that it makes the gc run more often
13:54:58  <bnoordhuis>but that's also its drawback :/
13:55:03  <piscisaureus_>ya
13:57:29  <piscisaureus_>bnoordhuis: I really don't understand what you are doing in onEnd ?
13:57:53  <bnoordhuis>piscisaureus_: clearing the array so the buffers in it can get reclaimed
13:58:06  <bnoordhuis>piscisaureus_: and freeing the zlib memory manually after the cb
13:58:17  <piscisaureus_>bnoordhuis: so why don't you just do "buffers = []" :-)
13:58:24  * AvianFlujoined
13:58:26  <bnoordhuis>piscisaureus_: because splice is faster
13:58:34  <piscisaureus_>are you sure?
13:58:42  <piscisaureus_>very weird
13:58:51  <bnoordhuis>piscisaureus_: reasonably. i timed it in a micro-benchmark
13:59:02  <bnoordhuis>it kind of makes sense though, [] creates a new array object
13:59:03  <piscisaureus_>bnoordhuis: you should add a comment then. This is very weird
13:59:08  <bnoordhuis>why?
13:59:26  <piscisaureus_>bnoordhuis: I would expect splice to also make a new object although I may be mixing it up with strings
13:59:54  <bnoordhuis>piscisaureus_: it does, but i guess v8 realizes the return value is not used
14:00:04  <piscisaureus_>bnoordhuis: because when one reads the code, I'm like: "is he really clearing the array here. I must be wrong, why would someone use splice for that?"
14:00:24  <mmalecki>why not `buffers.length = 0`?
14:00:47  * abraxasjoined
14:01:01  <bnoordhuis>mmalecki: because that's an abomination
14:01:15  <bnoordhuis>piscisaureus_: hmm, i guess buffers = [] may be faster in some cases
14:01:32  <piscisaureus_>bnoordhuis: so just fmi
14:01:46  <piscisaureus_>what happens if the total length for Buffer.concat is wrong?
14:01:46  <bnoordhuis>piscisaureus_: i'll stick with buffers = [], it's not that big a deal
14:01:54  <bnoordhuis>piscisaureus_: then isaacs screwed up
14:01:56  <piscisaureus_>this is totally undocumented
14:02:10  <piscisaureus_>bnoordhuis: ok, the other parts lgtm
14:04:15  <MI6>joyent/node: Ben Noordhuis master * a93424d : zlib: pass object size hint to V8 Inform V8 that the zlib context object (+1 more commits) - http://git.io/Kxhe6Q
14:04:26  <`3rdEden>bnoordhuis: piscisaureus_ why don't you do buffers.length = 0 then? if you don't want the overhead of creating an array
14:04:38  <bnoordhuis>`3rdEden: see my reply to mmalecki :)
14:04:47  * AvianFluquit (Remote host closed the connection)
14:04:48  <`3rdEden>o
14:04:52  <`3rdEden>lol :p
14:05:10  * abraxasquit (Ping timeout: 252 seconds)
14:06:20  <`3rdEden>bnoordhuis: but why care about abominations if you want performance?
14:06:47  <tjfontaine>`3rdEden: he has to be able to sleep at night
14:06:53  <`3rdEden>slice's are just as horrible
14:07:07  <`3rdEden>tjfontaine: ;D
14:07:11  <bnoordhuis>`3rdEden: so it's not raw performance i was worried about here, it's gc memory pressure
14:07:37  <bnoordhuis>`3rdEden: the idea behind slice() is that it clears the array, i.e. the buffer objects inside it become orphaned
14:07:56  <bnoordhuis>but anyway, it's a micro-optimization
14:08:00  <`3rdEden>bnoordhuis: k
14:08:07  <bnoordhuis>it doesn't matter in the grand scheme of things
14:08:49  <bnoordhuis>https://github.com/joyent/node/issues/4208 <- pff
14:09:01  * bnoordhuisclicks "unfollow"
14:15:06  <indutny>bnoordhuis: hoya
14:15:09  <bnoordhuis>indutny: heya
14:15:19  <bnoordhuis>indutny: can you pronounce "ijsselmeer" already?
14:15:33  <indutny>bnoordhuis: in which order will be functions in executed in C++ a()->b(c())->d(e())
14:15:34  <janjongboom>indutny: or scheveningen?
14:15:37  <indutny>hahaha
14:15:43  <indutny>bnoordhuis: nope :)
14:15:51  <indutny>what's that?
14:16:02  <bnoordhuis>indutny: one is a lake, the other a place
14:16:08  <indutny>ah
14:16:08  <indutny>ok
14:16:18  <janjongboom>the magic word you have to say if you want to enter a Dutch club in Lloret de Mar
14:16:34  <bnoordhuis>indutny: re function evaluation order: a, c, b, e, d (i think)
14:16:43  <bnoordhuis>(but i'm pretty sure)
14:17:13  <indutny>I think this is not the same between different compilers...
14:17:39  <bnoordhuis>indutny: it's not the same if you did something like a(b(), c(), d())
14:17:53  <bnoordhuis>indutny: but in this case the call to b() depends on the return value of a()
14:18:03  <bnoordhuis>indutny: oh, there's a small gotcha
14:18:18  <bnoordhuis>indutny: if the compiler is able to determine that any of those functions don't have side effects, all bets are off
14:18:28  <indutny>yeah
14:18:32  <indutny>that's what's happening
14:18:40  <roxlu>someone around who maybe has a example of using libuv with openSSL memory BIOs?
14:18:44  <indutny> return Return(HIRInstruction::kReturn)->AddArg(Visit(stmt->lhs()));
14:18:51  <indutny>roxlu: I have
14:19:01  <indutny>roxlu: https://github.com/indutny/tlsnappy/blob/master/src/tlsnappy.cc
14:19:07  <bnoordhuis>indutny: but that shouldn't bother you because the thing with pure functions it that they're pure
14:19:19  <roxlu>indutny: thanks! I actually heard about tlsnappy : >
14:19:21  <indutny>bnoordhuis: well, each of those functions adds something to the list
14:19:23  * roxluchecking it out
14:19:38  <indutny>bnoordhuis: and if compiler decides to order them differently - shit happens
14:19:51  <bnoordhuis>indutny: i don't think that should be possible here
14:19:59  <piscisaureus_>bnoordhuis: unfollow. what a great idea
14:20:06  <bnoordhuis>indutny: is there a difference between -O3 and -O0?
14:20:07  <indutny>bnoordhuis: well, it happens
14:20:13  <indutny>bnoordhuis: not on mine machine
14:20:16  <indutny>bnoordhuis: on bradleymeck's
14:20:29  <bnoordhuis>indutny: sunos? gcc 3.4?
14:20:45  <indutny>nope, almost the same version of gcc
14:20:48  <indutny>4.2.1
14:20:54  <indutny>with slightly different build numbers
14:21:19  <bnoordhuis>4.2.1... released in 2007 iirc, right?
14:21:42  <bnoordhuis>i mean, that's a delta of only like 10,000 fixed bugs
14:22:35  <indutny>well
14:22:51  <indutny>bnoordhuis: https://github.com/indutny/candor/commit/12a98f25f436808befc500892d3b64dc3faf07d7
14:22:54  <indutny>that's how I fixed it
14:27:26  <bnoordhuis>indutny: smells like a compiler bug to me
14:27:37  * loladirojoined
14:27:39  <bnoordhuis>you know, that sulphury beany smell
14:27:48  <indutny>bnoordhuis: indeed
14:27:59  <indutny>bnoordhuis: well, it actually may call those in any order it like
14:28:05  <indutny>if it's not specified in spec
14:28:24  <indutny>if those functions are pure - behaviour will be unaffected
14:28:43  <bnoordhuis>indutny: yes, true if there's no data dependency
14:28:51  <indutny>yeah
14:29:15  * kazuponquit (Remote host closed the connection)
14:36:12  <bnoordhuis>piscisaureus_: http://www.funda.nl/koop/noordwolde/huis-48516821-nieuwe-weg-32/ <- my possibly new house
14:37:19  <piscisaureus_>bnoordhuis: omg, so far?
14:37:29  <piscisaureus_>pretty nice tho
14:37:33  <bnoordhuis>piscisaureus_: isn't it?
14:37:49  * kazuponjoined
14:38:08  <piscisaureus_>although you should get rid of the fake greek columns
14:38:43  * ericktjoined
14:38:43  <piscisaureus_>it also needs some love in the inside
14:38:57  <bnoordhuis>piscisaureus_: hah, i know. awful, but there's room for improvement
14:39:07  <piscisaureus_>many rooms
14:39:07  <piscisaureus_>haha
14:39:10  <piscisaureus_>that's the upside
14:39:35  <bnoordhuis>piscisaureus_: i also like the gardens: parts french, english, italian, barok, the list goes on
14:39:42  <piscisaureus_>bnoordhuis: I hear janjongboom has admin access to funda
14:39:46  <indutny>bnoordhuis: going to build gcc
14:39:47  <piscisaureus_>so you can get it for half the price
14:39:49  <indutny>4.7.2
14:39:53  <bnoordhuis>janjongboom: go fix that
14:40:06  <bnoordhuis>janjongboom: i'll cut you a share of the profits
14:41:33  <Yorhel>Hi guys. I ran into a little problem, and was wondering if I'm doing something wrong. http://p.blicky.net/xxeu0
14:42:06  <Yorhel>(global_tcp is a uv_tcp_t, ignore for the moment that the code isn't portable :P)
14:42:12  <Yorhel>(And I'm on Linux)
14:44:39  * loladiroquit (Quit: loladiro)
14:45:43  <janjongboom>yeah i'll fix it, no prob
14:46:00  <bnoordhuis>Yorhel: can you run it through `strace -f`?
14:49:30  <Yorhel>bnoordhuis: Ah, sendfile(13, 11, [2320320], 524288) = -1 EAGAIN (Resource temporarily unavailable)
14:49:41  <Yorhel>Socket is still non-blocking, I see
14:49:55  <janjongboom>bnoordhuis: why the hell do you want to move there, there probably isn't even internet
14:50:40  <bnoordhuis>janjongboom: that internet thingy is overrated, i don't think it's going to take off
14:51:43  <tjfontaine>I hear it's a series of tubes
14:51:43  <bnoordhuis>Yorhel: it's kind of surprising that it gets reported by libuv as (presumbly) ESRCH instead of EAGAIN
14:52:33  <bnoordhuis>Yorhel: oh wait, no - uv_fs_sendfile() and friends report the errno in req.errorno
14:53:38  <bnoordhuis>then again, it's probably a bug that the sync versions don't set the loop error variable
14:53:52  <bnoordhuis>piscisaureus_: does uv-win do that?
14:54:29  <bnoordhuis>seems it does
14:57:01  <bnoordhuis>Yorhel: sanity check, against what libuv commit are you testing this?
14:58:05  <Yorhel>bnoordhuis: 97c527a
14:58:19  <Yorhel>i.e. latest master
14:58:26  <bnoordhuis>right
14:58:44  <piscisaureus_>bnoordhuis: lemme see
14:58:45  <bnoordhuis>that means it should set the loop-global error code
14:59:05  <bnoordhuis>Yorhel: if you open an issue with a ready-to-run test case, i'll look into it
14:59:16  <bnoordhuis>piscisaureus_: i checked, it does
14:59:24  <piscisaureus_>uv-win is always right
14:59:34  <Yorhel>bnoordhuis: Will do
15:00:06  <bnoordhuis>piscisaureus_: insofar that uv-unix tries very hard to be bug-for-bug compatible, yes
15:03:43  <bnoordhuis>piscisaureus_: re libuv.org, how far along are you with setting it up?
15:03:54  <bnoordhuis>i figured we should do a couple of blog posts
15:03:59  <piscisaureus_>bnoordhuis: 0%
15:04:10  <bnoordhuis>piscisaureus_: i can host it on my server if you want
15:04:11  <piscisaureus_>bnoordhuis: you have web design skills?
15:04:22  <bnoordhuis>piscisaureus_: no one can layout a <table> like i can
15:04:43  <piscisaureus_>bnoordhuis: the hosting part is the least of our concerns
15:05:35  <piscisaureus_>I suppose it should look like nodejs.org
15:05:38  <piscisaureus_>but, blue or something
15:05:47  <piscisaureus_>another color atleast
15:05:53  <bnoordhuis>piscisaureus_: bleh. i like the httpd.apache.org look
15:06:14  <piscisaureus_>yuk
15:07:20  <bnoordhuis>piscisaureus_: doesn't that company of ours have designers?
15:07:28  <bnoordhuis>ask chrissy?
15:07:29  <mmalecki>if you guys can't find anyone, I can try my chances
15:07:55  <piscisaureus_>bnoordhuis: yeah I will talk to chrissy
15:09:50  <bnoordhuis>mmalecki: you're good with css?
15:10:46  <mmalecki>bnoordhuis: I used to do full stack back in the days, so not so bad, yeah
15:11:09  <bnoordhuis>mmalecki: okay, i'll keep it in mind, thanks :)
15:11:25  <mmalecki>bnoordhuis: http://luvit.io/ - how do you like it?
15:11:51  <bnoordhuis>mmalecki: needs more cowbell - otherwise looks okay to me
15:12:13  <mmalecki>yeah, that one was like 2 hours, didn't have time to finish it up properly
15:12:21  <mmalecki>also boostrap
15:12:32  <bnoordhuis>grr, bootstrap
15:12:43  <bnoordhuis>i don't understand why that project has 30K+ followers on github
15:12:51  <bnoordhuis>it makes me lose my faith in humanity
15:13:08  <mmalecki>bnoordhuis: yes
15:13:27  <Yorhel>bnoordhuis: Oh, seems that the error code is set correctly if it's not EAGAIN. Makes writing a test case a bit more tricky; no idea how to get sendfile() to return EAGAIN in a few lines :(
15:14:00  <bnoordhuis>Yorhel: okay, no problem. if you can point me to the offending line, i'll fix it - or send a patch if you know what the issue is
15:14:27  <mmalecki>bnoordhuis: what'd you wear as a halloween costume?
15:14:48  <mmalecki>I was thinking about dressing as a RoR developer, but not sure I have trousers which are tight enough
15:15:28  <bnoordhuis>mmalecki: i always wear my 'he looked like such a normal guy, i never knew he'd be like that' suit
15:15:34  <Yorhel>bnoordhuis: I've not found the problem in the code directly, the EAGAIN thing was an observation; EBADF gets through correctly.
15:15:58  <mmalecki>bnoordhuis: ah, THAT suit. well, I wear it everyday, gets boring
15:17:56  * pooyajoined
15:18:09  <bnoordhuis>Yorhel: can you put a breakpoint (in gdb) on the "Sendfile error" printf and post the output of `p freq`?
15:18:19  <bnoordhuis>Yorhel: maybe set `set print pretty` first :)
15:18:23  <piscisaureus_>ok, 4:20pm
15:18:36  <piscisaureus_>time to hit the office or the people there will think I got shot on the keizersgracht
15:18:38  <piscisaureus_>bbiab
15:20:52  <Yorhel>bnoordhuis: http://p.blicky.net/v25f1
15:21:12  * avalanche123joined
15:21:22  <bnoordhuis>Yorhel: looks okay to me, result=-1 and errorno=UV_EAGAIN
15:22:05  <Yorhel>bnoordhuis: The problem was that uv_last_error() didn't return the right thing :)
15:22:29  <bnoordhuis>Yorhel: yeah. looking at the code, i don't quite see how that could be\
15:22:49  <bnoordhuis>Yorhel: but please open an issue and i'll dig in some more
15:22:49  * piscisaureus_quit (Ping timeout: 246 seconds)
15:23:51  <Yorhel>bnoordhuis: Aye
15:26:00  * stagasjoined
15:28:31  * joshthecoderjoined
15:32:04  * avalanche123quit (Ping timeout: 252 seconds)
15:33:52  * ericktquit (Quit: erickt)
15:37:26  * piscisaureus_joined
15:40:59  * pooyaquit (Quit: pooya)
15:44:20  * joshthecoderquit (Quit: Linkinus - http://linkinus.com)
15:45:19  * AndreasM_joined
15:47:31  * AndreasMadsenquit (Ping timeout: 245 seconds)
15:47:39  * joshthecoderjoined
15:59:45  <MI6>joyent/node: Brandon Philips master * 19b87bb : tls: delete useless removeListener call onclose was never attached to 'e - http://git.io/K2DOfA
16:01:25  * paddybyers_joined
16:04:57  * paddybyersquit (Ping timeout: 252 seconds)
16:05:41  * paddybyers_quit (Ping timeout: 252 seconds)
16:06:26  * dapjoined
16:10:05  * brsonjoined
16:12:15  <bnoordhuis>ircretary: ask mraleph do reviewers get notified when they're assigned _after_ the codereview issue is created?
16:12:15  <ircretary>bnoordhuis: the was last seen at 2012-09-24T18:13:50.839Z, joining #Node.js
16:16:44  * `3rdEdenchanged nick to `3E|FOODING
16:17:12  <MI6>joyent/node: J. Lee Coltrane master * 54d293d : url: make url.format escape delimiters in path and query `url.format` sh - http://git.io/8WknrQ
16:21:25  * sblomjoined
16:24:16  * xer0xjoined
16:25:32  <isaacs>bnoordhuis: Hey, re https://github.com/joyent/node/commit/570e4be932cc308c0f4daa0764564d267dbd0608
16:25:50  <bnoordhuis>isaacs: ho
16:26:02  <isaacs>bnoordhuis: shouldn't the _clear() call be in Zlib.once('finish', function() { this._clear() }) rather than only for the zlibBuffer method?
16:26:26  <isaacs>bnoordhuis: oh, i guess it didn't emit 'finish' before, so there was no way to know when it's done.
16:26:39  <bnoordhuis>isaacs: what you said :)
16:26:46  <isaacs>ok, i'm gonna change it around a little bit.
16:26:55  <isaacs>also, shouldn't that be called 'close'?
16:27:01  <isaacs>seems conceptually similar
16:27:01  <indutny>bnoordhuis: using custom gcc on osx is so fucking hard
16:27:10  <isaacs>"release the underlying resources"
16:27:12  <bnoordhuis>isaacs: i don't know, you wrote it
16:27:16  <indutny>symbols not found
16:27:16  <indutny>___cxa_pure_virtual
16:27:23  <isaacs>bnoordhuis: fair enough :)
16:27:33  <bnoordhuis>indutny: i bet you invoked gcc instead of g++
16:27:35  <isaacs>bnoordhuis: good catch on that, anyway. makes a huge difference.
16:27:39  <indutny>hm...
16:27:53  <indutny>right :)
16:28:06  <indutny>ok
16:28:07  <indutny>it works now
16:33:28  <pquerna>Luvit: Asynchronous I/O for Lua with Brandon Philips -> http://www.meetup.com/lua-devs/events/89091842/
16:36:00  * stagas_joined
16:37:19  <bnoordhuis>pquerna: sounds good. now organize it in amsterdam
16:37:27  * stagasquit (Ping timeout: 268 seconds)
16:37:39  * stagas_changed nick to stagas
16:38:09  <mmalecki>I'd go
16:38:20  * stagasquit (Client Quit)
16:38:48  * stagasjoined
16:39:42  <mmalecki>bnoordhuis: didn't get to organizing my trip to Amsterdam :(
16:39:51  <mmalecki>too many things to do
16:39:52  <bnoordhuis>mmalecki: why not?
16:39:54  <bnoordhuis>oh
16:40:05  <mmalecki>bnoordhuis: I'd have to be leaving tomorrow
16:40:26  <mmalecki>but I definitely want to visit before leaving Europe :)
16:40:35  <bnoordhuis>mmalecki: you have a few days respite - i won't be in 020 until friday anyway :)
16:40:49  <mmalecki>maybe a bit later tho. I'll be out from home for a month now
16:40:59  * xer0xquit (Ping timeout: 256 seconds)
16:41:14  <mmalecki>bnoordhuis: how does winter look there :) ?
16:41:35  <mmalecki>do you have this neat "snow" thing?
16:42:17  * AndreasM_quit (Remote host closed the connection)
16:42:40  * ericktjoined
16:43:46  <CoverSlide>cocaine?
16:44:30  <mmalecki>tried, didn't find last time
16:44:42  <saghul>mmalecki this happened last year: http://www.youtube.com/watch?v=PpZKcYXb6bs
16:44:57  <saghul>just speak spanish here and there, they'll come to you
16:45:06  <mmalecki>hahahahahaha, that's so cute :3
16:45:07  <mmalecki>do want
16:45:35  <mmalecki>so yeah, now that we know where I'm going to spend January
16:45:50  <mmalecki>I need to figure out where to spend christmas
16:45:59  <mmalecki>and I'll be set up for the rest of the year!
16:50:17  * AvianFlujoined
16:53:42  * AvianFluquit (Client Quit)
16:55:48  * pooyajoined
16:58:10  * loladirojoined
16:58:59  * loladiroquit (Client Quit)
17:05:32  * TooTallNatejoined
17:05:39  * avalanche123joined
17:10:13  * loladirojoined
17:10:28  * bradleymeckquit (Quit: bradleymeck)
17:17:56  * mjr_joined
17:18:28  * paddybyersjoined
17:22:24  * mikealquit (Quit: Leaving.)
17:22:41  <isaacs>bnoordhuis: review? https://github.com/isaacs/node/commit/d243e267f1b9dcf4941e2869c39818b249d21389
17:22:53  <isaacs>bnoordhuis: i did this on streams2, but i think it should land nicely on master as well
17:28:31  * joshthecoderquit (Quit: Leaving...)
17:28:37  <isaacs>Hm. coming up with a streaming interface for Verify is a bit tricky...
17:28:55  <isaacs>I think this one is not a transform stream. it's just a writable, with a .verify() method
17:28:59  * ericktquit (Quit: erickt)
17:30:25  <TooTallNate>isaacs: that seems ok to me
17:30:30  <piscisaureus_>packet.c:155: error: ‘NULL’ undeclared (first use in this function) <-- hmmm
17:31:10  <isaacs>yeah, actually, that's really simple.
17:31:30  <isaacs>same for Sign, actually
17:31:38  <isaacs>it doesn't make much sense to read() the signature
17:37:51  * loladiroquit (Quit: loladiro)
17:40:54  * AvianFlujoined
17:44:24  * loladirojoined
17:47:45  <bnoordhuis>piscisaureus_: packet.c? where is that from?
17:47:58  <piscisaureus_>bnoordhuis: the thing that shall not be named
17:48:08  <bnoordhuis>piscisaureus_: windows?
17:50:59  * AvianFluquit (Ping timeout: 260 seconds)
17:51:59  * joshthecoderjoined
18:01:29  * avalanche123quit (Ping timeout: 260 seconds)
18:03:34  * lohkeyjoined
18:05:31  * xer0xjoined
18:06:20  * mikealjoined
18:09:50  * AvianFlujoined
18:20:07  * xer0xquit (Ping timeout: 252 seconds)
18:20:22  <MI6>joyent/node: isaacs streams2 * 4737e3e : test: Tests for streaming crypto interfaces (+42 more commits) - http://git.io/iZ9bOQ
18:22:47  * bradleymeckjoined
18:26:48  * EhevuTovjoined
18:27:47  * loladiroquit (Quit: loladiro)
18:30:50  * piscisaureus_quit (Quit: ~ Trillian Astra - www.trillian.im ~)
18:31:34  * janjongboomquit (Quit: janjongboom)
18:41:03  * kazuponquit (Remote host closed the connection)
18:55:01  * `3E|FOODINGchanged nick to `3rdEden
18:57:18  * AvianFluquit (Read error: Connection reset by peer)
18:58:39  <roxlu>hi guys, I'm trying to figure out a basic https connection using openssl and libuv. I'm new to (open)SSL and wondering how to implement this with memory BIOs. indutny helped me a lot already, but I'm still wondering if this flow is correct + how to handle the next step: https://gist.github.com/b5e8161a6ed0c6a48fb8 ?
19:02:40  <indutny>roxlu: you should imagine openssl as a black box with two sides
19:02:54  <indutny>on one side you can read/write unencrypted(clear) data
19:03:01  <indutny>on another read/write encrypted data
19:03:17  <indutny>all encryption and TLS protocol state management is handled by openssl
19:03:23  <indutny>you should not care about it
19:05:46  <roxlu>indutny: but the thing is, for example when I create a socket and want to start the handshake, I need to know what function to call + if the function writes to the BIO. So I do need to know a bit more about it I would say
19:06:01  <indutny>roxlu: well...
19:06:10  <indutny>roxlu: read tlsnappy's source, really
19:06:40  <indutny>there're SSL_ERROR_WANT_READ and SSL_ERROR_WANT_WRITE errors
19:06:43  <roxlu>tlsnappy is a bit too abstract atm
19:06:53  <roxlu>I mean, to get into openssl
19:07:07  <indutny>ok, I give up
19:07:08  <indutny>:)
19:07:20  <roxlu>hehe sorry didn't want to disrespect your help
19:08:03  <roxlu>I'll follow your advice : )
19:16:44  * paddybyersquit (Ping timeout: 260 seconds)
19:17:34  <roxlu>what is the meaning of NPN?
19:18:05  <tjfontaine>probably http://tools.ietf.org/html/draft-agl-tls-nextprotoneg-00
19:19:12  <roxlu>thanks
19:29:05  <roxlu>indutny: went through your code. I can't really follow the complete flow, but it looks like you're creating the SSL_CTX, then when a client wants to connect you create a SSL* object. In TryGetNPN you're basically handling the handshake if I'm right
19:30:00  <indutny>yes, in try npn I'm trying to figure out if handshake was just performed
19:31:10  <roxlu>ok
19:31:27  <roxlu>and I see you created your own bio
19:32:19  <indutny>roxlu: yeah, I needed it
19:32:23  <indutny>roxlu: read blog.indutny.com
19:50:02  * stagasquit (Quit: Bye)
19:51:23  * kazuponjoined
19:56:06  * kazuponquit (Ping timeout: 240 seconds)
20:05:02  * loladirojoined
20:08:58  * joshthecoderquit (Quit: Leaving...)
20:11:09  * `3rdEdenquit (Remote host closed the connection)
20:16:52  * AvianFlujoined
20:24:11  * philips_quit (Ping timeout: 260 seconds)
20:24:22  * joshthecoderjoined
20:27:19  * AvianFluquit (Ping timeout: 260 seconds)
20:28:05  * philips_joined
20:34:07  * AvianFlujoined
20:35:00  * AvianFluquit (Read error: Connection reset by peer)
20:38:40  * TooTallNatequit (Ping timeout: 244 seconds)
20:41:07  * sgallaghquit (Remote host closed the connection)
20:41:31  * TooTallNatejoined
20:45:00  * AvianFlujoined
20:56:26  * bradleymeckquit (Quit: bradleymeck)
21:05:58  * EhevuTov_joined
21:09:27  * EhevuTovquit (Ping timeout: 260 seconds)
21:17:26  * EhevuTov_changed nick to EhevuTov
21:23:49  * txdv_joined
21:24:19  * txdvquit (Ping timeout: 252 seconds)
21:26:39  * piscisaureus_joined
21:29:36  <piscisaureus_>ola
21:31:12  * xer0xjoined
21:32:19  <indutny>ola
21:32:24  * mralephjoined
21:33:17  * mikealquit (Quit: Leaving.)
21:35:17  <indutny>mraleph: never ever use esi in testb
21:35:17  <indutny>:)
21:35:33  <mraleph>indutny: lol
21:35:48  <indutny>it'll suddenly strike and kill you
21:37:43  <mraleph>indutny: never reinvent the wheel
21:37:47  <mraleph>indutny: http://code.google.com/p/v8/source/browse/branches/bleeding_edge/src/ia32/assembler-ia32.cc#1210
21:43:58  <indutny>bytes_register?
21:44:02  <indutny>byte_register
21:44:23  <indutny>oh
21:44:23  <indutny>nice
21:44:27  <indutny>code <= 3
21:45:10  <indutny>actually, v8's asm is much more complex and full than mine
21:45:13  <indutny>but I don't care :P
21:45:25  <TooTallNate>tjfontaine: where's the MI6 code again?
21:47:53  * xer0xquit (Ping timeout: 265 seconds)
21:50:19  <MI6>joyent/node: Trent Mick v0.4 * 1f4e0c0 : build: fix gcc 4.7 sunos build gcc 4.7 doesn't understand -threads, use - http://git.io/wiA4Bg
21:50:24  <bnoordhuis>^ risen from the dead
21:51:32  <TooTallNate>bnoordhuis: do you control it?
21:52:01  * rphillipsquit (Ping timeout: 246 seconds)
21:52:02  <bnoordhuis>TooTallNate: i think so. the "brains, brains, brains" thing is kind of disconcerting though
21:52:29  <TooTallNate>hahaha
21:52:31  * rendarquit
21:52:32  * pquernaquit (Ping timeout: 255 seconds)
21:52:36  <TooTallNate>damn living dead
21:53:33  <bnoordhuis>sigh, all these memory leak reports... chances are 50/50 the bug is in the reporter's code but it always takes a long time to investigate
21:59:34  * `3rdEdenjoined
22:00:46  <piscisaureus_>there are more and more of them
22:01:12  <piscisaureus_>maybe it's time for someone to start a consultancy firm to find these problems
22:01:56  <TooTallNate>piscisaureus_: http://thenodefirm.com/ ?
22:02:05  * `3rdEdenquit (Read error: Operation timed out)
22:02:11  <piscisaureus_>yeah but do they help you with these issues
22:03:02  <piscisaureus_>there's good node people on the list
22:03:15  <piscisaureus_>but none of them really know the node code base *that* well
22:20:05  * benoitcquit (Excess Flood)
22:23:26  <indutny>piscisaureus_: BBF firm
22:23:29  <indutny>or BFB
22:23:37  <piscisaureus_>haha
22:24:04  <indutny>well, BB sounds better
22:24:10  <indutny>but it's already used
22:24:11  <piscisaureus_>agreed
22:24:26  <piscisaureus_>BB 3>
22:24:29  <piscisaureus_><3
22:27:01  * benoitcjoined
22:30:50  <isaacs>whoa, v0.4 patches?
22:30:59  <isaacs>that's crazy
22:31:14  * bradleymeckjoined
22:31:57  <piscisaureus_>who cares
22:31:59  <piscisaureus_>it's simple
22:32:13  * bradleymeckquit (Client Quit)
22:32:15  <piscisaureus_>but using 0.4, that's pretty crazy
22:33:51  <isaacs>piscisaureus_: hey, i'm on that list.
22:33:53  * bradleymeckjoined
22:33:56  <isaacs>piscisaureus_: i know the node code base pretty well
22:34:14  <piscisaureus_>isaacs: have you ever done any consoluting?
22:34:17  <isaacs>of course, i don't actually do any consulting
22:34:18  <piscisaureus_>*consulting?
22:34:26  <isaacs>but i probably will once node doesn't need to be maintained as much any more.
22:34:40  <isaacs>3 months of boring work instead of 12 months of interesting work
22:34:55  <isaacs>maybe travel, have a kid or something. i dunno.
22:36:50  <piscisaureus_>yeah
22:36:57  <piscisaureus_>I can feel it
22:37:11  <piscisaureus_>I never really considered doing consulting so far
22:37:39  <piscisaureus_>but the 3 / 12 months thing might be a worthy tradeoff :-)
22:38:03  * mjr_quit (Read error: Connection reset by peer)
22:38:26  <piscisaureus_>https://github.com/joyent/node/pull/4218 <-- <3 OSS
22:38:43  <piscisaureus_>easy but I was always too lazy to check it out :-)
22:40:35  * joshthecoderquit (Read error: Connection reset by peer)
22:42:31  * AvianFlu_joined
22:43:42  <TooTallNate>piscisaureus_: hey is BUILDING_NODE_EXTENSION still a thing? i mean node-gyp never sets it
22:43:53  <piscisaureus_>hmm
22:43:55  <piscisaureus_>I think so
22:44:05  <TooTallNate>strange...
22:44:16  <TooTallNate>i would have expected something to blow up by now
22:44:22  * piscisaureus__joined
22:44:24  * AvianFluquit (Ping timeout: 260 seconds)
22:45:00  <piscisaureus_>yeah
22:45:07  <piscisaureus_>TooTallNate: I think it works because you link with node.lib
22:45:10  <piscisaureus_>then it is not necessary
22:45:29  <piscisaureus_>although, now all compiled addons re-export all node::* methods
22:45:36  <piscisaureus_>because they are maked dllexport instead of dllimport :-)
22:45:47  <TooTallNate>piscisaureus_: so it sounds like node-gyp should set it then :p
22:46:02  <piscisaureus_>TooTallNate: or we just remove it :-)
22:46:14  <piscisaureus_>ah maybe not
22:46:18  <piscisaureus_>TooTallNate: yeah just set it
22:46:50  * piscisaureus__quit (Client Quit)
22:47:19  * AvianFlu_changed nick to AvianFlu
22:49:53  <TooTallNate>piscisaureus_: https://github.com/TooTallNate/node-gyp/commit/d38446448bd3eaa8eefe4fd57a62a6527d687719
22:50:03  <TooTallNate>piscisaureus_: thanks, that's an itch i've been meaning to scratch
22:52:40  <piscisaureus_>nice
22:56:56  <bnoordhuis>brk(0) = 0x602000
22:56:56  <bnoordhuis>brk(0x723000) = 0x723000
22:57:07  <bnoordhuis>piscisaureus_: ^ brk() on linux
22:59:36  <MI6>joyent/node: isaacs streams2 * 3e44bc2 : doc: Crypto streaming interface - http://git.io/tNTomA
23:02:21  <indutny>bnoordhuis: nonono
23:02:22  <indutny>not this
23:02:23  <indutny>please
23:02:33  <bnoordhuis>indutny: ?
23:02:38  <indutny>no brk
23:03:06  <bnoordhuis>indutny: that's glibc's doing, not mine
23:03:40  <indutny>oh
23:03:42  <indutny>you're killing me
23:03:45  <indutny>time to sleep
23:03:45  <indutny>see ya
23:04:33  <isaacs>piscisaureus_: the bad part about consulting in my experience is everythign except the work. and also, the work sucks.
23:04:48  <isaacs>piscisaureus_: so if you'er not getting paid a *lot*, it's not worth it
23:05:09  <piscisaureus_>isaacs: so what's the other sucky part? Travel? Getting paid?
23:05:37  <isaacs>piscisaureus_: setting up deals, figuring out what people want, then getting them to pay you once you've delivered it.
23:05:49  <isaacs>piscisaureus_: i didn't ever travel when i was consulting
23:06:43  <isaacs>piscisaureus_: btw, if you could start reviewing streams2, i'd like any feedback you have.
23:06:51  <isaacs>piscisaureus_: i'm starting in on lib/net.js now
23:07:04  <isaacs>only net, http, and tls remain.
23:08:02  <MI6>joyent/node: Frederico Silva master * f3b0790 : let gyp choose msvs version - http://git.io/nSIjLg
23:08:22  <piscisaureus_>shit
23:08:25  <piscisaureus_>reverting
23:08:40  <TooTallNate>piscisaureus_: what's wrong with it? I was considering it for node-gyp as well...
23:08:44  <MI6>joyent/node: J. Lee Coltrane master * 54d293d : url: make url.format escape delimiters in path and query `url.format` sh - http://git.io/V-vcHQ
23:08:49  <piscisaureus_>the guy didn't sign the cla yet :-0
23:08:53  <TooTallNate>oh, haha
23:10:44  <isaacs>piscisaureus_: wait, you didn't revert @coltrane's url.js thing, did you?
23:10:49  <isaacs>piscisaureus_: oh, i see, that's the new HEAD
23:11:15  <piscisaureus_>isaacs: do you mind if I punt on the streams2 review until tomorrow? I'm pretty damn tired now.
23:11:17  <TooTallNate>force push
23:11:40  <piscisaureus_>git push origin +HEAD~1:master
23:11:55  <TooTallNate>same diff :p
23:12:08  <TooTallNate>what's the + sign do?
23:12:21  <isaacs>piscisaureus_: of course.
23:12:26  <piscisaureus_>TooTallNate: force push
23:12:39  <isaacs>TooTallNate: the + says "I don't care what you think that thign is, make it THIS now"
23:12:44  * bradleymeckquit (Quit: bradleymeck)
23:13:40  <piscisaureus_>actually, I am so tired I am going to bed now
23:13:52  <piscisaureus_>bnoordhuis: you're coming friday?
23:14:01  <bnoordhuis>piscisaureus_: yep. let's do a presentation
23:14:05  <piscisaureus_>bnoordhuis: sure
23:14:10  <piscisaureus_>bnoordhuis: think about it
23:14:37  <piscisaureus_>ok, goodbye kids.
23:14:41  * piscisaureus_falls asleep
23:14:43  <bnoordhuis>piscisaureus_: sleep tight, bertje
23:15:37  * piscisaureus_quit (Quit: ~ Trillian Astra - www.trillian.im ~)
23:24:49  * loladiroquit (Quit: loladiro)
23:40:14  * benoitcquit (Ping timeout: 240 seconds)
23:41:57  * kazuponjoined
23:43:14  * loladirojoined
23:43:35  * mralephquit (Quit: Leaving.)
23:46:20  <bnoordhuis>sblom: 4219 mostly LGTM, sans some style issues
23:48:04  * `3rdEdenjoined
23:51:55  * AvianFluquit (Remote host closed the connection)
23:52:39  * `3rdEdenquit (Ping timeout: 260 seconds)
23:54:31  * bradleymeckjoined
23:54:46  * benoitcjoined
23:59:37  * benoitcquit (Read error: Operation timed out)