00:00:00  * ircretaryquit (Remote host closed the connection)
00:00:09  * ircretaryjoined
00:01:48  * quijotequit (Ping timeout: 255 seconds)
00:11:05  * mikealjoined
00:14:42  * mikealquit (Client Quit)
00:18:09  * mikealjoined
00:18:31  * mikealquit (Client Quit)
00:19:00  * avalanche123quit (Remote host closed the connection)
00:19:26  * avalanche123joined
00:22:04  * dsantiagoquit (Quit: Computer has gone to sleep.)
00:22:09  * thlorenzjoined
00:23:24  * thlorenzquit (Remote host closed the connection)
00:23:30  * thlorenzjoined
00:24:11  * avalanche123quit (Ping timeout: 272 seconds)
00:25:31  * thlorenzquit (Remote host closed the connection)
00:26:17  * kellabyte_quit (Quit: Connection closed for inactivity)
00:29:49  * mrvisserjoined
00:31:19  * thlorenzjoined
00:33:03  * Ralithquit (Ping timeout: 272 seconds)
00:43:03  * zz_karupachanged nick to karupa
00:48:20  * TooTallNatequit (Quit: Computer has gone to sleep.)
00:58:10  * quijotejoined
01:01:24  * calvinfoquit (Quit: Leaving.)
01:02:51  * quijotequit (Ping timeout: 264 seconds)
01:07:43  * mrvisserquit (Remote host closed the connection)
01:08:44  * Ralithjoined
01:12:29  * TooTallNatejoined
01:14:15  * nrajlichjoined
01:16:20  * seldo_quit (Remote host closed the connection)
01:17:15  * TooTallNatequit (Ping timeout: 264 seconds)
01:20:58  * thlorenzquit (Remote host closed the connection)
01:24:41  * thlorenzjoined
01:26:59  * bradleymeckjoined
01:31:51  * c4miloquit (Remote host closed the connection)
01:31:55  * calvinfojoined
01:32:33  * calvinfo1joined
01:32:33  * calvinfoquit (Read error: Connection reset by peer)
01:33:14  * brsonquit (Quit: leaving)
01:33:20  * daviddiasjoined
01:33:42  * brsonjoined
01:33:42  * brsonquit (Client Quit)
01:33:59  * brsonjoined
01:37:03  * calvinfo1quit (Ping timeout: 264 seconds)
01:37:53  * daviddiasquit (Ping timeout: 252 seconds)
01:38:41  * sh1mmerjoined
01:38:52  * calvinfojoined
01:50:08  * seldo_joined
01:51:57  * sh1mmerquit (Ping timeout: 240 seconds)
01:53:50  * bradleymeckquit (Quit: bradleymeck)
01:54:45  * seldo_quit (Ping timeout: 255 seconds)
01:58:36  * quijotejoined
02:02:52  * bradleymeckjoined
02:03:03  * quijotequit (Ping timeout: 240 seconds)
02:03:48  * calvinfoquit (Read error: Connection reset by peer)
02:04:07  * calvinfojoined
02:08:22  * dsantiagojoined
02:13:45  * stagasquit (Ping timeout: 272 seconds)
02:18:37  * mrvisserjoined
02:20:29  * calvinfo1joined
02:21:21  * wolfeidaujoined
02:22:39  * calvinfoquit (Ping timeout: 255 seconds)
02:23:15  * mrvisserquit (Ping timeout: 264 seconds)
02:23:55  * thlorenzquit (Remote host closed the connection)
02:24:51  * calvinfojoined
02:26:17  * petka_quit (Quit: Connection closed for inactivity)
02:26:33  * calvinfo1quit (Ping timeout: 240 seconds)
02:28:26  * thlorenzjoined
02:29:23  * Left_Turnquit (Read error: Connection reset by peer)
02:32:09  * c4milojoined
02:37:03  * c4miloquit (Ping timeout: 264 seconds)
02:43:05  * kellabyte_joined
02:46:17  * calvinfoquit (Quit: Leaving.)
02:47:14  * daviddiasjoined
02:52:02  * a_lequit (Remote host closed the connection)
02:53:07  * avalanche123joined
02:56:36  * warehouse13quit (Remote host closed the connection)
02:57:33  * avalanche123quit (Ping timeout: 240 seconds)
02:58:58  * janjongboomquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
02:59:23  * quijotejoined
03:00:54  * brsonquit (Ping timeout: 255 seconds)
03:02:27  * brsonjoined
03:04:03  * quijotequit (Ping timeout: 255 seconds)
03:08:51  * brsonquit (Ping timeout: 264 seconds)
03:08:52  * calvinfojoined
03:13:22  * bradleymeckquit (Quit: bradleymeck)
03:24:01  * thlorenzquit (Remote host closed the connection)
03:25:39  * calvinfoquit (Quit: Leaving.)
03:28:11  * thlorenzjoined
03:29:12  * avalanche123joined
03:43:52  * avalanche123quit (Remote host closed the connection)
03:44:19  * avalanche123joined
03:49:23  * avalanche123quit (Ping timeout: 272 seconds)
03:51:42  * seldo_joined
03:55:35  * c4milojoined
03:56:03  * seldo_quit (Ping timeout: 240 seconds)
03:57:18  * a_lejoined
04:00:08  * quijotejoined
04:01:33  * a_lequit (Ping timeout: 240 seconds)
04:04:47  * quijotequit (Ping timeout: 245 seconds)
04:06:53  * seldo_joined
04:07:00  * a_lejoined
04:08:58  * bradleymeckjoined
04:11:02  * seldo_quit (Ping timeout: 245 seconds)
04:27:48  * bradleymeckquit (Quit: bradleymeck)
04:46:17  * kellabyte_quit (Quit: Connection closed for inactivity)
04:47:42  * thlorenz_joined
04:50:51  * thlorenzquit (Ping timeout: 264 seconds)
04:55:49  * avalanche123joined
04:58:21  * thlorenz_quit (Remote host closed the connection)
04:59:02  * thlorenzjoined
05:00:09  * calvinfo1joined
05:00:35  * thlorenz_joined
05:00:54  * thlorenzquit (Read error: Connection reset by peer)
05:00:57  * calvinfo2joined
05:01:04  * quijotejoined
05:01:41  * calvinfo2quit (Read error: Connection reset by peer)
05:01:49  * calvinfo2joined
05:02:45  * calvinfo3joined
05:02:45  * calvinfo2quit (Read error: Connection reset by peer)
05:02:51  * daviddiasquit (Ping timeout: 252 seconds)
05:03:30  * calvinfo3quit (Read error: Connection reset by peer)
05:03:41  * calvinfo2joined
05:04:33  * calvinfojoined
05:04:33  * calvinfo2quit (Read error: Connection reset by peer)
05:04:39  * calvinfo1quit (Ping timeout: 264 seconds)
05:05:12  * quijotequit (Ping timeout: 245 seconds)
05:05:12  * calvinfoquit (Read error: Connection reset by peer)
05:05:29  * calvinfojoined
05:05:38  * toothrotquit (Ping timeout: 240 seconds)
05:06:25  * calvinfo1joined
05:07:14  * calvinfo2joined
05:07:14  * calvinfo1quit (Read error: Connection reset by peer)
05:08:07  * calvinfo1joined
05:08:08  * calvinfo2quit (Read error: Connection reset by peer)
05:09:03  * calvinfo2joined
05:09:03  * calvinfo1quit (Read error: Connection reset by peer)
05:09:53  * calvinfo1joined
05:09:53  * calvinfo2quit (Read error: Connection reset by peer)
05:10:03  * calvinfoquit (Ping timeout: 264 seconds)
05:10:36  * calvinfo1quit (Read error: Connection reset by peer)
05:10:41  * avalanche123quit (Remote host closed the connection)
05:10:49  * calvinfojoined
05:10:53  * avalanche123joined
05:14:58  * calvinfoquit (Ping timeout: 240 seconds)
05:17:22  * thlorenz_quit (Read error: Connection reset by peer)
05:17:42  * thlorenzjoined
05:28:38  * c4miloquit (Remote host closed the connection)
05:30:41  * bradleymeckjoined
05:34:54  * a_lequit (Remote host closed the connection)
05:37:53  * avalanche123quit (Remote host closed the connection)
05:38:19  * avalanche123joined
05:42:50  * avalanche123quit (Ping timeout: 244 seconds)
05:43:44  * avalanche123joined
05:47:53  * bradleymeckquit (Quit: bradleymeck)
05:48:07  * avalanche123quit (Ping timeout: 245 seconds)
06:01:39  * quijotejoined
06:06:18  * quijotequit (Ping timeout: 255 seconds)
06:11:39  * calvinfo1joined
06:12:35  * calvinfo2joined
06:12:35  * calvinfo1quit (Read error: Connection reset by peer)
06:13:27  * calvinfo1joined
06:13:27  * calvinfo2quit (Read error: Connection reset by peer)
06:14:22  * calvinfo2joined
06:14:23  * calvinfo1quit (Read error: Connection reset by peer)
06:15:09  * dainisjoined
06:16:17  * mikealjoined
06:18:33  * calvinfo2quit (Ping timeout: 240 seconds)
06:19:32  * nrajlichquit (Quit: Computer has gone to sleep.)
06:36:55  * calvinfojoined
06:47:43  * rendarjoined
06:48:51  * daviddiasjoined
06:54:17  * cjdjoined
07:02:35  * quijotejoined
07:07:03  * quijotequit (Ping timeout: 240 seconds)
07:07:08  * toothrjoined
07:08:05  * pquernaquit (Ping timeout: 264 seconds)
07:08:44  * pquernajoined
07:08:44  * pquernaquit (Changing host)
07:08:44  * pquernajoined
07:08:57  * dainisquit (Ping timeout: 245 seconds)
07:13:44  * calvinfoquit (Quit: Leaving.)
07:14:00  * calvinfojoined
07:14:03  * calvinfoquit (Client Quit)
07:17:35  * dainisjoined
07:22:05  * quijotejoined
07:22:36  * hueniversejoined
07:42:58  * janjongboomjoined
07:45:13  * avalanche123joined
07:56:28  * avalanche123quit (Remote host closed the connection)
08:01:56  * daviddiasquit (Remote host closed the connection)
08:02:10  * daviddiasjoined
08:03:43  * calvinfojoined
08:08:49  * quijote_joined
08:10:03  * quijotequit (Ping timeout: 255 seconds)
08:10:05  * seldo_joined
08:13:28  * quijote_quit (Ping timeout: 240 seconds)
08:14:51  * seldo_quit (Ping timeout: 264 seconds)
08:20:32  * janjongboomquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
08:35:58  * Kakerajoined
08:37:05  * quijotejoined
08:37:07  * janjongboomjoined
08:37:09  * warehouse13joined
08:38:28  * calvinfoquit (Quit: Leaving.)
08:41:51  * quijotequit (Ping timeout: 264 seconds)
08:45:06  * daviddiasquit (Remote host closed the connection)
08:45:51  * quijotejoined
08:49:03  * janjongboomquit (Ping timeout: 240 seconds)
08:51:08  * janjongboomjoined
09:00:47  * daviddiasjoined
09:08:13  * petka_joined
09:08:49  * kevinsimperjoined
09:14:10  * roxluquit (Remote host closed the connection)
09:31:21  * karupachanged nick to zz_karupa
09:34:03  * janjongboomquit (Ping timeout: 264 seconds)
09:37:38  * janjongboomjoined
09:41:34  * zz_karupachanged nick to karupa
09:45:36  * karupachanged nick to zz_karupa
09:46:09  * zz_karupachanged nick to karupa
09:47:19  * karupachanged nick to zz_karupa
09:50:12  * janjongboomquit (Ping timeout: 245 seconds)
09:51:40  * janjongboomjoined
09:56:15  * quijotequit (Ping timeout: 264 seconds)
10:06:03  * janjongboomquit (Ping timeout: 240 seconds)
10:06:43  * janjongboomjoined
10:11:07  * seldo_joined
10:15:37  * seldo_quit (Ping timeout: 245 seconds)
10:17:17  * quijotejoined
10:23:43  * c4milojoined
10:25:39  * warehouse13quit (Ping timeout: 264 seconds)
10:28:39  * c4miloquit (Ping timeout: 255 seconds)
10:33:24  * thlorenzquit (Remote host closed the connection)
10:42:05  * warehouse13joined
10:43:23  * inolen1joined
10:45:29  * inolenquit (Ping timeout: 272 seconds)
10:51:39  * mrvisserjoined
10:53:21  * quijotequit (Ping timeout: 244 seconds)
11:03:50  * hzjoined
11:11:17  * AvianFluquit (Read error: Connection reset by peer)
11:11:52  * AvianFlujoined
11:37:04  * quijotejoined
11:41:51  * quijotequit (Ping timeout: 272 seconds)
11:46:44  * quijotejoined
11:59:26  * avalanche123joined
12:05:41  * avalanche123quit (Ping timeout: 244 seconds)
12:10:48  * daviddiasquit (Remote host closed the connection)
12:12:03  * c4milojoined
12:16:27  * c4miloquit (Ping timeout: 245 seconds)
12:30:55  * zz_karupachanged nick to karupa
12:33:25  * karupachanged nick to zz_karupa
12:35:15  * janjongboomquit (Ping timeout: 264 seconds)
12:37:06  * janjongboomjoined
12:41:24  * daviddiasjoined
12:57:11  * hzquit (Ping timeout: 260 seconds)
12:57:24  * WalrusPony1changed nick to BunnyPony
13:18:58  * quijotequit (Ping timeout: 240 seconds)
13:20:34  * kevinsimperquit (Remote host closed the connection)
13:28:07  * Kakerachanged nick to seishun
13:48:48  * stagasjoined
14:00:23  * c4milojoined
14:02:35  * bradleymeckjoined
14:05:15  * c4miloquit (Ping timeout: 264 seconds)
14:16:51  * quijotejoined
14:18:49  * Left_Turnjoined
14:21:27  * quijotequit (Ping timeout: 264 seconds)
14:21:27  * janjongboomquit (Ping timeout: 245 seconds)
14:21:59  * avalanche123joined
14:22:38  * janjongboomjoined
14:25:06  * quijotejoined
14:25:32  * kenperkinsquit (Remote host closed the connection)
14:26:11  * bradleymeckpart
14:26:13  * avalanche123quit (Ping timeout: 244 seconds)
14:37:03  * janjongboomquit (Ping timeout: 240 seconds)
14:37:22  <indutny>AvianFlu: hey man
14:38:11  * janjongboomjoined
14:41:02  * kenperkinsjoined
14:49:12  * stagas_joined
14:49:58  * ircretaryquit (Remote host closed the connection)
14:49:59  * stagasquit (Ping timeout: 240 seconds)
14:50:04  * stagas_changed nick to stagas
14:50:07  * ircretaryjoined
14:56:14  * c4milojoined
15:06:19  * c4miloquit (Remote host closed the connection)
15:06:55  * c4milojoined
15:09:00  * dainisquit (Ping timeout: 255 seconds)
15:11:03  * c4miloquit (Ping timeout: 240 seconds)
15:16:40  * bradleymeckjoined
15:21:27  * janjongboomquit (Ping timeout: 264 seconds)
15:22:54  * janjongboomjoined
15:23:29  * BunnyPonychanged nick to BunnyShark
15:28:03  * kellabyte_joined
15:31:03  * Left_Turnquit (Ping timeout: 264 seconds)
15:32:19  * thlorenzjoined
15:34:59  * c4milojoined
15:39:26  * janjongboomquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
15:43:00  * mrvisserquit (Remote host closed the connection)
15:46:01  * inolenjoined
15:46:01  * inolen1quit (Read error: Connection reset by peer)
15:51:27  * quijotequit (Ping timeout: 245 seconds)
15:52:39  * stagasquit (Ping timeout: 264 seconds)
15:58:35  * quijotejoined
16:00:50  * a_lejoined
16:01:12  * stagasjoined
16:01:16  * daviddiasquit (Remote host closed the connection)
16:01:29  * daviddiasjoined
16:03:03  * thlorenzquit (Remote host closed the connection)
16:06:55  * dap_joined
16:08:21  * thlorenzjoined
16:15:26  * calvinfojoined
16:18:26  * mikealquit (Quit: Leaving.)
16:18:53  * mikealjoined
16:20:15  * thlorenzquit (Ping timeout: 264 seconds)
16:27:20  * a_lequit (Remote host closed the connection)
16:27:34  * thlorenzjoined
16:27:56  * a_lejoined
16:30:59  * quijotequit (Ping timeout: 240 seconds)
16:32:17  * thlorenzquit (Ping timeout: 245 seconds)
16:33:32  * thlorenzjoined
16:37:29  * thlorenzquit (Ping timeout: 240 seconds)
16:39:25  <bradleymeck>can we add LargeAddressAware to VCLinkerTool on windows in node.gyp without problems? https://code.google.com/p/gyp/source/browse/trunk/test/win/linker-flags/large-address-aware.gyp?r=1554 , https://github.com/joyent/node/issues/4332 . One day I will get a legit windows box...
16:45:46  * quijotejoined
16:50:14  * mikealquit (Quit: Leaving.)
16:55:08  * stagas_joined
16:58:03  * stagasquit (Ping timeout: 240 seconds)
16:58:17  * stagas_changed nick to stagas
17:00:26  * avalanche123joined
17:06:08  * seldo_joined
17:06:17  * petka_quit (Quit: Connection closed for inactivity)
17:08:04  * sh1mmerjoined
17:17:29  * quijotequit (Ping timeout: 240 seconds)
17:21:52  * TooTallNatejoined
17:37:44  * hzjoined
17:38:07  * mikealjoined
17:43:57  * hueniversequit (Ping timeout: 245 seconds)
17:44:49  * quijotejoined
17:47:13  * avalanche123quit (Remote host closed the connection)
17:47:48  * avalanche123joined
17:49:16  * quijotequit (Ping timeout: 244 seconds)
17:49:49  * cjdquit (Quit: I am a manual virus, please copy me to your quit message.)
17:51:48  * mikealquit (Quit: Leaving.)
17:52:21  * avalanche123quit (Ping timeout: 272 seconds)
17:55:39  * avalanche123joined
17:58:41  * stagasquit (Ping timeout: 272 seconds)
17:58:46  * sh1mmerquit (Quit: sh1mmer)
17:59:15  * janjongboomjoined
18:01:33  * sh1mmerjoined
18:06:16  * AvianFlu_joined
18:16:08  * brsonjoined
18:20:21  * calvinfoquit (Quit: Leaving.)
18:24:06  * calvinfojoined
18:28:33  * sh1mmerquit (Quit: sh1mmer)
18:36:01  * sblomjoined
18:39:33  * avalanche123quit (Remote host closed the connection)
18:40:33  * avalanche123joined
18:41:07  * rendarquit (Ping timeout: 272 seconds)
18:43:55  * brsonquit (Quit: leaving)
18:45:44  * quijotejoined
18:47:02  * rendarjoined
18:50:24  * quijotequit (Ping timeout: 255 seconds)
18:54:42  * quijotejoined
18:55:05  * calvinfoquit (Quit: Leaving.)
18:56:01  * AF|BadNetjoined
18:56:33  * AvianFlu_quit (Ping timeout: 240 seconds)
19:02:49  * AF|BadNetchanged nick to _AvianFlu_
19:07:02  * calvinfojoined
19:08:47  * Left_Turnjoined
19:09:59  * c4miloquit (Ping timeout: 240 seconds)
19:10:29  * prettyrobotsquit (Ping timeout: 264 seconds)
19:10:37  * c4milojoined
19:20:23  * calvinfo1joined
19:22:17  * calvinfoquit (Ping timeout: 245 seconds)
19:34:03  * quijotequit (Ping timeout: 240 seconds)
19:42:46  * c4miloquit (Remote host closed the connection)
19:43:08  * c4milojoined
19:49:49  * sh1mmerjoined
19:50:31  * inolen1joined
19:51:40  * inolenquit (Ping timeout: 260 seconds)
19:56:17  * seldo_quit (Remote host closed the connection)
19:57:26  * seldo_joined
20:10:02  * calvinfo2joined
20:12:19  * calvinfo1quit (Ping timeout: 272 seconds)
20:15:48  * janjongboomquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
20:16:57  * sh1mmerquit (Quit: sh1mmer)
20:22:24  * sh1mmerjoined
20:30:58  * quijotejoined
20:34:27  * txdvquit (Read error: Connection reset by peer)
20:34:44  * txdvjoined
20:34:59  * quijotequit (Ping timeout: 240 seconds)
20:38:32  * Ralithquit (Ping timeout: 245 seconds)
20:49:14  * seldo_quit (Remote host closed the connection)
20:49:22  * sh1mmerquit (Quit: sh1mmer)
20:50:44  * seldo_joined
20:55:23  * seldo_quit (Ping timeout: 272 seconds)
20:57:43  * brsonjoined
21:00:08  * seldo_joined
21:00:57  * hzquit
21:06:36  * txdvquit (Read error: Connection reset by peer)
21:06:42  * rendarquit
21:07:22  * txdvjoined
21:07:29  <trevnorris>indutny: ping
21:07:46  * Ralithjoined
21:08:29  <trevnorris>saghul: or you :)
21:10:53  <saghul>trevnorris: pong
21:27:43  * sh1mmerjoined
21:27:59  * seishunquit (Ping timeout: 240 seconds)
21:28:31  * avalanche123quit (Remote host closed the connection)
21:29:55  * avalanche123joined
21:31:35  * quijotejoined
21:36:02  * quijotequit (Ping timeout: 245 seconds)
21:39:42  * yunongjoined
21:41:51  * _AvianFlu_quit (Remote host closed the connection)
21:46:17  * kellabyte_quit (Quit: Connection closed for inactivity)
21:55:37  * quijotejoined
21:59:40  <trevnorris>saghul: sorry about the delay. so was wondering if you could explain uv__run_pending() in uv_run().
21:59:52  <trevnorris>having a hard time following the code there.
22:00:03  * quijotequit (Ping timeout: 240 seconds)
22:01:33  <saghul>trevnorris: sometimes libuv will make an io handle 'pending', ie, feed an artificial io event
22:01:51  <saghul>trevnorris: https://github.com/joyent/libuv/blob/master/src/unix/core.c#L785
22:02:19  <saghul>that function iterates the queue and calls the pending callabcks with the pending event mask
22:03:23  <saghul>those pending handles are the internal uv__io_t handles which are used to impment anything that does i/o on a socket in Unix
22:05:13  <saghul>trevnorris: hope that helps :-)
22:05:48  <trevnorris>saghul: interesting. yeah. so I see in unix/tcp.c that it delays reporting ECONNREFUSED.
22:06:27  <saghul>trevnorris: yeah, some stuff is delayed for platform consistency
22:07:37  <trevnorris>ah, ok. now in terms of Node, will those errors be reported at that point, or are the errors further delayed before reported to JS?
22:07:43  * trevnorrisgoes to look at source
22:08:01  * bradleymeckquit (Quit: bradleymeck)
22:09:02  <saghul>when a pending event is queued the corresponding callback will be called in the next loop iteration
22:12:55  <trevnorris>ok. so seems there isn't a simple X runs on uv__run_pending(). like, tcp/pipe/etc. errors are delayed. but also uv__write_req_finish() also doesn't call the callback until the future.
22:13:22  <saghul>yes
22:13:31  <saghul>because a write request couls be completed immediately
22:13:43  <saghul>but the result is always reported async
22:13:47  <trevnorris>ah, ok.
22:14:46  <trevnorris>so as far as node, say establishing a tcp connection results in a ECONNREFUSED the callback will run at a different phase/tick/whatever of uv_run() than if the connection succeeds.
22:15:35  <saghul>let me check that
22:16:34  <saghul>ECONNREFUSED is kind of a special case
22:16:57  <saghul>some unices will report it later, Solaris seems to report it immediately, that's why we defer it
22:17:47  <trevnorris>ok. and it seems that all write requests will be reported at uv__run_pending()
22:18:04  <trevnorris>a la. uv__write_req_finish() in stream.c
22:19:24  <saghul>correct
22:20:56  <trevnorris>coolio. thanks for the help. there are so many incorrect diagrams of how the event loop works that figured I might as well dive in and actually get it correct :P
22:22:34  <saghul>trevnorris: glad I helped! if you draw a nice diagram let me know and I'll have a look
22:23:18  <trevnorris>saghul: here's all I have so far: https://gist.github.com/trevnorris/05531d8339f8e265bd49
22:24:07  <trevnorris>whoops. that has a duplicate entry....
22:24:32  <trevnorris>there, fixed.
22:25:41  <saghul>kewl
22:25:47  <saghul>looks nice!
22:26:20  <trevnorris>thanks :)
22:28:22  <trevnorris>hm. also looks like successful PIPE connections are delayed. i'll assume again for platform consistency, or to make sure it's asynchronous.
22:34:00  <trevnorris>wait. other way around...
22:35:18  * sh1mmerquit (Quit: sh1mmer)
22:36:12  <trevnorris>ah, that was just confusing since I wasn't looking for it. pipe.c: err = uv__socket(), and that err could be the fd if successful.
22:36:32  <saghul>yep
22:36:51  <saghul>some errors are reported sync, some async
22:36:58  <saghul>usually allocations and such are sync
22:37:29  * wolfeidauquit (Remote host closed the connection)
22:39:17  * bradleymeckjoined
22:40:21  * daviddiasquit (Remote host closed the connection)
22:41:33  * daviddiasjoined
22:41:37  * daviddiasquit (Remote host closed the connection)
22:42:11  * daviddiasjoined
22:48:39  * sh1mmerjoined
22:53:00  <trevnorris>saghul: yeah. i'm seeing about some errors being reported sync and some async. e.g. all errors in uv_pipe_connect() are reported async, but only ECONNREFUSED is async reported from tcp.c.
22:53:07  <trevnorris>saghul: is there a technical reason for this?
22:54:48  * sh1mmerquit (Quit: sh1mmer)
22:55:22  <saghul>the difference is the semantics
22:55:41  <saghul>if connect() fails, the error should be reported immediately
22:55:55  <saghul>but some unices do it async, when the socket is readable
22:56:05  <saghul>but you could get it on the spot
22:56:22  * sh1mmerjoined
22:56:25  * quijotejoined
22:59:40  * bradleymeckquit (Quit: bradleymeck)
23:00:49  * quijotequit (Ping timeout: 244 seconds)
23:03:30  * sh1mmerquit (Quit: sh1mmer)
23:04:06  <trevnorris>saghul: sorry if all these questions are a bother.
23:04:06  <trevnorris>seems like udp.c seems to handle all its own i/o instead of using stream.c
23:04:36  <trevnorris>looks that way since uv__udp_sendmsg() handles its own uv__io_feed()
23:06:19  <trevnorris>yeah. not a single uv_stream* in udp.c
23:10:58  <trevnorris>ok. where the crap is uv__run_idle defined..... suppose it's in some crazy macro (remember ben showing me those once)
23:12:29  <trevnorris>ah yes. loop-watcher.c.
23:19:48  <trevnorris>holy hell. clang -E that crap and be prepared for some macro insanity.
23:19:59  <trevnorris>saghul: how do you guys keep track of wtf is going on there?
23:23:57  <saghul>re udp: udp is not a stream, so it handles it's own io
23:24:13  <saghul>re the crap: well, somewhere at the back of our brains xD
23:24:43  <saghul>yay, my getnameinfo wrap for node works!
23:24:52  <saghul>I CAN JAVASCRIPT YO!
23:24:53  <LOUDBOT>DON'T LOOK AT ME WHEN I'M TALKING TO YOU
23:25:42  <trevnorris>heh
23:25:43  <trevnorris>tjfontaine: ping
23:26:45  <saghul>trevnorris: since we are here, how would you call the exposed function, lookupService ?
23:30:45  * sblomquit (Read error: Connection reset by peer)
23:33:08  <trevnorris>saghul: from c++ to js?
23:33:41  <saghul>trevnorris: yes, on c++ is called getnameinfo
23:34:03  <saghul>so, we do getaddrinfo -> lookup. I'm thinking getnameinfo -> lookupService
23:34:11  <saghul>or lookupHostname
23:34:24  <trevnorris>so this is for node?
23:34:29  <saghul>trevnorris: yep
23:34:50  <trevnorris>ok, sorry. brain is full of libuv right now.
23:34:57  <saghul>no worries
23:35:00  <trevnorris>what module is that for? dns?
23:35:09  <saghul>yes, cares_wrap and dns
23:35:18  <saghul>it uses the new uv_getnameinfo
23:37:04  <trevnorris>saghul: there's a general exported object that you attach methods to. like so: https://github.com/joyent/node/blob/master/src/cares_wrap.cc#L1170
23:37:42  <trevnorris>saghul: and the way a function call looks for js to c++ is like so: https://github.com/joyent/node/blob/master/src/cares_wrap.cc#L978-L1025
23:38:11  * calvinfo2quit (Quit: Leaving.)
23:38:34  <saghul>yeah, I got this far: https://github.com/saghul/node/commit/f80e84ed9e7f3833f3ed1d46b21789c7bd5b98ca
23:39:22  <trevnorris>tjfontaine: so, setImmediate uses uv_idle_t, which are processed in the uv__run_pending() phase of uv_run(), which is after running callbacks from write requests, but _before_ new connections are processed.
23:39:37  <saghul>seems to work somehow :-) I don't know half of the things in there
23:39:43  <trevnorris>haha
23:39:51  <saghul>I'll add some tests and put it up for review
23:40:06  * sh1mmerjoined
23:40:21  <saghul>time to sleep() ttyl!
23:40:25  <trevnorris>see ya :)
23:45:12  <trevnorris>tjfontaine: correction: uv__run_pending() -> uv__run_idle()
23:49:45  * bradleymeckjoined
23:52:15  <trevnorris>tjfontaine: also, we have process._startProfilerIdleNotifier() and process._stopProfilerIdleNotifier(). what are those for?
23:57:04  * quijotejoined