00:00:00  * ircretaryquit (Remote host closed the connection)
00:00:11  * ircretaryjoined
00:21:05  * stagasquit (Ping timeout: 244 seconds)
00:26:30  * c4milojoined
01:04:59  * kazuponjoined
01:26:16  * kazuponquit (Remote host closed the connection)
01:43:22  * c4miloquit (Remote host closed the connection)
01:44:22  * kazuponjoined
01:44:24  * abraxas_quit (Remote host closed the connection)
01:44:43  * txdv_joined
01:45:02  * brsonquit (Quit: leaving)
01:45:21  * txdvquit (Ping timeout: 272 seconds)
01:45:36  * abraxas_joined
01:53:03  * c4milojoined
02:40:19  * AlexisMochaquit (Ping timeout: 255 seconds)
03:17:06  * kellabytejoined
03:17:58  * c4miloquit (Remote host closed the connection)
03:25:45  * kazuponquit (Remote host closed the connection)
03:32:39  * c4milojoined
04:02:47  * kazuponjoined
04:16:23  * Left_Turnquit (Ping timeout: 244 seconds)
04:17:29  * prettyrobotsquit (Quit: ZNC - http://znc.in)
05:27:46  <chrisdickinson>hey, I'm going to land https://github.com/joyent/node/pull/8700 on v0.12 if there are no objections (removes the code-level deprecation for tls.createSecurePair, an oversight on my part)
05:30:19  * AvianFlu_joined
05:30:50  * AvianFluquit (Read error: Connection reset by peer)
05:31:38  * AvianFlu_changed nick to AvianFlu
05:36:59  <chrisdickinson>cc trevnorris ^
05:40:21  <MI6>joyent/node: Jackson Tian v0.12 * d8a3c4a : tls: remove tls.createSecurePair code deprecation - http://git.io/X0DcYA
06:01:34  * c4miloquit (Remote host closed the connection)
06:05:08  * toothrotquit (Ping timeout: 255 seconds)
06:14:55  <MI6>joyent/node: sudodoki v0.12 * fd22268 : doc: note ability to require files within packages - http://git.io/q0KBkg
06:25:26  * kellabytequit (Quit: Connection closed for inactivity)
06:29:24  * inolenquit (Quit: Leaving.)
06:48:49  * srhoadesquit (Ping timeout: 246 seconds)
07:00:38  * inolenjoined
07:09:25  * FROGGS[mobile]joined
07:09:48  * kazuponquit (Remote host closed the connection)
07:21:06  * kazuponjoined
07:43:22  * rendarjoined
07:49:57  * c4milojoined
07:55:00  * c4miloquit (Ping timeout: 264 seconds)
08:01:00  * stagasjoined
08:02:35  * Ldxngx_joined
08:11:21  * seishunjoined
08:14:54  * FROGGS[mobile]quit (Remote host closed the connection)
08:39:49  * janjongboomjoined
08:41:40  * kevinsimperjoined
08:44:23  * _3rdEdenpart
08:57:01  * janjongboomquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
08:58:07  * janjongboomjoined
08:59:45  * janjongb_joined
09:02:24  * janjongboomquit (Ping timeout: 244 seconds)
09:02:53  * janjongboomjoined
09:05:42  * janjongb_quit (Ping timeout: 245 seconds)
09:25:32  * janjongboomquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
09:32:45  * seishunquit (Ping timeout: 272 seconds)
09:38:27  * nickleeflyjoined
09:39:01  * c4milojoined
09:43:44  * c4miloquit (Ping timeout: 244 seconds)
10:00:06  * chris_99joined
10:05:31  * AlexisMochajoined
10:11:35  * kazuponquit (Remote host closed the connection)
10:16:57  * SergeiRNDjoined
10:23:43  * inolenquit (Quit: Leaving.)
10:27:01  * Ldxngx_quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
10:27:30  * Ldxngx_joined
10:55:34  * SergeiRNDquit (Quit: Leaving.)
11:05:50  * Left_Turnjoined
11:22:43  * jas-_joined
11:27:59  * c4milojoined
11:31:30  * SergeiRNDjoined
11:33:14  * c4miloquit (Ping timeout: 265 seconds)
11:43:23  * AvianFluquit (Ping timeout: 258 seconds)
11:50:23  * nickleeflyquit (Quit: Connection closed for inactivity)
12:00:11  * janjongboomjoined
12:06:39  * txdv_quit (Ping timeout: 272 seconds)
12:07:43  * Ldxngx_quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
12:08:07  * txdvjoined
12:09:11  * stagasquit (Ping timeout: 272 seconds)
12:09:56  * Ldxngx_joined
12:10:32  * AvianFlujoined
12:13:23  * Ldxngx_quit (Client Quit)
12:13:24  * janjongboomquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
12:15:30  * Ldxngx_joined
12:21:21  * Ldxngx_quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
12:23:28  * Ldxngx_joined
12:25:21  * Ldxngx_quit (Client Quit)
12:27:26  * Ldxngx_joined
12:28:28  * janjongboomjoined
12:30:20  * Ldxngx_quit (Client Quit)
12:32:26  * Ldxngx_joined
12:32:43  * hij1nxjoined
12:36:18  * Ldxngx_quit (Client Quit)
12:38:23  * Ldxngx_joined
12:40:13  * seishunjoined
12:44:11  * Ldxngx_quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
13:13:27  * kazuponjoined
13:16:57  * c4milojoined
13:21:18  * kazuponquit (Remote host closed the connection)
13:22:01  * c4miloquit (Ping timeout: 272 seconds)
13:34:42  * SergeiRNDquit (Quit: Leaving.)
13:39:49  * c4milojoined
13:51:29  * einarosjoined
13:55:30  * kazuponjoined
14:01:42  * lance|afkchanged nick to lanceball
14:02:20  * thlorenzjoined
14:12:51  * janjongboomquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
14:16:13  * janjongboomjoined
14:17:37  * Fishrock123joined
14:20:36  * janjongboomquit (Ping timeout: 255 seconds)
14:22:37  * Fishrock123quit (Read error: Connection reset by peer)
14:23:00  * Fishrock123joined
14:25:43  * kellabytejoined
14:40:33  * janjongboomjoined
14:48:04  * thlorenzquit (Remote host closed the connection)
14:48:18  * thlorenzjoined
14:58:08  * stagasjoined
15:16:21  * piscisaureusjoined
15:29:02  <pbunny>easiest way to check if there's anything pending in uv event loop ?
15:29:05  <pbunny>e.g. timers
15:37:05  * dainispart ("Leaving")
15:37:37  * dainisjoined
15:49:40  * a_lequit (Remote host closed the connection)
15:50:00  * kazuponquit (Read error: Connection reset by peer)
15:50:18  * fmorenojoined
15:50:27  * kazuponjoined
16:00:32  <creationix>pbunny: define “pending”
16:00:46  <creationix>uv_walk gives you all the unclosed handles in a loop I believe
16:01:27  <creationix>but that includes things like already stopped (or never started) timers
16:01:27  * bajtosjoined
16:01:28  <pbunny>int res = uv_run(mEventLoop,UV_RUN_NOWAIT);
16:01:36  <pbunny>it seems res is 0 if there are no pending events
16:01:39  <pbunny>am i right?
16:01:48  <creationix>well, depends on what you mean by pending
16:01:55  <pbunny>e.g. timers in the future
16:01:58  <creationix>that will tell you if uv_run would block
16:01:58  <pbunny>file currently reading
16:02:00  <pbunny>etc
16:02:07  <creationix>right, I think that does what you want then
16:02:26  <pbunny>its for determining whether js sandbox may be destroyed
16:02:39  <pbunny>it should be destroyed as soon as there are no more timeouts or async operations
16:03:01  <creationix>I just put in a normal blocking uv_run and when it unblocks, I uv.walk(uv.close) and then uv.run() again
16:03:13  <creationix>This is how I clean up between unit tests in luvit
16:03:35  <creationix>though I do record all handles that exist before the test starts and don’t close those on exit
16:04:14  <creationix>https://github.com/luvit/luvit/blob/luvi-up/tests/modules/tap.lua#L74-L79
16:06:37  * a_lejoined
16:06:55  * fmorenopart ("Leaving")
16:07:16  <creationix>pbunny: one thing to keep in mind is uv_run won’t block on handles that have been uv_unref()ed
16:07:23  <creationix>but they may still be active and emitting events
16:07:48  <pbunny>i can't use blocking uv_run
16:07:58  <pbunny>it interfers with my threading model
16:08:31  <creationix>that’s fine, the semantics are the same either way
16:09:17  <creationix>just wait till uv_run says it would unblock and then close any unclosed handles that were created during your sandbox and then wait for them to finish using uv_run again
16:09:40  * kazuponquit (Remote host closed the connection)
16:09:49  <pbunny>yes, i do that after stopping sandbox thread
16:10:08  <pbunny>however, uv_loop_delete(mEventLoop) throws assertion failure
16:10:19  <pbunny>and if i replace with uv_loop_close(mEventLoop) i get result -16
16:10:25  <pbunny>but i don't bother with that just now
16:10:32  <creationix>even after using uv_walk to uv_close everything left and waiting on uv_run again?
16:10:36  <pbunny>yes
16:11:14  <creationix>I wonder if your threads are messing with the loop
16:11:41  <creationix>you only ever access a uv_loop from single thread right?
16:11:53  <pbunny>i have per-thread uv loops
16:11:57  <creationix>that’s good
16:12:05  <pbunny>probably related to tty
16:12:22  <pbunny>you may search this channel's logs btw
16:12:27  <pbunny>i asked about this issue 1-2 days ago
16:12:43  <creationix>I guess as a quick test, you could uv_walk right before calling uv_loop_close and make sure the callback isn’t called.
16:13:06  <creationix>other than that, I’m not sure the issue. I’ve used libuv a ton, but haven’t dug into the internals too much
16:16:44  <pbunny>creationix: https://dpaste.de/q4VH/raw
16:16:54  <pbunny>uv_close_loop returns -16
16:17:25  <pbunny>and uv_loop_delete fails with "assertion failed: ret == 0", and inside it calls the same uv_loop_close
16:17:27  <pbunny>which returns -16
16:18:11  <creationix>yep, you need to uv_run again after uv_walk
16:18:25  <creationix>and wait for it to actually finish without using stop to short-circuit it
16:18:28  <pbunny>see, it's the next line
16:18:51  <pbunny>so uv_stop is not needed?
16:18:52  <creationix>oh, right, the blocking uv_run
16:19:30  <creationix>I guess close if fast enough that won’t hurt your threading model
16:19:42  <creationix>pbunny: sorry, no idea what’s wrong
16:20:08  <creationix>like I said, I would uv_walk again with a new callback that fails just to ensure my sanity
16:20:23  <creationix>but as far as I understand libuv, that shouldn’t be possible in this case
16:22:33  <creationix>indutny: am I understanding this correctly? ^
16:24:44  * bajtosquit (Quit: bajtos)
16:35:22  <indutny>щрфш
16:35:24  <indutny>ohai
16:43:02  * jgijoined
16:51:55  * bajtosjoined
16:53:39  * AlexisMochaquit (Ping timeout: 250 seconds)
17:02:36  * c4miloquit (Remote host closed the connection)
17:04:58  * chris_99quit (Quit: Ex-Chat)
17:05:23  * FROGGS[mobile]joined
17:17:05  * inolenjoined
17:18:58  * Fishrock123quit (Remote host closed the connection)
17:21:05  * Fishrock123joined
17:23:56  * kevinsimperquit (Remote host closed the connection)
17:29:26  * a_lequit (Remote host closed the connection)
17:30:03  * Ralithquit (Ping timeout: 255 seconds)
17:31:06  * Fishrock123quit (Remote host closed the connection)
17:40:51  * kriskowaljoined
17:41:30  * Fishrock123joined
17:43:54  * chris_99joined
17:50:25  * jgiquit (Quit: jgi)
17:51:53  * jgijoined
17:52:54  * AlexisMochajoined
17:56:24  * Fishrock123quit (Remote host closed the connection)
17:57:33  * bradleymeckjoined
18:03:35  * ijrothjoined
18:05:00  * Ralithjoined
18:07:42  * avalanche123joined
18:07:51  * thlorenzquit (Remote host closed the connection)
18:08:35  * thlorenzjoined
18:20:09  * Fishrock123joined
18:29:13  * lanceballchanged nick to lance|afk
18:30:43  * Fishrock123quit (Remote host closed the connection)
18:32:59  * iarnajoined
18:36:34  * janjongboomquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
18:37:42  * janjongboomjoined
18:38:09  * inolenquit (Quit: Leaving.)
18:40:07  * inolenjoined
18:41:06  * iarnaquit (Read error: Connection reset by peer)
18:41:35  * iarnajoined
18:41:39  * inolenquit (Client Quit)
18:42:26  * janjongboomquit (Ping timeout: 265 seconds)
18:49:21  * a_lejoined
18:50:29  * wolfeidauquit (Read error: Connection timed out)
18:51:09  * wolfeidaujoined
18:51:47  * a_lequit (Read error: Connection reset by peer)
18:52:08  * a_lejoined
19:04:59  * AlexisMochaquit (Ping timeout: 258 seconds)
19:05:31  * janjongboomjoined
19:08:58  * bajtosquit (Quit: bajtos)
19:14:00  * chris_99quit (Ping timeout: 255 seconds)
19:18:42  * thlorenzquit (Remote host closed the connection)
19:19:27  * FROGGS[mobile]quit (Remote host closed the connection)
19:21:49  * lance|afkchanged nick to lanceball
19:27:17  * chris_99joined
19:28:53  * janjongb_joined
19:29:45  * Fishrock123joined
19:29:53  * janjongboomquit (Ping timeout: 240 seconds)
19:33:13  * bradleymeckquit (Quit: bradleymeck)
19:34:35  * AlexisMochajoined
19:43:17  * thlorenzjoined
19:45:06  * dshaw_joined
19:45:08  * rendarquit (Ping timeout: 244 seconds)
19:45:18  * a_lequit (Remote host closed the connection)
19:45:58  * a_lejoined
19:48:37  * a_lequit (Read error: Connection reset by peer)
19:48:55  * a_lejoined
19:49:25  * Fishrockjoined
19:51:56  * rendarjoined
19:52:19  * a_lequit (Remote host closed the connection)
19:52:53  * Fishrock123quit (Ping timeout: 244 seconds)
19:52:54  * a_lejoined
19:59:58  <AlexisMocha>tjfontaine: do you happen to know why on Jenkins both ia32 and x64 windows builds run always on the same node?
20:02:02  * a_lequit (Read error: Connection reset by peer)
20:02:04  * inolenjoined
20:02:23  * a_lejoined
20:04:44  * thlorenzquit (Ping timeout: 256 seconds)
20:04:48  * thlorenz_joined
20:17:22  * lanceballchanged nick to lance|afk
20:25:37  * avalanche123quit (Remote host closed the connection)
20:28:18  * avalanche123joined
20:33:00  * bradleymeckjoined
20:34:22  * janjongboomjoined
20:37:36  * janjongb_quit (Ping timeout: 256 seconds)
20:45:17  * piscisaureusquit (Ping timeout: 244 seconds)
21:01:14  * brsonjoined
21:02:00  * c4milojoined
21:05:56  * chris_99quit (Ping timeout: 256 seconds)
21:18:12  * bhughesquit (Excess Flood)
21:18:56  * bhughesjoined
21:22:00  * chris_99joined
21:25:40  * jgiquit (Quit: jgi)
21:26:27  * bhughesquit (Excess Flood)
21:27:21  * bhughesjoined
21:34:31  * lance|afkchanged nick to lanceball
21:55:00  * iarnaquit (Remote host closed the connection)
21:55:58  * iarnajoined
21:56:40  * inolenquit (Quit: Leaving.)
21:59:17  * c4miloquit (Remote host closed the connection)
22:00:20  * iarnaquit (Read error: Connection reset by peer)
22:00:49  * iarnajoined
22:01:17  * jgijoined
22:04:09  * inolenjoined
22:05:06  * Fishrockquit (Remote host closed the connection)
22:08:41  * AlexisMochaquit (Ping timeout: 250 seconds)
22:13:31  * thlorenz_changed nick to thlorenz
22:21:29  * seishunquit (Ping timeout: 264 seconds)
22:30:47  * kriskowalquit (Quit: kriskowal)
22:32:39  * kriskowaljoined
22:38:25  * c4milojoined
22:47:42  * chris_99quit (Quit: Ex-Chat)
22:50:18  * c4miloquit (Remote host closed the connection)
22:56:40  * c4milojoined
22:57:33  <jgi>trevnorris: just created a PR to fix a minor issue in remove-al-js: https://github.com/trevnorris/node/pull/3
22:59:26  * piscisaureusjoined
23:01:39  <MI6>joyent/libuv: Yuri D'Elia v1.x * 0f25560 : unix: use cfmakeraw() for setting raw TTY mode - http://git.io/7gmayw
23:05:58  * avalanche123quit (Remote host closed the connection)
23:06:14  <MI6>joyent/libuv: Alexis Campailla v1.x * 6591d00 : win: fix uv_thread_self() - http://git.io/J4AGwQ
23:08:07  * kriskowalquit (Quit: kriskowal)
23:10:03  * bradleymeckquit (Quit: bradleymeck)
23:13:25  <MI6>joyent/libuv: Ben Noordhuis v1.x * cb51400 : build: remove dtrace probes (+1 more commits) - http://git.io/UvzL0Q
23:14:03  * kriskowaljoined
23:14:13  * AlexisMochajoined
23:20:58  * stagasquit (Ping timeout: 255 seconds)
23:31:54  * rendarquit
23:32:06  <trevnorris>jgi: awesome. nice catch. thanks.
23:33:22  * avalanche123joined
23:46:49  <jgi>trevnorris: you’re welcome! I’m basically trying to understand how the async listener stuff works, and asking questions/raising issues along the way. I hope you don’t mind :)
23:47:13  <trevnorris>jgi: please do. :)
23:52:03  * thlorenzquit (Remote host closed the connection)
23:52:38  * thlorenzjoined
23:57:25  * thlorenzquit (Ping timeout: 264 seconds)
23:58:23  * janjongboomquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
23:59:24  * AvianFluquit (Ping timeout: 245 seconds)