00:00:00  * ircretaryquit (Remote host closed the connection)
00:00:08  * ircretaryjoined
00:00:28  <kellabyte>bnoordhuis: I'm checking out this TLS now
00:01:55  * bnoordhuisquit (Read error: Operation timed out)
00:04:04  * txdvquit (Ping timeout: 264 seconds)
00:06:33  * c4miloquit (Remote host closed the connection)
00:07:39  * txdvjoined
00:08:45  * c4milojoined
00:11:27  <MI6>libuv-master-gyp: #138 UNSTABLE windows-x64 (5/194) windows-ia32 (3/194) smartos-ia32 (4/193) smartos-x64 (2/193) http://jenkins.nodejs.org/job/libuv-master-gyp/138/
00:13:42  <MI6>libuv-master: #200 FAILURE windows (4/194) http://jenkins.nodejs.org/job/libuv-master/200/
00:15:08  <tjfontaine>thanks jenkins.
00:17:06  * AvianFlujoined
00:18:57  * c4miloquit (Remote host closed the connection)
00:20:17  <MI6>libuv-node-integration: #184 UNSTABLE smartos-x64 (13/636) smartos-ia32 (9/636) osx-ia32 (1/636) linux-x64 (1/636) linux-ia32 (1/636) http://jenkins.nodejs.org/job/libuv-node-integration/184/
00:20:30  * c4milojoined
00:21:42  <mordy__>hrm, what are the DecodeBytes/Encode stuff in node:: ?
00:23:27  * EhevuTovquit (Quit: This computer has gone to sleep)
00:30:18  * TooTallNatequit (Quit: Computer has gone to sleep.)
00:31:41  * groundwaterquit (Ping timeout: 245 seconds)
00:31:46  <MI6>libuv-master-gyp: #139 FAILURE windows-x64 (3/194) windows-ia32 (4/194) smartos-ia32 (4/193) http://jenkins.nodejs.org/job/libuv-master-gyp/139/
00:33:12  * defunctzombiechanged nick to defunctzombie_zz
00:34:34  * groundwaterjoined
00:42:35  * amartensquit (Quit: Leaving.)
00:45:51  * kazuponjoined
00:54:21  * TooTallNatejoined
00:54:47  * c4miloquit (Remote host closed the connection)
00:58:53  * dapquit (Quit: Leaving.)
01:07:32  * st_lukejoined
01:07:46  * groundwaterquit (Quit: groundwater)
01:11:50  * st_lukequit (Ping timeout: 240 seconds)
01:21:20  * EhevuTovjoined
01:22:30  * AvianFluquit (Remote host closed the connection)
01:23:31  * TooTallNatequit (Quit: Computer has gone to sleep.)
01:27:44  * wolfeidaujoined
01:31:01  * ecrquit (Quit: ecr)
01:46:19  * AvianFlujoined
01:53:56  * brsonquit (Ping timeout: 268 seconds)
01:54:11  * kazuponquit (Remote host closed the connection)
01:56:29  * st_lukejoined
01:59:38  * abraxasjoined
02:02:18  * defunctzombie_zzchanged nick to defunctzombie
02:09:12  * st_lukequit (Remote host closed the connection)
02:09:54  * st_lukejoined
02:13:55  * austoquit (Quit: Leaving)
02:19:46  * amartensjoined
02:19:53  * TooTallNatejoined
02:27:28  * defunctzombiechanged nick to defunctzombie_zz
02:27:38  * defunctzombie_zzchanged nick to defunctzombie
02:43:18  * roxluquit (Ping timeout: 264 seconds)
02:43:20  * st_lukequit (Remote host closed the connection)
02:43:53  * roxlujoined
02:47:39  * avalanche123joined
02:47:49  * c4milojoined
02:47:56  * avalanche123quit (Client Quit)
03:01:32  * acrichtopart
03:07:55  * roxluquit (Ping timeout: 245 seconds)
03:08:53  * roxlujoined
03:11:31  * brsonjoined
03:32:02  * brsonquit (Quit: leaving)
03:32:09  * c4miloquit (Remote host closed the connection)
03:32:53  * c4milojoined
03:41:34  * pachetquit (Quit: [ +++ ])
03:46:57  * TooTallNatequit (Quit: Computer has gone to sleep.)
03:49:30  * c4miloquit (Remote host closed the connection)
03:55:01  * dominictarrjoined
03:59:44  * AvianFluquit (Remote host closed the connection)
04:05:50  * kazuponjoined
04:07:09  * AvianFlujoined
04:13:33  * EhevuTovquit (Quit: This computer has gone to sleep)
04:22:39  * st_lukejoined
04:27:30  * AvianFluquit (Remote host closed the connection)
04:28:47  * AvianFlujoined
04:31:07  * sam2joined
04:31:48  * sam2quit (Client Quit)
04:36:40  * amartensquit (Ping timeout: 245 seconds)
04:37:31  * sam2joined
04:37:42  * sam2part
04:39:21  * sam2joined
04:39:28  * sam2part
04:51:16  * st_lukequit (Remote host closed the connection)
04:51:32  * st_lukejoined
04:52:11  * dominictarrquit (Quit: dominictarr)
04:59:36  * octetcloudjoined
05:01:36  * octetcloudquit (Client Quit)
05:02:36  * kazupon_joined
05:02:53  * kazuponquit (Read error: Connection reset by peer)
05:16:57  * amartensjoined
05:19:27  * AvianFluquit (Remote host closed the connection)
05:28:55  * kenperkinsquit (Quit: Computer has gone to sleep.)
05:48:16  * bajtosjoined
06:08:22  * c4milojoined
06:20:06  * AvianFlujoined
06:27:06  * AvianFluquit (Ping timeout: 245 seconds)
06:42:32  <MI6>nodejs-v0.10-windows: #177 UNSTABLE windows-x64 (8/597) windows-ia32 (7/597) http://jenkins.nodejs.org/job/nodejs-v0.10-windows/177/
07:02:32  * c4miloquit (Remote host closed the connection)
07:04:57  * defunctzombiechanged nick to defunctzombie_zz
07:06:03  * amartensquit (Quit: Leaving.)
07:08:37  * st_lukequit (Remote host closed the connection)
07:09:25  * defunctzombie_zzchanged nick to defunctzombie
07:14:32  * kazupon_quit (Remote host closed the connection)
07:20:29  * kazuponjoined
07:20:48  * defunctzombiechanged nick to defunctzombie_zz
07:21:15  * defunctzombie_zzchanged nick to defunctzombie
07:25:15  * defunctzombiechanged nick to defunctzombie_zz
07:39:58  * dominictarrjoined
07:43:26  * abraxasquit (Read error: Connection reset by peer)
07:44:02  * abraxasjoined
07:44:31  * bajtosquit (Read error: Connection reset by peer)
07:44:44  * dominictarrquit (Client Quit)
07:44:52  * bajtosjoined
07:51:39  * Somebodyjoined
08:02:22  * kazuponquit (Remote host closed the connection)
08:03:03  * dominictarrjoined
08:04:51  * kazuponjoined
08:16:35  * kazuponquit (Remote host closed the connection)
08:18:46  * kazuponjoined
08:26:15  * rendarjoined
08:35:08  * defunctzombie_zzchanged nick to defunctzombie
08:40:19  * bnoordhuisjoined
08:45:02  * defunctzombiechanged nick to defunctzombie_zz
08:46:51  * `3rdEdenchanged nick to `3E|BRB
09:12:11  <bnoordhuis>ircretary: tell piscisaureus PTAL https://github.com/joyent/libuv/pull/814
09:12:11  <ircretary>bnoordhuis: I'll be sure to tell piscisaureus
09:12:17  <bnoordhuis>ircretary: thanks
09:12:17  <ircretary>bnoordhuis: You're welcome :)
09:12:20  * rendarquit (Ping timeout: 256 seconds)
09:20:10  * AvianFlujoined
09:25:04  * AvianFluquit (Ping timeout: 256 seconds)
09:47:15  * hzjoined
09:56:02  * rendarjoined
10:10:51  * bnoordhuisquit (Ping timeout: 245 seconds)
10:11:33  * Somebodyquit (Remote host closed the connection)
10:22:54  * bajtosquit (Quit: bajtos)
10:38:43  * hzquit (Ping timeout: 268 seconds)
10:41:36  * kazuponquit (Remote host closed the connection)
10:49:40  * bajtosjoined
10:50:43  * `3E|BRBchanged nick to `3rdEden
10:50:51  <MI6>nodejs-v0.10: #1449 UNSTABLE smartos-ia32 (4/597) smartos-x64 (5/597) linux-ia32 (1/597) http://jenkins.nodejs.org/job/nodejs-v0.10/1449/
10:51:09  * bajtosquit (Client Quit)
11:01:25  * bnoordhuisjoined
11:06:40  * csaohjoined
11:07:08  * bnoordhuisquit (Quit: leaving)
11:09:10  * csaohquit (Remote host closed the connection)
11:19:18  * bnoordhuisjoined
11:23:06  <MI6>joyent/node: Ben Noordhuis master * 0523da6 : cares_wrap: drop UV_HANDLE_FIELDS from ares_task_t - http://git.io/eBBG3g
11:42:58  * hzjoined
11:43:00  <MI6>nodejs-master: #484 UNSTABLE smartos-x64 (13/636) osx-ia32 (4/636) smartos-ia32 (11/636) osx-x64 (2/636) http://jenkins.nodejs.org/job/nodejs-master/484/
11:43:11  * hzquit (Client Quit)
11:45:51  * csaohjoined
11:47:08  <MI6>nodejs-master-windows: #276 UNSTABLE windows-x64 (19/636) windows-ia32 (18/636) http://jenkins.nodejs.org/job/nodejs-master-windows/276/
12:11:40  <MI6>joyent/node: Ben Noordhuis master * 3a87b31 : src: remove --max-stack-size option - http://git.io/uqqfUQ
12:15:25  * dominictarrquit (Quit: dominictarr)
12:27:12  <MI6>nodejs-master: #485 UNSTABLE smartos-x64 (12/636) osx-ia32 (1/636) smartos-ia32 (11/636) osx-x64 (2/636) http://jenkins.nodejs.org/job/nodejs-master/485/
12:29:51  * dominictarrjoined
12:35:32  * abraxasquit (Remote host closed the connection)
12:37:27  * bajtosjoined
12:39:14  <MI6>nodejs-master-windows: #277 UNSTABLE windows-x64 (18/636) windows-ia32 (18/636) http://jenkins.nodejs.org/job/nodejs-master-windows/277/
12:52:16  <MI6>joyent/node: Ben Noordhuis master * 556b890 : src: call uv_loop_delete() on exit in debug mode - http://git.io/oPFQBA
12:58:03  * jmar777joined
13:00:46  * piscisaureus_joined
13:00:52  <piscisaureus_>ircretary: notes
13:07:57  <MI6>nodejs-master: #486 UNSTABLE smartos-x64 (11/636) osx-ia32 (4/636) smartos-ia32 (9/636) osx-x64 (3/636) http://jenkins.nodejs.org/job/nodejs-master/486/
13:15:45  <MI6>nodejs-master-windows: #278 UNSTABLE windows-x64 (19/636) windows-ia32 (20/636) http://jenkins.nodejs.org/job/nodejs-master-windows/278/
13:17:47  * rendarquit (Quit: Leaving)
13:21:42  * rendarjoined
13:22:43  * csaohquit (Ping timeout: 264 seconds)
13:29:52  * bnoordhuisquit (Ping timeout: 264 seconds)
13:49:11  * csaohjoined
13:55:08  * c4milojoined
14:04:27  * bnoordhuisjoined
14:08:11  <bnoordhuis>piscisaureus_: you have waaay too much free time on your hands :)
14:08:24  <piscisaureus_>bnoordhuis: heh. It was brain training.
14:08:30  <piscisaureus_>I worked on the weekend
14:09:18  <piscisaureus_>if you find a flaw let me know
14:09:19  <bnoordhuis>hey, that's my excuse!
14:13:45  * piscisaureus_quit (Ping timeout: 245 seconds)
14:16:49  <MI6>joyent/node: Ben Noordhuis master * 8d567f4 : src: remove two pointless globals from node.cc - http://git.io/fe8W4A
14:20:40  * kenperkinsjoined
14:21:19  * AvianFlujoined
14:25:07  * csaoh_joined
14:25:25  * csaohquit (Ping timeout: 246 seconds)
14:25:26  * csaoh_changed nick to csaoh
14:25:51  * AvianFlu_joined
14:25:57  <MI6>nodejs-master: #487 UNSTABLE smartos-x64 (7/636) osx-ia32 (2/636) smartos-ia32 (2/636) http://jenkins.nodejs.org/job/nodejs-master/487/
14:27:46  <MI6>joyent/node: isaacs master * 1df77a7 : lib: Add missing copyright notices - http://git.io/kP92Zw
14:28:20  * AvianFluquit (Ping timeout: 245 seconds)
14:28:37  * AvianFlu_changed nick to AvianFlu
14:29:06  * c4miloquit (Remote host closed the connection)
14:29:37  * piscisaureus_joined
14:34:21  * kevinswiberjoined
14:36:48  * austojoined
14:36:49  <MI6>nodejs-master: #488 UNSTABLE smartos-x64 (9/636) osx-ia32 (1/636) smartos-ia32 (2/636) osx-x64 (1/636) linux-x64 (1/636) http://jenkins.nodejs.org/job/nodejs-master/488/
14:38:10  * jmar777quit (Remote host closed the connection)
14:38:29  * c4milojoined
14:38:53  <MI6>nodejs-master-windows: #279 UNSTABLE windows-x64 (18/636) windows-ia32 (18/636) http://jenkins.nodejs.org/job/nodejs-master-windows/279/
14:39:09  * Benviejoined
14:41:27  * jmar777joined
14:52:52  * paulfryzeljoined
15:02:06  * piscisaureus_quit (Read error: Connection reset by peer)
15:03:13  * piscisaureus_joined
15:03:23  * bradleymeckjoined
15:06:15  <MI6>nodejs-master-windows: #280 UNSTABLE windows-x64 (18/636) windows-ia32 (16/636) http://jenkins.nodejs.org/job/nodejs-master-windows/280/
15:10:04  * paulfryz_joined
15:11:49  * piscisaureus_quit (Read error: Connection reset by peer)
15:12:28  * piscisaureus_joined
15:12:56  * paulfryzelquit (Ping timeout: 245 seconds)
15:17:35  <MI6>nodejs-master: #489 UNSTABLE smartos-x64 (8/636) smartos-ia32 (2/636) http://jenkins.nodejs.org/job/nodejs-master/489/
15:27:29  * piscisaureus_quit (Read error: Connection reset by peer)
15:27:38  * piscisaureus_joined
15:31:36  * rendarquit
15:35:27  * rendarjoined
15:35:35  * TooTallNatejoined
15:38:58  <bnoordhuis>call in 20?
15:47:16  * piscisaureus_quit (Ping timeout: 264 seconds)
15:49:17  * qardjoined
15:49:33  * qardpart
15:51:11  <indutny>call in 10?
15:53:07  <bnoordhuis>call in 7?
15:54:12  <indutny>call in 6?
15:55:00  <bnoordhuis>i want to stab all debugger tests with a fork in the heart >:(
15:55:05  <bnoordhuis>also, call in 5?
15:57:07  * bajtosquit (Quit: bajtos)
15:57:33  <isaacs>tjfontaine is enroute.
15:57:37  <isaacs>5 minutes
15:59:19  * piscisaureus_joined
15:59:27  * brsonjoined
15:59:50  <trevnorris>hi
15:59:55  <bnoordhuis>ho
16:00:04  <piscisaureus_>hello
16:00:07  <bnoordhuis>(someone should type "let's go")
16:00:11  <bnoordhuis>aw, too late
16:00:32  <bnoordhuis>call in 3 btw
16:00:37  <piscisaureus_>wut?
16:00:40  <piscisaureus_>Call in 0
16:00:49  <piscisaureus_>unless gouda is behind
16:00:52  <bnoordhuis>nah, tj is late again
16:00:56  <piscisaureus_>(which wouldn't surprise me)
16:01:03  <piscisaureus_>there's nobody in the hangout or I have the wrong link?
16:01:09  <bnoordhuis>typical west coast slacker attitude that
16:01:19  <piscisaureus_>fucking hipsters
16:01:30  <piscisaureus_>hipster with a french name
16:01:37  <bnoordhuis>double hipster
16:02:00  <piscisaureus_>putain de fromage
16:02:12  * pachetjoined
16:02:47  <piscisaureus_>lol
16:03:21  <indutny>so
16:03:23  <indutny>link?
16:05:11  <bnoordhuis>we're waiting for california again
16:07:03  * sblomjoined
16:07:17  * ecrjoined
16:07:17  * ecrquit (Client Quit)
16:07:33  <piscisaureus_>https://plus.google.com/hangouts/_/5b6b53fce8c09512b15a7e7d5c2fbb51d9557288
16:07:35  <bnoordhuis>welcome sblom, pusher of lost commits
16:07:42  <piscisaureus_>sblom is in the hangout already
16:07:57  <sblom>bnoordhuis: I'm figuring out what I did wrong.
16:09:07  * ecrjoined
16:10:12  <MI6>joyent/node: Jay Beavers master * 474d58c : doc: Small update of readme for Windows users - http://git.io/aBwKuw
16:10:18  * amartensjoined
16:11:58  * mcavagejoined
16:13:31  <sblom>bnoordhuis: it's there now
16:14:03  <sblom>bnoordhuis: I pushed to origin when I meant upstream. >_<
16:17:40  <tjfontaine>heh
16:19:14  <MI6>nodejs-master: #490 UNSTABLE smartos-x64 (8/636) smartos-ia32 (2/636) http://jenkins.nodejs.org/job/nodejs-master/490/
16:19:28  * dapjoined
16:20:26  * Dasmyllerquit (Ping timeout: 245 seconds)
16:22:23  * defunctzombie_zzchanged nick to defunctzombie
16:27:35  * groundwaterjoined
16:29:34  <Domenic_>I believe https://github.com/joyent/node/pull/6117 is ready to land
16:34:48  * AvianFluquit (Remote host closed the connection)
16:35:09  * bajtosjoined
16:35:56  * jmar777quit (Remote host closed the connection)
16:39:25  <MI6>nodejs-master-windows: #281 UNSTABLE windows-x64 (19/636) windows-ia32 (19/636) http://jenkins.nodejs.org/job/nodejs-master-windows/281/
16:47:19  * Benviequit (Ping timeout: 260 seconds)
16:54:15  * rendarquit (Quit: Leaving)
17:00:40  * csaohquit (Quit: csaoh)
17:01:15  * kevinswiberquit (Remote host closed the connection)
17:02:05  <piscisaureus_>isaacs: also - will the new npm use isaacs coding style or will it be something more common?
17:02:48  * paulfryz_quit (Remote host closed the connection)
17:03:14  <Domenic_>new npm? /me scrolls up
17:04:34  * kevinswiberjoined
17:08:11  <isaacs>piscisaureus_: what's "isaacs coding style"?
17:08:17  <isaacs>piscisaureus_: you mean "npm coding style"?
17:08:31  <piscisaureus_>yeah, i mean no-semicolons style
17:09:00  <isaacs>piscisaureus_: npm coding style is very specific. minimal (leading) semicolons, comma-first, double-quotes, etc.
17:09:12  <isaacs>piscisaureus_: but "isaacs coding style" is "use a different coding style for each project"
17:09:57  <isaacs>piscisaureus_: anyway, yes, npm-client will use the npm style.
17:10:08  * brsonquit (Ping timeout: 245 seconds)
17:10:08  <isaacs>piscisaureus_: and will probably borrow a lot of code that is currently tied up in npm itself.
17:10:17  <piscisaureus_>not that I mind. I was just curious.
17:10:36  <isaacs>piscisaureus_: ie, npm's lib/install.js will mostly do `npmClient.install(args, cb)`
17:11:13  <piscisaureus_>isaacs: I was thinking of splitting that up a little bit for our implementation
17:11:36  <piscisaureus_>so there would be two packages, one that builds a "tree" similar to what read-installed does
17:11:47  <bnoordhuis>god, i dread a feature where go is a top 5 language...
17:12:01  <isaacs>piscisaureus_: either that or require('semicolons');;; style
17:12:04  <piscisaureus_>and then another that reads that tree and actually drops the cargo onto the user's hard disk.
17:12:10  <isaacs>piscisaureus_: http://npm.im/semicolons
17:12:22  <piscisaureus_>which would let us do transforms (like dedupe) upfront
17:12:55  <piscisaureus_>and preflight install requests (like what you get when people do apt-get install - you'll get prompted first when it has figured out all the dependent packages)
17:12:55  <isaacs>piscisaureus_: so, it seems like strongloop is a bit ahead of me on this front. it may be that npm uses bits of slc before slc has a chance to use bits of npm.
17:13:03  <piscisaureus_>isaacs: that's fine
17:13:22  <isaacs>piscisaureus_: but even if we don't reuse code, often the costs of duplicated effort is less than the costs of coordinated effort.
17:13:31  <piscisaureus_>isaacs: although bajtos might punt on this a bit until nodeconf so you can do some arm-wrestling first
17:13:33  <isaacs>piscisaureus_: it's not as if writing a few hundred lines of javascript is all that much work.
17:13:45  <piscisaureus_>true :)
17:13:53  <piscisaureus_>well
17:13:54  <isaacs>piscisaureus_: compared with the work of *agreeing* about what a few hundred lines of javascript should be
17:14:15  * brsonjoined
17:14:17  <isaacs>it's perfectly fine to have lots of slightly different implementations that cut the abstractions in slightly different ways.
17:14:20  <isaacs>that's The Node Way
17:14:43  <piscisaureus_>isaacs: well. As you said, npm does many things that are just un-original and ideomatic. For those things collaborating is probably the most efficient way.
17:14:44  <isaacs>we'renot python or pear. there's no committee.
17:14:50  <isaacs>maybe
17:15:05  <piscisaureus_>isaacs: the opinionated parts is where separate efforts are probably better
17:15:30  <piscisaureus_>isaacs: btw - is there any news about installing precompiled binary addons?
17:15:35  <isaacs>not yet.
17:16:04  <piscisaureus_>isaacs: you mean, it's under covers, or there really is nothing going on?
17:18:05  <isaacs>piscisaureus_: i think there was some motion between microsoft and iriscouch-now-nodejitsu
17:18:09  <isaacs>but i don't know details.
17:18:20  * sblomquit (Ping timeout: 245 seconds)
17:18:23  <isaacs>i'm pretty sure jhs shared details wiht me at one point.
17:18:44  <isaacs>but i don't remembe then
17:18:45  <isaacs>*them
17:19:42  * Brett19part ("Quit message")
17:20:19  <piscisaureus_>isaacs: right
17:20:27  * paulfryzeljoined
17:20:34  * paulfryzelquit (Remote host closed the connection)
17:21:00  <piscisaureus_>isaacs: sounds like very little progress. When it becomes relevant to our work I'll bug Jason and Glenn.
17:21:43  <isaacs>k
17:23:19  * jmar777joined
17:24:06  * brsonquit (Ping timeout: 264 seconds)
17:24:49  * brsonjoined
17:25:34  * dominictarrquit (Quit: dominictarr)
17:27:41  <trevnorris>who was it that did an http rewrite?
17:28:41  <tjfontaine>creationix
17:29:19  <tjfontaine>I presume that's what you mean, an "http module that uses the bindings directly"
17:29:55  <mordy__>hrm, curious
17:30:14  <mordy__>what would be the most efficient way to get JSON from a utf8 char*?
17:30:58  <mordy__>the "Clearest" path seems to do String::New and then call the handle for JSON.parse
17:31:12  <tjfontaine>if you're in 0.11+ you can use v8's c++ json parse
17:32:39  <mordy__>hrm
17:33:03  <tjfontaine>otherwise I would suggest parsing it in js vs c++ to be portable
17:34:20  <mordy__>i do have a json library that does jsonpointer in c
17:34:26  * piscisaureus_quit (Ping timeout: 264 seconds)
17:34:28  <mordy__>i wonder how that would work in node
17:34:48  <mordy__>but not for this project; just wondering
17:35:00  <tjfontaine>you would need to wrap the interface, but I'm sure it could be made to work
17:35:32  <tjfontaine>but if your point is to marshal back into a JS object (vs a wrapped structure) easiest would be to rely on what v8 provides
17:36:14  <mordy__>jsonsl.startParse(stream, expr, function(matchedExpr, object) { })
17:36:47  <tjfontaine>you could #if NODE_VERSION_AT_LEAST(0, 11, 4) v8::JSONParse() #else Global->Get("JSON")->Get("parse").As<Function()>->Call() #endif
17:37:23  <tjfontaine>mordy__: are you getting a streaming char* for json, or is it a full blob?
17:37:29  <isaacs>bnoordhuis: quick review? https://github.com/joyent/node/pull/6134
17:37:54  <isaacs>bnoordhuis: just a 3 line diff, and a doc clarification
17:38:01  <mordy__>tjfontaine: in my case it's just a blob currently; i have other stuff for streaming, but that's not what i'm working on right now
17:39:14  <mordy__>for the streaming stuff i'm wondering how much use it would have for the community
17:39:26  <isaacs>tjfontaine: you can review too if you like
17:39:30  <isaacs>tjfontaine: or instead :)
17:40:26  <tjfontaine>isaacs: first pass seemed good to me, but I will re-read the docs :)
17:40:31  <isaacs>k
17:41:05  * bajtosquit (Quit: bajtos)
17:41:43  <tjfontaine>isaacs: LGTM
17:42:31  <MI6>joyent/node: isaacs master * 645418e : fs: Expose birthtime on stat objects - http://git.io/uswzrg
17:44:55  * piscisaureus_joined
17:45:10  * indexzerojoined
17:46:24  * st_lukejoined
17:48:32  <trevnorris>isaacs: was thinking, worth it to remove callbacks that are only meant to be used once (e.g. buffer.setupBufferJS(...); buffer.setupBufferJS = undefined;)?
17:51:09  <isaacs>trevnorris: meh
17:51:12  <isaacs>probably not
17:51:15  <trevnorris>ok
17:51:38  * AvianFlujoined
17:51:44  * bnoordhuisquit (Ping timeout: 260 seconds)
17:52:08  * dshaw_joined
17:53:15  <roxlu>hey great libuv people!
17:53:27  <MI6>nodejs-master: #491 UNSTABLE linux-ia32 (1/636) smartos-x64 (9/636) osx-ia32 (1/636) smartos-ia32 (2/636) http://jenkins.nodejs.org/job/nodejs-master/491/
17:53:49  <roxlu>before I used: "/gyp_uv -Dtarget_arch=x64" to create a make file on mac, but this doesn't seem to work anymore. did something changed with the build system?
17:54:03  * rendarjoined
17:54:11  * hzjoined
17:59:02  * piscisaureus_quit (Ping timeout: 240 seconds)
18:01:18  <roxlu>oh nvm, removed dir, did a new clone, now it works :# (maybe a gyp cache thing?)
18:05:28  <MI6>joyent/node: Forrest L Norvell master * d86814a : domains: deprecate domain.dispose(). - http://git.io/kUubnA
18:06:39  <isaacs>othiym23: thanks ^
18:10:11  <MI6>nodejs-master-windows: #282 UNSTABLE windows-x64 (20/636) windows-ia32 (20/636) http://jenkins.nodejs.org/job/nodejs-master-windows/282/
18:14:28  <MI6>nodejs-master: #492 UNSTABLE smartos-x64 (8/636) smartos-ia32 (3/636) http://jenkins.nodejs.org/job/nodejs-master/492/
18:15:12  * EhevuTovjoined
18:17:17  <mordy__>hrm curious, where is 'Global'?
18:24:17  * EhevuTovquit (Quit: This computer has gone to sleep)
18:24:18  <mordy__>also, i'm not exactly sure what node::Encode and node::Decode do
18:24:40  <mordy__>it seems ::Encode actually *decodes* bytes and creates a buffer?
18:24:54  * EhevuTovjoined
18:25:57  <MI6>libuv-master: #201 FAILURE windows (5/194) http://jenkins.nodejs.org/job/libuv-master/201/
18:36:22  * dominictarrjoined
18:39:09  * bnoordhuisjoined
18:42:53  * sblomjoined
18:44:27  * indexzeroquit (Quit: indexzero)
18:45:06  * piscisaureus_joined
18:51:41  <MI6>nodejs-master-windows: #283 UNSTABLE windows-x64 (20/636) windows-ia32 (21/636) http://jenkins.nodejs.org/job/nodejs-master-windows/283/
18:53:26  * dshaw_quit (Quit: Leaving.)
18:53:51  * dshaw_joined
18:55:18  <trevnorris>isaacs or bnoordhuis: when you have a moment, mind doing a quick sanity check on https://github.com/joyent/node/issues/6129
18:55:36  <trevnorris>i must be missing something painfully obvious, but can't figure out what it is.
18:55:57  * kellabytequit (Remote host closed the connection)
19:08:17  <trevnorris>isaacs: you have that patch for the super secret debug to fprintf?
19:08:22  * dshaw_quit (Quit: Leaving.)
19:08:41  * dshaw_joined
19:11:54  * amartensquit (Read error: Connection reset by peer)
19:15:14  * amartensjoined
19:25:06  <trevnorris>bnoordhuis: ping
19:26:56  <MI6>nodejs-master-windows: #284 UNSTABLE windows-x64 (18/636) windows-ia32 (21/636) http://jenkins.nodejs.org/job/nodejs-master-windows/284/
19:27:56  <bnoordhuis>trevnorris: pong
19:28:07  <bnoordhuis>trevnorris: "HTTP request memory leak (don't delete, https://github.com/joyent/node/issues/6129)" <- why don't you paste it in the issue then? :)
19:28:45  <trevnorris>bnoordhuis: i could. just figured it was a mother load of code. usually try to keep my posts to a screen length or less. i'll do it though.
19:28:52  <bnoordhuis>btw, how am i supposed to run that test?
19:29:01  <trevnorris>node relay.js
19:29:01  <bnoordhuis>or rather, which one should i run?
19:29:04  <bnoordhuis>okay
19:29:06  <trevnorris>first run relay
19:29:08  <trevnorris>then run the other
19:29:11  <trevnorris>then run the script
19:29:17  <bnoordhuis>ah
19:30:26  <trevnorris>bnoordhuis: re:ping, i rebased multi-context against master for the domain disposed() deprecation commit. strangely test-domain-from-timer is failing. i've figured out why
19:30:35  <trevnorris>but haven't figured out a simple way to fix it
19:30:50  <bnoordhuis>oh, do tell
19:31:02  <bnoordhuis>i noticed it was failing but i hadn't really looked into why yet
19:31:02  <trevnorris>bnoordhuis: so just wanted to hit you up, my patch is going to remove the whole domain separation thing anyways. so didn't know if you wanted to bother with it.
19:31:15  <trevnorris>the problem is that domain is loaded after it's entered into MakeCallback
19:31:31  <trevnorris>and since we store the _tickCallback as a persistent it's not called fresh from process
19:31:47  <trevnorris>which means it doesn't call into the domain specific tick callback.
19:32:25  <bnoordhuis>i think i get it
19:32:26  <trevnorris>best work around I can figure is to check env->using_domains right before the call into the nextTickQueue, but that's going to be ugly.
19:32:35  <bnoordhuis>you mean that the callback can change the active domain?
19:32:50  <bnoordhuis>but then when the callback returns, MakeCallback still calls the old domain handler?
19:32:53  * kevinswiberquit (Remote host closed the connection)
19:33:36  <trevnorris>the callback passed to setTimeout runs in MakeCallback, that callback runs require('domain')
19:33:52  <trevnorris>but since we're already in MakeCallback, it's not going to call into process._tickDomainCallback
19:34:05  <trevnorris>since i'm going to remove it anways, I figure what the hell. let it fail and i'll have it fixed soon anyways.
19:35:23  <bnoordhuis>btw, that relay test works for me with v0.10 and master
19:35:34  <bnoordhuis>only tested it on os x with 64 bits node though
19:35:49  <trevnorris>ok. i'll post some output for linux
19:36:24  * kevinswiberjoined
19:36:31  <bnoordhuis>don't worry, this ssh thing lets me log into my linux boxen while chilling on the couch
19:36:41  <trevnorris>heh, cool.
19:37:21  <othiym23>w00t I have a commit in core now
19:38:39  <bnoordhuis>ah, it hangs on linux
19:38:41  <bnoordhuis>curious
19:39:26  <trevnorris>ah, it's always a relief to have a reproducible bug :)
19:39:30  <bnoordhuis>or 'hangs'... it's not busy-looping or anything
19:40:18  <bnoordhuis>i have the same issue with master btw
19:40:31  <trevnorris>really? don't have that error on my box.
19:40:41  <trevnorris>though it does eventually hit an EMFILE
19:41:02  <trevnorris>but think that's because i've run out of open files
19:41:17  <bnoordhuis>i guess some judicious application of strace is called for
19:42:09  * indexzerojoined
19:50:55  * indexzeroquit (Quit: indexzero)
19:55:56  * indexzerojoined
19:58:59  * indexzeroquit (Client Quit)
19:59:23  <bnoordhuis>trevnorris: i don't see anything really wrong on linux, the net connection just stays open
19:59:39  <bnoordhuis>i suppose that's because i'm using netcat6 rather than plain old netcat
20:00:11  <bnoordhuis>on linux anyway, the one on os x is the traditional nc
20:00:13  <trevnorris>bnoordhuis: problem i'm having is that after a little bit the server stops receiving packets and the relay backs up and eventually OOM's
20:00:53  <bnoordhuis>hrm, so far i don't see anything that indicates a node bug
20:01:15  <bnoordhuis>try closing the connection in relay.js once you're done processing the buffer
20:01:22  <trevnorris>ok
20:02:14  * TooTallNatequit (Quit: Computer has gone to sleep.)
20:03:02  <trevnorris>bnoordhuis: how do you close a connection on an http.request()? I send the data with req.end(buf);
20:05:48  <bnoordhuis>trevnorris: well, you could start by setting connection: close instead of connection: keep-alive :)
20:05:56  * indexzerojoined
20:06:28  <trevnorris>bnoordhuis: heh, removed that. still has same behavior. so I also set agent: false in the request options
20:07:19  <bnoordhuis>trevnorris: okay, good. the other thing is the net#Socket connection
20:07:43  <trevnorris>hm. think agent:false fixed the issue.
20:07:54  * sblomquit (Ping timeout: 264 seconds)
20:09:45  <trevnorris>oh son of a bitch. seriously? I fogot to set connection: keep-alive on http-server.js
20:10:01  <trevnorris>oy, bnoordhuis thanks for helping me see the obvious once gain :)
20:13:46  <bnoordhuis>no problem :)
20:19:16  <trevnorris>bnoordhuis: haha, figured it out. so we're storing tick_callback_function before we run the callback, that callback changes env->tick_callback_function(), but we used the cached version.
20:19:30  <trevnorris>bnoordhuis: so the fix is to do env->tick_callback_function()->Call(...)
20:19:39  <trevnorris>instead of using tick_callback_function->Call(...)
20:21:02  <trevnorris>bnoordhuis: actually, better solution. move the lazy load block to just above the actual call to tick_callback_function
20:21:05  <trevnorris>that'll fix the problem.
20:27:11  <bnoordhuis>trevnorris: right, that's what i meant
20:27:22  <bnoordhuis>i figured that could be an issue when i was writing that code this afternoon
20:27:33  * kevinswiberquit (Remote host closed the connection)
20:27:36  <bnoordhuis>but i only made a mental note of it so far
20:27:40  <trevnorris>heh
20:28:06  <bnoordhuis>because hey, i'm an award-winning procrastinator - never do today what you can postpone until tomorrow
20:28:19  <trevnorris>haha. awesome rule
20:28:38  <bnoordhuis>like renewing my membership of the league of procrastinators. i really should do that sometime
20:28:46  <tjfontaine>if god didn't want to procrastinate he wouldn't have made tomorrow
20:28:50  <trevnorris>lol
20:28:51  <tjfontaine>*want us
20:28:54  <bnoordhuis>exactly :)
20:29:01  <trevnorris>bnoordhuis: well, fwiw the second commit here is a fix: https://github.com/trevnorris/node/compare/domain-to-public-api
20:29:08  * tjfontaineseasoned lazy bum
20:29:42  * hzquit
20:36:26  * jmar777quit (Remote host closed the connection)
20:48:17  * sblomjoined
20:49:14  <MI6>joyent/libuv: Ben Noordhuis master * 12933f4 : unix: move loop functions from core.c to loop.c (+1 more commits) - http://git.io/TemHgA
20:51:28  <hueniverse>isaacs: yt?
20:56:56  * piscisaureus_quit (Quit: ~ Trillian Astra - www.trillian.im ~)
21:03:06  <trevnorris>LOUDBOT: i'm bored
21:03:07  <LOUDBOT>trevnorris: CLOSE ALL THE BOOK STORES
21:05:17  <MI6>libuv-master-gyp: #140 UNSTABLE windows-x64 (3/194) windows-ia32 (3/194) smartos-ia32 (2/193) smartos-x64 (2/193) http://jenkins.nodejs.org/job/libuv-master-gyp/140/
21:06:24  * wolfeida_joined
21:07:18  * wolfeidauquit (Ping timeout: 264 seconds)
21:07:20  <MI6>libuv-master: #202 UNSTABLE linux (1/193) windows (5/194) smartos (9/193) http://jenkins.nodejs.org/job/libuv-master/202/
21:08:14  <trevnorris>bnoordhuis: you wanted a higher barrier to entry. think I have something to do just that ;)
21:13:09  * bradleymeckquit (Quit: bradleymeck)
21:26:04  <bnoordhuis>trevnorris: do tell
21:27:46  * rendarquit (Quit: Leaving)
21:31:27  <MI6>libuv-node-integration: #185 UNSTABLE smartos-x64 (8/636) smartos-ia32 (2/636) linux-x64 (1/636) linux-ia32 (1/636) http://jenkins.nodejs.org/job/libuv-node-integration/185/
21:31:55  * dshaw_quit (Quit: Leaving.)
21:32:38  * AvianFluquit (Ping timeout: 245 seconds)
21:33:02  <isaacs>hueniverse: yo
21:36:24  <trevnorris>bnoordhuis: oh, just the convoluted nature of this state sharing technique makes it difficult to understand.
21:36:34  <trevnorris>bnoordhuis: here's a partial of setting it up: http://git.io/xXjLbQ
21:37:17  <bnoordhuis>hah, okay
21:39:47  <Domenic_>merrrrrge meeeeee https://github.com/joyent/node/pull/6117
21:40:31  <trevnorris>yay, removal of ObjectWrap!!!
21:40:53  <bnoordhuis>indutny: ping
21:40:58  <indutny>pong
21:41:01  <indutny>sup?
21:41:06  <bnoordhuis>indutny: lexing/parsing in rust. suggestions?
21:41:09  <hueniverse>isaacs: any eta on the two stream issues in 0.11?
21:41:13  <hueniverse>I'm blocked on that
21:41:19  <indutny>bnoordhuis: erm… do it yourself? :)
21:41:30  <hueniverse>happy to look into fixes but wanted you to look first in case it's trivial
21:41:33  <bnoordhuis>there's no generally accepted solution/library yet?
21:41:34  <hueniverse>(for you)
21:41:35  <isaacs>hueniverse: looking now.
21:41:41  <indutny>bnoordhuis: https://github.com/indutny/beamwand/blob/master/src/beam.rs
21:41:48  <indutny>bnoordhuis: at least I don't know any
21:41:56  <bnoordhuis>indutny: 404
21:41:58  <indutny>bnoordhuis probably guys at mozilla's #rust
21:42:01  <indutny>bnoordhuis: know something
21:42:03  <indutny>bnoordhuis: ah, its private
21:42:04  <indutny>one sec
21:42:29  <indutny>refresh
21:43:00  <indutny>note that some stuff probably doesn't work in new rust right now
21:43:10  <bnoordhuis>indutny: thanks
21:43:15  <indutny>bnoordhuis: you're welcome
21:43:20  <isaacs>hueniverse: https://github.com/joyent/node/issues/6119 <-- working as intended. there's a flag to make it not do that.
21:43:23  <isaacs>hueniverse: commenting
21:43:28  <bnoordhuis>indutny: funny, that's kind of what i'm converging on :)
21:43:35  <indutny>haha
21:43:36  <indutny>erlang?
21:43:53  <isaacs>hueniverse: note that it's *actually* a Buffer in both
21:44:25  <bnoordhuis>indutny: well, not that :) but that approach to parsing
21:44:40  <bnoordhuis>not all that illogical, suppose. there are only so many ways to write a lexer/parser
21:44:47  <bnoordhuis>*i suppose
21:44:52  <isaacs>hueniverse: of course, the bug here is that v0.10 isn't showing you that it's been buffer-ified
21:44:55  <indutny>haha
21:44:56  <indutny>:)
21:45:34  <trevnorris>Domenic_: sorry, have a few super tiny nits
21:47:34  <trevnorris>Domenic_: yeah, just two little things.
21:49:39  <othiym23>trevnorris: does initializing an object literal as { 0: whatever } allow you to access the property by index value from the C++ side?
21:49:52  <bnoordhuis>yes
21:49:53  <othiym23>i.e. is that superior in some way to [whatever]?
21:49:59  <bnoordhuis>and yes :)
21:50:00  <othiym23>wild
21:50:02  <trevnorris>:)
21:50:14  <othiym23>I feel like V8 needs some kind of unauthorized biography
21:50:20  <othiym23>I read all the design docs this weekend
21:50:23  <othiym23>it took me about 30 minutes
21:50:47  <trevnorris>heh, after I present on this at nodeconf.eu i'm going to throw all the materials and source online.
21:51:16  <trevnorris>bnoordhuis: aren't you having a kid in the next few weeks?
21:52:24  <tjfontaine>due date is wednesday
21:52:36  <trevnorris>crazy.
21:52:52  <othiym23>so uh at the risk of asking a stupid question, what's the relationship between bnoordhuis's multi-context work and Domenic_'s contextify patches?
21:53:09  <tjfontaine>not much
21:53:20  * TooTallNatejoined
21:53:51  <mordy__>i'd expect to get a negative return here:
21:53:51  <tjfontaine>as I understand it, it's more about running multiple "node"'s in the same process -- but I could be wrong
21:53:53  <mordy__>'raw' encoding (array of integers) has been removed. Use 'binary'.
21:53:58  <mordy__>(and then it aborts)
21:54:41  <bnoordhuis>trevnorris: i am
21:54:44  <isaacs>tjfontaine: can i get a lgtm? https://github.com/isaacs/node/commit/a3da3e73121d68615c5408814284d333f38db692
21:54:48  <isaacs>or anyone else
21:54:52  <trevnorris>bnoordhuis: awesome. good luck :)
21:54:56  <isaacs>hueniverse: ^
21:54:56  <bnoordhuis>thanks :)
21:54:58  * `3rdEdenchanged nick to `3E|Zzz
21:55:39  <tjfontaine>isaacs: lgtm
21:55:44  <isaacs>thanks
21:55:53  <MI6>joyent/node: isaacs v0.10 * a3da3e7 : stream: Pass 'buffer' encoding to decoded writables - http://git.io/EbuGSQ
21:56:17  <isaacs>hueniverse: 6118 is a bit more interesting.
21:56:21  <othiym23>tjfontaine: so what's the use case for multi-context?
21:56:40  <isaacs>hueniverse: in v0.10, 'finish' will be emitted if you call end() and there are no pending writes.
21:56:54  <tjfontaine>othiym23: people who want to embed node
21:57:02  <isaacs>hueniverse: however, note that the 'finish' event will be emitted *before* the write() callback is called.
21:57:17  <isaacs>hueniverse: in v0.11, 'finish' is emitted, but not synchronously in this tick.
21:57:29  <othiym23>tjfontaine: ahhhhh got it
21:57:35  <isaacs>hueniverse: it's emitted on nextTick, so if you remove the removeAllListeners call, it'll fire.
21:57:57  * dshaw_joined
21:58:20  <isaacs>hueniverse: in other words, it's waiting for all the write() calls to be finished, and since you called it synchronously, it's waiting for the end of the tick before it can emit any 'finish' events
21:58:33  <trevnorris>bnoordhuis: do we want to upgrade v8? it's been a while.
21:58:42  <trevnorris>then we could play with Eternals!
21:58:42  <hueniverse>isaacs: lemme try
21:58:50  <trevnorris>though still don't know what we'd do with them
21:59:44  <tjfontaine>trevnorris: I meant to do it yesterday, but I think we're pinned on 3.20 were eternals added in 3.21?
21:59:54  <trevnorris>tjfontaine: yeah
22:00:01  <trevnorris>wait, we're not upgrading to 3.21?
22:00:16  <tjfontaine>0.11 feels late in the tooth to jump to 3.21
22:00:21  <tjfontaine>*long
22:00:36  <tjfontaine>but it's worth a discussion
22:00:39  <trevnorris>very big frowny face emoticon
22:00:46  <trevnorris>isaacs: I move we upgrade!
22:01:16  <isaacs>yeah.... 3.21 sounds like a 1.0 idea.
22:01:20  <isaacs>hueniverse: https://gist.github.com/isaacs/6359727
22:01:24  <trevnorris>but.... but.... ah, man.
22:01:38  <bnoordhuis>eternals are in 3.20, the multi-context branch uses them
22:01:54  <bnoordhuis>besides, isn't 3.21 a dev branch?
22:01:58  <tjfontaine>it is
22:02:10  <trevnorris>oh, I was just looking at the changelog
22:02:21  <trevnorris>thinks like "Promoted ArrayBuffer, DataView and typed arrays to non-experimental."
22:02:31  <trevnorris>seemed more of the type of thing for a stable release
22:03:33  <MI6>nodejs-v0.10: #1450 UNSTABLE osx-ia32 (1/598) linux-x64 (2/598) smartos-x64 (1/598) http://jenkins.nodejs.org/job/nodejs-v0.10/1450/
22:04:13  <trevnorris>this one is way over my head https://code.google.com/p/v8/source/detail?r=16224
22:04:21  <trevnorris>bnoordhuis: that look serious-ish ^
22:05:18  <mordy__>hrm, on that note, how do i know if i'm dealign with a 'Buffer'
22:05:26  <trevnorris>oh well, upgrade to 3.20.17
22:05:31  <trevnorris>tjfontaine: you want to do that?
22:05:34  <tjfontaine>mordy__: Buffer::HasInstance
22:05:56  <tjfontaine>trevnorris: no more floating patches, so just checkout that branch into its spot in the repo
22:06:02  <mordy__>tjfontaine: hrm.. oh
22:06:09  <mordy__>i'm looking at an older version of the node.h header
22:06:14  <tjfontaine>trevnorris: single commit
22:06:19  <bnoordhuis>trevnorris: if it is, it'll show up in a v3.20 release
22:06:20  <mordy__>as an aside; how important is it to support < 0.10?
22:06:30  <trevnorris>tjfontaine: eh? I wasn't talking about a floating patch. just poking at upgrading to 3.21 :P
22:06:42  <tjfontaine>trevnorris: same difference really
22:06:46  <trevnorris>heh
22:06:48  <hueniverse>isaacs: thanks. the example works. now to figure out why the actual code doesn't...
22:07:16  <tjfontaine>mordy__: lots of folk in production are still on 0.8, voxer, joyent, others
22:07:20  <isaacs>hueniverse: :)
22:07:26  <trevnorris>well, we should still upgrade to 3.20.17.
22:07:42  <tjfontaine>yes, that's what I thought you were asking about
22:07:52  <mordy__>tjfontaine: alright - on that note, is there a "porting guide" or similar?
22:07:57  <trevnorris>ah, man. didn't think it was that late in the day yet.
22:08:03  <othiym23>mordy__: 0.8 support is very important
22:08:17  <tjfontaine>trevnorris: I can do it in a bit, if you wanna punt
22:08:35  <othiym23>Node is marginal enough within larger organizations that it's only within the last 6 months or so I've been able to peer pressure my own customers into at least getting their last 0.4 apps up to 0.8
22:08:46  <mordy__>oh wow
22:08:56  <trevnorris>tjfontaine: whatevs. already had it checked out for some performance testing on a couple bug fixes.
22:09:04  <tjfontaine>mordy__: there are some people who talk about, and then rvagg and trevnorris have some headers that aid slightly in things -- I'm taking a different tactic with my addon layer, so you can write once and build on v0.8..v0.12
22:09:15  <trevnorris>othiym23: ah, wtf.
22:09:43  <trevnorris>mordy__: don't use mine!
22:09:47  <othiym23>trevnorris: somebody wrote an Express 2 app that works just fine, they move on within the organization or leave altogether, component is old and creaky but mission-criticial
22:09:50  <othiym23>you know how it goes
22:09:53  <tjfontaine>the breakage between v0.4/v0.6 was pretty hard, so by the time 8 came out, you just do it
22:10:13  <mordy__>so even *v6* support is desired?
22:10:24  <tjfontaine>mordy__: azure installs it by default (still)
22:10:34  <tjfontaine>ubuntu has 6 as well, iirc
22:10:35  <othiym23>mordy__: I wouldn't bother
22:10:47  <tjfontaine>it's about how much pain you want to cause yourself
22:10:59  <othiym23>I have to support 0.6 because I'm working for an enterprise tools vendor, but most everybody else should be able to bully their customers into upgrading
22:11:09  <tjfontaine>v0.8 is a must though, especially for something with couch in the name
22:11:11  * indexzeroquit (Quit: indexzero)
22:11:28  <othiym23>tjfontaine: Azure *still* ships 0.6 by default?
22:11:40  * indexzerojoined
22:11:47  <tjfontaine>othiym23: I need to set the cron job to auto run the stats, but yes
22:11:48  <othiym23>can't we, like, shame Glen Block or Matthew Podwysocki into getting that fixed?
22:12:02  <mordy__>hrm, so let's see
22:12:03  <tjfontaine>I already gave Glenn my two cents :)
22:12:13  <MI6>joyent/libuv: Ben Noordhuis master * d48168a : darwin: remove CoreFoundation dependency - http://git.io/b8kiag
22:12:26  <tjfontaine>mordy__: from a C++ api standpoint v0.8 and v0.10 is roughly 0 pain
22:12:37  <mordy__>what about UV?
22:12:41  <mordy__>we use that heavily too
22:12:47  <mordy__>but mainly just normal TCP stuff
22:12:55  * indexzeroquit (Client Quit)
22:12:59  <mordy__>i recall the uv_run signature changed
22:13:24  * indexzerojoined
22:13:26  <tjfontaine>right, so uv_run is better, uv_queue_work has changed in at least 0.11 to include the cancel status
22:13:31  * philipsquit (Changing host)
22:13:31  * philipsjoined
22:13:32  <mordy__>and i couldn't figure out a good way to tell what the version _really was_.. i suppose #ifdef UV_VERSION etc
22:13:37  <tjfontaine>0.11 also has signifcantly different error handling
22:14:28  * indexzeroquit (Client Quit)
22:15:00  <MI6>nodejs-v0.10-windows: #178 UNSTABLE windows-x64 (7/598) windows-ia32 (7/598) http://jenkins.nodejs.org/job/nodejs-v0.10-windows/178/
22:15:28  <bnoordhuis>i'll probably change everything in libuv that takes or returns a struct to take/return a pointer-to-struct instead
22:15:53  <tjfontaine>++
22:15:58  <mordy__>yeah the struct returning was a bit weird
22:16:04  * jmar777joined
22:16:08  <mordy__>though if the struct is small enough, it's quicker to just return it
22:16:10  <mordy__>by value
22:16:16  <mordy__>i.e. { int; int; }
22:16:33  <bnoordhuis>true, but it's hell for people working with libuv through a ffi
22:16:47  <bnoordhuis>that's my real motivation for changing it, really
22:17:59  <bnoordhuis>fun fact, the ctypes that ships with the stock python on os x 10.8 has a bug where returning small structs makes it segfault
22:18:07  <tjfontaine>cute
22:18:44  <bnoordhuis>yeah. small structs are returned in registers but ctypes/libffi doesn't know/handle that :-/
22:18:57  <bnoordhuis>hence, hell
22:20:22  <trevnorris>tjfontaine: sorry, beat you to it :) https://github.com/joyent/node/pull/6137
22:20:29  <mordy__>ffi is trouble anyway except for APIs that are guaranteed not to change
22:20:39  <tjfontaine>trevnorris: aww my heart is broken :P
22:20:52  <tjfontaine>trevnorris: it might be easier to use feature branches in those cases
22:21:05  <tjfontaine>trevnorris: that way we'll get windows coverage as well
22:21:13  <trevnorris>ah, didn't realize that. ok
22:21:23  <tjfontaine>it's fine for now
22:21:28  <mordy__>hrm, i still can't find Buffer:: in the node namespace
22:21:28  <tjfontaine>I am not too worried abotu it really
22:21:33  <tjfontaine>mordy__: node_buffer.h
22:21:51  <trevnorris>mordy__: what version of node you working with?
22:22:03  <mordy__>i'm building against 0.10.17
22:22:36  <mordy__>how stable are the other node_* headers?
22:23:06  <bnoordhuis>7 on a scale of 1 to 10
22:23:26  <mordy__>and the 'super-stable' ones are in node.h
22:23:49  <bnoordhuis>node.h, node_version.h and node_buffer.h
22:24:04  <bnoordhuis>the api in node_buffer.h didn't change all that much btw
22:24:15  <tjfontaine>except for no longer being a class
22:24:22  <bnoordhuis>but they're functions in a namespace now rather than static class methods
22:24:24  <tjfontaine>but the common cases won't see much change
22:24:33  <trevnorris>and returning a Local<Object> instead of a Buffer class instance
22:25:10  <trevnorris>also the addition of Buffer::Use() so no more callback passing hack to use your original data :)
22:26:40  <trevnorris>also addition of where when you pass a <String> you can also pass you desired encoding.
22:26:50  <trevnorris>where before it always assumed UTF8
22:29:04  <mordy__>hrm, what's the overhead of ::HasInstance? -- trying to do magic format serialization here; e.g. string -> utf8, object/array -> json, buffer -> raw
22:29:16  <mordy__>unfortunately, apparently a buffer *is* an object
22:29:32  <mordy__>though it only falls in maybe 1-2% of possible use cases
22:29:32  <trevnorris>HasInstance is pretty cheap
22:29:35  <mordy__>ah ok
22:30:17  <trevnorris>see, it's technically a hack, since there's no reliable way of doing an "instanceof" check in C++, so instead all we check is if it's an object and has external allocated memory
22:30:36  <trevnorris>and if you pass an Object anyways, then the cost is practically nothing
22:32:08  <mordy__>i guess this is related to the fact that javascript doesn't have "classes"
22:32:29  <mordy__>in other language the basic object usually has a small 'HEAD' structure that contains either an integer or a pointer to its class
22:32:48  <MI6>libuv-master-gyp: #141 UNSTABLE windows-x64 (3/194) windows-ia32 (3/194) smartos-ia32 (2/193) linux-x64 (1/193) smartos-x64 (2/193) http://jenkins.nodejs.org/job/libuv-master-gyp/141/
22:33:06  * c4miloquit (Remote host closed the connection)
22:33:16  <trevnorris>tjfontaine: what's up with smartos.x64? http://jenkins.nodejs.org/job/node-pullrequest/1084/testReport/
22:33:39  <trevnorris>alright, passes everything. anyone mind a quick look? https://github.com/joyent/node/pull/6137
22:33:59  <trevnorris>well, everything as in what we're concerned about
22:34:47  * c4milojoined
22:34:59  <MI6>libuv-master: #203 UNSTABLE linux (1/193) windows (3/194) smartos (9/193) http://jenkins.nodejs.org/job/libuv-master/203/
22:36:14  <tjfontaine>trevnorris: if i had to guess there was a libuv-integration test running at the same time
22:36:24  <trevnorris>tjfontaine: coolio
22:36:25  <tjfontaine>trevnorris: yup, so it is
22:36:44  <tjfontaine>basically that happens every time libuv-integration *and* node- happen, for some ungodly reason
22:37:12  <mordy__>hrrm....
22:37:18  * tjfontainemoves libuv-integration further out of the way
22:37:30  <trevnorris>heh
22:39:05  <trevnorris>tjfontaine: thanks. you cool w/ the v8 upgrade?
22:39:19  <tjfontaine>ya
22:39:25  <trevnorris>thanks much
22:39:38  <MI6>joyent/node: Trevor Norris master * 26bc8db : v8: upgrade to 3.20.17 - http://git.io/gEZ-Ng
22:39:58  <mordy__>does node::Encode always give me a Buffer?
22:40:11  * TooTallNatequit (Quit: ["Textual IRC Client: www.textualapp.com"])
22:40:12  <mordy__>(would help if i actually used this stuff in JS)
22:41:39  <indutny>bnoordhuis: so got any luck with your parser? :)
22:41:48  <indutny>bnoordhuis: btw, are you still trying to parse lisp?
22:44:51  * pachetquit (Quit: [ +++ ])
22:45:07  <trevnorris>curse multi-context src/env.h i have such a hard time understanding you!
22:47:23  <mordy__>hrm. not sure what i'm supposed to do with a Buffer::New which returns a pointer
22:47:30  <mordy__>presumably i'm supposed to ::Wrap it?
22:47:45  <trevnorris>what are you trying to do?
22:47:47  <mordy__>hrm, that's not right, Wrap is protected
22:48:08  <mordy__>trying to get a Buffer object from some char *
22:48:19  * c4miloquit (Remote host closed the connection)
22:48:41  <trevnorris>use ->handle_ to return the Local<Object> that is the JS Buffer instance
22:50:56  <MI6>nodejs-master: #493 UNSTABLE linux-ia32 (3/636) smartos-x64 (8/636) osx-ia32 (2/636) smartos-ia32 (5/636) osx-x64 (1/636) linux-x64 (2/636) http://jenkins.nodejs.org/job/nodejs-master/493/
22:52:14  <mordy__>hrm; 'SlowBuffer' is what i get
22:52:32  <trevnorris>ah, suck. yup. I forgot about the horrible v0.10 api.
22:52:43  <trevnorris>that still pretty much operates like a Buffer though
22:52:58  * dominictarrquit (Quit: dominictarr)
22:53:03  <MI6>libuv-node-integration: #186 UNSTABLE smartos-x64 (11/636) osx-x64 (2/636) smartos-ia32 (2/636) linux-x64 (1/636) linux-ia32 (1/636) http://jenkins.nodejs.org/job/libuv-node-integration/186/
22:55:37  <mordy__>how big of a pain is it to move to 0.11
22:55:59  <trevnorris>for js, not much. for native addons, very
22:57:30  * sblomquit (Ping timeout: 245 seconds)
23:02:04  <mordy__>but this shouldn't affect the v8 interfacing
23:02:09  <mordy__>only stuff in the node:: namespace?
23:03:02  <trevnorris>the v8 api changes are ridiculous between v0.10 and v0.11
23:03:07  <mordy__>hrm
23:04:05  <mordy__>seems scary
23:04:07  <mordy__>example?
23:05:04  <trevnorris>run: git show 393d33e
23:05:16  <trevnorris>that's what ben had to do to update core api
23:05:32  <hueniverse>isaacs: man, this bug fix is going to be painful to fix... need to remap the order of all events in our router...
23:09:14  <mordy__>hrm, so i first see you're passing around pointers rather than Handle<>
23:09:27  <MI6>nodejs-master-windows: #285 UNSTABLE windows-x64 (22/636) windows-ia32 (19/636) http://jenkins.nodejs.org/job/nodejs-master-windows/285/
23:11:42  <mordy__>hrm, i'd expect new Buffer([0,1,2]) would be encoded as { 0x00, 0x01, 0x02 }
23:11:53  <mordy__>rather it appears i get { 0x02, 0x00, 0x00 }
23:12:10  <mordy__>via 'DecodeBytes'
23:14:40  * jmar777quit (Remote host closed the connection)
23:19:14  * dshaw_quit (Quit: Leaving.)
23:27:42  * bnoordhuisquit (Ping timeout: 264 seconds)
23:33:18  * c4milojoined
23:37:17  <isaacs>hueniverse: ugh.
23:50:46  * dshaw_joined
23:56:59  * leonvvjoined