00:00:00  * ircretaryquit (Remote host closed the connection)
00:00:09  * ircretaryjoined
00:01:14  * AvianFluquit (Remote host closed the connection)
00:01:53  * mikealjoined
00:02:42  * jmar777quit (Remote host closed the connection)
00:03:44  <tjfontaine>trevnorris: heh
00:10:35  <mmalecki>*sigh* sending patches by e-mail
00:11:08  <mmalecki>I've never used less convenient method of exchanging git commits
00:11:41  <mmalecki>this is even less distributed than github.
00:12:09  <mmalecki>and of course user experience of git send-email leaves bitter taste in my mouth
00:12:14  * abraxasjoined
00:12:48  <indutny>mmalecki: man
00:12:50  <indutny>it is cool :)
00:12:53  <indutny>such wow
00:13:09  <mmalecki>thanks for flying mmalecki airlines, we hope you enjoyed the rant.
00:13:38  <mmalecki>indutny: after using github it's a huge downgrade :)
00:14:47  <trevnorris>wtf.
00:16:37  <trevnorris>groundwater: hey, here's an example: https://github.com/trevnorris/node/blob/al-pass-provider/test/simple/test-asynclistener-multi-context.js
00:16:38  * abraxasquit (Ping timeout: 240 seconds)
00:17:12  <trevnorris>groundwater: basically, each async execution branch is treated independently, so if you remove the listener from that branch it will cease to be tracked.
00:17:39  <trevnorris>groundwater: i need more tests to verify this is working as expected, so working on those. if you want feel free to try and break it. :)
00:24:19  * dshaw_joined
00:27:01  <tjfontaine>groundwater, othiym23: hey, question regarding process.nextTick, v0.10, and NewRelic
00:27:09  <othiym23>tjfontaine: I'm here!
00:27:15  <tjfontaine>welcome home btw
00:27:36  <othiym23>from the wilds of San Jose? :)
00:27:48  * zz_karupanerurachanged nick to karupanerura
00:27:53  <tjfontaine>that is a dangerous place
00:28:15  <othiym23>Frank and I got lost like three times trying to find the beer place after Node Day
00:28:21  <othiym23>lucky we didn't get eaten by CHUD
00:28:27  <tjfontaine>haha
00:28:36  <trevnorris>tjfontaine: can we scrap or change test/simple/test-timers-ordering.js ? that thing is a race condition and has been intermittently failing on me.
00:29:14  <othiym23>tjfontaine: what's yr question?
00:29:37  <tjfontaine>trevnorris: maybe, I think this is related to the libuv heap change though, so it's important we understand what's up
00:29:38  <trevnorris>groundwater/othiym23: fyi, I added the providers argument to the end, instead of the beginning.
00:30:00  * defunctzombie_zzchanged nick to defunctzombie
00:30:02  <tjfontaine>othiym23: so in v0.10 require('domain') swaps out nextTick for a different function, how do you guys handle that scenario?
00:30:03  <trevnorris>tjfontaine: it uses Date.now(). how would that be effected by libuv?
00:30:13  <trevnorris>tjfontaine: basically, the timers are firing too close together
00:30:31  <othiym23>tjfontaine: we don't touch nextTick, so it's fine for us
00:30:38  * dshaw_quit (Quit: Leaving.)
00:30:40  <tjfontaine>trevnorris: yes, because we have changed how libuv fires the base timer, and the test uses Date.now but timers use libuv to get their time from the monotonic clock
00:30:45  <tjfontaine>othiym23: okey dokey
00:30:54  <othiym23>the AL polyfill might get disrupted, though
00:31:23  <othiym23>and the change you suggested would work fine for that in 0.10, although I should probably replace process.nextTick with an accessor in the polyfill to deal with that case
00:31:24  <tjfontaine>othiym23: well that's the state of things today, so I'm changing it such that it isn't the case, I just wanted to make sure I wasn't breaking you RightNow
00:31:31  <tjfontaine>othiym23: k
00:34:22  <MI6>joyent/node: Timothy J Fontaine v0.10 * 06453a9 : src: domain should not replace nextTick function - http://git.io/hfivlg
00:36:35  <trevnorris>tjfontaine: ironically, I removed the separate nextTick in v0.11. I think because a V8 change made it much faster to access the object property.
00:36:40  <tjfontaine>yup
00:36:57  <tjfontaine>it's totally not a big deal in 0.11
00:37:22  <tjfontaine>surprised this was the first time I had heard a bug about it though
00:37:42  <othiym23>well, you typically don't load domains mid-process
00:38:32  <tjfontaine>fair, but there are a lot of people doing hot loading and other crazy shit
00:39:04  <othiym23>I wouldn't know anything about that
00:39:08  <tjfontaine>:)
00:43:25  * indexzeroquit (Quit: indexzero)
00:50:22  * kazuponjoined
00:59:09  * kazupon_joined
00:59:47  * AvianFlujoined
01:03:08  * bradleymeckquit (Quit: bradleymeck)
01:03:12  * kazuponquit (Ping timeout: 264 seconds)
01:05:40  * mikealquit (Quit: Leaving.)
01:08:37  * rosskquit
01:12:21  * dap_quit (Quit: Leaving.)
01:12:28  * c4milojoined
01:17:25  * c4miloquit (Ping timeout: 265 seconds)
01:18:27  * indexzerojoined
01:19:33  <trevnorris>tjfontaine: can you pm me the link to the list of signed contributors?
01:20:06  * euoiajoined
01:23:07  <tjfontaine>trevnorris: it doesn't show up in your "shared with me" in google drive?
01:23:21  <tjfontaine>trevnorris: it's with your nodejs.org account, not your personal gmail
01:23:35  <trevnorris>thanks
01:23:39  <tjfontaine>you're welcome
01:24:30  <trevnorris>tjfontaine: and if their name appears but under a different email. have them sign it again?
01:26:56  * mcavagequit (Remote host closed the connection)
01:27:25  * mcavagejoined
01:29:01  <othiym23>is there anything outsiders can do to make jankins happy with the CLA again?
01:30:24  <tjfontaine>I think google is unhappy wiht my bot
01:30:40  <tjfontaine>and/or github has fucked me on how I'm doing it
01:30:49  <tjfontaine>I just haven't had time to figure out why sometimes it's working and sometimes not
01:31:09  <tjfontaine>trevnorris: we just want to verify it is indeed them, ideally we improve the CLA to include github identity
01:31:42  <trevnorris>tjfontaine: yeah. I asked that she(?) sign again w/ the same email used to make the commit.
01:31:55  * mcavagequit (Remote host closed the connection)
01:32:02  <tjfontaine>or git commit --amend --author=""
01:32:13  <tjfontaine>6 of 1
01:32:29  <trevnorris>eh?
01:32:46  <tjfontaine>they could change the author of hte commit and force push
01:33:37  <trevnorris>yeah, or that.
01:33:52  <trevnorris>just figured it's be easier to link to her github account
01:37:42  * kenperkins_quit (Quit: Computer has gone to sleep.)
01:43:44  * abraxasjoined
01:56:25  <MI6>joyent/node: Greg Brail v0.10 * 6eb4d1d : timer: don't reschedule timer bucket in a domain - http://git.io/E8XLmQ
01:57:27  <tjfontaine>I hate you jenkins.
02:04:59  * thlorenzjoined
02:05:04  * nrajlichjoined
02:05:52  * thlorenzquit (Remote host closed the connection)
02:06:12  * TooTallNatequit (Ping timeout: 264 seconds)
02:07:27  * austoquit (Quit: austo)
02:09:59  * mikealjoined
02:10:50  * euoiaquit (Ping timeout: 252 seconds)
02:13:25  * c4milojoined
02:14:36  * mikealquit (Ping timeout: 264 seconds)
02:17:59  * c4miloquit (Ping timeout: 252 seconds)
02:20:16  * euoiajoined
02:28:11  * indexzeroquit (Quit: indexzero)
02:30:12  * paulfryzelquit (Remote host closed the connection)
02:40:11  * nrajlichquit (Quit: Computer has gone to sleep.)
02:41:58  * bradleymeckjoined
02:43:59  * TooTallNatejoined
02:48:12  * benviequit (Ping timeout: 264 seconds)
02:51:26  * benviejoined
02:51:45  * xaqjoined
02:55:55  * kazupon_quit (Remote host closed the connection)
03:00:29  * indexzerojoined
03:03:36  * thlorenzjoined
03:05:00  * Ralithquit (Ping timeout: 264 seconds)
03:10:23  * mikealjoined
03:11:39  * xaqquit (Remote host closed the connection)
03:14:15  * defunctzombiechanged nick to defunctzombie_zz
03:14:38  * mikealquit (Ping timeout: 240 seconds)
03:21:07  * indexzeroquit (Quit: indexzero)
03:22:26  * xaqjoined
03:24:14  * xaqquit (Remote host closed the connection)
03:26:34  * xaqjoined
03:26:46  * xaqquit (Remote host closed the connection)
03:26:51  * kazuponjoined
03:31:03  * Ralithjoined
03:31:05  * paulfryzeljoined
03:31:48  * kazuponquit (Ping timeout: 265 seconds)
03:33:38  * thlorenzquit (Ping timeout: 240 seconds)
03:34:26  * TooTallNatequit (Quit: Computer has gone to sleep.)
03:35:29  * paulfryzelquit (Ping timeout: 240 seconds)
03:42:24  * paulfryzeljoined
03:43:29  * paulfryzelquit (Read error: Connection reset by peer)
03:44:09  * paulfryzeljoined
03:48:29  * paulfryzelquit (Ping timeout: 240 seconds)
03:50:21  * xaqjoined
03:50:52  * kazuponjoined
03:53:49  * xaqquit (Remote host closed the connection)
03:54:14  * calvinfoquit (Quit: Leaving.)
03:55:22  * euoiaquit (Ping timeout: 252 seconds)
03:55:29  * kazuponquit (Ping timeout: 240 seconds)
03:58:22  * euoiajoined
04:02:52  * bradleymeckquit (Quit: bradleymeck)
04:05:40  * kazuponjoined
04:18:59  * euoiaquit (Ping timeout: 240 seconds)
04:20:32  * indexzerojoined
04:22:04  * mikolalysenkoquit (Ping timeout: 265 seconds)
04:22:38  * mikealjoined
04:27:21  * TooTallNatejoined
04:36:27  * calvinfojoined
04:37:36  * mikealquit (Quit: Leaving.)
04:45:00  * paulfryzeljoined
04:45:01  * kazuponquit
04:49:29  * paulfryzelquit (Ping timeout: 269 seconds)
04:49:51  * mikolalysenkojoined
04:55:48  * dshaw_joined
05:00:31  * abraxasquit (Remote host closed the connection)
05:01:07  * abraxasjoined
05:04:23  * calvinfoquit (Quit: Leaving.)
05:05:36  * abraxasquit (Ping timeout: 240 seconds)
05:10:18  * mikealjoined
05:10:45  * defunctzombie_zzchanged nick to defunctzombie
05:18:52  * mikealquit (Quit: Leaving.)
05:20:05  * mikealjoined
05:20:16  * defunctzombiechanged nick to defunctzombie_zz
05:22:02  * mikealquit (Client Quit)
05:44:15  * TooTallNatequit (Quit: ["Textual IRC Client: www.textualapp.com"])
05:45:18  * Kakerajoined
05:45:45  * paulfryzeljoined
05:49:59  * paulfryzelquit (Ping timeout: 240 seconds)
05:51:48  * calvinfojoined
05:51:55  * mikealjoined
05:52:49  * calvinfo1joined
05:52:49  * calvinfoquit (Read error: Connection reset by peer)
05:53:40  * calvinfojoined
05:53:40  * calvinfo1quit (Read error: Connection reset by peer)
05:54:36  * calvinfo1joined
05:54:36  * calvinfoquit (Read error: Connection reset by peer)
05:54:47  * brsonjoined
05:55:33  * calvinfojoined
05:56:31  * calvinfo2joined
05:56:31  * calvinfoquit (Read error: Connection reset by peer)
05:57:24  * calvinfojoined
05:57:25  * calvinfo2quit (Read error: Connection reset by peer)
05:58:21  * calvinfo2joined
05:58:21  * calvinfoquit (Read error: Connection reset by peer)
05:59:15  * calvinfojoined
05:59:15  * calvinfo2quit (Read error: Connection reset by peer)
05:59:36  * calvinfo1quit (Ping timeout: 264 seconds)
06:03:37  * calvinfoquit (Ping timeout: 240 seconds)
06:05:37  * octetcloudquit (Ping timeout: 240 seconds)
06:15:23  * navaru_joined
06:18:35  * calvinfojoined
06:21:23  * dshaw_quit (Read error: Connection reset by peer)
06:24:53  * dshaw_joined
06:37:07  * brsonquit (Ping timeout: 252 seconds)
06:37:36  * dshaw_quit (Read error: Connection reset by peer)
06:37:43  * abraxasjoined
06:38:31  * brsonjoined
06:46:31  * paulfryzeljoined
06:47:40  * AvianFluquit (Remote host closed the connection)
06:50:29  * paulfryzelquit (Ping timeout: 240 seconds)
06:52:56  * petka_joined
06:54:19  * Kakeraquit (Ping timeout: 265 seconds)
06:59:12  * indexzeroquit (Quit: indexzero)
07:01:24  * Kakerajoined
07:03:43  * m76joined
07:12:24  * abraxasquit (Remote host closed the connection)
07:12:57  * abraxasjoined
07:13:58  * Kakeraquit (Ping timeout: 240 seconds)
07:15:40  * abraxas_joined
07:17:05  * abraxas_quit (Read error: Connection reset by peer)
07:17:32  * abraxas_joined
07:17:36  * abraxasquit (Ping timeout: 264 seconds)
07:22:39  * mikolalysenkoquit (Ping timeout: 244 seconds)
07:43:40  * calvinfoquit (Quit: Leaving.)
07:47:16  * paulfryzeljoined
07:51:29  * paulfryzelquit (Ping timeout: 240 seconds)
07:53:47  * brsonquit (Quit: leaving)
08:08:48  * rendarjoined
08:18:55  * calvinfojoined
08:31:08  * stagasjoined
08:39:47  * calvinfoquit (Quit: Leaving.)
08:42:27  <indutny>mmalecki: morning
08:45:38  <MI6>joyent/node: Brian White master * 31ce348 : crypto: allow setting add'l authenticated data (+1 more commits) - http://git.io/cGhoPA
08:47:48  * bajtosjoined
08:47:56  * paulfryzeljoined
08:52:29  * paulfryzelquit (Ping timeout: 240 seconds)
09:01:46  <saghul>indutny: morning!
09:02:24  <saghul>indutny: do uyou if the problem mentioned in https://github.com/joyent/libuv/commit/20bb1bfd70499866acb64ea958b7d192b00120a2 was resolved?
09:18:31  * calvinfojoined
09:27:46  * guilleiguaranquit (Quit: Connection closed for inactivity)
09:39:18  * daviddiasjoined
09:42:16  * kpdeckerquit (Quit: Leaving.)
09:43:42  * stagas_joined
09:44:26  <indutny>saghul: hey man
09:44:51  <indutny>yeah, it should be working
09:45:59  * stagasquit (Ping timeout: 240 seconds)
09:46:06  * stagas_changed nick to stagas
09:48:41  * paulfryzeljoined
09:52:59  * paulfryzelquit (Ping timeout: 240 seconds)
09:57:39  * calvinfoquit (Quit: Leaving.)
10:05:06  * karupanerurachanged nick to zz_karupanerura
10:06:48  * bajtosquit (Quit: bajtos)
10:12:00  <mmalecki>indutny: morning!
10:12:06  <indutny>morning
10:25:41  * abraxas_quit (Remote host closed the connection)
10:49:35  * paulfryzeljoined
10:53:59  * paulfryzelquit (Ping timeout: 241 seconds)
10:54:30  <kaeso>is there any draft ETA for a 0.12 rc?
11:05:27  <saghul>indutny: do you know how I could test that?
11:34:38  * AlexisMochaquit (Read error: Connection reset by peer)
11:43:35  * hzjoined
11:50:14  * paulfryzeljoined
11:51:18  * bajtosjoined
11:54:29  * paulfryzelquit (Ping timeout: 240 seconds)
12:02:56  * bajtosquit (Quit: bajtos)
12:07:54  * WalrusPony1joined
12:11:00  * WalrusPonyquit (Ping timeout: 264 seconds)
12:26:57  * abraxasjoined
12:32:10  * abraxasquit (Ping timeout: 265 seconds)
12:33:14  * daviddiasquit (Remote host closed the connection)
12:33:43  * daviddiasjoined
12:36:59  * thlorenzjoined
12:38:36  * daviddiasquit (Ping timeout: 264 seconds)
12:40:03  * thlorenzquit (Remote host closed the connection)
12:43:02  <indutny>saghul: just run it on mac?
12:43:11  <indutny>kaeso: nope
13:13:53  <saghul>indutny: you mean the test suite?
13:14:00  <saghul>will do
13:14:05  <indutny>yeah, perhaps...
13:14:24  <indutny>oh
13:14:30  <indutny>one sec
13:15:16  <indutny>not sure how to test it, actually
13:15:22  <indutny>perhaps build node with it
13:23:14  <saghul>yeah, that's what I had in mind
13:23:31  * thlorenzjoined
13:48:22  * stagasquit (Read error: Connection timed out)
13:49:04  * bradleymeckjoined
13:50:21  * stagasjoined
13:51:45  * paulfryzeljoined
13:55:59  * paulfryzelquit (Ping timeout: 240 seconds)
14:13:59  * jmar777joined
14:14:00  * stagasquit (Read error: Connection timed out)
14:17:17  * stagasjoined
14:18:48  * guybrushquit (Excess Flood)
14:19:08  * guybrushjoined
14:21:12  * navaru_quit (Ping timeout: 264 seconds)
14:22:42  * defunctzombie_zzchanged nick to defunctzombie
14:22:52  * stagasquit (Max SendQ exceeded)
14:26:43  * stagasjoined
14:27:48  * abraxasjoined
14:30:00  * AvianFlujoined
14:32:31  * abraxasquit (Ping timeout: 244 seconds)
14:33:00  * thlorenzquit (Ping timeout: 252 seconds)
14:33:50  * c4milojoined
14:52:30  * paulfryzeljoined
14:56:59  * paulfryzelquit (Ping timeout: 240 seconds)
14:57:25  <MI6>joyent/node: Alexis Campailla orangemocha-testing4 * b89fe9f : test: add test-http-destroyed-socket-write2 - http://git.io/AFnbtw
15:12:18  * thlorenzjoined
15:12:23  * euoiajoined
15:19:47  * AlexisMochajoined
15:21:00  * paulfryzeljoined
15:21:44  <MI6>joyent/node: Alexis Campailla orangemocha-testing4 * cfb0bca : test: add test-http-destroyed-socket-write2 - http://git.io/8jsdvQ
15:23:03  * mikolalysenkojoined
15:23:09  * c4miloquit (Ping timeout: 244 seconds)
15:24:26  * c4milojoined
15:25:43  * kenperkinsjoined
15:32:06  * jmar777quit (Read error: Connection reset by peer)
15:33:15  * jmar777joined
15:34:47  * defunctzombiechanged nick to defunctzombie_zz
15:42:01  * mcavagejoined
15:45:35  * daviddiasjoined
15:45:39  * daviddiasquit (Remote host closed the connection)
15:46:10  * daviddiasjoined
15:57:33  * einarospart
16:08:58  * daviddiasquit (Remote host closed the connection)
16:11:12  * euoiaquit (Ping timeout: 244 seconds)
16:13:16  <bradleymeck>is there a conventional way to put some C code to run before Node::Start gets going? I know there was thirdparty.js but thats after v8 starts up
16:22:42  * stagas_joined
16:22:58  * stagasquit (Ping timeout: 240 seconds)
16:23:08  * stagas_changed nick to stagas
16:24:01  * AvianFluquit (Remote host closed the connection)
16:24:55  * piscisaureusjoined
16:27:25  * austojoined
16:27:38  * stagasquit (Ping timeout: 240 seconds)
16:28:40  * abraxasjoined
16:29:01  * stagasjoined
16:30:51  * octetcloudjoined
16:33:30  * abraxasquit (Ping timeout: 252 seconds)
16:36:30  * xaqjoined
16:48:04  * dap_joined
16:49:31  * daviddiasjoined
16:49:57  * daviddiasquit (Remote host closed the connection)
16:50:26  * daviddiasjoined
16:52:59  * c4miloquit (Ping timeout: 269 seconds)
16:54:09  * mikolalysenkoquit (Ping timeout: 265 seconds)
16:54:47  * c4milojoined
16:56:34  * dap_quit (Quit: Leaving.)
16:58:43  * mikolalysenkojoined
17:00:24  * brsonjoined
17:08:31  * Kakerajoined
17:10:24  * xaq_joined
17:10:47  * xaqquit (Write error: Connection reset by peer)
17:14:40  <mcavage>indutny: you around?
17:14:45  <indutny>hey man
17:14:45  <indutny>yes
17:14:58  <mcavage>hey - i tried to build bud -- but I failed to build:
17:15:14  <mcavage>https://gist.github.com/mcavage/07af3691e7d50e96dbae
17:15:31  <mcavage>(I don't have svn and didn't feel like installing - so I just git clone'd gyp).
17:15:36  <mcavage>this is on a smartos box btw.
17:15:48  <mcavage>also - if this is the wrong place to ask, I can take this elsewhere (I just knew you'd be here ;) )
17:17:09  <tjfontaine>ah he didn't update his code ;)
17:17:19  <tjfontaine>gyp needs to pass -Duv_library=static_library
17:17:20  <tjfontaine>or similar
17:18:20  <mcavage>I have some other questions - but I'll wait to make sure I'm not like staging a coup here in #libuv...
17:18:45  * xaq_quit (Read error: Connection reset by peer)
17:18:56  <tjfontaine>heh it'll be fine
17:18:57  * xaqjoined
17:23:46  * AlexisMochaquit (Read error: Connection reset by peer)
17:24:43  <mmalecki>is there any reason node doesn't trust godaddy's certificate authority?
17:24:51  <mmalecki>I mean, I wouldn't trust them either, but...
17:25:44  <tjfontaine>we just use mozillas, I think that was updated in the recent v0.10 though
17:26:13  <bradleymeck>is there a way to extend node.gyp:node before it is built by gyp (add some specific defines etc)
17:26:43  <tjfontaine>bradleymeck: we generally do that in configure
17:26:50  <tjfontaine>bradleymeck: based on what's passed to gyp_node
17:27:02  <bradleymeck>im wrapping node
17:27:18  <bradleymeck>so not really wanting to fork it, was wondering if I could just extend it from the outside
17:27:21  <mmalecki>tjfontaine: I just had to add godaddy's CA to my 0.10
17:27:25  <bradleymeck>forking is tragedy on a fast moving project
17:27:27  <tjfontaine>mmalecki: which version?
17:27:50  <tjfontaine>bradleymeck: what do you need to do that can't be done currently, that's my basic question
17:28:11  <bradleymeck>moving node-webkit's bundler to a generic node one
17:28:29  <mmalecki>tjfontaine: ah. 0.10's HEAD indeed does work!
17:28:31  <tjfontaine>define "bundler"?
17:28:35  <tjfontaine>mmalecki: sweet.
17:28:42  <mmalecki>tjfontaine: thanks for pointing me the right way :)
17:28:50  <tjfontaine>my pleasure
17:28:59  <bradleymeck>tjfontaine: node becoming self extracting zip in this case, more features tbd on what works
17:29:11  * paulfryz_joined
17:29:19  * AlexisMochajoined
17:29:20  * paulfryzelquit (Read error: Connection reset by peer)
17:29:29  <tjfontaine>bradleymeck: parts of that I want to be a first class feature in node, and I've been working with people on what it would take to make that happen
17:30:03  <tjfontaine>there are special considerations to be made of course
17:30:10  <bradleymeck>tjfontaine: I've been on multiple attempts, node-webkit's works and is tested but is very hacky and caused them to make a custom gyp
17:30:32  <bradleymeck>trying to remove the hacky part with gyp
17:30:59  <tjfontaine>ya that's less than ideal
17:35:44  <bradleymeck>tjfontaine: would having a third_party_main.cc optionally be defined prior to node startup sound sane? unsure how close you are willing to let 3rd party bootstraps like a bundler get
17:37:22  * xaqquit (Remote host closed the connection)
17:37:26  * dap_joined
17:38:55  <tjfontaine>bradleymeck: that's scary stuff frankly
17:39:08  <bradleymeck>it would be defined at compile time
17:39:10  <tjfontaine>bradleymeck: I'd much prefer it to be a build option
17:39:33  <bradleymeck>it can be hidden by a build option but it is going to be doing the same thing essentially
17:40:23  <tjfontaine>I am having hte coworker that I went through all of this with before (re: bundling) do a write up, I'll probably post it as a github issue and we can do commentary around it there
17:40:29  <tjfontaine>but there are multiple concerns
17:40:57  <tjfontaine>1) being able to include resources in a single "executable" that result in the right thing happening
17:41:03  <bradleymeck>many, indexzero had multiple talks with many people about it around 4 months ago
17:41:15  <tjfontaine>2) being able to circumvent the startup process at runtime
17:41:24  <tjfontaine>3) being able to have some binary addon already "be" there
17:41:52  <bradleymeck>3 must dump to disk :-/, must to work how npm works
17:42:10  <tjfontaine>depends really
17:43:01  <bradleymeck>you would have to do a runtime linker if you only keep it in memory which only solaris has
17:43:29  <bradleymeck>graph traversal of libs gets bad if you use shared libs as well
17:43:31  <tjfontaine>well, for the moment, lets accept that to do this appropriately there will need to be modifications to node itself
17:43:41  <bradleymeck>sure
17:44:07  <tjfontaine>in 0.11 it's already trivial to add a binary addon into the build process and just have it work
17:44:18  <tjfontaine>it will just show up like magic
17:44:41  <bradleymeck>tjfontaine: even ones loaded at runtime via require?
17:45:06  <bradleymeck>as in, they get statically linked into the node binary*
17:45:07  <tjfontaine>bradleymeck: yup, in 0.11 addons register themselves with a constructor attribute
17:45:22  <tjfontaine>bradleymeck: then when dlopen() happens it looks to see if they're on the linked list (more or less)
17:45:42  <tjfontaine>anyway, most of this stuff is just a flag that goes between "am I in bundled mode or not"
17:45:45  * mikealquit (Quit: Leaving.)
17:45:52  <tjfontaine>because traversing existing js files is also somewhat an issue
17:46:01  * rphillips_joined
17:46:16  * m76quit (Ping timeout: 244 seconds)
17:46:22  <tjfontaine>what will break is the ability to do arbitrary fs.open(path.join(__dirname, foo))
17:46:24  <tjfontaine>in a bundle
17:46:40  <tjfontaine>to grab at resources inside the module space
17:46:52  <tjfontaine>arguably those modules are doing it wrong anyway
17:46:56  * mikealjoined
17:47:03  <bradleymeck>all the streams for in memory resources break too
17:47:13  * m76joined
17:48:03  <tjfontaine>I'm not sure what you mean by that
17:48:16  <bradleymeck>fs.createReadStream('path/inside/bundle')
17:48:34  <bradleymeck>anyways it is *a lot* to talk about
17:48:39  <tjfontaine>sure, also arguably done wrong as a module anyway
17:49:11  * kenperkinsquit (Remote host closed the connection)
17:49:49  * kenperkinsjoined
17:49:55  * bajtosjoined
17:50:21  * kpdeckerjoined
17:52:24  * m76quit (Ping timeout: 264 seconds)
17:53:07  * rphillipsquit (*.net *.split)
17:53:14  * kenperkins_joined
17:54:01  * kenperkinsquit (Ping timeout: 240 seconds)
17:54:28  * kenperkins_quit (Read error: Connection reset by peer)
17:54:37  * kenperkinsjoined
17:56:26  * thlorenzquit (Remote host closed the connection)
17:57:39  * thlorenzjoined
17:57:59  * Ralithquit (Ping timeout: 240 seconds)
17:59:37  * sblomquit (Read error: Connection reset by peer)
18:00:24  * AWintermanjoined
18:00:27  * rphillips_changed nick to rphillips
18:00:37  * rphillipsquit
18:00:50  * rphillipsjoined
18:02:18  * thlorenzquit (Ping timeout: 240 seconds)
18:02:31  * TooTallNatejoined
18:03:45  * AlexisMochaquit (Ping timeout: 265 seconds)
18:04:18  * Ralithjoined
18:05:00  * mikealquit (Quit: Leaving.)
18:05:40  * kenperkinsquit (Remote host closed the connection)
18:06:20  * kenperkinsjoined
18:08:24  * calvinfojoined
18:10:21  * rosskjoined
18:15:13  * mikolalysenkoquit (Ping timeout: 240 seconds)
18:16:54  * kenperkins_joined
18:18:59  * mikolalysenkojoined
18:20:29  * kenperkinsquit (Ping timeout: 240 seconds)
18:21:15  * sblomjoined
18:26:08  * thlorenzjoined
18:29:34  * abraxasjoined
18:30:06  * mikolalysenkoquit (Quit: Reconnecting)
18:30:13  * mikolalysenkojoined
18:31:34  <indutny>mcavage: sorry
18:31:40  <indutny>I was away
18:31:53  <indutny>oooh, uv_library
18:31:54  <indutny>one sec
18:32:00  <indutny>I did an libuv update recently in bud
18:32:13  * c4miloquit (Remote host closed the connection)
18:32:25  <mcavage>indutny: ok, no worries -- I'm just trying to check it out anyway.
18:32:27  <indutny>mcavage: have you considered doing `npm install -g bud-tls` instead of building it manually?
18:32:39  <mcavage>indunty: i didn't know I could do that ;)
18:33:06  <mcavage>that said, I would want to be able to build it, since we make custom images, etc. -- it'd be easier if I could submodule and make it myself, but for now let me try that.
18:33:30  <indutny>one sec
18:33:30  <indutny>ok
18:33:32  <indutny>I'll push a fix
18:33:35  <mcavage>oh - while you're here -- so I don't understand what "workers" means with this. Is that threads or processes? and if the latter, how are you LB'ing connections across them?
18:33:38  * AlexisMochajoined
18:33:52  <indutny>processes
18:33:56  <indutny>round-robin
18:34:10  <mcavage>well but like _how_ you accept(2) on the main guy and then kick the FD over?
18:34:21  <tjfontaine>uv_write2 :P
18:34:28  <mcavage>that sounds like black magic ;)
18:34:29  <tjfontaine>but yes that's what happens
18:34:30  <mcavage>what does that od?
18:34:31  <mcavage>*do
18:34:33  <indutny>mcavage: yes
18:34:38  <indutny>mcavage: I just send stuff to workers
18:34:41  <indutny>via IPC pipes
18:34:41  * abraxasquit (Ping timeout: 265 seconds)
18:34:48  <tjfontaine>accept on main and scm_rights down to child
18:34:54  <mcavage>ok -- then from then on the fd is owned by the other process?
18:35:20  <mcavage>does the main process do anything besides select/accept/work_queue.push?
18:35:31  <mcavage>(and you know, s/select/epoll|.../
18:35:42  * indexzerojoined
18:36:57  <indutny>nope
18:37:02  <indutny>oh
18:37:05  <indutny>no, it does
18:37:07  * calvinfoquit (Quit: Leaving.)
18:37:08  <indutny>it restarts workers
18:37:14  <indutny>if they die
18:38:37  <indutny>mcavage: ok, pushed fixed version to github
18:38:59  <mcavage>ok ok -- so stupid ? -- is the uv thread pool used for anything?
18:39:14  <mcavage>or does all the openssl work happen on the event thread?
18:39:19  <mcavage>(on the workers)
18:40:11  * piscisaureusquit (Quit: ~ Trillian Astra - www.trillian.im ~)
18:41:02  <mcavage>indutny: thanks, that's building now.
18:41:06  <indutny>great
18:41:16  <indutny>it all happens on event thread
18:41:21  <indutny>that works better than multithreading
18:41:24  <indutny>because openssl locks a lot
18:41:30  <mcavage>yeah i figured - just trying to understand what this does.
18:42:05  <mcavage>ok, so really I want (#cpu -1) workers, and it basically acts like stud. BTW: <3 the ocsp stapling bit. And tls 1.2. Thank god.
18:42:32  <mcavage>oh, and:
18:42:36  <mcavage> // Balance tactic
18:42:36  <mcavage> // **Optional** possible values: "roundrobin", "sni"
18:42:36  <mcavage> "balance": "roundrobin"
18:42:37  <mcavage> // Backend configuration (i.e. address of Cleartext server)
18:42:40  <mcavage> "backend": [{
18:42:42  <mcavage> "port": 8000,
18:42:43  <mcavage> "host": "127.0.0.1",
18:42:46  <mcavage> "keepalive": 3600
18:42:47  <mcavage> }],
18:42:50  <mcavage>so is this essentially stud + haproxy?
18:43:02  <mcavage>i.e., you're doing TCP RR to backends?
18:43:53  * mikolalysenkoquit (Ping timeout: 252 seconds)
18:43:53  * Kakeraquit (Ping timeout: 252 seconds)
18:44:24  * wolfeidauquit (Remote host closed the connection)
18:44:25  <mcavage>indutny: I think your gyp isn't quite right yet:
18:44:28  <mcavage> LINK(target) /home/mcavage/work/bud/out/Release/bud
18:44:28  <mcavage>Undefined first referenced
18:44:28  <mcavage> symbol in file
18:44:30  <mcavage>uv_pipe_pending_count /home/mcavage/work/bud/out/Release/obj.target/bud/src/worker.o
18:44:32  <mcavage>uv_pipe_pending_type /home/mcavage/work/bud/out/Release/obj.target/bud/src/worker.o
18:44:34  <mcavage>ld: fatal: symbol referencing errors. No output written to /home/mcavage/work/bud/out/Release/bud
18:44:36  <mcavage>collect2: ld returned 1 exit status
18:44:38  <mcavage> LINK(target) /home/mcavage/work/bud/out/Release/bud: Finished
18:44:40  <mcavage>make: Leaving directory `/home/mcavage/work/bud/out'
18:44:42  <mcavage>[mcavage@django ~/work/bud]$
18:44:49  <indutny>hm...
18:44:52  <indutny>git submodule update?
18:45:07  <indutny>mcavage: yes, it is sort of haproxy+stud
18:45:15  <indutny>but built on modern event loop library :)
18:45:16  <indutny>not ancient one
18:45:27  <indutny>and with graceful connection termination
18:45:29  <indutny>i.e.
18:45:41  <indutny>close_notify + tcp shutdown
18:45:46  <mcavage>ok on build - let me rebuild.
18:45:47  * navarujoined
18:46:13  <mcavage>yeah we just fixed the pollhup notification thing.
18:46:21  <mcavage>ok - well, i am excited ;)
18:46:44  <tjfontaine>heh
18:48:16  <indutny>haha
18:48:17  <indutny>:)
18:48:28  <indutny>me too
18:48:40  <indutny>let's move to #bud
18:48:44  <indutny>just started it
18:49:35  <indutny>oh
18:49:38  <indutny>it is registered by staff
18:49:52  <indutny>let's do #bud-tls
18:50:55  <indutny>also, please mention me in your messages
18:51:00  <indutny>otherwise it doesn't pop up :)
18:51:02  <indutny>and I miss it
18:58:55  * m76joined
19:04:39  * mcavagequit (Ping timeout: 265 seconds)
19:05:50  * mcavagejoined
19:07:29  * calvinfojoined
19:08:08  * rosskquit (Remote host closed the connection)
19:14:28  * dshaw_joined
19:20:07  * mikealjoined
19:21:11  * AvianFlujoined
19:21:55  * bajtosquit (Quit: bajtos)
19:24:58  * stagasquit (Ping timeout: 240 seconds)
19:32:11  * jmar777quit (Read error: Connection reset by peer)
19:32:25  * jmar777joined
19:41:14  * qwejoined
19:56:29  * mikolalysenkojoined
19:57:48  * Ralithquit (Ping timeout: 264 seconds)
19:58:18  * AlexisMochaquit (Ping timeout: 265 seconds)
19:59:49  * Kakerajoined
20:02:24  * kenperkins_quit (Remote host closed the connection)
20:03:06  * kenperkinsjoined
20:07:30  * qwequit (Quit: Wychodzi)
20:11:48  * m76quit (Read error: Connection reset by peer)
20:12:03  * TooTallNatequit (Quit: Computer has gone to sleep.)
20:22:06  * Ralithjoined
20:24:14  * euoiajoined
20:28:16  * dshaw_quit (Quit: Leaving.)
20:30:24  * abraxasjoined
20:35:36  * abraxasquit (Ping timeout: 264 seconds)
20:35:48  * navaruquit
20:43:59  <bradleymeck>it lives~
20:46:32  * defunctzombie_zzquit (Ping timeout: 252 seconds)
20:47:05  * jordan2quit (Ping timeout: 252 seconds)
20:48:03  * defunctzombie_zzjoined
20:48:13  * euoiaquit (Ping timeout: 252 seconds)
20:49:18  * jordan2joined
20:57:15  * calvinfoquit (Quit: Leaving.)
21:02:21  * kenperkins_joined
21:04:09  * kenperkinsquit (Ping timeout: 244 seconds)
21:07:01  * hzquit
21:07:57  * guilleiguaranjoined
21:08:45  * calvinfojoined
21:15:35  * rosskjoined
21:28:24  * mikolalysenkoquit (Ping timeout: 264 seconds)
21:28:59  * TooTallNatejoined
21:34:44  * defunctzombie_zzchanged nick to defunctzombie
21:35:03  * defunctzombiequit (Changing host)
21:35:03  * defunctzombiejoined
21:44:11  * jmar777quit (Remote host closed the connection)
21:45:34  * mikolalysenkojoined
21:46:46  * dshaw_joined
21:49:26  * m76joined
21:57:59  * rosskquit (Read error: Connection reset by peer)
21:58:12  * brsonquit (Quit: leaving)
21:58:27  * rosskjoined
22:00:46  * mikealquit (Quit: Leaving.)
22:09:10  * mikealjoined
22:14:50  * euoiajoined
22:26:12  * petka_quit (Quit: Connection closed for inactivity)
22:29:09  * mcavagequit (Remote host closed the connection)
22:30:35  * rendarquit
22:31:21  * abraxasjoined
22:35:30  * dshaw_quit (Quit: Leaving.)
22:36:00  * abraxasquit (Ping timeout: 240 seconds)
22:36:38  * mikolalysenkoquit (Ping timeout: 244 seconds)
22:39:06  * dshaw_joined
22:52:03  * wolfeidaujoined
22:52:10  * [m76]joined
22:54:45  * m76quit (Ping timeout: 252 seconds)
22:55:19  * Kakeraquit (Ping timeout: 252 seconds)
22:57:33  * [m76]quit (Read error: Connection reset by peer)
22:57:51  * mikolalysenkojoined
22:58:32  * bradleymeckquit (Quit: bradleymeck)
23:03:23  * indexzeroquit (Quit: indexzero)
23:07:06  * xaqjoined
23:08:36  * jmar777joined
23:14:04  * euoiaquit (Ping timeout: 265 seconds)
23:15:08  * xaqquit (Read error: Connection reset by peer)
23:15:55  * defunctzombiechanged nick to defunctzombie_zz
23:17:13  * xaqjoined
23:19:31  * mikolalysenkoquit (Ping timeout: 244 seconds)
23:21:59  * mikolalysenkojoined
23:30:15  * mcavagejoined
23:30:24  * xaqquit (Remote host closed the connection)
23:31:23  * euoiajoined
23:35:20  * mcavagequit (Ping timeout: 265 seconds)
23:35:28  * xaqjoined
23:35:40  * mikealquit (Quit: Leaving.)
23:36:20  * mikealjoined
23:39:31  * xaqquit (Remote host closed the connection)
23:56:03  * zz_karupanerurachanged nick to karupanerura
23:59:16  <euoia>hey trevnorris just re-reading your comments in node #7203 - I think your last suggestion is very close to what's presently happening - the only difference being that I'm binding to this extra createStatsObject function (and using ->Call) rather than the constructor (and using ->New)