00:00:01  * ircretaryquit (Remote host closed the connection)
00:00:09  * ircretaryjoined
00:02:01  * dshaw_joined
00:08:27  * AlexisMochaquit (Read error: Connection reset by peer)
00:09:00  * m76joined
00:20:40  <Dirkson>Does libuv provide anything that would make creating a command line interface for my program simple? (He asks, eyeing the "tty" module)
00:21:59  * TooTallNatequit (Quit: Computer has gone to sleep.)
00:32:04  * dshaw_quit (Read error: Connection reset by peer)
00:34:35  * stephankquit (Ping timeout: 250 seconds)
00:34:53  * dshaw_joined
00:35:31  * bradleymeckjoined
00:35:43  * bradleymeckquit (Client Quit)
00:35:50  * zz_karupanerurachanged nick to karupanerura
00:36:11  * petka_quit (Quit: Connection closed for inactivity)
00:36:51  * rosskquit
00:36:54  * mikolalysenkoquit (Ping timeout: 252 seconds)
00:37:40  * stephankjoined
00:44:26  * TooTallNatejoined
00:55:06  * kazuponjoined
00:57:43  * kevinsimperjoined
00:58:42  * Qard1quit (Ping timeout: 240 seconds)
01:00:01  * paulfryzeljoined
01:00:14  * dshaw_quit (Ping timeout: 246 seconds)
01:02:29  * c4milojoined
01:03:04  * kevinsimperquit (Ping timeout: 276 seconds)
01:04:00  * seldoquit (Remote host closed the connection)
01:04:44  * paulfryzelquit (Ping timeout: 252 seconds)
01:05:34  * dshaw_joined
01:07:20  * c4miloquit (Ping timeout: 252 seconds)
01:08:03  * thlorenzjoined
01:13:15  * dap_quit (Quit: Leaving.)
01:15:42  * dshaw_quit (Quit: Leaving.)
01:17:18  * LeftWing__joined
01:22:57  * kaesoquit (Ping timeout: 265 seconds)
01:23:03  * LeftWingquit (Ping timeout: 265 seconds)
01:24:42  * kaesojoined
01:28:17  * TooTallNatequit (Quit: Computer has gone to sleep.)
01:46:17  * dshaw_joined
01:54:36  * tylerflintjoined
01:57:54  * dshaw_quit (Ping timeout: 240 seconds)
01:59:01  * tylerflintquit (Ping timeout: 252 seconds)
02:01:12  * paulfryzeljoined
02:03:46  * c4milojoined
02:04:22  * euoiaquit (Quit: leaving)
02:05:15  * brsonquit (Quit: leaving)
02:05:44  * brsonjoined
02:05:47  * paulfryzelquit (Ping timeout: 252 seconds)
02:08:32  * c4miloquit (Ping timeout: 252 seconds)
02:17:33  * brson_joined
02:18:26  * brsonquit (Ping timeout: 252 seconds)
02:22:21  * mikolalysenkojoined
02:23:40  * brsonjoined
02:24:29  * euoiajoined
02:25:04  * brsonquit (Client Quit)
02:25:18  * brsonjoined
02:26:35  * brson_quit (Read error: Connection reset by peer)
02:28:30  * euoiaquit (Client Quit)
02:30:32  * brsonquit (Ping timeout: 252 seconds)
02:31:26  * brsonjoined
02:35:53  * thlorenzquit (Remote host closed the connection)
02:36:28  * thlorenzjoined
02:36:28  * euoiajoined
02:38:00  * benviequit (Ping timeout: 256 seconds)
02:40:41  * thlorenzquit (Ping timeout: 250 seconds)
02:41:59  * brsonquit (Ping timeout: 250 seconds)
02:43:55  * euoiaquit (Quit: leaving)
02:43:55  * brsonjoined
02:44:50  * euoiajoined
02:50:09  * TooTallNatejoined
02:54:21  * dshaw_joined
02:58:42  * dshaw_quit (Ping timeout: 240 seconds)
02:58:51  * kevinsimperjoined
02:59:21  * euoiaquit (Quit: leaving)
03:00:03  * euoiajoined
03:01:54  * paulfryzeljoined
03:02:00  * kazuponquit (Remote host closed the connection)
03:02:34  * kazuponjoined
03:03:18  * kevinsimperquit (Ping timeout: 240 seconds)
03:06:17  * paulfryzelquit (Ping timeout: 252 seconds)
03:06:54  * kazuponquit (Ping timeout: 240 seconds)
03:24:31  * LeftWing__changed nick to LeftWing
03:24:43  * euoiaquit (Quit: leaving)
03:25:31  * benviejoined
03:26:31  * paulfryzeljoined
03:26:59  * lars2893quit (Quit: Connection closed for inactivity)
03:29:27  * TooTallNatequit (Quit: Computer has gone to sleep.)
03:36:35  * benvie_joined
03:37:56  * saghul_quit (Ping timeout: 246 seconds)
03:39:12  * benviequit (Ping timeout: 256 seconds)
03:50:44  * saghul_joined
03:52:01  * brsonquit (Quit: leaving)
03:52:37  * c4milojoined
03:57:55  * c4miloquit (Ping timeout: 276 seconds)
04:00:37  * sinclair|workjoined
04:02:38  * paulfryz_joined
04:04:54  * jordan1quit (Ping timeout: 240 seconds)
04:07:20  * paulfryz_quit (Ping timeout: 252 seconds)
04:16:02  * benvie_quit (Ping timeout: 256 seconds)
04:18:08  * jordan1joined
04:24:32  * kazuponjoined
04:35:56  * seldojoined
04:36:08  * paulfryzelquit (Remote host closed the connection)
04:57:43  * rmg_quit
04:59:35  * kevinsimperjoined
05:02:06  * TooTallNatejoined
05:04:52  * kevinsimperquit (Ping timeout: 276 seconds)
05:18:13  * bradleymeckjoined
05:28:44  * m76quit (Read error: Connection reset by peer)
05:34:29  * c4milojoined
05:39:17  * bajtosjoined
05:50:22  * mogillquit (Quit: mogill)
06:13:18  * dshaw_joined
06:15:47  * TooTallNatequit (Quit: Computer has gone to sleep.)
07:00:34  * mikolalysenkoquit (Ping timeout: 276 seconds)
07:01:52  * janjongboomjoined
07:01:58  * janjongboomquit (Remote host closed the connection)
07:02:33  * dshaw_quit (Quit: Leaving.)
07:04:35  * kevinsimperjoined
07:04:57  * paulfryzeljoined
07:07:37  * rendarjoined
07:09:23  * paulfryzelquit (Ping timeout: 252 seconds)
07:12:42  * inolenquit (Ping timeout: 240 seconds)
07:15:19  * inolenjoined
07:27:04  * c4miloquit (Remote host closed the connection)
07:31:38  * sinclair|work_joined
07:33:37  * sinclair|workquit (Ping timeout: 250 seconds)
07:33:38  * sinclair|work_changed nick to sinclair|work
07:39:18  * pdurbinquit (Ping timeout: 240 seconds)
07:41:50  * pdurbinjoined
07:43:50  * c4milojoined
07:45:23  * c4miloquit (Remote host closed the connection)
07:50:16  * petka_joined
07:53:45  * txdvjoined
07:57:01  * mikolalysenkojoined
08:01:45  <MI6>joyent/libuv: Alexis Campailla master * ba47e68 : windows: fix opening of read-only stdin pipes - http://git.io/An4nsQ
08:02:19  * mikolalysenkoquit (Ping timeout: 276 seconds)
08:49:12  <MI6>joyent/libuv: Norio Kobota master * 1759781 : build: fix building with old versions of autoconf - http://git.io/6uFDWQ
08:54:48  * Kakerajoined
08:57:15  * janjongboomjoined
09:06:27  * paulfryzeljoined
09:08:32  * kazuponquit (Read error: Connection timed out)
09:10:13  * kazuponjoined
09:10:56  * paulfryzelquit (Ping timeout: 252 seconds)
09:11:51  * m76joined
09:23:44  * benviejoined
09:28:19  * bajtosquit (Quit: bajtos)
09:29:18  * pdurbinquit (Ping timeout: 252 seconds)
09:29:34  * bajtosjoined
09:30:48  * kevinsimperquit (Remote host closed the connection)
09:30:54  * pdurbinjoined
09:35:06  * janjongboomquit (Ping timeout: 240 seconds)
09:36:16  * janjongboomjoined
09:49:10  * AlexisMochajoined
09:51:53  * hzjoined
09:52:49  * bajtosquit (Quit: bajtos)
09:53:47  * bajtosjoined
10:00:55  * Qardjoined
10:09:18  * Kakeraquit (Ping timeout: 240 seconds)
10:10:28  * kevinsimperjoined
10:11:36  * bajtosquit (Quit: bajtos)
10:13:00  * kevinsimperquit (Remote host closed the connection)
10:13:58  * karupanerurachanged nick to zz_karupanerura
10:15:51  * kevinsim_joined
11:08:01  * paulfryzeljoined
11:12:29  * paulfryzelquit (Ping timeout: 252 seconds)
11:32:09  * kazuponquit (Remote host closed the connection)
11:32:36  * kazuponjoined
11:37:09  * kazuponquit (Ping timeout: 250 seconds)
11:42:57  * kazuponjoined
11:54:01  * kazuponquit (Remote host closed the connection)
11:54:29  * kazuponjoined
11:58:54  * kazuponquit (Ping timeout: 240 seconds)
12:03:08  * stagasjoined
12:05:22  * thlorenzjoined
12:07:30  * thlorenzquit (Remote host closed the connection)
12:08:03  * thlorenzjoined
12:08:54  * paulfryzeljoined
12:10:04  * c4milojoined
12:12:06  * thlorenzquit (Ping timeout: 240 seconds)
12:13:32  * paulfryzelquit (Ping timeout: 252 seconds)
12:26:00  * mikolalysenkojoined
12:27:06  * c4miloquit (Ping timeout: 240 seconds)
12:31:44  * c4milojoined
12:36:36  * janjongboomquit (Ping timeout: 276 seconds)
12:37:47  * janjongboomjoined
12:39:11  * thlorenzjoined
13:07:11  * janjongboomquit (Ping timeout: 245 seconds)
13:08:20  * janjongboomjoined
13:09:11  * felixgejoined
13:09:34  * paulfryzeljoined
13:14:17  * paulfryzelquit (Ping timeout: 258 seconds)
13:18:44  * paulfryzeljoined
13:24:29  * mikolalysenkoquit (Ping timeout: 252 seconds)
13:28:00  * kazuponjoined
13:30:24  * mikolalysenkojoined
13:34:33  * thlorenzquit (Remote host closed the connection)
13:51:46  * c4miloquit (Remote host closed the connection)
14:05:56  * wolfeidaujoined
14:07:37  * kevinsim_quit (Remote host closed the connection)
14:07:57  * janjongboomquit (Ping timeout: 258 seconds)
14:08:54  * janjongboomjoined
14:14:10  * m76quit (Read error: Connection reset by peer)
14:15:56  * paulfryzelquit (Remote host closed the connection)
14:39:25  * kellabytejoined
14:48:23  * kenperkinsquit (Remote host closed the connection)
14:49:01  * kenperkinsjoined
14:51:43  <MI6>joyent/libuv: Alex Crichton master * deff0e3 : test: Close process handles when spawn fails (+1 more commits) - http://git.io/VpFnlw
14:57:54  * paulfryzeljoined
15:05:11  * kevinsimperjoined
15:09:46  * paulfryz_joined
15:10:40  <MI6>joyent/libuv: 李港平 master * 0c726e7 : windows: fix console signal handler refcount - http://git.io/dbjLcw
15:11:01  <tjfontaine>erm
15:11:15  <tjfontaine>we should aim for anglicized names ;)
15:11:33  <tjfontaine>indutny: reviewing reuseAddr
15:12:14  <saghul_>gotta love unicode
15:13:06  <tjfontaine>libuv is unstable on all builds now?
15:13:29  <tjfontaine>still http://jenkins.nodejs.org/job/libuv-master-gyp/DESTCPU=ia32,label=linux/597/tapTestReport/test.tap-160/ spawn_closed_process_io
15:14:05  <kellabyte>trevnorris: enjoyed listening to you on the nodeup podcast :)
15:14:29  * paulfryz_quit (Ping timeout: 252 seconds)
15:15:32  <bradleymeck>tjfontaine: we missed eachother yesterday if you get some time
15:16:08  <tjfontaine>bradleymeck: indeed, should definitely be doable
15:21:10  <saghul_>indutny: chan you look into spawn_closed_process_io? fails on jenkins, seems to be env related, it does work locally
15:21:14  <saghul_>*can
15:21:17  <indutny>hey man
15:21:20  <indutny>tjfontaine: heya
15:21:30  <tjfontaine>I am currently trying: cat | run-tests
15:21:34  <tjfontaine>run-tests < foo
15:21:36  <tjfontaine>was fin
15:21:37  <tjfontaine>e
15:21:44  <indutny>yeah, works fine for me too
15:21:50  <indutny>one sec
15:21:52  * mogilljoined
15:21:59  <tjfontaine>it's definitely how it's being spawned by jenkins that's breaking the test
15:22:10  <indutny>one sec
15:22:48  <indutny>oh, hm...
15:23:50  * kevinsimperquit (Ping timeout: 252 seconds)
15:29:59  * kenperkins_joined
15:31:34  * m76joined
15:31:54  * kenperkinsquit (Ping timeout: 258 seconds)
15:32:39  <indutny>sorry, back
15:35:41  <tjfontaine>indutny, trevnorris, AlexisMocha: I'm going to say no to the call today, since we had one on monday, and I really want to keep working
15:36:11  <tjfontaine>indutny: reuseAddr seems fine, is there a decent way to write a test for that (stealing a port)
15:36:26  <indutny>tjfontaine: let's say that we already have one :)
15:36:34  <tjfontaine>heh
15:36:41  <indutny>it is not a main purpose of it
15:36:45  <indutny>but it definitely depends on it
15:36:56  <tjfontaine>nod
15:37:19  <indutny>landing?
15:37:48  <tjfontaine>yes
15:38:08  <indutny>ok, kewl
15:40:06  <MI6>joyent/node: Fedor Indutny master * 592be01 : dgram: introduce `reuseAddr` option - http://git.io/B4IMvA
15:42:52  * kazuponquit (Remote host closed the connection)
15:43:20  * kazuponjoined
15:45:18  <tjfontaine>hmm hanging processes still?
15:46:19  <indutny>wut?
15:47:16  <tjfontaine>http://jenkins.nodejs.org/job/nodejs-master/DESTCPU=ia32,label=osx/1074/tapTestReport/internet.tap-1/
15:47:19  <tjfontaine>oh
15:47:21  <tjfontaine>that's in tests/internet
15:47:37  <tjfontaine>that's why I didn't see it
15:47:42  * kazuponquit (Ping timeout: 252 seconds)
15:49:31  <tjfontaine>right, it calls .bind before doing multicast work
15:51:05  <indutny>so
15:51:08  <indutny>it should be update too?
15:51:11  <indutny>updated*
15:51:33  <indutny>yeah
15:51:34  <indutny>I guess so
15:52:06  <indutny>I'll push a fix in a bit
15:54:30  <tjfontaine>thanks
15:56:28  <MI6>joyent/node: Fedor Indutny master * 045f765 : test: add `reuseAddr` in dgram-multicast... - http://git.io/Paufzw
15:56:29  <indutny>all good now
15:57:00  * rmgjoined
15:57:21  * kevinsimperjoined
16:00:07  * dshaw_joined
16:02:44  * kevinsimperquit (Remote host closed the connection)
16:08:39  <tjfontaine>indutny: in https://github.com/joyent/node/pull/7370/files#diff-eeee5edfa800ba6943af7380a61c6f62R522 shouldn't that be uint32_t? seems like someone could .truncate and get a negative value through there
16:08:51  * Qardquit (Ping timeout: 245 seconds)
16:10:32  * paulfryz_joined
16:13:01  * Qardjoined
16:15:13  * paulfryz_quit (Ping timeout: 258 seconds)
16:15:17  * Qardquit (Client Quit)
16:18:41  <indutny>yeah, good point
16:19:28  * Qardjoined
16:20:43  * mogillquit (Quit: mogill)
16:21:13  * Kakerajoined
16:21:32  * bajtosjoined
16:25:40  * kevinsimperjoined
16:33:38  * kenperkins_quit (Remote host closed the connection)
16:34:20  * kenperkinsjoined
16:40:06  <indutny>tjfontaine: anything else except this?
16:40:54  <indutny>tjfontaine: hm... actually
16:41:13  <indutny>it is a v8 API
16:41:19  <indutny>it requires `int` argument
16:42:09  <tjfontaine>indutny: we just need to make sure we're not overflowing there
16:42:22  <tjfontaine>indutny: or look to see what the v8 api does in the case of a negative value there
16:44:47  * mcavagejoined
16:47:17  * bradleymeckquit (Quit: bradleymeck)
16:50:48  * bajtosquit (Quit: bajtos)
17:00:45  <txdv>mmalecki: have you writte the uv_icmp module?
17:03:28  * sblomjoined
17:03:45  * Kakeraquit (Ping timeout: 276 seconds)
17:06:31  * seldo_joined
17:07:54  * seldo_quit (Remote host closed the connection)
17:08:00  * seldo_joined
17:08:14  * seldo_quit (Remote host closed the connection)
17:11:31  * wolfeidauquit (Remote host closed the connection)
17:12:12  * wolfeidaujoined
17:14:20  * seldo_joined
17:16:53  * mikolalysenkoquit (Ping timeout: 250 seconds)
17:19:55  * paulfryz_joined
17:23:39  <tjfontaine>man I want to change our module loader
17:24:01  <tjfontaine>I don't think there's actually a good fix for the module cache case sensitivity issue
17:24:06  * paulfryz_quit (Ping timeout: 240 seconds)
17:33:46  * dap_joined
17:34:21  * hzquit
17:34:38  * WalrusPonyjoined
17:34:44  * seldo_quit (Remote host closed the connection)
17:35:42  * WalrusPony1quit (Ping timeout: 240 seconds)
17:35:50  * seldo_joined
17:42:56  * TooTallNatejoined
17:43:05  * janjongboomquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
17:45:58  * dshaw_quit (Quit: Leaving.)
17:46:41  * dshaw_joined
17:51:02  * hzjoined
17:51:57  * kenperkins_joined
17:52:02  * kenperkinsquit (Read error: Connection reset by peer)
17:52:38  * stagasquit (Read error: Connection reset by peer)
17:55:14  <MI6>joyent/node: Timothy J Fontaine v0.10 * 632c135 : src: use monotonic time for process.uptime() - http://git.io/En3ssg
17:55:42  * bradleymeckjoined
17:57:24  * Kakerajoined
18:01:56  * kevinsimperquit (Remote host closed the connection)
18:02:47  * benviequit (Ping timeout: 252 seconds)
18:05:30  * piscisaureusjoined
18:07:20  * piscisaureusquit (Client Quit)
18:07:36  * piscisaureusjoined
18:11:08  * janjongboomjoined
18:11:22  * inolenquit (Quit: Leaving.)
18:11:42  * inolenjoined
18:11:45  * inolenquit (Client Quit)
18:12:57  * inolenjoined
18:12:59  * Kakeraquit (Quit: Leaving)
18:16:30  * Kakerajoined
18:17:09  <roxlu>indutny: did you do any work for that http_parser?
18:20:53  * paulfryz_joined
18:21:17  <bradleymeck>is there any reason people can think of to only expose global.module on -e/-i?
18:22:15  * mikolalysenkojoined
18:22:19  <tjfontaine>our use of -e -p and missing -n are frustrating
18:22:52  <tjfontaine>https://www.npmjs.org/package/nf this is how I think it should work
18:23:59  <tjfontaine>bradleymeck: to quote what I say in my readme for that -- "Scripts (either in string form or from a file) are not the same thing as a node module; most but not all the globals you expect are there. You can require in your script, but notably exports and module are missing as their utility would be suspect."
18:24:48  <bradleymeck>mmm just wondering since node-inspector guys brought up a need to get a handle on require() to bootstrap some stuff
18:25:06  * paulfryz_quit (Ping timeout: 240 seconds)
18:25:20  <tjfontaine>define "get a handle"
18:25:29  <tjfontaine>oh you mean monkey patch?
18:25:40  <bradleymeck>if someonce gets to eval code, getting a hande on a require function is pretty easy, they need to fire up a tcp connection back to inspector
18:26:01  <bradleymeck>its not really a monkey patch, more just they need to do some tasks to make a comm bridge
18:26:41  * brsonjoined
18:35:08  * piscisaureusquit (Ping timeout: 258 seconds)
18:37:13  <tjfontaine>bradleymeck: I'm missing something I guess -- I'm not entirely sure what's breaking in this case
18:37:57  * piscisaureusjoined
18:38:47  <bradleymeck>the debugger protocol does not have all the features of DevTools, so how chromium/node-inspector work is to setup an out of band comm channel it seems (was talking to bajtos about this)
18:41:26  <tjfontaine>ok
18:45:05  <bradleymeck>we could do things to modify the debugger’s API as well, but thats just kind of trying to keep in sync with w/e dev tools wants
18:45:21  <bradleymeck>would be a fair amount of work… T_T
18:45:55  <tjfontaine>I need to look at what all they're doing, I'm not sure if it really makes sense for -e ... I'm not even entirely sure what -e has to do in the mix of all this, my head isn't completely wrapped around it yet
18:46:28  <bradleymeck>well when you call evalScript in node.js, you add the main module as global.module (unsure why)
18:49:59  <bradleymeck>interesting to note also, found out v8::Debug::SendCommand() works even without an agent active
18:55:50  * rosskjoined
19:06:43  <piscisaureus>bradleymeck: that's because the node repl isn't evaluated in a function(require, module, __file,__, __line__) wrapper
19:07:09  <piscisaureus>bradleymeck: so instead require and module are made global so you still can use them in the repl
19:19:57  * m76quit (Ping timeout: 250 seconds)
19:21:32  * paulfryz_joined
19:25:56  * paulfryz_quit (Ping timeout: 245 seconds)
19:40:06  * piscisaureusquit (Ping timeout: 245 seconds)
19:44:32  * Kakeraquit (Ping timeout: 252 seconds)
19:54:08  * mogilljoined
19:56:38  * stagasjoined
19:59:00  <trevnorris>afternoon all
20:02:26  <groundwater>trevnorris: hello!
20:03:09  * c4milojoined
20:03:54  * nifocquit (Ping timeout: 240 seconds)
20:04:10  * m76joined
20:05:58  <trevnorris>hi :)
20:11:12  <tjfontaine>trevnorris: can you please look at 7443 and 7442
20:11:45  * nifocjoined
20:12:00  <Domenic_>Does libuv have a "streaming" directory-listing API? Node doesn't seem to.
20:12:17  <tjfontaine>not at the moment no
20:13:01  <tjfontaine>Ideally we would use something like http://linux.die.net/man/3/ftw
20:13:52  <Domenic_>i assume windows/os X also have similar APIs... i.e. this didn't get stuck for lack of cross-platformness.
20:14:19  <tjfontaine>ftw is posix -- and .net at least has a similar binding for it
20:15:06  * mikolalysenkoquit (Ping timeout: 240 seconds)
20:17:04  <bradleymeck>i thought ftw was being deprecated… maybe I am thinking of something else
20:17:13  <tjfontaine>in favor of nftw
20:17:17  <bradleymeck>windows under the hood only has streaming, unsure if OSX
20:17:21  <indutny>tjfontaine: right, I could use an unsigned int with kMaxLength limit
20:22:17  * paulfryz_joined
20:23:35  * dshaw_quit (Quit: Leaving.)
20:26:42  * paulfryz_quit (Ping timeout: 240 seconds)
20:38:17  * kevinsimperjoined
20:38:35  <indutny>tjfontaine: ping
20:38:59  <indutny>going to push update to that PR
20:42:48  <trevnorris>tjfontaine: on it
20:43:53  * mikealjoined
20:45:33  * mikolalysenkojoined
20:47:26  <tjfontaine>indutny: ok thanks
20:47:33  <tjfontaine>trevnorris: gracias
20:52:44  <MI6>joyent/node: William Bert v0.10 * bfb7de5 : docs: fix links to streams - http://git.io/ZoyoyA
20:53:30  <tjfontaine>erm
20:53:34  <tjfontaine>if that's fucking github ..
20:53:55  <tjfontaine>ah jenkins -- it's always something or other that I hate
20:54:11  * dshaw_joined
20:54:49  <MI6>joyent/node: Fedor Indutny master * 525fad4 : test: remove vm-infinite-recursion - http://git.io/77MKnw
20:55:31  <indutny>tjfontaine: http://www.joyent.com/company/careers/software-engineer-node-js-core
20:55:35  <indutny>good job, guys :)
20:55:54  <indutny>we definitely need more hands on it
20:56:03  <tjfontaine>it's technically been available for a position for a while, but I didn't get the job description finished until today
20:56:11  <othiym23>TWEET THAT SHIT
20:56:12  <LOUDBOT>I'M HERE TO INFORM YOU POOR SONS OF BITCHES ABOUT SCHEDTOOL
20:56:25  * othiym23goes off to read about schedtool
20:56:54  * rendarquit
20:57:04  <indutny>oh, so spawn_closed_process_io again
20:57:13  * dshaw_quit (Read error: Connection reset by peer)
20:57:16  <indutny>looking at it again
20:57:23  <tjfontaine>it seems only on linux
20:57:27  * dshaw_joined
20:57:27  <indutny>ok
20:57:32  <tjfontaine>or rather !osx
20:57:55  <tjfontaine>but it's either run-tests < file.txt or cat file.txt | run-tests that's triggering it
20:58:57  <indutny>ok
20:58:59  <indutny>thanks
20:59:31  <mmalecki>txdv: hey, unfortunately I didn't
21:02:22  * felixgequit (Quit: felixge)
21:05:38  <indutny>tjfontaine: is there any way to test it on windows: https://github.com/joyent/node/pull/7413/files ?
21:05:45  <indutny>a button or something like this
21:05:52  <indutny>or should I just push it to branch?
21:06:06  <tjfontaine>push it to a branch -- easiest way
21:06:46  <indutny>ok
21:06:47  <indutny>thanks
21:07:07  * felixgejoined
21:08:05  <indutny>actually
21:08:18  <tjfontaine>or
21:08:21  <tjfontaine>use the scratch vm
21:10:57  <indutny>no
21:11:02  <indutny>I think this patch is wrong
21:11:05  <tjfontaine>k
21:14:10  * mordy_joined
21:14:27  <mordy_>hi folks
21:14:51  <tjfontaine>indutny: I forget the promotion rules -- is this cast required? if (static_cast<int>(new_len) > length)
21:14:54  <mordy_>what's the behavior of the read callback when uv_close is invoked? i'd expect it to be invoked with an error, but that might not be happening
21:15:13  <indutny>tjfontaine: hm... I don't remember them either, but I do remember a warning
21:15:18  <indutny>comparing signed and unsigned value
21:15:24  <tjfontaine>nod
21:15:37  <indutny>guess it is more explicit this way
21:15:40  <indutny>and certainly safe
21:15:45  <indutny>mordy_: heya!
21:15:54  <mordy_>hi
21:16:10  <indutny>mordy_: are you calling uv_close() from alloc_cb?
21:17:15  <mordy_>indutny: no
21:17:25  <indutny>from read_cb() ?
21:18:00  <indutny>anyway
21:18:04  <mordy_>indutny: that is a possible code path, but in this case i'm calling it outside of any handle-related callbacks
21:18:14  <tjfontaine>indutny: truncate seems fine with me
21:18:15  <indutny>ok, everything is fine with both
21:18:18  <indutny>tjfontaine: great
21:18:21  * Kakerajoined
21:18:48  <indutny>mordy_: so the semantics are following: read is not a request, and thus closure of handle doesn't terminate it or make it fail
21:19:03  <indutny>mordy_: libuv will just silently stop reading
21:19:09  <tjfontaine>indutny: if there are no pending libuv updates can you do a libuv release and integrate #7433?
21:19:15  <mordy_>indutny: hrm. :( -- i used to have this nasty piece of code that i removed. lemme show
21:19:55  <indutny>tjfontaine: better you do a release :)
21:20:15  <indutny>tjfontaine: don't think that it is a good time to give a try to bert's tool at 1 am
21:20:18  <indutny>mordy_: sure
21:20:27  <tjfontaine>hehe ok, it's generally clear to do a libuv release though?
21:20:37  <brett19>indutny: how does the memory allocated via alloc_cb get returned to the library?
21:20:42  <tjfontaine>nothing else at the moment outstanding?
21:20:53  <MI6>joyent/node: Fedor Indutny master * 4c36f3e : buffer: truncate buffer after string decode - http://git.io/B5b4Rw
21:20:54  <brett19>Or does it just... not, and the caller is responsible for keeping track of the buffers allocated
21:21:07  <indutny>saghul_: heya
21:21:15  <indutny>saghul_: any outstanding libuv things to land?
21:21:19  <indutny>tjfontaine: at least not from me
21:21:28  <indutny>brett19: in a read_cb
21:21:30  <indutny>always
21:21:39  <indutny>the caller should free it
21:21:49  <indutny>actually it may be not allocated at all! :)
21:21:54  <indutny>so libuv doesn't know about it
21:22:13  <indutny>I don't really remember any place, where libuv will free supplied memory chunk
21:22:26  <brett19>well no, but it calls the read_callback with nread==-1
21:22:30  <indutny>not taking in account allocations made by libuv itself
21:22:34  <indutny>brett19: and with buf
21:22:44  <indutny>check it
21:22:47  <indutny>it should be there
21:22:52  <mordy_>brett19: i was hoping to simplify this: https://github.com/couchbase/libcouchbase/blob/master/plugins/io/libuv/plugin-libuv.c#L200-322
21:22:54  <brett19>Right, but does it do that when the socket closes
21:22:57  <MI6>joyent/node: goussardg master * 8e823bc : buffer: return uint if MSB is 1 in readUInt32 - http://git.io/O35qWA
21:23:06  <tjfontaine>ack -- realnames please.
21:23:09  * paulfryz_joined
21:23:20  <brett19>now that I think about it though, I think uv only calls alloc_cb immediately before the read callback
21:23:33  <indutny>heh
21:23:33  <mordy_>brett19: it shouldn't be the case on win32
21:23:34  <trevnorris>well poop. didn't see he hadn't used his real name
21:23:35  <brett19>So when the socket closes, there will be no outstanding alloc_cb's that haven't been callbackd, since it calls the callback inline
21:23:35  <mordy_>only unix
21:23:36  <tjfontaine>I'm just going to have to write the pre-commit tool
21:23:45  <brett19>ahh, true mordy__
21:23:47  <mordy_>it can't be the case on win32
21:23:55  <mordy_>though..
21:24:01  <indutny>it isn't the case
21:24:06  <mordy_>i think uv's code doesn't use strict iocp on win32
21:24:08  <indutny>it always follows each other
21:24:13  <mordy_>it uses some kind of readyness model
21:24:14  <tjfontaine>indutny: I think before I do a libuv release I'll validate #1165
21:24:19  <mordy_>which is rather confusing imo
21:24:30  <indutny>yes
21:24:33  <indutny>tjfontaine: this is good
21:27:23  * paulfryz_quit (Ping timeout: 252 seconds)
21:27:33  <txdv>what is strict iocp
21:29:00  <mordy_>txdv: i mean where the buffer passed to WSARecv must remain valid until the OVERLAPPED structure is received in the GQCS* routines
21:29:12  <mordy_>which would violate the "alloc cb is always called from read cb" thing
21:31:36  * felixgequit (Quit: felixge)
21:32:31  <indutny>tjfontaine: https://github.com/joyent/node/pull/7371
21:32:34  <brett19>txdv: 'strict iocp' would mean passing in write buffers to ReadFile, and then doing IOCP wait on that, which means the kernel can do the work of writing the data to the buffers without a context switch
21:32:41  * indutnytjfontaine: should I just land it with a string concat instead of '\0' join?
21:32:45  <brett19>s/write buffers/writeable buffers/g
21:32:47  <indutny>erm, cmd+enter sucks
21:38:37  * Qardquit (Ping timeout: 250 seconds)
21:39:04  <mmalecki>tjfontaine: remote is no go, I'd assume :) ?
21:40:00  * Qardjoined
21:43:19  * Qardquit (Read error: Connection reset by peer)
21:44:04  * mikealquit (Quit: Leaving.)
21:46:01  * Qardjoined
21:53:16  * mikealjoined
22:04:54  * rvaggquit (Ping timeout: 240 seconds)
22:05:32  * rvaggjoined
22:05:50  * benviejoined
22:09:27  <txdv>I don't know much about IOCP
22:12:22  <txdv>but I can tell you that much sacrifice was brought by the unix world just so the api could be the same on all platforms
22:14:11  * dap_quit (Quit: Leaving.)
22:15:30  <saghul_>indutny: hey
22:17:09  <saghul_>indutny, tjfontaine I don't have any pending patches to land atm, I'm fine with doing a release
22:17:40  <tjfontaine>mmalecki: sorry remote?
22:18:09  <mordy_>admittedly it's much simpler if you can just embed your read buffers
22:18:18  <tjfontaine>saghul_: I'm goign to verify the timers patch from AlexisMocha
22:18:56  <mmalecki>tjfontaine: that job advertisment :)
22:18:59  <saghul_>tjfontaine: great! if he feels confident about it I'm fine with landing
22:19:10  <tjfontaine>indutny: I'm really confused about the txt response issue -- whiel I'm building I will see what my library does by default
22:19:22  <tjfontaine>mmalecki: ah -- well case by case basis :)
22:19:37  <tjfontaine>saghul_: ya I just want to make sure there's no obvious perf hit for node
22:19:44  <indutny>tjfontaine: ok
22:19:49  <saghul_>tjfontaine: sure
22:19:56  <tjfontaine>saghul_: hoping to see the same results he did
22:35:56  * brsonquit (Ping timeout: 245 seconds)
22:38:51  * mikolalysenkoquit (Ping timeout: 250 seconds)
22:42:26  * mikealquit (Quit: Leaving.)
22:43:55  * brsonjoined
22:45:32  * thlorenzjoined
22:50:17  * janjongboomquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
22:51:45  * bradleymeckquit (Quit: bradleymeck)
22:57:37  * octetcloudjoined
22:59:43  * stagasquit (Read error: Connection reset by peer)
23:06:47  * bradleymeckjoined
23:11:38  * thlorenzquit (Remote host closed the connection)
23:11:50  * mikolalysenkojoined
23:12:09  * thlorenzjoined
23:14:16  * Kakeraquit (Ping timeout: 245 seconds)
23:16:30  * thlorenzquit (Ping timeout: 258 seconds)
23:17:54  * paulfryzelquit (Remote host closed the connection)
23:18:53  * paulfryzeljoined
23:21:22  * kevinsimperquit (Remote host closed the connection)
23:22:20  * cphooverjoined
23:23:26  * paulfryzelquit (Ping timeout: 252 seconds)
23:24:41  * paulfryzeljoined
23:24:43  * thlorenzjoined
23:25:58  * WalrusPony1joined
23:26:49  * thlorenzquit (Remote host closed the connection)
23:27:50  * WalrusPonyquit (Ping timeout: 252 seconds)
23:28:54  * paulfryzelquit (Ping timeout: 240 seconds)
23:32:08  <indutny>tjfontaine: so this test failure is because of EPIPE
23:32:15  <indutny>tjfontaine: I mean libuv
23:35:53  <tjfontaine>interesting
23:35:56  <tjfontaine>so you can reproduce?
23:36:14  <indutny>yes
23:36:19  <indutny>will figure it out tomorrow
23:36:23  <tjfontaine>with cat foo | run-tests?
23:36:26  <indutny>no
23:36:28  <indutny>just run-tests
23:36:31  <tjfontaine>ah
23:36:33  <indutny>it is racey
23:36:37  <tjfontaine>coolio
23:36:40  <indutny>and doesn't work with strace -f
23:36:45  <tjfontaine>of course not
23:36:45  <indutny>unfortunately
23:36:47  <tjfontaine>dtrace time ;)
23:36:51  <indutny>haha
23:37:00  <indutny>I'm on ubuntu right now
23:37:03  <indutny>or debian
23:37:04  <indutny>whatever
23:37:16  <tjfontaine>same difference
23:38:30  <indutny>I guess the problem is that child process exits
23:38:33  <indutny>before the write happens
23:39:25  <indutny>hm...
23:41:21  <indutny>yes, I have a fix
23:41:31  <tjfontaine>coolio
23:41:37  <tjfontaine>just for the test itself
23:41:43  <indutny>yes
23:43:05  <indutny>tjfontaine: https://github.com/joyent/libuv/pull/1233
23:43:17  <indutny>feel free to land it if tests are passing on jenkins
23:43:19  <indutny>going to sleep now
23:43:20  <indutny>ttyl!
23:43:26  * mikolalysenkoquit (Ping timeout: 245 seconds)
23:44:02  <tjfontaine>indutny: g'night!
23:46:12  * petka_quit (Quit: Connection closed for inactivity)
23:49:06  * paulfryzeljoined
23:58:14  * mikolalysenkojoined