00:08:22  * mikealjoined
00:15:59  * sh1mmerjoined
00:20:58  * Aria_changed nick to Aria
00:22:54  * mikealquit (Quit: Leaving.)
00:27:27  * mikealjoined
00:34:03  * mikealquit (Quit: Leaving.)
00:35:07  * mikealjoined
00:35:29  * perezdquit (Quit: perezd)
00:35:59  * perezdjoined
00:51:26  * pfox___joined
00:57:55  * pfox___quit (Ping timeout: 252 seconds)
01:10:19  * Ariaquit (Ping timeout: 276 seconds)
01:15:10  * Ariajoined
01:29:27  <CIA-99>node: Nathan Rajlich master * r3c68c85 / common.gypi : build: use -pthreads (not -pthread) on Solaris - http://git.io/Ab8PHg
01:33:54  <CIA-99>node: T.C. Hollingsworth master * rd03b848 / (configure node.gyp): build: support shared zlib - http://git.io/mqBcpw
01:41:01  <CIA-99>node: Nathan Rajlich master * r3f1f2d1 / tools/gyp_addon : addon: write gyp generated files to the 'out' dir - http://git.io/JxDNCg
01:44:02  * travis-cijoined
01:44:02  <travis-ci>[travis-ci] joyent/node#498 (master - 3c68c85 : Nathan Rajlich): The build is still failing.
01:44:02  <travis-ci>[travis-ci] Change view : https://github.com/joyent/node/compare/2d7b43f...3c68c85
01:44:02  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/node/builds/748177
01:44:02  * travis-cipart
01:45:45  <CIA-99>node: Nathan Rajlich master * raa35564 / test/addons/hello-world/binding.cc :
01:45:46  <CIA-99>node: Use NODE_MODULE in the hello-world addon example.
01:45:46  <CIA-99>node: Fixes Windows throwing "unknown error" when trying to require the .node file. - http://git.io/0ImtrA
01:48:49  * travis-cijoined
01:48:49  <travis-ci>[travis-ci] joyent/node#499 (master - d03b848 : T.C. Hollingsworth): The build is still failing.
01:48:49  <travis-ci>[travis-ci] Change view : https://github.com/joyent/node/compare/3c68c85...d03b848
01:48:49  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/node/builds/748183
01:48:49  * travis-cipart
01:58:29  * travis-cijoined
01:58:29  <travis-ci>[travis-ci] joyent/node#500 (master - 3f1f2d1 : Nathan Rajlich): The build is still failing.
01:58:29  <travis-ci>[travis-ci] Change view : https://github.com/joyent/node/compare/d03b848...3f1f2d1
01:58:29  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/node/builds/748230
01:58:29  * travis-cipart
01:59:18  * mikealquit (Quit: Leaving.)
02:03:24  * travis-cijoined
02:03:24  <travis-ci>[travis-ci] joyent/node#501 (master - aa35564 : Nathan Rajlich): The build is still failing.
02:03:24  <travis-ci>[travis-ci] Change view : https://github.com/joyent/node/compare/3f1f2d1...aa35564
02:03:24  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/node/builds/748259
02:03:24  * travis-cipart
02:18:17  * coderarityquit (Remote host closed the connection)
02:18:18  * Raynosquit (Remote host closed the connection)
02:19:09  * mikealjoined
02:22:02  * brsonquit (Ping timeout: 272 seconds)
02:22:40  * alex_rquit (Ping timeout: 240 seconds)
02:23:56  * mrb_bkquit (Ping timeout: 272 seconds)
02:26:31  * dshaw_quit (Quit: Leaving.)
02:28:15  * dshaw_joined
02:30:30  * mikealquit (Quit: Leaving.)
02:35:21  * mikealjoined
02:48:30  * Ariaquit (Remote host closed the connection)
03:00:11  * chrisina1arjoined
03:01:46  <CIA-99>node: Ben Noordhuis master * r90fd70d / doc/api/http.markdown :
03:01:46  <CIA-99>node: docs: fix http.ClientRequest.write() documentation
03:01:46  <CIA-99>node: 'an array of integers' == very, very deprecated - http://git.io/Ig5kjg
03:10:03  * Raynosjoined
03:16:27  * travis-cijoined
03:16:27  <travis-ci>[travis-ci] joyent/node#502 (master - 90fd70d : Ben Noordhuis): The build is still failing.
03:16:27  <travis-ci>[travis-ci] Change view : https://github.com/joyent/node/compare/aa35564...90fd70d
03:16:27  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/node/builds/748452
03:16:27  * travis-cipart
03:32:27  * alex_rjoined
03:34:59  * mmaleckichanged nick to mmalecki[zzz]
03:43:19  * mrb_bkjoined
03:44:18  * coderarityjoined
05:36:52  * isaacsquit (Remote host closed the connection)
06:42:43  * mikealquit (Quit: Leaving.)
06:42:53  * benviequit
06:48:39  * benviejoined
07:06:52  * mikealjoined
07:13:24  * mikealquit (Quit: Leaving.)
07:41:46  * indutny_sleepingchanged nick to indutny
08:11:36  * mikealjoined
08:17:51  * mikealquit (Quit: Leaving.)
08:19:24  * rendarjoined
09:12:00  <CIA-99>node: tedsuo v0.6 * rcd4cb8e / doc/api/_toc.markdown :
09:12:00  <CIA-99>node: docs: split TOC into two parts: overview and API
09:12:00  <CIA-99>node: Fixes #2090.
09:12:00  <CIA-99>node: Fixes #2336. - http://git.io/uuP7gw
09:20:10  * travis-cijoined
09:20:10  <travis-ci>[travis-ci] joyent/node#503 (v0.6 - cd4cb8e : tedsuo): The build was fixed.
09:20:10  <travis-ci>[travis-ci] Change view : https://github.com/joyent/node/compare/ca0986f...cd4cb8e
09:20:10  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/node/builds/749599
09:20:10  * travis-cipart
10:04:36  * dshaw_quit (Quit: Leaving.)
11:12:08  * mmalecki[zzz]changed nick to mmalecki
11:37:14  * piscisaureus_joined
11:45:58  * mmaleckichanged nick to mmalecki[zzz]
11:52:17  * sj26quit (Excess Flood)
11:54:38  <piscisaureus_>mraleph: does v8 use a particular way with NULL in slots that usually refer to a heap object? e.g. kTaggedNull?
11:55:00  * sj26joined
11:56:41  <mraleph>?
11:57:25  <mraleph>piscisaureus_: can you clarify?
11:57:25  <piscisaureus_>mraleph: what if I need to put NULL in a slot?
11:57:33  <piscisaureus_>mraleph: it will be mistaken for SMI
11:57:39  <mraleph>piscisaureus_: yep.
11:57:43  <mraleph>it is SMI zero.
11:58:21  <piscisaureus_>mraleph: so if I need to put NULL there I have to stash (NULL | kHeapObjectTag)
11:58:29  <piscisaureus_>is there no constant for this?
11:58:29  <mraleph>if we need to put some marker we just put something that can be distinguished from everything else.
11:58:38  <mraleph>I would not recommend putting tagged NULL.
11:58:42  <mraleph>crashy crashy.
11:58:48  <piscisaureus_>it's only temporary :-)
11:58:57  <piscisaureus_>I was just wondering
11:59:02  <mraleph>why don't you want to put smi 0 than?
11:59:05  <mraleph>or undefined?
11:59:08  <mraleph>or hole?
11:59:17  <piscisaureus_>ah, undefined or hole might work
11:59:24  <piscisaureus_>although ... slow :-)
12:14:55  * bnoordhuisjoined
12:20:46  * AndreasMadsenjoined
12:24:12  <AndreasMadsen>AvianFlu: thanks for the native-code thing immortal handle sessions perfectly now. Across mac, linux, windows node 0.4+. But don't worry I will still add the buildin support once your pull request has landed.
13:10:34  * pfox___joined
13:43:56  <chrisina1ar>Can anyone take a look at this and tell me what i'm doing wrong? I was told all the node gurus chill here... Trying to add a return value to some existing bindings but it keeps return undefined anyway: http://pastebin.com/CHk2WJk2
13:48:13  <indutny>chrisina1ar: what is your js code?
13:48:28  <indutny>chrisina1ar: can you post initialization function from C++ code?
13:48:35  <indutny>chrisina1ar: i.e. which sets methods and etc
13:51:50  <chrisina1ar>indutny: https://github.com/chrisinajar/node-ogl/tree/master/src
13:52:58  <chrisina1ar>specifically all i'm trying to do is make this function return a value: https://github.com/chrisinajar/node-ogl/blob/master/src/gl.cc#L4782
13:53:19  * kohaiquit (Remote host closed the connection)
14:03:59  <indutny>hm...
14:04:27  <indutny>can you try removing scope.Close(...) wrapper
14:07:34  * mmalecki[zzz]changed nick to mmalecki
14:35:45  <mraleph>chrisina1ar: to return something you have to use, well, return :-)
14:36:07  <mraleph>chrisina1ar: where did you get idea that you can return stuff by assigning it to args[1]?
14:37:18  <mraleph>ah I see you are trying to emulate pass by reference... well you can't do that this way.
14:40:31  <chrisina1ar>mraleph: i do, check pastebin
14:40:36  <chrisina1ar>mraleph: that's the code i'm changing
14:40:52  <chrisina1ar>mraleph: the after, along with my text and debug output, are here pastebin.com/CHk2WJk2
14:41:24  <chrisina1ar>mraleph: i'm fixing someone else making that mistake, because that obviously wouldn't work, especially since the args object is const...
14:41:34  <indutny>mraleph: ;)
14:41:59  <mraleph>chrisina1ar: ah, ok. this code should work.
14:43:01  <chrisina1ar>it does not, however
14:43:07  * chrisina1archanged nick to chrisinajar
14:43:16  * chrisinajarquit (Changing host)
14:43:16  * chrisinajarjoined
14:43:43  <chrisinajar>i've tried deleting everything and rebuilding to no avail
14:47:00  <mraleph>chrisinajar: what happens if you say comment everything out in that function and just do: return Number::New(1)? will it still print undefined?
14:48:27  <chrisinajar>not sure, i'll try that when i get home. good idea.
14:48:54  <chrisinajar>in about 7 1/2 hours time i'll let you know if it worked or not...
14:50:16  <mraleph>:-)
14:50:50  <chrisinajar>yeah, haven't committed my code yet on purpose, no way i'd be able to get any real work done today until that was working, haha
14:59:22  * sh1mmerquit (Quit: sh1mmer)
15:02:31  * TooTallNatejoined
15:12:33  <piscisaureus_>mraleph: HINT_MANY_WRITES_EXPECTED is a total misnomer :-
15:13:33  <piscisaureus_>mraleph: it would make some sense if it would actially "optimize" for many writes
15:13:54  <piscisaureus_>mraleph: but that's not what it does - it just flattens first, then writes, and then thrashes the flat copy
15:16:35  <mraleph>I don't think it trashes anything.
15:16:52  <mraleph>after it is flattened cons string becomes ""+flattened string
15:36:55  * isaacsjoined
15:45:35  <pfox___>piscisaureus_: re: #328 (the uv_async_send ref'ing on windows thing)
15:45:58  <pfox___>is that a crazy fix? if you could give me an idea where to get started, would you take a patch?
15:48:15  <mraleph>mmalecki: hi! I remember you were willing to give somebody access to your tablet to debug the crashers? :-)
15:48:33  <mraleph>mmalecki: I can't repro them locally, probably because my machine is too fast.
15:49:00  <isaacs>Good morning
15:49:13  <AndreasMadsen>morning
15:49:22  * kohaijoined
15:51:50  <mraleph>morning :-)
15:57:41  <mmalecki>mraleph: sure!
15:59:06  * AndreasMadsenquit (Remote host closed the connection)
15:59:34  <mmalecki>mraleph: mind waiting few minutes, on call now
15:59:53  <mraleph>mmalecki: no problem
16:00:42  <indutny>mraleph: slow machines ain't really a problem ;)
16:00:50  <indutny>mraleph: just run a v8 build in a separate window
16:02:15  <mraleph>haha yes actually sometimes it helps.
16:04:08  <mraleph>but not this time
16:04:17  <mraleph>I am just not hitting OSR in that function.
16:06:10  * perezdquit (Quit: perezd)
16:06:28  <piscisaureus_>pfox___: I would take a patch - and the fix is easy.
16:06:41  <piscisaureus_>hmm oh wait
16:06:46  <indutny>mraleph: oh
16:06:51  <piscisaureus_>uv_async_send happens from another thread
16:07:00  <indutny>mraleph: that's really hard to debug
16:08:47  <piscisaureus_>pfox___: hmm, I just realized that what you want is really an edge case
16:09:19  <piscisaureus_>pfox___: does your code happen to be online?
16:19:46  * paddybyersjoined
16:22:22  * paddybyers_joined
16:22:34  <pfox___>piscisaureus_: in the issue i reference a test case as a gist that is distilled version of my situation
16:22:38  <pfox___>my actual code is actually in rust
16:22:51  <pfox___>as i mention in the ticket, ive already coded around it
16:23:16  <pfox___>i just liked the linux behavior because it let me be lazier
16:23:54  <pfox___>i use the unref'd async handle to buffer incoming operations against libuv (creating new handles, etc), so that they're run on the libuv thread (and therefore threadsafe, since rust is, pretty much, thread anarchy)
16:24:10  <pfox___>before, i could count on the unref'd async handle not holding up my loop's lifetime
16:24:16  <piscisaureus_>pfox___: the issue is that on windows we don't even make an attempt to run a loop :-)
16:24:23  <piscisaureus_>if it starts off 0
16:24:33  <pfox___>understood.
16:24:33  <piscisaureus_>on unix, apparently, not so
16:24:46  <pfox___>i accept that my case is unspecific behavior
16:24:50  <piscisaureus_>but that is not something unix should be proud of :-)
16:24:50  * paddybyers__joined
16:24:52  * paddybyersquit (Ping timeout: 276 seconds)
16:24:53  * paddybyers__changed nick to paddybyers
16:25:09  <pfox___>and im not going to piss and moan for consistency across platforms. im just saying its a useful and not uncommong situation to encounter, imo
16:25:21  <pfox___>anybody who wants to make libuv threadsafe is going to have to buffer incoming requests in a similar fashion
16:25:34  <piscisaureus_>pfox___: but I am in a good mood today :-p
16:25:37  <pfox___>and it sucks to have the buffer'ing async handle be a part of the loop's lifetime
16:25:45  <piscisaureus_>https://github.com/joyent/libuv/blob/master/src/win/core.c#L245 -> that should probably just be a do ... while loop
16:26:28  <pfox___>cool, thanks
16:26:48  * philipsquit (Excess Flood)
16:27:18  * paddybyers__joined
16:27:32  * paddybyers_quit (Ping timeout: 272 seconds)
16:27:32  * philipsjoined
16:29:44  * paddybyersquit (Ping timeout: 260 seconds)
16:29:51  * paddybyersjoined
16:31:18  <bnoordhuis>http://www.youtube.com/watch?v=CwO33oUawM8 <- such a sad song :(
16:31:49  * piscisaureus_is not getting rickrolled
16:32:13  * paddybyers__quit (Ping timeout: 265 seconds)
16:32:14  <bnoordhuis>i'm practicing it on guitar and piano
16:32:20  * paddybyers_joined
16:32:36  <mmalecki>mraleph: ok, setting it up now. can you pm me your public key?
16:33:26  <mraleph>mmalecki: stand by :-)
16:33:55  <bnoordhuis>his van morrison imitation is pretty accurate
16:34:32  <pfox___>it's not hard to do a van morrison impression
16:34:37  * paddybyersquit (Ping timeout: 276 seconds)
16:34:39  <pfox___>you can just listen to astral weeks a few times and get it figured out
16:34:49  <pfox___>(not saying it isn't a great album)
16:34:51  * paddybyersjoined
16:35:03  <mmalecki>bnoordhuis: lol
16:35:47  <bnoordhuis>mmalecki: you laugh
16:35:53  <bnoordhuis>but it makes me understand piscisaureus_ a little better
16:36:44  * paddybyers_quit (Ping timeout: 260 seconds)
16:36:53  <mmalecki>I bet it does!
16:37:21  * paddybyers_joined
16:39:18  * perezdjoined
16:39:34  * paddybyersquit (Ping timeout: 272 seconds)
16:39:51  * paddybyersjoined
16:41:48  * paddybyers_quit (Ping timeout: 245 seconds)
16:42:24  * paddybyers_joined
16:44:55  * paddybyers__joined
16:45:01  * paddybyersquit (Ping timeout: 276 seconds)
16:45:02  * paddybyers__changed nick to paddybyers
16:45:57  <indutny>bnoordhuis: gay eskimo
16:46:49  <bnoordhuis>indutny: are you calling me an eskimo?
16:47:12  * paddybyers_quit (Ping timeout: 265 seconds)
16:47:12  <bnoordhuis>piscisaureus_: is there a scrum call today? i've joined on skype but somehow i'm not seeing any messages...
16:47:24  * paddybyers_joined
16:47:25  <indutny>bnoordhuis: no
16:47:28  <indutny>bnoordhuis: :D
16:47:41  <isaacs>bnoordhuis: any progress on solaris seizing up?
16:47:54  <isaacs>bnoordhuis: it looks like -O1 is a clue.
16:47:56  <bnoordhuis>isaacs: well... i know what's *not* causing it
16:48:00  <bnoordhuis>i guess that's something...
16:48:13  <isaacs>what's *not* causing it?
16:48:22  <bnoordhuis>-fno-omit-frame-pointer
16:48:46  <isaacs>bnoordhuis: yeah, it predates that change, and that doesn't seem to affect it, afaict
16:49:09  <bnoordhuis>frankly, i'm still not quite sure what's causing it
16:49:22  <bnoordhuis>it has that special flavor of a compiler bug to it
16:49:28  <bnoordhuis>but you know, it might not be
16:49:34  * paddybyersquit (Ping timeout: 260 seconds)
16:49:34  * paddybyers_changed nick to paddybyers
16:50:14  * hij1nxjoined
16:50:37  * sh1mmerjoined
16:51:30  <pfox___>piscisaureus_: i made the change you suggested and no dice, still the same output.
16:51:45  <isaacs>if you think it'd be worthwhile, i can raise the flag for help from some joyent folks who know much more about solaris adn compilers, albeit much less about node.
16:51:53  * paddybyers_joined
16:52:25  <bnoordhuis>isaacs: i haven't dived in deeply yet, just excluded the most likely culprits
16:52:33  <isaacs>bnoordhuis: try upgrading v8 3.9.9. then it's even more awesomely broken.
16:52:38  <isaacs>./node (no args) hangs.
16:53:13  <isaacs>afaict, the last time it worked was compiled with waf
16:53:47  * sh1mmerquit (Remote host closed the connection)
16:53:58  * sh1mmerjoined
16:54:08  * paddybyersquit (Ping timeout: 272 seconds)
16:54:28  * paddybyersjoined
16:56:23  * paddybyers_quit (Ping timeout: 245 seconds)
16:58:46  * paddybyersquit (Ping timeout: 244 seconds)
16:59:50  <bnoordhuis>isaacs: have you seen this comment? https://github.com/joyent/node/issues/2830#issuecomment-4196474
17:00:26  <isaacs>fascinating!
17:01:07  <isaacs>[root@c39aafb8-5e89-11e1-8f82-5b087ed1ba6a ~]# gcc --version
17:01:08  <isaacs>gcc (GCC) 4.5.2
17:01:27  * paddybyersjoined
17:03:31  <isaacs>testing with his patch now..
17:03:49  <bnoordhuis>piscisaureus_: https://github.com/joyent/http-parser/issues/97
17:03:59  * paddybyers_joined
17:04:03  * sh1mmerquit (Ping timeout: 240 seconds)
17:06:05  <isaacs>> [root@c39aafb8-5e89-11e1-8f82-5b087ed1ba6a ~/node]# ./node -pe 'new Error("foo").stack'
17:06:05  <isaacs>Error: foo
17:06:05  <isaacs> at Object.<anonymous> (eval at <anonymous> (eval:1:82))
17:06:06  <isaacs> at Object.<anonymous> (eval:1:70)
17:06:09  <isaacs> at Module._compile (module.js:443:26)
17:06:10  <isaacs> at startup (node.js:76:27)
17:06:12  <isaacs> at node.js:551:3
17:06:14  <isaacs>bnoordhuis: ^
17:06:16  <isaacs>works.
17:06:19  <bnoordhuis>yeah
17:06:22  <isaacs>and make test doesn't break everywhere.
17:06:26  <isaacs>which is a notable improvement.
17:06:28  * paddybyersquit (Ping timeout: 276 seconds)
17:06:28  <bnoordhuis>so a compiler bug after all?
17:06:31  * paddybyers__joined
17:06:35  <isaacs>i believe so.
17:06:49  <isaacs>-O3 is too high for sunos gcc 4.5.3, i guess?
17:07:01  <isaacs>in this case, with this code, with the planets in their current positions, etc. etc
17:07:27  <isaacs>since it already appears to be fixed in gcc 4.6, i wonder about the value of reporting it.
17:07:49  <bnoordhuis>isaacs: close to zilch, probably
17:08:06  <isaacs>otoh, but a gcc 4.5.4 is probably easier than updating the whole system to 4.6
17:08:16  <bnoordhuis>yeah
17:08:20  <bnoordhuis>have you tried -O2?
17:08:23  <isaacs>no
17:08:28  <bnoordhuis>-O3 is supposed to be stable but who knows?
17:08:49  * paddybyers_quit (Ping timeout: 260 seconds)
17:11:02  * paddybyersjoined
17:11:50  <isaacs>building with -O2 now
17:11:58  <bnoordhuis>same here :)
17:12:21  * sh1mmerjoined
17:12:27  * sh1mmerquit (Remote host closed the connection)
17:12:38  * sh1mmerjoined
17:13:08  * paddybyers__quit (Ping timeout: 272 seconds)
17:13:36  * paddybyers_joined
17:15:00  <isaacs>bnoordhuis: with -O2, the compilation fails on v8 3.9.9 making the snapshot
17:16:07  <bnoordhuis>isaacs: yes, and the bundled v8 enters that infinite loop
17:16:07  * paddybyers__joined
17:16:13  * paddybyersquit (Ping timeout: 276 seconds)
17:16:14  * paddybyers__changed nick to paddybyers
17:16:23  <bnoordhuis>i suppose we should take that patch
17:16:31  * dapjoined
17:16:35  <bnoordhuis>unless you want to spend a couple of days tracking down the cause :)
17:16:48  <isaacs>and building --without-snapshot has the same problem as -O3 when using -O2
17:16:53  <bnoordhuis>might be worthwhile to benchmark http_simple performance
17:17:42  <isaacs>yeah, i'm going to upgrade v8, take this patch, and then whine about smartos being broken to the people who can dig deeper, now that we have a better clue to the issue.
17:18:09  * paddybyers_quit (Ping timeout: 260 seconds)
17:18:11  <isaacs>i mean, those optimizations are kinda important.
17:18:16  <isaacs>they optimize stuff :)
17:18:39  * paddybyers_joined
17:20:25  * paddybyersquit (Ping timeout: 246 seconds)
17:21:09  * paddybyersjoined
17:21:40  * bnoordhuisis off to dinner
17:23:12  * paddybyers_quit (Ping timeout: 260 seconds)
17:23:39  * paddybyers_joined
17:25:58  * paddybyersquit (Ping timeout: 276 seconds)
17:26:11  * paddybyersjoined
17:28:20  * paddybyers_quit (Ping timeout: 272 seconds)
17:28:40  * paddybyers_joined
17:30:33  * paddybyersquit (Ping timeout: 245 seconds)
17:31:14  * paddybyersjoined
17:33:45  * paddybyers__joined
17:33:46  * paddybyers_quit (Ping timeout: 276 seconds)
17:35:39  * paddybyersquit (Ping timeout: 260 seconds)
17:36:11  * paddybyersjoined
17:38:28  * paddybyers__quit (Ping timeout: 272 seconds)
17:38:45  * paddybyers_joined
17:40:33  * paddybyersquit (Ping timeout: 245 seconds)
17:41:16  * paddybyersjoined
17:43:19  * paddybyers_quit (Ping timeout: 244 seconds)
17:43:45  * paddybyers_joined
17:46:07  * paddybyersquit (Ping timeout: 276 seconds)
17:48:04  * hij1nxquit (Quit: hij1nx)
17:48:36  * paddybyers_quit (Ping timeout: 272 seconds)
17:49:34  * sh1mmerquit (Quit: sh1mmer)
17:50:04  * igorzijoined
17:51:00  * mralephquit (Quit: Leaving)
18:10:15  * sh1mmerjoined
18:18:15  * sh1mmerquit (Read error: Connection reset by peer)
18:23:03  * kuebkjoined
18:27:50  * stephankquit (Quit: *Poof!*)
18:33:58  * stephankjoined
18:39:23  * felixgejoined
18:42:02  * kuebkquit
18:43:51  * mikealjoined
18:44:30  * piscisaureus_quit (Ping timeout: 248 seconds)
18:50:21  * txdvjoined
18:52:20  * mikealquit (Quit: Leaving.)
18:55:34  * mralephjoined
19:01:49  * `3rdEdenjoined
19:04:44  * brsonjoined
19:07:32  * toothrquit (Ping timeout: 240 seconds)
19:08:18  * toothrjoined
19:10:46  * sh1mmerjoined
19:20:02  * toothrquit (Ping timeout: 240 seconds)
19:20:23  * sh1mmerquit (Quit: sh1mmer)
19:25:25  <isaacs>anyone around to review this? https://github.com/isaacs/node/compare/json-api-docs
19:25:36  <isaacs>bnoordhuis, piscisaureus, igorzi: ^
19:25:52  * bnoordhuisgroans
19:27:02  <bnoordhuis>isaacs: you really expect us to read all that?
19:29:16  <isaacs>bnoordhuis: no, not really :)
19:29:27  <isaacs>bnoordhuis: not the doc refactoring anyway. that's why it's split out.
19:29:58  <isaacs>bnoordhuis: it's described in https://github.com/isaacs/node/commit/11d27367cdc150a0d7621c5432171ec0c2b9fe42.
19:30:22  <bnoordhuis>yep, read that
19:30:29  * bnoordhuisis a speed reader
19:30:34  <igorzi>isaacs: the stability index is in some modules, but not others
19:31:05  <igorzi>isaacs: is that by-design?
19:31:19  <isaacs>igorzi: no, that's by-ineedhelp
19:31:22  <isaacs>:)
19:31:48  <isaacs>igorzi: some of them are uncontroversial. Others may need a bit of consideration.
19:32:00  <bnoordhuis> // !!!!!!!!qrst!!!!!!!!!!!!! <- is that a control code?
19:32:04  <isaacs>i plan to go comb through it, but wnat to get the basic refactor out of the way
19:32:17  <igorzi>isaacs: k :)
19:32:42  <isaacs>bnoordhuis: no, it's the result of the example code.
19:32:57  <isaacs>bnoordhuis: i think that example buffer snippet creates a buffer full of ! chars, then writes "qrst" to it somewhere.
19:33:01  <bnoordhuis>oh right
19:33:24  <bnoordhuis>kind of difficult to read from the diff but yes, that's what it is
19:33:38  <bnoordhuis>lgtm fwiw
19:33:44  <bnoordhuis>i especially liked the green bits
19:34:23  <isaacs>lol
19:35:06  <isaacs>here's what we get out of this: http://static.izs.me/json-api/all.json
19:35:38  <mmalecki>ALL the JSON
19:36:48  * toothrjoined
19:37:04  * dshaw_joined
19:39:07  <TooTallNate>that's pretty awesome :)
19:39:22  <igorzi>isaacs: any chance that tunneling in npm makes it into v0.6.12?
19:43:52  <isaacs>igorzi: i'd like to get that in, yes.
19:44:08  <isaacs>igorzi: i haven't followed the status with request. did you ask mikeal about it?
19:44:49  <igorzi>isaacs: yeah, he's trying to get koichi's code into request. https://github.com/koichik/node-tunnel/issues/1
19:45:21  <isaacs>cool, i'll bug him about it
19:45:26  <isaacs>looks like koichi is fine with it
19:46:33  <igorzi>yep
19:51:41  * felixgequit (Quit: http://www.debuggable.com/)
20:00:17  <isaacs>ok, i'm gonna --no-ff this in.
20:01:08  <CIA-99>node: isaacs master * r0e7dad3 / (61 files in 12 dirs): Merge branch 'json-api-docs' (+45 more commits...) - http://git.io/LBRztg
20:03:24  * kuebkjoined
20:03:52  <kuebk>hello
20:04:00  <kuebk>short question about node-waf
20:04:14  <kuebk>when you are in build
20:04:34  <kuebk>can you get what command launched the build?
20:04:35  <kuebk>http://docs.waf.googlecode.com/git/book_16/single.html#_the_em_build_em_commands
20:04:48  <kuebk>following this you can but I can't make it working as written there
20:04:50  <bnoordhuis>kuebk: i don't understand the question
20:06:06  <kuebk>the quest is
20:06:09  <kuebk>question*
20:06:19  * mjr_joined
20:06:19  <bnoordhuis>kuebk: another thing
20:06:20  <kuebk>should this code
20:06:26  <kuebk>i mean 2.3.3
20:06:34  <kuebk>point of this python waf book
20:06:47  <bnoordhuis>https://github.com/joyent/libuv/issues/308 <- i forgot to point out that you need to declare your locals volatile
20:06:59  <bnoordhuis>that was an aside :)
20:07:27  <kuebk>hmm
20:07:31  <kuebk>that issue is not mine
20:07:32  <kuebk>;
20:07:33  <kuebk>;p
20:09:05  <bnoordhuis>oh damn
20:09:10  <bnoordhuis>sorry about that :)
20:09:25  <kuebk>np
20:09:38  <kuebk>btw do you know understand my question
20:09:42  * mikealjoined
20:09:45  <kuebk>*now
20:10:18  <tjfontaine>kuebk: aside from the method matching the command?
20:11:05  <kuebk>what ya mean
20:11:11  <CIA-99>node: Shigeki Ohtsu master * r82ad1f8 / (common.gypi configure): Fix #2830 for the old gcc bug on SmartOS - http://git.io/xu_m7w
20:11:51  <CIA-99>node: isaacs master * rf4641bd / (179 files in 21 dirs): Update v8 to 3.9.9 - http://git.io/vLr44w
20:11:52  <CIA-99>node: isaacs master * rfde2600 / deps/v8/build/common.gypi : v8: Remove OutputDirectory from build/common.gypi - http://git.io/xJdH3A
20:11:52  <tjfontaine>kuebk: I guess we're (i'm) still not clear on what information and why you need it, what exactly are you trying to do
20:12:00  <kuebk>ah ok
20:12:01  <kuebk>so
20:12:08  <kuebk>so in build method
20:12:24  <kuebk>I want to build additional libraries
20:12:41  <kuebk>and because clean launches build method too
20:13:05  <kuebk>the clean command is building libs what is not really needed
20:13:37  * bnoordhuisdoes not know the answer to that question...
20:13:51  <kuebk>https://github.com/kuebk/node-uriparser/blob/master/wscript
20:13:51  <tjfontaine>sounds like it's apart of their normal build dependency management
20:13:58  <kuebk>yea
20:14:06  <kuebk>here's my wscript
20:14:41  <tjfontaine>kuebk: http://docs.waf.googlecode.com/git/apidocs_16/Build.html#waflib.Build.BuildContext.add_manual_dependency
20:15:29  * mikealquit (Ping timeout: 252 seconds)
20:15:46  <kuebk>i don't get how is this supposed to help in my case
20:17:21  <tjfontaine>kuebk: you just need to figure out how to make the sub wscripts (or whatever it is) be a dependency of your project
20:17:43  * travis-cijoined
20:17:43  <travis-ci>[travis-ci] joyent/node#504 (master - 0e7dad3 : isaacs): The build is still failing.
20:17:43  <travis-ci>[travis-ci] Change view : https://github.com/joyent/node/compare/90fd70d...0e7dad3
20:17:43  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/node/builds/753207
20:17:43  * travis-cipart
20:19:28  <kuebk>i think the simple if on which command i am would be simpler
20:19:42  <kuebk>thanks anyway
20:21:12  <kuebk>hmm
20:21:15  <kuebk>the example is working
20:21:22  <kuebk>from the waf book
20:21:38  <kuebk>so looks like it is a problem with node-waf
20:25:53  * travis-cijoined
20:25:53  <travis-ci>[travis-ci] joyent/node#505 (master - 82ad1f8 : Shigeki Ohtsu): The build is still failing.
20:25:53  <travis-ci>[travis-ci] Change view : https://github.com/joyent/node/compare/0e7dad3...82ad1f8
20:25:53  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/node/builds/753298
20:25:53  * travis-cipart
20:32:59  * kuebkquit (Ping timeout: 260 seconds)
21:08:13  <TooTallNate>isaacs
21:08:21  <TooTallNate>can't get the fstream "cp" example to work
21:08:22  <TooTallNate>fstream
21:08:22  <TooTallNate> .Reader("path/to/dir")
21:08:22  <TooTallNate> .pipe(fstream.Writer("path/to/other/dir"))
21:08:30  <TooTallNate>Error: Cannot add to non-Directory type
21:08:31  <TooTallNate> at decorate (/Users/nrajlich/node-gyp/node_modules/fstream/lib/abstract.js:64:36)
21:09:28  <CIA-99>node: isaacs v0.6 * r4f8d732 / Makefile : Fix #2822 Only remove logo images, not logo html - http://git.io/WpjDRg
21:10:40  * `3rdEdenquit (Quit: Linkinus - http://linkinus.com)
21:11:17  * kuebkjoined
21:11:28  * felixgejoined
21:11:28  * felixgequit (Changing host)
21:11:28  * felixgejoined
21:11:30  <isaacs>TooTallNate: fstream.Writer({path:"path/to/other/dir
21:11:36  <kuebk>back*
21:11:37  <isaacs>,"type":"Directory"})
21:11:43  <isaacs>TooTallNate: ^
21:13:37  <CIA-99>libuv: Igor Zinkovsky v0.6 * r9a5c1ba / src/win/util.c : windows: fix time conversion in stat - http://git.io/B4iQEA
21:15:40  * travis-cijoined
21:15:40  <travis-ci>[travis-ci] joyent/libuv#107 (v0.6 - 9a5c1ba : Igor Zinkovsky): The build is still failing.
21:15:40  <travis-ci>[travis-ci] Change view : https://github.com/joyent/libuv/compare/fca18c3...9a5c1ba
21:15:40  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/libuv/builds/753750
21:15:40  * travis-cipart
21:17:15  <CIA-99>node: Igor Zinkovsky v0.6 * r70a393e / (deps/uv/src/win/fs.c deps/uv/src/win/util.c): update libuv to 9a5c1bad90 - http://git.io/a33OTw
21:18:25  * travis-cijoined
21:18:25  <travis-ci>[travis-ci] joyent/node#506 (v0.6 - 4f8d732 : isaacs): The build passed.
21:18:25  <travis-ci>[travis-ci] Change view : https://github.com/joyent/node/compare/cd4cb8e...4f8d732
21:18:25  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/node/builds/753715
21:18:25  * travis-cipart
21:20:45  <kuebk>whats current way to build modules for node?
21:20:57  <kuebk>is it still waf or gyp?
21:21:10  <isaacs>kuebk: we're trying to move towards gyp
21:21:18  <isaacs>kuebk: but there's a lot of waf around, still
21:21:47  <kuebk>yea
21:22:03  <kuebk>just thinking what should I use
21:22:33  <kuebk>and to get module works under both 0.4.x and 0.6.x i will have to use waf
21:23:30  <kuebk>btw
21:23:46  <kuebk>because of moving to gyp there are no plans to upgrade waf to more recent version?
21:26:15  * travis-cijoined
21:26:15  <travis-ci>[travis-ci] joyent/node#507 (v0.6 - 70a393e : Igor Zinkovsky): The build was broken.
21:26:15  <travis-ci>[travis-ci] Change view : https://github.com/joyent/node/compare/4f8d732...70a393e
21:26:15  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/node/builds/753792
21:26:15  * travis-cipart
21:34:43  * stephankquit (Quit: *Poof!*)
21:36:43  * stephankjoined
21:36:50  <isaacs>kuebk: we will not be upgrading waf, no
21:37:55  <kuebk>oki
21:38:28  * txdvquit (Ping timeout: 245 seconds)
21:46:51  <TooTallNate>isaacs: worked, thanks
21:47:16  <isaacs>TooTallNate: it'd also work if the target dir already exists.
21:47:29  <isaacs>TooTallNate: since Writer defaults to whatever type the thing is already,if unspecifed
21:47:29  <TooTallNate>isaacs: oh, that'll work then
21:47:38  <isaacs>but specifying it is best.
21:47:59  <TooTallNate>isaacs: you *could* wait until 'pipe' event before creating the out file/dir
21:48:10  <TooTallNate>and then sniff the Reader instance
21:48:11  <isaacs>TooTallNate: yeah
21:48:23  <TooTallNate>that's some mikeal shit
21:48:38  <isaacs>not a bad idea. i'd take a patch for it, if you feel like doing that
21:48:42  <isaacs>i mean, that's how cp works.
21:50:01  <TooTallNate>isaacs: that'd be cool. maybe if i have some spare time
21:50:17  <TooTallNate>i'm trying to update node-gyp to use the new common.gyp and gyp_addon hotness
21:50:31  <TooTallNate>i.e. 64-bit windows and generating files in the 'out' dir
21:50:44  <kuebk>guys why the addon default build dir changed
21:50:46  <kuebk>from default
21:50:47  <kuebk>to Release?
21:50:47  <TooTallNate>isaacs: btw, did you see the comment regarding changing "out" back to "build"?
21:51:00  <isaacs>TooTallNate: no, i didn't
21:51:12  <isaacs>TooTallNate: you mean, in addons, or in node itself?
21:51:50  <TooTallNate>isaacs: https://github.com/joyent/node/commit/3f1f2d149724b617418ac2212ac829b12b50d321#commitcomment-1015593
21:51:53  <TooTallNate>for addons in this case
21:51:59  <TooTallNate>but you could do it to node as well
21:52:04  <TooTallNate>i don't really care either way
21:52:18  <TooTallNate>but i thought since you had 'build' stuff in npm you might care
21:52:32  <isaacs>TooTallNate: oh, actually, yeah, thatd be beter.
21:52:42  <isaacs>it's dumb having two different dirs for this
21:52:48  <TooTallNate>agreed
21:52:52  <TooTallNate>ok, patch coming
21:56:27  <TooTallNate>isaacs: nice, consistent build dirs :) https://github.com/TooTallNate/node/commit/12e711931a4dbbf9c2b3bd7d87164ffcb2f62f9e
21:56:52  <TooTallNate>man, it's nice ironing out all the build system warts
21:57:01  * pfox___quit (Ping timeout: 265 seconds)
21:57:23  <isaacs>it's even nicer having someone else do it ;)
21:57:33  <TooTallNate>haha
21:57:37  <TooTallNate>i can imagine :p
21:57:52  <kuebk>is there a way
21:58:03  <kuebk>to change default path of build?
21:58:10  <kuebk>now it is Release before it was default
21:58:15  <kuebk>is it changeable?
21:58:23  <TooTallNate>kuebk: it's not
21:58:35  <kuebk>ok
21:58:37  <TooTallNate>it was changed to match the way gyp does it
21:58:43  <kuebk>hmm
21:58:45  <kuebk>oki
21:58:49  * pfox___joined
21:59:05  <kuebk>so what's the best way
21:59:18  <TooTallNate>kuebk: i've done this in the past: https://github.com/LearnBoost/node-canvas/blob/master/lib/bindings.js
21:59:24  <TooTallNate>to support 0.4.x and 0.6.
21:59:28  <kuebk>try catch
21:59:35  <kuebk>yea I already figured that out
21:59:45  <CIA-99>node: isaacs master * r2e24ded / (81 files in 14 dirs): Upgrade v8 to 3.9.11 - http://git.io/I7A3VQ
21:59:45  <CIA-99>node: isaacs master * r412cebe / deps/v8/build/common.gypi : v8: Remove OutputDirectory from build/common.gypi - http://git.io/9rmW7g
21:59:46  <CIA-99>node: isaacs master * r50cfeef / deps/v8/build/common.gypi : Remove -Wall from v8 build - http://git.io/ZzGqgw
21:59:46  <kuebk>but my whole module is written in C
22:00:05  <TooTallNate>so make that "bindings" file be your entry point
22:00:15  <kuebk>so creating another js file just to load it properly doesn't seem good to me
22:01:14  <CIA-99>node: Mathias Bynens master * rcacd651 / lib/punycode.js : punycode: Update to v1.0.0 - http://git.io/MMIeeg
22:02:07  <TooTallNate>kuebk: its not that big a deal
22:02:13  <TooTallNate>but you're right
22:02:18  <TooTallNate>it's an install-time operation
22:02:50  <kuebk>yea
22:03:02  <kuebk>the other way i have in mind
22:03:06  <kuebk>is to copy the file
22:03:13  <kuebk>to lets say bin dir
22:03:21  <TooTallNate>people to that as well
22:03:24  <TooTallNate>in their wscript file
22:03:43  <TooTallNate>s/to/do
22:03:43  <kuebk>isn't that better?
22:03:58  <TooTallNate>it's a micro-optimization imo
22:04:05  <TooTallNate>you're only talking about startup time here
22:04:06  <CIA-99>node: Mathias Bynens v0.6 * r483edbd / lib/punycode.js : punycode: Update to v1.0.0 - http://git.io/Pnxkkg
22:04:10  <TooTallNate>and a matter of milliseconds
22:04:13  <TooTallNate>to do a try/catch
22:04:26  <TooTallNate>i take the js/runtime route just cause it's easier :D
22:04:30  <kuebk>tbh try and catch is ok for me
22:04:42  <kuebk>i just don't like the additional file just to keep it compatible
22:05:27  <CIA-99>node: Nathan Rajlich master * rba0892b / tools/gyp_addon :
22:05:27  <CIA-99>node: build: build addons into the "build" dir instead of "out"
22:05:27  <CIA-99>node: This matches the old node-waf system. Having two different dirs for this stuff
22:05:27  <CIA-99>node: is dumb. - http://git.io/fpzHAA
22:05:32  <isaacs>TooTallNate: thanks ^
22:05:39  <TooTallNate>isaacs: np
22:05:41  <TooTallNate>hahaha ^
22:05:45  <TooTallNate>node: is dumb
22:06:06  <isaacs>hehe
22:09:17  * sh1mmerjoined
22:09:36  * `3rdEdenjoined
22:14:50  * travis-cijoined
22:14:50  <travis-ci>[travis-ci] joyent/node#508 (master - 50cfeef : isaacs): The build is still failing.
22:14:50  <travis-ci>[travis-ci] Change view : https://github.com/joyent/node/compare/fde2600...50cfeef
22:14:50  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/node/builds/754134
22:14:50  * travis-cipart
22:16:58  * travis-cijoined
22:16:58  <travis-ci>[travis-ci] joyent/node#509 (master - cacd651 : Mathias Bynens): The build is still failing.
22:16:58  <travis-ci>[travis-ci] Change view : https://github.com/joyent/node/compare/50cfeef...cacd651
22:16:58  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/node/builds/754154
22:16:58  * travis-cipart
22:18:28  <CIA-99>node: AJ ONeal v0.6 * r7f58d20 / (lib/fs.js test/simple/test-fs-non-number-arguments-throw.js): [ISSUE #2554 #2567] throw if fs args for 'start' or 'end' are strings - http://git.io/SF_GBg
22:19:36  <CIA-99>node: AJ ONeal master * r493a6bb / (lib/fs.js test/simple/test-fs-non-number-arguments-throw.js): [ISSUE #2554 #2567] throw if fs args for 'start' or 'end' are strings - http://git.io/CPCxpA
22:22:15  * rendarquit
22:22:26  * felixgequit (Quit: felixge)
22:24:06  * travis-cijoined
22:24:06  <travis-ci>[travis-ci] joyent/node#510 (v0.6 - 483edbd : Mathias Bynens): The build is still failing.
22:24:06  <travis-ci>[travis-ci] Change view : https://github.com/joyent/node/compare/70a393e...483edbd
22:24:06  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/node/builds/754176
22:24:06  * travis-cipart
22:25:10  * `3rdEdenquit (Quit: Linkinus - http://linkinus.com)
22:31:54  * travis-cijoined
22:31:54  <travis-ci>[travis-ci] joyent/node#511 (master - ba0892b : Nathan Rajlich): The build is still failing.
22:31:54  <travis-ci>[travis-ci] Change view : https://github.com/joyent/node/compare/cacd651...ba0892b
22:31:54  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/node/builds/754191
22:31:54  * travis-cipart
22:34:02  * kuebkquit (Ping timeout: 240 seconds)
22:38:28  * txdvjoined
22:39:39  * travis-cijoined
22:39:40  <travis-ci>[travis-ci] joyent/node#512 (v0.6 - 7f58d20 : AJ ONeal): The build was fixed.
22:39:40  <travis-ci>[travis-ci] Change view : https://github.com/joyent/node/compare/483edbd...7f58d20
22:39:40  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/node/builds/754295
22:39:40  * travis-cipart
22:40:58  * dapquit (Ping timeout: 245 seconds)
22:41:16  * dapjoined
22:45:54  * txdv_joined
22:46:17  * txdvquit (Ping timeout: 245 seconds)
22:47:11  * travis-cijoined
22:47:11  <travis-ci>[travis-ci] joyent/node#513 (master - 493a6bb : AJ ONeal): The build is still failing.
22:47:11  <travis-ci>[travis-ci] Change view : https://github.com/joyent/node/compare/ba0892b...493a6bb
22:47:11  <travis-ci>[travis-ci] Build details : http://travis-ci.org/joyent/node/builds/754304
22:47:11  * travis-cipart
22:50:43  * piscisaureus_joined
22:51:39  <TooTallNate>isaacs: does fstream stop if the target file already exists?
22:51:41  <bnoordhuis>The httplib2 Python library earlier than version 0.7.0 did not perform any server certificate validation when using HTTPS connections. If a remote attacker were able to perform a man-in-the-middle attack, this flaw could be exploited to alter or compromise confidential information in applications that used the httplib2 library.
22:51:46  * bnoordhuisbangs head against table
22:52:01  <bnoordhuis>after updating my servers, that is :-/
22:52:50  <tjfontaine>ya this is quite a common thing in the python world, a guy I've encountered went around filing issues with everyone to make them use the libcurl interface instead
22:53:49  <bnoordhuis>i probably shouldn't rag too hard on them, i make stupid mistakes too
22:53:55  <bnoordhuis>but hopefully not *that* stupid
22:58:08  <mmalecki>bnoordhuis: you never know!
23:01:08  * kuebkjoined
23:03:33  * kuebkquit (Client Quit)
23:06:07  * txdv_quit (Ping timeout: 244 seconds)
23:06:21  * txdvjoined
23:11:37  * piscisaureus_quit (Quit: ~ Trillian Astra - www.trillian.im ~)
23:28:53  * txdvquit (Ping timeout: 245 seconds)
23:35:00  * dapquit (Quit: Leaving.)
23:41:00  <isaacs>TooTallNate: i think there's an option like "clobber" or something
23:41:31  <TooTallNate>isaacs: ya, looks like it's true by default, but for some reason I just get one "entry" event on both streams and then nothing
23:41:38  <TooTallNate>no "end" or "close" events :
23:41:39  <TooTallNate>:\
23:46:39  <isaacs>that doesn't sound right.
23:49:16  <TooTallNate>isaacs: here's all the fstream code https://github.com/TooTallNate/node-gyp/blob/8c13a03f70f50735d3c5bb4e41601fb4a1613af0/lib/install.js#L208-241
23:53:56  <CIA-99>node: isaacs v0.6 * r692bcbe / doc/api/_toc.markdown :
23:53:56  <CIA-99>node: Revert "docs: split TOC into two parts: overview and API"
23:53:56  <CIA-99>node: This reverts commit cd4cb8e79509c3940a94bd70ff16cdb264884114. - http://git.io/mtoeyg
23:57:53  <TooTallNate>isaacs: fyi, problem went away when I removed the "type" from the Reader instance :\
23:58:17  <isaacs>TooTallNate: well, that's odd.
23:59:04  <TooTallNate>haha, ya agreed