00:01:54  * mikealquit (Quit: Leaving.)
00:02:24  * mikealjoined
00:04:37  * ArmyOfBrucequit (Excess Flood)
00:05:05  * ArmyOfBrucejoined
00:07:22  * loladirojoined
00:07:36  * AvianFluquit (Remote host closed the connection)
00:29:03  <isaacs>indutny: honestly, at the moment, the idea of going to anywhere sounds not very fun
00:29:13  <isaacs>indutny: next two trips are to LA and Cancun
00:29:26  <isaacs>indutny: LA for family xmas, but cancun just for beach and sun :)
00:45:45  * kristatejoined
00:51:08  * AvianFlujoined
00:56:54  <indutny>:)
00:56:55  <indutny>ok, np
01:11:11  <isaacs>did we have unref() and ref() for timers and interval handles?
01:29:26  * brsonquit (Quit: leaving)
01:53:54  * xakaquit (Ping timeout: 255 seconds)
01:54:22  * c4miloquit (Remote host closed the connection)
01:54:48  * c4milojoined
01:59:12  * c4miloquit (Ping timeout: 246 seconds)
02:02:04  * loladiroquit (Quit: loladiro)
02:10:10  * loladirojoined
02:19:51  * loladiroquit (Quit: loladiro)
02:31:57  * loladirojoined
02:34:01  * benoitcquit (Excess Flood)
02:35:57  * benoitcjoined
02:38:23  * lohkeypart
02:40:09  * c4milojoined
02:47:51  * dap1quit (Quit: Leaving.)
02:56:15  <bnoordhuis>isaacs: no, they're new
02:56:18  <bnoordhuis>newish
02:56:35  <bnoordhuis>isaacs: i'll write that blog post tomorrow, it's 4 am here
02:56:44  <bnoordhuis>for now, i'm off to bed
03:03:36  * bnoordhuisquit (Ping timeout: 246 seconds)
03:04:07  * TooTallNatequit (Quit: Computer has gone to sleep.)
03:21:51  * brsonjoined
03:26:13  * brsonquit (Ping timeout: 248 seconds)
03:26:55  * brsonjoined
03:43:25  * c4milo_joined
03:48:07  * c4milo_quit (Ping timeout: 260 seconds)
03:50:19  * xakajoined
03:50:29  * c4miloquit (Remote host closed the connection)
04:00:40  * kazuponjoined
04:08:12  * dapjoined
04:10:47  * TooTallNatejoined
04:13:53  * c4milojoined
04:24:49  * stagasquit (Ping timeout: 260 seconds)
04:32:30  <MI6>joyent/node: isaacs streams2-net-perf-wip * f1b7b16 : streams2: Handle pipeChunkSize properly (+1 more commits) - http://git.io/qoJwtQ
04:34:21  * TooTallNatequit (Quit: ["Textual IRC Client: www.textualapp.com"])
04:45:43  <MI6>joyent/node: isaacs streams2-net-perf-wip * 64f454c : streams2: Remove pipe if the dest emits error - http://git.io/ArLqkw
04:55:55  * omejoined
05:20:21  * c4miloquit (Remote host closed the connection)
05:20:28  * omequit (Quit: WeeChat 0.3.8)
05:33:51  * omejoined
05:34:01  <ome>Is it a good idea to write a wrapper around the libuv instead of using it directly within a C++ project?
05:35:09  * stagasjoined
05:37:23  * kazupon_joined
05:41:00  * kazuponquit (Ping timeout: 264 seconds)
05:42:58  * AvianFluquit (Remote host closed the connection)
06:06:11  * dapquit (Quit: Leaving.)
06:09:31  * _xaka_joined
06:09:31  * xakaquit (Read error: Connection reset by peer)
06:09:45  <MI6>joyent/node: isaacs streams2-net-perf-wip * cbbc85b : streams2: Unpipe on dest.emit('close') - http://git.io/9qe1gQ
06:18:22  * kazuponjoined
06:21:38  * kazupon_quit (Ping timeout: 252 seconds)
06:24:59  * omepart ("dead.")
06:28:59  * brson_joined
06:31:19  * brsonquit (Ping timeout: 260 seconds)
07:17:22  * _xaka_quit (Ping timeout: 244 seconds)
07:40:15  * Raltquit (Remote host closed the connection)
07:47:17  * rendarjoined
08:00:56  * DrPizzaquit (Ping timeout: 255 seconds)
08:02:32  * DrPizzajoined
08:02:49  * `3rdEdenjoined
08:05:56  <saghul>hum, I am I the only one seeing lots of failed tests on osx?
08:06:48  <saghul>more precisely, everything that runs on the threadpool seems to fail
08:06:56  * kazuponquit (Remote host closed the connection)
08:11:36  * Raltjoined
08:41:45  * omejoined
08:42:03  <ome>Hello people
08:42:23  <ome>Considering that most of Node.js and V8 is written in C++, why is that libuv is written in C?
08:45:16  * piscisaureus_joined
08:45:35  <piscisaureus_>ircretary: tell bnoordhuis Vote!
08:45:35  <ircretary>piscisaureus_: I'll be sure to tell bnoordhuis
08:45:44  <piscisaureus_>indutny: you too.
08:50:23  * piscisaureus_quit (Ping timeout: 252 seconds)
09:02:17  * c4milojoined
09:06:30  * c4miloquit (Ping timeout: 246 seconds)
09:48:17  * brson_quit (Quit: leaving)
09:57:55  * loladiroquit (Quit: loladiro)
10:40:27  * omequit (Read error: Operation timed out)
11:00:04  * skebciojoined
11:00:43  <skebcio>hi -- has anyone here tried to compile libuv on QNX (alias neutrino) ?
11:14:29  <indutny>morning
11:14:35  <indutny>not me
11:14:55  <indutny>oh, it still exists :)
11:14:56  <indutny>nice
11:17:31  <saghul>indutny you are usually on OSX, right?
11:17:36  <indutny>yes
11:17:42  <saghul>does the test suite pass for you?
11:17:43  <indutny>almost always
11:17:50  <indutny>haven't run it for weeks
11:17:55  <indutny>seen your issue
11:18:00  <indutny>I'll probably look into it today
11:18:07  <saghul>great, thanks :-)
11:18:31  <saghul>i have 10.6 around here, I just wanted to confirm if it happens with a newer OSX or something
11:20:37  <indutny>ok
11:20:39  <indutny>I've 10.8
11:22:17  <saghul>awesome, also please check that comment i left about uv__new_artificial..., when you can :-)
11:24:21  <indutny>yeeeah
11:24:23  <indutny>ok
11:31:22  * abraxasquit (Remote host closed the connection)
11:32:23  * abraxasjoined
11:33:12  * bnoordhuisjoined
11:37:34  * abraxasquit (Ping timeout: 260 seconds)
11:46:14  * indexzerojoined
11:53:10  * c4milojoined
11:54:42  * stagasquit (Ping timeout: 264 seconds)
13:14:52  * kazuponjoined
13:45:41  * sj26quit (Read error: Operation timed out)
13:46:23  * russell_hquit (Ping timeout: 245 seconds)
13:47:38  * LOUDBOTquit (Ping timeout: 245 seconds)
13:49:16  * sj26joined
13:51:24  * bradleymeckjoined
13:52:45  * russell_hjoined
13:54:44  * bradleymeckquit (Client Quit)
14:15:36  * kazuponquit (Remote host closed the connection)
14:23:58  <indutny>hoya
14:24:19  <MI6>joyent/libuv: Ben Noordhuis master * 3a30258 : windows: fix uv_backend_fd() return value uv__new_artificial_error() ret - http://git.io/Xz6Rdw
14:24:57  <indutny>bnoordhuis: just patched this in my branch
14:25:01  <indutny>bnoordhuis: :)
14:25:12  * bnoordhuisis always one step ahead
14:25:15  <indutny>bnoordhuis: btw, we should probably do this for timeout too
14:25:22  <indutny>bnoordhuis: looking at osx threadpool problems right now
14:25:28  <indutny>bnoordhuis: are you going to do the same? :)
14:25:36  <bnoordhuis>well, i was planning to
14:25:43  <bnoordhuis>but i don't mind reading HN instead
14:25:55  <indutny>yeah
14:25:58  <indutny>better do this
14:26:09  <bnoordhuis>i suspect i know what's causing it though
14:26:11  * travis-cijoined
14:26:11  <travis-ci>[travis-ci] joyent/libuv#901 (master - 3a30258 : Ben Noordhuis): The build was broken.
14:26:11  <travis-ci>[travis-ci] Change view : https://github.com/joyent/libuv/compare/df1399fa758e...3a3025861673
14:26:11  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/libuv/builds/3417939
14:26:11  * travis-cipart
14:26:25  <bnoordhuis>^ i bet it's that consumer/producer test again
14:26:29  <indutny>oh nice
14:26:38  <indutny>bnoordhuis: you're not initializing mutex
14:26:42  <indutny>in unix/threadpool.c
14:27:00  <indutny>static mutex
14:27:05  <bnoordhuis>yeah
14:27:25  <bnoordhuis>i forgot when i rewrote it from pthreads code to uv wrappers
14:27:30  <bnoordhuis>it just happens to work on linux :)
14:27:34  <indutny>also
14:27:44  <indutny>init_once can be called more than once
14:27:46  <indutny>is it expected?
14:27:57  <indutny>I suppose no
14:28:05  <indutny>want me fix it?
14:28:16  <bnoordhuis>what do you mean?
14:29:05  <indutny>done
14:30:08  <indutny>bnoordhuis: https://github.com/joyent/libuv/pull/638
14:30:22  <bnoordhuis>oh, i was just working on it :)
14:30:29  <indutny>haha
14:30:32  <indutny>I was first
14:31:05  <bnoordhuis>there's a bug in your PR
14:31:14  <bnoordhuis>init_once is protected by a uv_once_t
14:32:42  <indutny>ah
14:32:44  <indutny>ok
14:32:50  <indutny>that's what I was asking you about
14:33:03  <bnoordhuis>also... you should check the return values of uv_mutex_init and uv_cond_init
14:33:05  <indutny>haven't really used uv_once
14:33:07  <indutny>oh
14:33:09  <indutny>shit
14:33:10  <indutny>right
14:33:11  <indutny>ok
14:33:14  <indutny>I'll fix it in a bit
14:33:17  <bnoordhuis>never mind, i have a patch ready
14:33:54  <indutny>haha
14:33:58  <indutny>bnoordhuis: you bastard
14:34:03  <bnoordhuis>haha
14:35:48  * indutnygoes reading HN
14:36:48  <MI6>joyent/libuv: Ben Noordhuis master * 2be240d : unix: initialize thread pool mutex and condvar It accidentally worked be - http://git.io/vpObew
14:38:31  * travis-cijoined
14:38:31  <travis-ci>[travis-ci] joyent/libuv#904 (master - 2be240d : Ben Noordhuis): The build was fixed.
14:38:31  <travis-ci>[travis-ci] Change view : https://github.com/joyent/libuv/compare/3a3025861673...2be240d3cd93
14:38:31  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/libuv/builds/3418103
14:38:31  * travis-cipart
14:40:42  <MI6>joyent/libuv: Shigeki Ohtsu master * fa11db9 : test: fix finished consumer number check - http://git.io/G7XAXA
14:41:31  * kazuponjoined
14:42:26  * travis-cijoined
14:42:26  <travis-ci>[travis-ci] joyent/libuv#905 (master - fa11db9 : Shigeki Ohtsu): The build passed.
14:42:26  <travis-ci>[travis-ci] Change view : https://github.com/joyent/libuv/compare/2be240d3cd93...fa11db905a01
14:42:26  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/libuv/builds/3418188
14:42:26  * travis-cipart
14:51:37  * stagasjoined
15:20:41  * warzjoined
15:20:41  * warzquit (Changing host)
15:20:41  * warzjoined
15:28:44  * hzjoined
15:31:26  * AvianFlujoined
15:44:00  * bradleymeckjoined
15:50:57  <isaacs>call in 10 minutes
15:51:07  <isaacs>indutny, bnoordhuis
15:51:18  <bnoordhuis>isaacs: yep
15:51:23  <isaacs>looks like sblom and tootallnate are not here yet
15:51:28  <isaacs>it's early in CA :)
15:52:19  * TooTallNatejoined
15:54:26  * benoitcquit (Excess Flood)
15:54:31  <MI6>joyent/libuv: Ben Noordhuis master * 99a8d4a : unix: remove unnecessary static var init wq doesn't have to be initializ - http://git.io/dEL3aQ
15:56:24  * travis-cijoined
15:56:24  <travis-ci>[travis-ci] joyent/libuv#906 (master - 99a8d4a : Ben Noordhuis): The build passed.
15:56:24  <travis-ci>[travis-ci] Change view : https://github.com/joyent/libuv/compare/fa11db905a01...99a8d4a8c2ab
15:56:24  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/libuv/builds/3419205
15:56:24  * travis-cipart
15:59:04  * benoitcjoined
16:00:06  * jmar777joined
16:03:58  <isaacs>bnoordhuis: skype
16:04:30  <bnoordhuis>isaacs: it's busy logging in
16:04:36  <isaacs>kewl
16:05:47  <bnoordhuis>isaacs: can you add me? i should be visible
16:16:57  * `3rdEdenchanged nick to `3E|COOKING
16:18:22  <saghul>bnoordhuis pl ping me when you are done with the call
16:18:30  <bnoordhuis>saghul: ping
16:18:38  <saghul>that was quick
16:18:57  <bnoordhuis>my girlfriend always says the same thing :/
16:18:58  <saghul>while working on the windows side of things I realized there is a bug in the unix side
16:19:02  <saghul>xD
16:19:15  <saghul>so, because we use a do while
16:19:32  <saghul>the idle, check and prepare handles will be executed even if they were unref'd
16:19:49  <saghul>the rest suite doesn't catch it because on unix the callback is allowed to be NULL
16:20:22  <saghul>https://github.com/joyent/libuv/blob/master/src/unix/loop-watcher.c#L52
16:20:23  <bnoordhuis>re idle, check and prepare handles running, is that a bug?
16:20:28  <saghul>yes
16:20:34  <saghul>test-ref should catch it
16:20:43  <bnoordhuis>them running seems sensible enough to me
16:20:57  <bnoordhuis>prepare and check are supposed to run before and after entering the inner poll
16:21:03  <saghul>yes, but look
16:21:20  <saghul>https://github.com/joyent/libuv/blob/master/test/test-ref.c#L104
16:21:43  <saghul>if the callback is not NULL, lets say you put a callback that just asserts, it will be called
16:21:49  <saghul>and looks to me like it shouldn't
16:22:53  <bnoordhuis>hm, you could argue either way
16:23:09  <bnoordhuis>but that's not what idle_ref is testing
16:23:22  <bnoordhuis>it just tests if a deref'd idle handle keeps the event loop alive (it shouldn't)
16:23:49  <saghul>yes, but if there a single handle, should the loop run at all?
16:24:04  <bnoordhuis>single handle being that unref'd idle handle?
16:24:20  <saghul>yes
16:24:27  <saghul>or check or prepare
16:24:55  <bnoordhuis>hm, i guess no
16:25:00  <bnoordhuis>if it was ref'd, yes
16:25:03  <bnoordhuis>but unref'd, no
16:25:13  <saghul>ok, then we do have a bug
16:25:28  <saghul>question 2 then :-)
16:25:37  <saghul>is NULL a valid callback?
16:25:43  <saghul>for Windows it isn't
16:25:43  <bnoordhuis>well...
16:25:57  <bnoordhuis>unix and windows have discrepancies in that respect
16:26:16  <saghul>:-)
16:26:36  <saghul>ok, I can modify thet-ref to force it to fail then, with a dummy callback that asserts
16:26:38  <bnoordhuis>i'm leaning more and more towards never allowing NULL cbs except for uv_close()
16:26:58  <saghul>agreed
16:27:11  <indutny>+1
16:27:15  <indutny>sorry, missed call
16:27:18  <saghul>here is how I made uv_run on Windows with the flags and stuff: https://github.com/joyent/libuv/pull/535/files#L2R264
16:27:43  <saghul>I plan to submit a PR changing the unix one to do it similarly
16:27:54  <saghul>that is, change it to a while instead of a do-while
16:28:21  <bnoordhuis>yes, that seems sensible
16:28:36  * kazuponquit (Remote host closed the connection)
16:31:30  <saghul>bnoordhuis ok, I'll submit that once uv_run2 is in :-)
16:35:30  * LOUDBOTjoined
16:37:00  * sblomjoined
16:39:52  * LOUDBOTquit (Remote host closed the connection)
16:40:21  * LOUDBOTjoined
16:44:44  * indexzeroquit (Quit: indexzero)
16:58:40  * mmaleckichanged nick to mmalecki[food]
17:08:22  * xakajoined
17:10:30  * dapjoined
17:10:38  * ryahquit (*.net *.split)
17:10:47  * ryahjoined
17:12:30  * c4miloquit (Remote host closed the connection)
17:13:19  * warz_joined
17:18:15  * warzquit (Ping timeout: 250 seconds)
17:44:50  * loladirojoined
17:45:03  * loladiroquit (Client Quit)
17:56:43  * jmar777quit (Remote host closed the connection)
18:09:15  * loladirojoined
18:38:59  * hzquit (Read error: Connection reset by peer)
18:41:00  * sblomquit (Disconnected by services)
18:43:12  * hzjoined
18:44:20  * sblomjoined
18:48:18  * mmalecki[food]changed nick to mmalecki
18:54:27  * Ralt_joined
18:54:40  * c4milojoined
19:02:29  * loladiroquit (Quit: loladiro)
19:04:00  * loladirojoined
19:07:05  * c4miloquit (Remote host closed the connection)
19:09:38  * brsonjoined
19:13:24  * loladiroquit (Quit: loladiro)
19:15:02  * `3E|COOKINGchanged nick to `3rdEden
19:27:11  * c4milojoined
19:31:20  * ryahquit (Quit: leaving)
20:17:14  * `3rdEdenquit (Remote host closed the connection)
20:23:09  * AvianFluquit (Remote host closed the connection)
20:24:07  * TooTallNatequit (Quit: ["Textual IRC Client: www.textualapp.com"])
20:28:36  * TooTallNatejoined
20:47:20  * TheJHjoined
20:51:24  * AvianFlujoined
20:57:30  * brsonquit (Ping timeout: 250 seconds)
20:59:33  * brsonjoined
21:04:40  * TheJHquit (Quit: goodbye)
21:10:13  * loladirojoined
21:25:34  * loladiroquit (Quit: loladiro)
21:39:39  * loladirojoined
21:41:06  * benoitcquit (Excess Flood)
21:44:28  * loladiroquit (Client Quit)
21:45:58  * loladirojoined
21:47:09  * loladiroquit (Client Quit)
21:51:42  * benoitcjoined
21:55:34  * xakaquit (Ping timeout: 250 seconds)
22:00:47  <MI6>joyent/node: Kyle Robinson Young v0.8 * acad8d9 : website: typo fixes - http://git.io/-5kQYw
22:01:10  * Ralt__joined
22:05:08  * Ralt_quit (Ping timeout: 255 seconds)
22:06:29  * Ralt__quit (Ping timeout: 255 seconds)
22:08:09  * rendarquit
22:16:22  * xakajoined
22:21:12  * indexzerojoined
22:38:53  <MI6>joyent/libuv: Ben Noordhuis v0.8 * deb1c34 : sunos: fix uv_getaddrinfo() NULL pointer dereference - http://git.io/8UiN0w
22:38:56  <MI6>joyent/libuv: Ben Noordhuis master * 44f0fcd : Merge branch 'v0.8' Conflicts: src/unix/core.c (+3 more commits) - http://git.io/PE0YHA
22:40:42  * travis-cijoined
22:40:42  <travis-ci>[travis-ci] joyent/libuv#909 (v0.8 - deb1c34 : Ben Noordhuis): The build is still failing.
22:40:42  <travis-ci>[travis-ci] Change view : https://github.com/joyent/libuv/compare/5639b2f1f904...deb1c34774e1
22:40:42  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/libuv/builds/3425660
22:40:42  * travis-cipart
22:40:55  * travis-cijoined
22:40:55  <travis-ci>[travis-ci] joyent/libuv#910 (master - 44f0fcd : Ben Noordhuis): The build passed.
22:40:55  <travis-ci>[travis-ci] Change view : https://github.com/joyent/libuv/compare/99a8d4a8c2ab...44f0fcd033fa
22:40:55  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/libuv/builds/3425662
22:40:55  * travis-cipart
23:08:01  * warz_quit
23:09:41  * hzquit
23:12:45  * indexzeroquit (Quit: indexzero)
23:22:05  * kristatequit (Ping timeout: 252 seconds)
23:53:56  * benoitcquit (Excess Flood)