00:00:56  <TooTallNate>isaacs: so net.Socket is all stream2ey now?
00:01:11  * piscisaureus_quit (Quit: ~ Trillian Astra - www.trillian.im ~)
00:06:09  * kristatejoined
00:07:28  * loladiroquit (Quit: loladiro)
00:08:26  * ArmyOfBrucequit (Excess Flood)
00:08:55  * ArmyOfBrucejoined
00:11:06  * loladirojoined
00:13:06  * paddybyersquit (Ping timeout: 240 seconds)
00:14:33  * yunongquit (Quit: Leaving.)
00:28:33  <isaacs>TooTallNate: not quite.
00:28:42  <MI6>joyent/node: Nathan Rajlich master * 3c91a7a : readline: use a "string_decoder" to parse "keypress" events While updati (+1 more commits) - http://git.io/VqEXhg
00:28:57  <isaacs>TooTallNate: getting a weird error on test/simple/test-child-process-fork-net2.js
00:29:08  <isaacs>TooTallNate: it's kinda confusing me
00:29:28  <TooTallNate>hmmm, damn
00:29:38  <TooTallNate>do you think it's the test or net.js?
00:34:26  <isaacs>TooTallNate: it's something in net.js
00:34:39  <isaacs>TooTallNate: net.Socket's don't quite behave properly when sent over ipc
00:38:08  * dapjoined
00:39:54  * tomshredsquit (Ping timeout: 260 seconds)
00:47:55  * joshthecoderquit (Quit: Leaving...)
01:02:36  * c4miloquit (Remote host closed the connection)
01:03:13  * lohkeypart
01:03:47  * lohkey_joined
01:03:47  * lohkey_quit (Client Quit)
01:11:45  * kazuponjoined
01:15:46  <isaacs>aha. the problem is lib/child_process.js
01:15:53  <isaacs>that needs to be the next one to be stream2-ified, i guess.
01:29:20  * kazuponquit (Remote host closed the connection)
01:36:55  * abraxasjoined
01:37:24  * mikealquit (Quit: Leaving.)
01:38:15  <txdv>is that stream2 api final?
01:47:43  * c4milojoined
01:52:23  <TooTallNate>txdv: more or less…
01:52:45  <txdv>are thre any examples of it
01:55:03  * bradleymeckjoined
01:57:28  <TooTallNate>txdv: isaacs' readable-stream module, and the node "streams2" branch https://github.com/joyent/node/branches/streams2
01:57:45  <TooTallNate>https://github.com/joyent/node/tree/streams2 rather
02:02:09  * mikealjoined
02:06:24  * dapquit (Quit: Leaving.)
02:16:34  * sblomquit
02:23:32  * EhevuTovquit (Quit: This computer has gone to sleep)
02:24:19  * mikealquit (Quit: Leaving.)
02:47:16  * perezdquit (Quit: perezd)
02:54:28  * mikealjoined
02:56:42  * TooTallNatequit (Quit: Computer has gone to sleep.)
02:58:59  * mikealquit (Ping timeout: 255 seconds)
03:02:01  * mikealjoined
03:05:30  * kristat__joined
03:08:30  * kristatequit (Ping timeout: 260 seconds)
03:10:59  * bradleymeckquit (Quit: bradleymeck)
03:11:15  * kristatejoined
03:14:38  * kristat__quit (Ping timeout: 246 seconds)
03:16:01  * mikealquit (Quit: Leaving.)
03:17:04  * bentkusjoined
03:18:40  * kristat__joined
03:20:14  * kristatequit (Ping timeout: 240 seconds)
03:24:09  * kristatejoined
03:27:06  * kristat__quit (Ping timeout: 264 seconds)
03:28:56  * ericktjoined
03:30:35  * kristat__joined
03:33:31  * kristatequit (Ping timeout: 260 seconds)
03:46:11  * mikealjoined
03:46:52  * kazuponjoined
03:46:58  * kristatejoined
03:49:37  * kristat__quit (Ping timeout: 246 seconds)
03:49:39  * brsonquit (Ping timeout: 268 seconds)
03:52:05  * mikealquit (Ping timeout: 255 seconds)
03:53:06  * lohkeyjoined
03:56:19  * kristatequit (Ping timeout: 255 seconds)
03:57:16  * kristatejoined
04:18:14  * mikealjoined
04:22:01  * ericktquit (Quit: erickt)
04:27:50  * mikealquit (Ping timeout: 260 seconds)
04:28:51  * mikealjoined
04:29:48  * brsonjoined
04:30:55  * peterrsquit (Ping timeout: 260 seconds)
04:32:41  * bradleymeckjoined
04:38:42  * c4miloquit (Remote host closed the connection)
04:51:09  <MI6>joyent/libuv: Ben Noordhuis master * a320d46 : test: fix type casting style issue - http://git.io/2mYcqg
04:52:55  * travis-cijoined
04:52:55  <travis-ci>[travis-ci] joyent/libuv#850 (master - a320d46 : Ben Noordhuis): The build passed.
04:52:55  <travis-ci>[travis-ci] Change view : https://github.com/joyent/libuv/compare/7759bd63cdad...a320d464409b
04:52:55  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/libuv/builds/3092552
04:52:55  * travis-cipart
04:53:34  * bnoordhuisquit (Read error: Operation timed out)
05:09:47  * lohkeyquit (Quit: lohkey)
05:31:02  * AvianFluquit (Remote host closed the connection)
05:32:46  * bradleymeckquit (Quit: bradleymeck)
05:36:08  * mikealquit (Quit: Leaving.)
05:38:43  * joshthecoderjoined
05:40:15  * mikealjoined
05:44:56  * joshthecoderquit (Quit: Linkinus - http://linkinus.com)
05:45:05  * mikealquit (Client Quit)
05:52:43  * c4milojoined
05:58:34  * jmar777quit (Remote host closed the connection)
05:59:06  * jmar777joined
05:59:38  * btraskquit (Ping timeout: 265 seconds)
06:01:36  * btraskjoined
06:03:14  * jmar777quit (Ping timeout: 240 seconds)
06:04:47  * mikealjoined
06:05:50  * mikealquit (Client Quit)
06:28:38  * mikealjoined
06:34:21  * paddybyersjoined
06:41:01  * mikealquit (Quit: Leaving.)
06:47:36  * mikealjoined
07:01:36  * brsonquit (Quit: leaving)
07:09:00  * c4miloquit (Remote host closed the connection)
07:28:09  * rendarjoined
07:38:13  * loladiroquit (Quit: loladiro)
07:38:30  * `3rdEdenjoined
07:38:47  * loladirojoined
07:40:37  * loladiroquit (Client Quit)
07:50:41  * mikealquit (Quit: Leaving.)
08:01:10  * brsonjoined
08:11:11  * stagasjoined
08:21:34  * `3rdEdenquit (Ping timeout: 240 seconds)
08:28:26  * brsonquit (Quit: leaving)
08:36:36  * `3rdEdenjoined
08:38:17  * rendar_joined
08:40:36  * rendarquit (Ping timeout: 240 seconds)
08:41:02  * rendar_quit (Client Quit)
08:41:09  * kazuponquit (Remote host closed the connection)
08:41:46  * rendarjoined
08:54:20  * `3rdEdenquit (Remote host closed the connection)
08:54:58  * `3rdEdenjoined
08:55:20  * `3rdEdenquit (Remote host closed the connection)
08:55:57  * `3rdEdenjoined
09:14:14  * paddybyersquit (Ping timeout: 240 seconds)
09:18:37  * paddybyersjoined
09:20:00  * janjongboomjoined
09:23:01  * paddybyersquit (Ping timeout: 252 seconds)
09:43:02  * ki9ajoined
09:43:11  <ki9a>"failed to create kqueue" 24
09:43:14  <ki9a>anyone ever seen that?
09:43:24  <ki9a>i get htat on accept on osx since this morning
09:59:33  <indutny>24?
09:59:39  <indutny>what's that?
09:59:56  <ki9a>found it
10:00:00  <ki9a>too many handles
10:00:03  <indutny>ki9a: ah EMFILE
10:00:07  <indutny>EMFILE = 24
10:00:07  <ki9a>yeh
10:00:17  <ki9a>just found it
10:00:29  <ki9a>something in this app must be flooding the handles
10:03:00  * stagasquit (Quit: ChatZilla 0.9.89-rdmsoft [XULRunner 1.9.0.17/2009122204])
10:11:09  <MI6>joyent/libuv: Bert Belder v0.8 * f372fd4 : windows: map ERROR_GEN_FAILURE to UV_EIO - http://git.io/vIVt-Q
10:12:05  <MI6>joyent/libuv: Bert Belder master * 0097280 : windows: map ERROR_GEN_FAILURE to UV_EIO - http://git.io/Ut8jqw
10:12:49  * travis-cijoined
10:12:49  <travis-ci>[travis-ci] joyent/libuv#851 (v0.8 - f372fd4 : Bert Belder): The build is still failing.
10:12:49  <travis-ci>[travis-ci] Change view : https://github.com/joyent/libuv/compare/2affa60e19f6...f372fd4b13ce
10:12:49  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/libuv/builds/3094757
10:12:49  * travis-cipart
10:13:42  * rendar_joined
10:13:49  * travis-cijoined
10:13:49  <travis-ci>[travis-ci] joyent/libuv#852 (master - 0097280 : Bert Belder): The build passed.
10:13:49  <travis-ci>[travis-ci] Change view : https://github.com/joyent/libuv/compare/a320d464409b...0097280624a8
10:13:49  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/libuv/builds/3094761
10:13:49  * travis-cipart
10:16:23  * rendarquit (Ping timeout: 255 seconds)
10:58:17  * piscisaureus_joined
11:11:03  * sergimjoined
11:18:31  * abraxasquit (Remote host closed the connection)
11:18:38  * hzjoined
11:57:25  * ericktjoined
12:11:12  * rendar_changed nick to rendar
12:13:43  * jmar777joined
12:15:32  * hzquit
12:18:11  * jmar777quit (Remote host closed the connection)
12:18:44  * jmar777joined
12:23:30  * jmar777quit (Ping timeout: 264 seconds)
12:24:43  * txdv_joined
12:33:59  * ericktquit (Quit: erickt)
12:38:05  * paddybyersjoined
12:46:58  * jmar777joined
13:09:46  * jmar777quit (Remote host closed the connection)
13:10:18  * jmar777joined
13:14:34  * jmar777quit (Ping timeout: 240 seconds)
13:33:44  * jmar777joined
13:56:30  * bradleymeckjoined
14:00:17  * sgallaghjoined
14:03:18  * bradleymeckquit (Quit: bradleymeck)
14:04:58  * ki9apart
14:17:47  * c4milojoined
14:17:50  * AvianFlujoined
14:22:01  * AvianFlu_joined
14:22:23  * benoitcquit (Excess Flood)
14:23:30  * AvianFluquit (Ping timeout: 264 seconds)
14:23:41  <piscisaureus_>so
14:23:58  <piscisaureus_>anyone here knows which versions of os x support CLOCK_MONOTONIC?
14:24:01  <piscisaureus_>or not at all ?
14:27:38  <piscisaureus_>indutny: yt?
14:27:55  * bnoordhuisjoined
14:28:41  <bnoordhuis>piscisaureus_: none at all
14:28:58  <piscisaureus_>I am now looking at mach_absolute_time
14:29:05  <bnoordhuis>yes, that's the one you want
14:29:09  <piscisaureus_>but it requires this -framework CoreServices shit
14:29:20  <bnoordhuis>alas, no way around it
14:29:32  <piscisaureus_>make a syscall directly :-p
14:29:54  <piscisaureus_>also AbsoluteToNanoseconds seems to be deprecated but it's still on the apple site
14:29:57  <piscisaureus_>and libuv uses it also
14:30:28  <bnoordhuis>not anymore
14:30:37  <piscisaureus_>you changed it
14:30:47  <piscisaureus_>lemme switch to maaaaasterrrrrrrrr
14:32:42  * benoitcjoined
14:35:21  <sgallagh>bnoordhuis: I have some bad news
14:35:46  <bnoordhuis>sgallagh: you voted romney and now obama won?
14:36:20  <sgallagh>bnoordhuis: I can't fix the header file issues without a serious ABI break and a lot of rewritten code :(
14:36:28  <bnoordhuis>sgallagh: how come?
14:37:03  <sgallagh>Because you've got multiple places in the public ABI where you're including "struct ev_<something>" directly
14:37:23  <sgallagh>Which means you have to have a full definition of that structure available in the headers or the compiler can't size the struct
14:37:39  <sgallagh>It's an encapsulation mistake. Those should probably be pointers to an opaque type
14:37:50  <sgallagh>But of course that means additional memory-management
14:38:03  <bnoordhuis>yes. it was a very conscious decision :)
14:38:40  <bnoordhuis>okay, i guess it'll have to wait until i land the rm-ev work
14:39:22  <sgallagh>bnoordhuis: Well, we *could* refactor the headers so that they contain all of the struct definitions without any of the function definitions, I suppose
14:39:31  <sgallagh>(Well, split the definitions, anyway)
14:40:21  <bnoordhuis>sgallagh: with some strategically placed #ifdef UV_WANT_EV_INTERNALS, you mean?
14:41:30  <sgallagh>bnoordhuis: Well, no. I basically just mean splitting ev.h into ev-structs.h and ev-functions.h and only including the former in the uv.h header
14:42:20  <sgallagh>For compatibility elsewhere we can just have ev.h be a wrapper that includes ev-struct.s and ev-functions.h
14:42:33  <bnoordhuis>sgallagh: ah, like that. if you're up to it, go ahead but don't waste too much time on it. i'll probably land the rm-ev work this or next week
14:42:41  <bnoordhuis>(i've been saying that for some time now but this time i mean it)
14:45:10  <sgallagh>bnoordhuis: I'll dig in and see if it turns out to be easy.
14:45:19  <bnoordhuis>okay, cool
14:46:11  <bnoordhuis>piscisaureus_: question: would you consider the following scenarion legal or illegal: init a handle but don't call uv_run and don't call uv_close
14:46:27  <bnoordhuis>i added some checks in uv__loop_delete that check if the handle queue is empty
14:46:44  <bnoordhuis>which it's not in the above scenario
14:48:17  * ArmyOfBrucequit (Excess Flood)
14:49:06  * ArmyOfBrucejoined
14:51:40  <piscisaureus_>bnoordhuis: I consider that invalid
14:51:47  <piscisaureus_>bnoordhuis: the user should close all handles, period
14:52:04  <piscisaureus_>bnoordhuis: and yes it requires the user to at least once call uv_run.
14:52:25  <bnoordhuis>piscisaureus_: right, i agree. but that guy we had to let go wrote a few tests to that effect
14:52:47  <piscisaureus_>bnoordhuis: in the early days there was no story for this
14:53:02  <piscisaureus_>bnoordhuis: it was like lord of the rings, we made decisions as the plot unfolded
14:53:25  <bnoordhuis>"plot" is something of a stretch
14:53:31  <bnoordhuis>with lotr, i mean, not libuv
14:53:44  <bnoordhuis>okay, i'll go over the tests and fix them
14:53:48  * c4miloquit (Remote host closed the connection)
14:53:57  <piscisaureus_><3 bnoordhuis
14:57:34  <indutny>piscisaureus_: nope
14:58:43  <piscisaureus_>static mach_timebase_info_data_t sTimebaseInfo;
14:58:43  <piscisaureus_> time = mach_absolute_time();
14:58:43  <piscisaureus_> if (0 == sTimebaseInfo.denom) {
14:58:43  <piscisaureus_> (void)mach_timebase_info(&sTimebaseInfo);
14:58:43  <piscisaureus_> }
14:58:54  <piscisaureus_>^-- bnoordhuis: that does not look like a thread-safe construct to me
14:59:08  * kazuponjoined
14:59:10  <bnoordhuis>oh, indeed
14:59:31  <bnoordhuis>hmm, i guess that came from a patch
15:00:08  <piscisaureus_>excuses everywhere :-)
15:00:38  <bnoordhuis>not an excuse, i missed that in the review
15:01:25  * bradleymeckjoined
15:01:50  <piscisaureus_>I think it comes straight from the developer.apple.com site
15:03:13  <bnoordhuis>yeah, i think he copied it from libmicro
15:03:24  <bnoordhuis>piscisaureus_: http://fxr.watson.org/fxr/source/tools/tests/libMicro/libmicro.c?v=xnu-1699.24.8#L79
15:03:30  <piscisaureus_>see example 2 at http://developer.apple.com/library/mac/#qa/qa1398/_index.html
15:04:07  <piscisaureus_>. // Do the maths. We hope that the multiplication doesn't
15:04:07  <piscisaureus_>. // overflow; the price you pay for working in fixed point.
15:04:16  <piscisaureus_>^-- srsly, that's all they could come up with :-(
15:04:38  <bnoordhuis>haha
15:05:05  <piscisaureus_>on windows I do "128-bit" math to defeat this problem
15:06:10  <bnoordhuis>hm, there's more than one bug in that uv_hrtime() implementation
15:06:38  <bnoordhuis>for starters, numer and denom are 32 bits
15:06:50  <bnoordhuis>fortunately, there's a uint64_t in the calculation
15:07:04  * AvianFlu_changed nick to AvianFlu
15:07:14  <bnoordhuis>piscisaureus_: are you on os x right now?
15:07:19  <piscisaureus_>I am not
15:07:37  <bnoordhuis>i'll fire up my macbook then
15:07:38  <piscisaureus_>I could reboot if you really cared
15:07:44  <piscisaureus_>much better :-)
15:07:59  <piscisaureus_>never ask that again. you have a macbook now :-)
15:08:28  <bnoordhuis>heh yeah, but i hardly use it
15:08:37  * bnoordhu1sjoined
15:16:34  * dapjoined
15:18:58  <MI6>joyent/libuv: Ben Noordhuis master * b45a363 : test: fix compiler warning Fix the following warning by not using a stat (+1 more commits) - http://git.io/20hbqg
15:20:21  <MI6>joyent/libuv: Ben Noordhuis master * 91faa3e : test: fix compiler warning Fix the following warning by not using a stat (+1 more commits) - http://git.io/0Sz4Dg
15:20:43  * travis-cijoined
15:20:43  <travis-ci>[travis-ci] joyent/libuv#853 (master - b45a363 : Ben Noordhuis): The build passed.
15:20:43  <travis-ci>[travis-ci] Change view : https://github.com/joyent/libuv/compare/0097280624a8...b45a36375791
15:20:43  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/libuv/builds/3097575
15:20:43  * travis-cipart
15:25:05  * bnoordhu1squit (Ping timeout: 255 seconds)
15:30:54  * dapquit (Quit: Leaving.)
15:32:04  <sgallagh>bnoordhuis: Turned out to be less trouble than I expected. Some nice person in the past already had a macro conditional around the prototypes :) https://github.com/joyent/libuv/pull/616
15:35:48  <bnoordhuis>sgallagh: lgtm. a lot of tests are failing though
15:35:55  <sgallagh>hmm?
15:36:09  * dapjoined
15:36:34  <sgallagh>The ones that ran on compile worked for me, I guess I didn't realize there were others to hit
15:36:54  <bnoordhuis>sgallagh: if you build with gyp, there's a run-tests binary in out/{Debug,Release}
15:37:23  <bnoordhuis>apparently the pointer to the ev_loop struct is invalid
15:37:34  <sgallagh>ok, I'll take a look
15:37:46  <sgallagh>Unless you already have a solution :)
15:38:06  <indutny>bnoordhuis: my patch?
15:38:08  <indutny>no
15:38:20  <bnoordhuis>sgallagh: i'll take a peek, it's probably something trivial
15:38:24  <sgallagh>ok, thanks
15:42:22  * loladirojoined
15:44:53  * c4milojoined
15:45:12  * peterrsjoined
15:51:26  * bnoordhu1sjoined
15:52:30  <bnoordhuis>^ that's from my macbook that's supposed to be off...
15:53:02  <bnoordhuis>sgallagh: you were missing an #include "ev-proto.h" in src/unix/internal.h
15:53:29  <bnoordhuis>so it defaulted to e.g. ev_invoke_pending(int) instead of ev_invoke_pending(ev_loop*)
15:53:31  * TheJHjoined
15:53:46  <piscisaureus_>I wonder when nodejitsu is going to finally turn off my smartmachine :-)
15:53:48  <bnoordhuis>did you test it on a 32 bits machine?
15:54:29  <sgallagh>bnoordhuis: No, 64-bit
15:54:57  <bnoordhuis>sgallagh: okay, then the tests should crash for you too :)
15:55:35  <sgallagh>they did
15:55:45  <sgallagh>I'll make that change and resubmit in a few minutes
15:56:17  <MI6>joyent/libuv: Ben Noordhuis master * d56434a : build: support building a .so You can now select to build a shared objec (+1 more commits) - http://git.io/ta6Djg
15:56:18  <bnoordhuis>sgallagh: ^
15:56:57  <sgallagh>Ah, great :)
15:58:11  * travis-cijoined
15:58:11  <travis-ci>[travis-ci] joyent/libuv#855 (master - d56434a : Ben Noordhuis): The build passed.
15:58:11  <travis-ci>[travis-ci] Change view : https://github.com/joyent/libuv/compare/91faa3e68848...d56434a21d9e
15:58:11  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/libuv/builds/3098173
15:58:11  * travis-cipart
15:58:17  <bnoordhuis>okay, off to pick up my daughter. biab
15:59:28  * AvianFlu_joined
15:59:38  * bnoordhu1squit (Ping timeout: 246 seconds)
16:00:25  * AvianFluquit (Disconnected by services)
16:00:37  * AvianFlu_changed nick to AvianFlu
16:03:10  * loladiroquit (Quit: loladiro)
16:09:06  * AvianFlu_joined
16:10:18  * AvianFluquit (Disconnected by services)
16:10:23  * AvianFlu_changed nick to AvianFlu
16:11:18  * sgallaghchanged nick to sgallagh_afk
16:11:37  * `3rdEdenchanged nick to `3rdEden|FOODING
16:18:36  * AvianFlu_joined
16:18:51  * AvianFluquit (Disconnected by services)
16:18:53  * AvianFlu_changed nick to AvianFlu
16:24:11  * paddybyersquit (Ping timeout: 245 seconds)
16:26:51  * jmar777quit (Remote host closed the connection)
16:27:24  * jmar777joined
16:27:54  * AvianFlu_joined
16:29:02  * AvianFluquit (Disconnected by services)
16:29:06  * AvianFlu_changed nick to AvianFlu
16:31:16  * piscisaureus_quit (Quit: ~ Trillian Astra - www.trillian.im ~)
16:31:34  * jmar777quit (Ping timeout: 240 seconds)
16:40:27  * sgallagh_afkquit (Remote host closed the connection)
16:47:20  * piscisaureus_joined
16:50:54  * hzjoined
16:55:32  * `3rdEden|FOODINGquit (Ping timeout: 255 seconds)
16:55:51  * ki9ajoined
17:05:36  * c4miloquit (Remote host closed the connection)
17:06:31  * c4milojoined
17:06:35  * c4miloquit (Remote host closed the connection)
17:08:10  * c4milojoined
17:08:10  * c4miloquit (Remote host closed the connection)
17:12:35  * c4milojoined
17:25:14  * bradleymeckquit (Quit: bradleymeck)
17:31:41  * piscisaureus_quit (Quit: ~ Trillian Astra - www.trillian.im ~)
17:32:35  * joshthecoderjoined
17:48:47  * jkridnerjoined
18:07:54  * sergimquit (Quit: Computer has gone to sleep.)
18:13:32  * perezdjoined
18:17:16  * mikealjoined
18:18:49  * mikealquit (Client Quit)
18:21:33  * paddybyersjoined
18:23:54  * mikealjoined
18:25:39  * janjongboomquit (Quit: janjongboom)
18:27:36  * paddybyersquit (Ping timeout: 240 seconds)
18:30:55  * janjongboomjoined
18:31:06  * TooTallNatejoined
18:41:03  * janjongboomquit (Quit: janjongboom)
18:41:17  * paddybyersjoined
18:46:54  * loladirojoined
18:47:15  * mikealquit (Quit: Leaving.)
18:47:32  * mikealjoined
18:52:40  * sergimjoined
18:58:55  * brsonjoined
19:17:06  * peterrsquit (Ping timeout: 240 seconds)
19:20:40  <isaacs>bnoordhuis: you around?
19:21:25  <isaacs>bnoordhuis: i think i'm getting confused about the child process ipc ref'ing logic.
19:23:01  * mikealquit (Quit: Leaving.)
19:28:27  * brsonquit (Remote host closed the connection)
19:28:55  * ki9apart
19:30:49  * brsonjoined
19:33:12  * mikealjoined
19:35:34  * EhevuTovjoined
19:37:10  * kazuponquit (Remote host closed the connection)
19:40:22  <indutny>isaacs: wanna discuss?
19:42:07  <isaacs>indutny: hey
19:42:14  <isaacs>indutny: yeha, you were all over that code, too
19:42:19  <indutny>sure
19:42:24  <isaacs>indutny: so, when we do process.on('message'), it refs the channel
19:42:35  <isaacs>indutny: but the process should still die normally when there's no other things, right?
19:42:42  <isaacs>or should it wait for the parent to close it?
19:43:11  <isaacs>i'm seeing the channel in process._getActiveHandles()
19:43:51  <indutny>hm...
19:44:01  <indutny>I don't think that process.on('message') refs anything...
19:44:14  <indutny>why do you think so?
19:44:36  <indutny>I think there is a bug about channel refing process
19:44:59  <indutny>https://github.com/joyent/node/issues/3493
19:45:16  <isaacs>lib/child_process.js
19:45:17  <indutny>well, not exactly this
19:45:17  <isaacs> process.on('newListener', function(name) {
19:45:17  <isaacs> if (name !== 'message' && name !== 'disconnect') return;
19:45:17  <isaacs> if (++refs === 1) p.ref();
19:45:17  <isaacs> });
19:45:31  <indutny>aaah
19:45:33  <indutny>in master
19:45:35  <indutny>right
19:45:36  <isaacs>yeah
19:45:41  <indutny>sorry, I was in 0.8.14 checkout
19:45:46  <isaacs>but https://github.com/joyent/node/blob/master/test/simple/test-child-process-fork-net2.js works
19:45:52  <isaacs>and doesn't hang open
19:45:59  <isaacs>so when the sockets close, the child disconnects normally
19:46:23  <isaacs>also, allowHalfOpen and close/shutdown/end/disconect/destroy logic is all very complicated.
19:46:36  <isaacs>i think i need to draw something
19:46:40  <indutny>yeah
19:46:48  <indutny>this will better explain your thoughts to me
19:47:35  <indutny>isaacs: that test doesn't hang because parent kills children
19:48:11  <isaacs>oh, right
19:48:12  <isaacs>ok
19:48:16  <isaacs>i've gotta run.
19:48:19  <indutny>np
19:48:22  <indutny>ttyl
19:48:24  <isaacs>it's definitely the lack of socket closing that's wrong here.
19:48:29  <isaacs>i'll be back in 2 hours
19:50:21  * peterrsjoined
19:51:45  * bradleymeckjoined
19:53:49  * EhevuTovquit (Quit: This computer has gone to sleep)
19:54:17  * EhevuTovjoined
19:57:25  * paddybyersquit (Ping timeout: 252 seconds)
19:59:21  * bradleymeckquit (Quit: bradleymeck)
20:02:33  * bradleymeckjoined
20:04:07  * bradleymeck_joined
20:04:11  * EhevuTovquit (Quit: This computer has gone to sleep)
20:05:14  * bradleymeck_quit (Read error: Connection reset by peer)
20:05:43  * bradleymeck_joined
20:06:13  * loladiroquit (Quit: loladiro)
20:06:43  * bradleymeckquit (Ping timeout: 246 seconds)
20:06:43  * bradleymeck_changed nick to bradleymeck
20:07:32  * kazuponjoined
20:08:59  * EhevuTovjoined
20:15:45  * kazuponquit (Ping timeout: 252 seconds)
20:22:53  * paddybyersjoined
20:28:42  * TheJHquit (Remote host closed the connection)
20:30:17  * mikealquit (Quit: Leaving.)
20:42:27  * kazuponjoined
20:45:18  * mikealjoined
20:45:37  * EhevuTov_joined
20:46:31  * mikealquit (Client Quit)
20:48:45  * EhevuTovquit (Ping timeout: 252 seconds)
20:51:54  * kazuponquit (Ping timeout: 255 seconds)
21:02:07  * EhevuTov_quit (Quit: This computer has gone to sleep)
21:02:11  * loladirojoined
21:02:56  * loladiroquit (Client Quit)
21:04:09  * sergimquit (Quit: Computer has gone to sleep.)
21:04:52  * bitprobejoined
21:05:46  * AvianFlu_joined
21:06:16  * AvianFluquit (Disconnected by services)
21:06:21  * AvianFlu_changed nick to AvianFlu
21:11:32  * sergimjoined
21:12:40  * stagasjoined
21:12:52  * AvianFlu_joined
21:14:54  * AvianFluquit (Ping timeout: 240 seconds)
21:15:05  * AvianFlu_changed nick to AvianFlu
21:16:40  * mikealjoined
21:18:26  * kazuponjoined
21:19:57  * AvianFlu_joined
21:22:02  * loladirojoined
21:22:13  * loladiroquit (Client Quit)
21:22:18  * AvianFluquit (Ping timeout: 264 seconds)
21:27:39  * kazuponquit (Ping timeout: 256 seconds)
21:28:06  * stagasquit (Ping timeout: 265 seconds)
21:29:24  * mikealquit (Ping timeout: 248 seconds)
21:30:06  * sergimquit (Quit: Computer has gone to sleep.)
21:34:14  * AvianFlu_changed nick to AvianFlu
21:34:54  * loladirojoined
21:54:39  * kazuponjoined
22:01:14  * bradleymeckquit (Quit: bradleymeck)
22:03:07  * kristat__joined
22:04:04  * perezd_joined
22:05:02  * mikealjoined
22:06:01  * bentkus_joined
22:07:12  * kristatequit (Ping timeout: 276 seconds)
22:08:11  * perezdquit (Read error: Connection reset by peer)
22:08:11  * kazuponquit (Ping timeout: 264 seconds)
22:08:11  * kohaiquit (Ping timeout: 264 seconds)
22:08:11  * bentkusquit (Ping timeout: 264 seconds)
22:08:12  * wavdedquit (Ping timeout: 264 seconds)
22:08:12  * perezd_changed nick to perezd
22:09:11  * wavdedjoined
22:09:46  * kristatejoined
22:09:53  * rendarquit
22:12:46  * kristat__quit (Ping timeout: 260 seconds)
22:16:23  * kristat__joined
22:18:56  * kristatequit (Ping timeout: 252 seconds)
22:28:51  * c4miloquit (Remote host closed the connection)
22:29:37  * isaacsback
22:30:58  * kazuponjoined
22:33:44  * kristatejoined
22:34:30  * wavdedchanged nick to wavded_
22:36:29  * kristat__quit (Ping timeout: 246 seconds)
22:38:13  * hzquit
22:38:51  * mikealquit (Quit: Leaving.)
22:41:02  * kazuponquit (Ping timeout: 246 seconds)
22:42:44  * kristat__joined
22:43:05  * kristatequit (Ping timeout: 255 seconds)
22:46:06  * kristatejoined
22:49:05  * kristat__quit (Ping timeout: 246 seconds)
22:49:32  * stagasjoined
22:51:39  * kristat__joined
22:55:14  * kristatequit (Ping timeout: 240 seconds)
22:58:01  * kristatejoined
23:01:18  * kristat__quit (Ping timeout: 260 seconds)
23:07:19  * kazuponjoined
23:08:06  * ericktjoined
23:10:32  * kristat__joined
23:13:14  * kristatequit (Ping timeout: 246 seconds)
23:13:40  * AvianFlu_joined
23:14:30  <creationix>hmm, I think bert was right about the kqueue trick not working in node-webkit
23:14:37  * bitprobequit (Quit: Textual IRC Client: http://www.textualapp.com/)
23:14:38  <creationix>now I'm getting 1second per uv event
23:14:50  * AvianFluquit (Disconnected by services)
23:14:52  <creationix>but it's super fast on linux :)
23:14:54  * AvianFlu_changed nick to AvianFlu
23:15:36  <indutny>creationix: haha
23:15:39  <indutny>creationix: it needs uv_wait()
23:15:47  <indutny>creationix: btw, what kqueue trick are they doing?
23:15:53  * kristatejoined
23:16:39  * mikealjoined
23:16:55  <indutny>ok, time to sleep
23:17:03  <creationix>indutny: https://groups.google.com/d/topic/node-webkit/ipK_EHQzlQ4/discussion
23:17:36  * kazuponquit (Ping timeout: 240 seconds)
23:17:51  <creationix>indutny: https://github.com/rogerwang/node-webkit/issues/82
23:18:34  * kristat__quit (Ping timeout: 240 seconds)
23:19:22  * AvianFlu_joined
23:19:37  * AvianFluquit (Disconnected by services)
23:19:38  * AvianFlu_changed nick to AvianFlu
23:20:02  <bnoordhuis>isaacs: here
23:20:24  <bnoordhuis>seems you and indutny figured it out?
23:21:02  <isaacs>bnoordhuis: well, i wrote a simpler test.
23:21:18  <isaacs>and it seems like it's clearly just Yet Another TCP Fucking Annoying Over Complicated Thing
23:21:26  <isaacs>YATFAOCT
23:21:32  <isaacs>need to work on that acronym a bit.
23:21:34  <isaacs>:)
23:21:39  <bnoordhuis>heh
23:21:46  * c4milojoined
23:21:47  <isaacs>need to write out a flow chart.
23:22:06  <isaacs>everything works properly if the client calls socket.end(), but if the server calls socket.end() it doesn't die properly
23:22:26  * kristat__joined
23:22:36  * loladiroquit (Quit: loladiro)
23:22:46  <isaacs>leaves the readable side hanging open, even though i'm clearly destroying it. so... yeah. just need to figure out why that is.
23:22:55  <isaacs>i'm not destrying it hard enough, i guess.
23:23:11  <isaacs>it only shows up in the IPC tests by coincidence.
23:23:18  <isaacs>IPC itself is actually working fine.
23:23:46  <isaacs>it's cold and grey at this cafe, though, so i'm going to head back home.
23:23:49  <isaacs>bbiab
23:23:59  * brsonquit (Ping timeout: 260 seconds)
23:24:13  <isaacs>er, leaves the writable side hanging open
23:25:08  * kristatequit (Ping timeout: 246 seconds)
23:25:23  * AvianFlu_joined
23:25:51  * brsonjoined
23:27:34  * AvianFluquit (Ping timeout: 240 seconds)
23:28:27  * AvianFlujoined
23:28:33  * stagasquit (Ping timeout: 255 seconds)
23:28:55  * AvianFlu_quit (Disconnected by services)
23:28:57  * mikealquit (Quit: Leaving.)
23:31:43  * AvianFlu_joined
23:31:55  * AvianFluquit (Disconnected by services)
23:31:58  * AvianFlu_changed nick to AvianFlu
23:37:42  * AvianFlu_joined
23:37:53  * AvianFluquit (Read error: Connection reset by peer)
23:38:26  * AvianFlu_changed nick to AvianFlu
23:39:35  * loladirojoined
23:43:51  * kazuponjoined
23:45:11  * kristatejoined
23:47:00  * kristat__quit (Ping timeout: 248 seconds)
23:50:54  * loladiroquit (Quit: loladiro)
23:53:17  * kazuponquit (Ping timeout: 256 seconds)
23:57:10  * loladirojoined
23:58:16  * loladiroquit (Client Quit)
23:58:20  * ericktquit (Quit: erickt)