00:00:01  * ircretaryquit (Remote host closed the connection)
00:00:04  * mikolalysenkojoined
00:00:08  * ircretaryjoined
00:01:20  <rmg>I think the wrong PR was merged
00:05:02  * mikolalysenkoquit (Ping timeout: 264 seconds)
00:05:30  <MI6>libuv-master-gyp: #375 FAILURE smartos-x64 (3/203) smartos-ia32 (3/203) linux-x64 (1/203) windows-ia32 (4/202) http://jenkins.nodejs.org/job/libuv-master-gyp/375/
00:06:02  <rmg>trevnorris: Should have been https://github.com/joyent/node/pull/6832 instead of https://github.com/joyent/node/pull/6831
00:14:17  * AvianFluquit (Ping timeout: 245 seconds)
00:14:34  <trevnorris>rmg: so, from the previous code, the do while loop, seemed all domains would be exited until there were no more domains, or until the current domain had been exited. do I misunderstand how that was working?
00:16:39  <trevnorris>rmg: so the splice(index + 1) issue is that it left the current domain on the stack. whereas the do/while loop removed it from the stack.
00:17:52  <trevnorris>rmg: so I saw 6831 as a fix for the regression of current functionality, while 6832 changes the functionality to not touch the stack at all unless the current domain is in there.
00:18:11  <trevnorris>rmg: did I misunderstand the PR's?
00:21:47  <rmg>6831 was for the off-by-one regression, yes.. but it introduced another regression (or failing test at least)
00:22:38  <rmg>trevnorris: 6832 was the fix for the actual bug reported in 6819
00:23:00  * c4milojoined
00:25:00  <MI6>nodejs-master: #840 FAILURE smartos-x64 (8/694) centos-x64 (3/694) smartos-ia32 (5/694) ubuntu-x64 (1/694) ubuntu-ia32 (2/694) http://jenkins.nodejs.org/job/nodejs-master/840/
00:25:56  <rmg>trevnorris: I've got to go out for a couple hours, but I'll try to watch my email if you want to continue over GitHub
00:26:07  * rmgquit (Remote host closed the connection)
00:38:17  * mikolalysenkojoined
00:45:59  * mikolalysenkoquit (Ping timeout: 260 seconds)
00:47:33  * daviddiasquit
00:50:22  * daviddiasjoined
00:55:19  * kellabytequit (Ping timeout: 260 seconds)
01:05:56  * Benviequit
01:06:41  * indexzerojoined
01:06:59  * Benviejoined
01:07:08  * kazuponjoined
01:07:13  * kazuponquit (Remote host closed the connection)
01:07:20  * kazuponjoined
01:16:54  * AvianFlujoined
01:19:55  * rmgjoined
01:20:17  * stagasjoined
01:20:57  * calvinfojoined
01:21:36  * mikealquit (Quit: Leaving.)
01:24:50  * rmgquit (Ping timeout: 264 seconds)
01:26:22  * mikealjoined
01:28:20  * dap_quit (Quit: Leaving.)
01:30:36  * kellabytejoined
01:31:38  * stagasquit (Read error: Connection reset by peer)
01:34:14  * hzpart
01:36:13  * abraxasjoined
01:38:24  * mikealquit (Quit: Leaving.)
01:41:40  * mikolalysenkojoined
01:46:19  * mikolalysenkoquit (Ping timeout: 246 seconds)
01:46:35  * abraxasquit (Ping timeout: 272 seconds)
01:47:08  * abraxasjoined
01:49:15  * calvinfoquit (Quit: Leaving.)
01:49:54  * calvinfojoined
01:53:35  * mikolalysenkojoined
01:56:24  * AvianFluquit (Remote host closed the connection)
02:03:47  * Ralithquit (Ping timeout: 252 seconds)
02:08:19  * mikealjoined
02:16:36  * mikolalysenkoquit (Ping timeout: 265 seconds)
02:17:03  * mikealquit (Quit: Leaving.)
02:18:18  * thlorenzjoined
02:27:22  * jmar777joined
02:30:00  * c4miloquit (Read error: Connection reset by peer)
02:30:11  * Ralithjoined
02:30:13  * c4milojoined
02:33:25  * AvianFlujoined
02:38:01  * mikolalysenkojoined
02:39:31  * brsonquit (Quit: leaving)
02:39:58  * brsonjoined
02:40:53  * brsonquit (Client Quit)
02:41:11  * brsonjoined
02:45:00  <MI6>libuv-master-gyp: #376 FAILURE http://jenkins.nodejs.org/job/libuv-master-gyp/376/
02:45:37  <tjfontaine>hm
02:45:45  * indexzeroquit (Quit: indexzero)
02:49:50  * TooTallNatequit (Quit: Computer has gone to sleep.)
02:52:39  <tjfontaine>sigh I broke the jenkins
02:52:42  <tjfontaine>will fix when I get home
02:54:33  <trevnorris>tjfontaine: oh. that's too bad
03:06:54  * paulfryzelquit (Remote host closed the connection)
03:07:36  * paulfryzeljoined
03:12:46  * mikolalysenkoquit (Ping timeout: 246 seconds)
03:12:59  * paulfryzelquit (Ping timeout: 260 seconds)
03:28:08  * Damn3djoined
03:30:52  * MI6quit (Remote host closed the connection)
03:30:52  * tjfontainequit (Remote host closed the connection)
03:33:48  * stagasjoined
03:40:39  * daviddiasquit (Remote host closed the connection)
03:41:09  * daviddiasjoined
03:41:51  * indexzerojoined
03:45:47  * daviddiasquit (Ping timeout: 252 seconds)
03:56:39  * rmgjoined
03:57:10  * kazuponquit (Remote host closed the connection)
04:14:55  * calvinfoquit (Quit: Leaving.)
04:14:57  * guybrushquit (Ping timeout: 252 seconds)
04:15:18  * guybrushjoined
04:15:48  * jmar777quit (Remote host closed the connection)
04:19:44  * mikolalysenkojoined
04:24:23  * mikolalysenkoquit (Ping timeout: 260 seconds)
04:25:39  * AvianFluquit (Remote host closed the connection)
04:26:58  * AvianFlujoined
04:45:24  * calvinfojoined
04:46:11  * calvinfoquit (Read error: Connection reset by peer)
04:46:25  * calvinfojoined
04:47:25  * calvinfo1joined
04:47:25  * calvinfoquit (Read error: Connection reset by peer)
04:48:17  * calvinfojoined
04:48:17  * calvinfo1quit (Read error: Connection reset by peer)
04:49:12  * calvinfo1joined
04:49:13  * calvinfoquit (Read error: Connection reset by peer)
04:50:09  * calvinfojoined
04:50:09  * calvinfo1quit (Read error: Connection reset by peer)
04:50:53  * calvinfoquit (Read error: Connection reset by peer)
04:51:08  * calvinfojoined
04:52:04  * calvinfo1joined
04:52:05  * calvinfoquit (Read error: Connection reset by peer)
04:52:51  * thlorenzquit (Remote host closed the connection)
04:54:07  * kazuponjoined
04:56:15  * Raltquit (Quit: Bye)
04:56:25  * mikealjoined
04:56:38  * calvinfo1quit (Ping timeout: 264 seconds)
04:56:51  * nsmquit (Ping timeout: 272 seconds)
04:58:38  * mikealquit (Client Quit)
05:02:41  * tjfontainejoined
05:09:45  * Raltjoined
05:17:36  * calvinfojoined
05:20:03  * daviddiasjoined
05:24:50  * daviddiasquit (Ping timeout: 264 seconds)
05:29:00  * calvinfoquit (Quit: Leaving.)
05:32:25  * nsmjoined
05:41:47  * stagasquit (Ping timeout: 245 seconds)
05:50:51  * c4miloquit
05:52:38  * c4milojoined
06:13:14  * m76joined
06:17:50  * kazuponquit (Remote host closed the connection)
06:19:27  * kazuponjoined
06:24:07  * AvianFluquit (Remote host closed the connection)
06:40:50  * dogonthesunjoined
06:46:19  * bajtosjoined
06:50:57  * octetcloudquit (Ping timeout: 245 seconds)
06:52:47  * c4miloquit (Remote host closed the connection)
07:00:13  * dsantiagoquit (Ping timeout: 260 seconds)
07:04:20  * dsantiagojoined
07:07:52  * octetcloudjoined
07:14:37  * daviddiasjoined
07:16:33  * octetcloudquit (Ping timeout: 272 seconds)
07:19:26  * daviddiasquit (Ping timeout: 264 seconds)
07:28:22  * AvianFlujoined
07:28:42  * mikealjoined
07:32:49  * AvianFluquit (Ping timeout: 246 seconds)
07:32:58  * mikealquit (Client Quit)
07:33:15  * mikealjoined
07:43:07  * mikealquit (Quit: Leaving.)
07:48:05  * mikealjoined
07:48:11  * mikealquit (Client Quit)
08:04:34  * hzjoined
08:08:23  * brsonquit (Quit: leaving)
08:08:33  * daviddiasjoined
08:12:53  * mikealjoined
08:13:26  * daviddiasquit (Ping timeout: 264 seconds)
08:14:55  * daviddiasjoined
08:20:02  * daviddiasquit (Ping timeout: 264 seconds)
08:30:47  * hzquit
08:33:32  * rmgquit (Remote host closed the connection)
08:36:37  * dogonthesunquit (Quit: Computer has gone to sleep.)
08:41:41  * c4milojoined
08:47:01  * c4miloquit (Ping timeout: 272 seconds)
08:51:08  * dogonthesunjoined
09:01:12  * wolfeidauquit (Remote host closed the connection)
09:01:41  * wolfeidaujoined
09:01:42  * hzjoined
09:03:57  * rmgjoined
09:06:18  * dogonthesunquit (Quit: Computer has gone to sleep.)
09:08:22  * rmgquit (Ping timeout: 246 seconds)
09:09:06  * daviddiasjoined
09:11:51  * rmgjoined
09:13:02  * abraxasquit (Remote host closed the connection)
09:13:43  * daviddiasquit (Ping timeout: 272 seconds)
09:15:10  * abraxasjoined
09:16:48  * janjongboomjoined
09:20:18  * rmgquit (Ping timeout: 252 seconds)
09:23:58  * indexzeroquit (Quit: indexzero)
09:40:52  * rendarjoined
10:07:38  * indexzerojoined
10:09:24  * daviddiasjoined
10:14:02  * daviddiasquit (Ping timeout: 264 seconds)
10:30:31  * c4milojoined
10:35:23  * c4miloquit (Ping timeout: 265 seconds)
10:36:33  * abraxasquit (Remote host closed the connection)
10:41:28  * dogonthesunjoined
10:44:36  * kazuponquit (Remote host closed the connection)
10:53:30  * bajtosquit (Quit: bajtos)
11:03:44  * daviddiasjoined
11:08:02  * daviddiasquit (Ping timeout: 245 seconds)
11:43:32  * dogonthesunquit (Quit: Computer has gone to sleep.)
11:47:39  * dogonthesunjoined
11:48:06  * dogonthesunquit (Read error: Connection reset by peer)
11:48:30  * dogonthesunjoined
11:51:47  * daviddiasjoined
12:06:24  * dogonthesunquit (Quit: Lingo - http://www.lingoirc.com)
12:12:33  * c4milojoined
12:37:21  * m76quit (Read error: Connection reset by peer)
12:37:25  * abraxasjoined
12:42:37  * abraxasquit (Ping timeout: 272 seconds)
13:18:07  * hzquit
13:18:32  * janjongboomquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
13:24:00  * hzjoined
13:31:22  * piscisaureusjoined
13:32:23  <piscisaureus>mmalecki: yeah
13:33:08  <mmalecki>piscisaureus: glad to hear that. did you wake up on time :) ?
13:36:12  * bajtosjoined
13:39:43  * thlorenzjoined
13:40:43  * AvianFlujoined
13:49:13  * janjongboomjoined
13:53:02  * thlorenzquit (Ping timeout: 245 seconds)
13:53:16  * mikolalysenkojoined
14:26:08  * thlorenzjoined
14:29:23  * janjongboomquit (Ping timeout: 272 seconds)
14:31:50  * janjongboomjoined
14:34:24  * jmar777joined
14:37:10  * bajtosquit (Read error: Connection reset by peer)
14:37:45  * bajtosjoined
14:49:06  * m76joined
14:55:54  * kazuponjoined
15:05:01  * pachetjoined
15:06:03  * hzquit (Ping timeout: 265 seconds)
15:07:01  * AvianFluquit (Remote host closed the connection)
15:07:04  * pachetquit (Client Quit)
15:10:53  * mikolalysenkoquit (Ping timeout: 265 seconds)
15:18:26  * indexzeroquit (Quit: indexzero)
15:24:39  * pachetjoined
15:24:39  * pachetquit (Changing host)
15:24:39  * pachetjoined
15:27:00  * mikolalysenkojoined
15:32:32  * octetcloudjoined
15:37:24  * hzjoined
15:37:24  * hzquit (Changing host)
15:37:24  * hzjoined
15:38:25  * defunctzombiechanged nick to defunctzombie_zz
15:39:00  * paulfryzeljoined
15:40:35  * octetcloudquit (Ping timeout: 272 seconds)
15:45:07  * janjongboomquit (Ping timeout: 272 seconds)
15:45:52  * janjongboomjoined
15:47:01  * defunctzombie_zzchanged nick to defunctzombie
15:53:17  * daviddia_joined
15:56:38  * daviddiasquit (Ping timeout: 264 seconds)
15:56:58  * daviddiasjoined
15:57:21  * daviddia_quit (Read error: Connection reset by peer)
16:02:42  * thepumpkinjoined
16:03:18  * AvianFlujoined
16:04:50  <thepumpkin>Hi. How do I compile libuv with optimizations on? I see it outputs to out/debug if I just do $(MAKE) -C out, which makes me think it's not optimized. is there a rule in Makefile to build with optimizations?
16:06:51  * M28quit (Read error: Connection reset by peer)
16:07:05  * M28joined
16:10:35  * bajtosquit (Quit: bajtos)
16:11:54  <thepumpkin>./gyp_uv.py -f make && make -C out
16:11:56  <thepumpkin>is this generating optimized code?
16:17:05  <tjfontaine>if you `make -C out V=1` you will see more specific cc command lines
16:22:32  <thepumpkin>thanks.
16:24:40  * c4miloquit (Remote host closed the connection)
16:25:11  * c4milojoined
16:30:03  * janjongboomquit (Ping timeout: 260 seconds)
16:30:54  * janjongboomjoined
16:47:16  <thepumpkin>make -C out BUILDTYPE=Release
16:47:21  <thepumpkin>that's the answer
16:49:01  * janjongboomquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
16:50:11  <tjfontaine>I'm sorry I didn't know necessarily what you were looking for, yes by default it builds the Debug configuration
16:51:19  * rainabbajoined
16:51:24  * MI6joined
16:51:39  <rainabba>There a Node.js holiday I didn't hear about?
16:51:47  <tjfontaine>hmm?
16:52:06  <rainabba>#node.js is DEAD but things are still live here
16:52:17  <tjfontaine>huh?
16:52:29  <rainabba>err?
16:52:39  <tjfontaine>maybe I haven't had enough coffee yet
16:54:35  * Laurifus_joined
16:54:44  <Laurifus_>hello, I was wondering if someone would be able to help me understand how libuv and v8 work together. Does node have two event loops? If I do a setTimeout does it go onto libuv's event loop? The closest thing I could find discussing this is this stackoverflow thread: http://stackoverflow.com/questions/10680601/nodejs-event-loop but it doens't really clarify this very well. Especially since libev is gone since 0.9. Any r
16:54:44  <Laurifus_>esource or explanation would be greatly appreciated.
16:55:16  <tjfontaine>there's only one event loop, setTimeout is not a construct of v8 but of node and its consumption of libuv
16:56:20  <tjfontaine>when you schedule a timeout it's put into libuv and depending on the platform it uses some underlying mechanism to wake up when it's time to run the timers [presuming no other events are happening in the loop that may cause the check to occur]
16:56:23  <rainabba>Is it considered bad practice to develop a module with Linux distro specific dependencies AND THEN not do anything to try to satisfy them?
16:56:37  <Laurifus_>interesting...but doesn't v8 provide an event loop when interacting with the browser? Is it just ignored while being used with node and instead libuv is used?
16:56:41  <tjfontaine>rainabba: specifically in context of a node module?
16:56:56  <tjfontaine>Laurifus_: the browser maintains the event loop there, not v8
16:57:06  <rainabba>tjfontaine: Yes. For clarification, see "Requirements" of https://github.com/bsuh/node_xslt
16:57:34  <rendar>Laurifus_, i think v8 only provides js facilities, then event loops are up to the clients that uses v8
16:57:35  * dap_joined
16:57:40  <rainabba>I'm wondering if that's just a rare thing that's "okay" or rare because it's frowned on.
16:57:50  <tjfontaine>rainabba: it wouldn't be unreasonable to add checks in binding.gyp to try and detect what you can
16:58:13  <tjfontaine>rainabba: unfortunately gyp itself is not well suited to this task
16:58:59  <tjfontaine>rainabba: looking at your existing gyp though, that seems sufficient, it should error if the -config isn't there which generally would give enough information
16:59:56  <rainabba>I haven't investigated that direction. I was just going by the README Requirements that say "libxml2 (libxml2-dev package for Debian-based distros)" (and 2 others like that)
17:00:35  <Laurifus_>That makes a lot of sense, thanks guys
17:00:37  <rainabba>I'm pretty sure I'm going to have to fork this to get done what I need but I'm trying to get a feel for how much else I should try to fix up
17:03:00  <tjfontaine>ok back to fixing jenkins
17:06:41  * Laurifus_quit
17:27:50  * thepumpkinquit (Remote host closed the connection)
17:40:31  * octetcloudjoined
17:46:29  * brsonjoined
17:47:24  * kazuponquit (Remote host closed the connection)
17:47:51  * kazuponjoined
17:51:25  <MI6>libuv-master: #423 UNSTABLE http://jenkins.nodejs.org/job/libuv-master/423/
17:51:58  * kazuponquit (Ping timeout: 246 seconds)
17:52:23  <groundwater>morning!
17:52:56  <tjfontaine>hola
17:54:25  <MI6>libuv-node-integration: #374 FAILURE http://jenkins.nodejs.org/job/libuv-node-integration/374/
17:57:43  * thlorenzquit (Remote host closed the connection)
17:58:49  <MI6>libuv-master: #424 FAILURE http://jenkins.nodejs.org/job/libuv-master/424/
18:01:46  <MI6>libuv-master: #425 FAILURE http://jenkins.nodejs.org/job/libuv-master/425/
18:03:07  * mikealquit (Quit: Leaving.)
18:04:33  * mikealjoined
18:07:45  * mikealquit (Client Quit)
18:08:35  * mikealjoined
18:09:52  * paulfryzelquit (Read error: Connection reset by peer)
18:10:29  * paulfryzeljoined
18:11:34  * m76quit (Read error: Connection reset by peer)
18:17:15  * jmar777quit (Remote host closed the connection)
18:18:01  <MI6>libuv-master: #426 FAILURE http://jenkins.nodejs.org/job/libuv-master/426/
18:21:22  * brsonquit (Ping timeout: 245 seconds)
18:24:02  * mikealquit (Quit: Leaving.)
18:24:16  * brsonjoined
18:25:42  * mikealjoined
18:27:51  * mikealquit (Client Quit)
18:28:12  * mikealjoined
18:28:58  * piscisaureusquit (Quit: ~ Trillian Astra - www.trillian.im ~)
18:32:37  * mikealquit (Client Quit)
18:32:47  * mikealjoined
18:37:17  * mikealquit (Client Quit)
18:37:28  * mikealjoined
18:38:21  * TooTallNatejoined
18:44:02  * thlorenzjoined
18:48:08  * thlorenzquit (Read error: Operation timed out)
18:49:28  * mikealquit (Quit: Leaving.)
18:51:14  * mikealjoined
19:05:28  * brsonquit (Quit: leaving)
19:05:41  * brsonjoined
19:06:54  * calvinfojoined
19:15:00  * m76joined
19:15:16  * hzquit
19:19:59  * mikealquit (Quit: Leaving.)
19:29:10  * thlorenzjoined
19:30:54  * hzjoined
19:58:29  * mikolalysenkoquit (Ping timeout: 252 seconds)
20:04:32  * rmgjoined
20:10:16  * TooTallNatequit (Quit: Computer has gone to sleep.)
20:11:41  * swajrchanged nick to swaj
20:29:42  * donnikjoined
20:33:17  * mikolalysenkojoined
20:36:26  * Ralithquit (Ping timeout: 252 seconds)
20:38:06  * mikolalysenkoquit (Ping timeout: 265 seconds)
20:41:53  * mikealjoined
20:51:23  * julianduquequit (Quit: leaving)
20:51:31  * julianduquejoined
20:52:06  <othiym23>hueniverse, yr killing me
20:52:21  <othiym23>(upgrading NR to work with hapi 2)
20:52:49  <hueniverse>othiym23: eh?
20:53:53  <othiym23>the hapi 1 instrumentation watched server.table and server.vhosts to figure out which route handlers hadn't been wrapped by NR
20:54:04  <othiym23>and now server.table is a function and the route table lives... elsewhere
21:00:28  <tjfontaine>swaj: were you able to test with setEngine?
21:06:58  * paulfryzelquit (Read error: Connection reset by peer)
21:07:11  * paulfryzeljoined
21:07:26  * donnikquit (Remote host closed the connection)
21:10:02  <swaj>tjfontaine: I did earlier this week and it did not work. Let me grab master again and try more
21:11:21  <indutny>heya people!
21:11:30  <indutny>swaj: oh so it did not work that time
21:11:38  <indutny>sorry, I got no reply and thought it was ok
21:11:46  <indutny>btw, is anyone here is in UK right now?
21:11:53  <indutny>particularly in London?
21:11:58  <swaj>indutny: I had sent something in chat, but I had a bunch of meetings and couldn't re-test
21:12:06  <swaj>indutny: gonna do a debug build real quick and let you know
21:12:07  <indutny>oh
21:12:17  <indutny>swaj: thank you very much for your time!
21:12:29  <swaj>indutny: thanks for the effort getting this feature added ;)
21:12:59  * TooTallNatejoined
21:13:58  <MI6>joyent/node: Tom Gallacher master * 38a07a9 : util: handle escaped forward slashes correctly - http://git.io/d8lr7w
21:14:15  <indutny>swaj: :)
21:14:17  <indutny>you're welcome
21:14:25  <indutny>especially, considering that it doesn't work yet for you
21:15:12  * daviddiasquit (Remote host closed the connection)
21:15:52  * daviddiasjoined
21:18:11  * daviddia_joined
21:18:23  * daviddia_quit (Remote host closed the connection)
21:19:02  * daviddia_joined
21:19:30  <swaj>indutny: Error: error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library
21:19:37  <indutny>hm
21:19:42  <indutny>have you tried to load it by id?
21:19:49  <swaj>yeah that was just "chil"
21:19:54  <swaj>not absolute path
21:19:57  <indutny>ok
21:20:09  <indutny>may I ask you to try absolute path, please?
21:20:12  <swaj>and with OPENSSL_ENGINES=/folder/where/libchil.so/is
21:20:15  <swaj>yes
21:20:27  <indutny>what about
21:20:38  <indutny>crypto.setEngine('/folder/where/...')
21:20:48  * daviddiasquit (Ping timeout: 276 seconds)
21:21:51  <swaj>Error: error:260B606D:engine routines:DYNAMIC_LOAD:init failed
21:22:00  <swaj>that's with the full path to libchil.so
21:28:11  <indutny>hm...
21:28:15  <indutny>gosh :)
21:28:27  <indutny>is libchil.so that you have opensource, or do you have rights to publish it?
21:28:36  <indutny>you could do it privately via email
21:28:44  <swaj>bundled openssl within node -- the build still has issues with system ssl
21:28:54  <swaj>and unfortunately no, I have no permission to distribute libchil.so
21:29:01  <indutny>ok
21:29:05  <indutny>I understand
21:29:57  <swaj>hmm one sec
21:30:10  <swaj>I have a strange idea that might work
21:30:44  * mikolalysenkojoined
21:31:11  <swaj>nope, no dice
21:31:15  <indutny>haha
21:31:23  <tjfontaine>does this work with shared ssl?
21:31:29  <tjfontaine>indutny: that's for you
21:31:36  <indutny>ok, please give me a 10-15 minutes. Finishing off another bug
21:31:42  <tjfontaine>k
21:31:45  <indutny>tjfontaine: I have no idea, honestly
21:31:48  * dshaw_joined
21:31:49  <indutny>tjfontaine: I tried it locally
21:31:54  <indutny>tjfontaine: but I had no engine .so files
21:32:01  <indutny>or .dylib, whatever
21:32:06  <indutny>and I verified that it tries to load them
21:32:17  <tjfontaine>right
21:32:42  <swaj>the build failes against system-provided OpenSSL v1.0.0
21:32:48  <swaj>on RHEL 6.4
21:32:49  <tjfontaine>right
21:32:52  <swaj>so I use the bundled OpenSSL
21:32:58  <tjfontaine>libchil supposedly works with 1.0.0 though?
21:33:06  <tjfontaine>do you know if it's known to work with 1.0.1?
21:33:14  <swaj>we tested it with node's built-in
21:33:22  <swaj>indutny had me run some openssl commands to load it
21:33:25  <swaj>and it loaded successfully
21:33:27  <tjfontaine>oh ok
21:33:28  <indutny>yep
21:33:32  * daviddia_quit
21:33:38  <indutny>swaj: do you have `truss` installed?
21:33:58  <indutny>may I ask you to run node through it and gist syscalls that it does when loading engine by id?
21:34:13  <swaj>I don't
21:34:16  <swaj>have truss
21:34:16  <tjfontaine>strace?
21:34:27  <indutny>oh right
21:34:28  <swaj>I do have strace
21:34:30  <indutny>should be strace on linux
21:34:43  <indutny>I think you can just do
21:34:59  <indutny>strace /path/to/node -e "require('crypto').setEngine('chil')"
21:35:00  <tjfontaine>strace node -pe 'require("crypto").setEngine("chil")'
21:35:03  <tjfontaine>:)
21:35:04  <indutny>tjfontaine: exactly :D
21:35:18  <indutny>probably with sudo, if it'll woe
21:36:06  * daviddiasjoined
21:36:47  * calvinfoquit (Quit: Leaving.)
21:39:33  <swaj>gonna message this to you indutny
21:39:35  <swaj>the gist
21:39:44  <indutny>thank you
21:43:49  * pachet_joined
21:45:15  * pachetquit (Read error: Operation timed out)
21:51:34  * paulfryzelquit (Read error: Connection reset by peer)
21:51:49  * paulfryzeljoined
21:54:34  <indutny>tjfontaine: so, apparently there is some problems with v8 in v0.10
21:54:38  <indutny>https://github.com/joyent/node/issues/6839
21:54:54  <tjfontaine>I'm not sure how much we need to care about that particular pathology?
21:55:01  <indutny>https://chromiumcodereview.appspot.com/14622005
21:55:18  <indutny>seems to be unrelated, but probably fixes the problem
21:55:23  <tjfontaine>huh
21:55:25  <indutny>though, it doesn't applies to our tree
21:55:27  <indutny>tjfontaine: well
21:55:32  <indutny>I think that the problem is
21:55:39  <indutny>that all descriptors are enumerated in v0.10's v8
21:55:45  <indutny>and it just got enumeration overflow
21:55:50  <indutny>since bit amount is very limited
21:55:55  <tjfontaine>right
21:56:11  <tjfontaine>that's kinda what I assumed
21:56:58  <indutny>haha, really?
21:57:02  <indutny>I didn't even think about it
21:57:05  <tjfontaine>well
21:57:06  <indutny>before finding this stuff
21:57:08  <indutny>:)
21:57:26  <tjfontaine>I assumed it was an overflow, 2048 ...
21:57:50  <tjfontaine>but really, who uses that pattern? :)
21:58:17  <indutny>haha
21:58:27  <indutny>yeah
21:58:35  <indutny>didn't read the issue that carefully
21:58:38  <indutny>I usually just grab a code
21:58:42  <indutny>and try to make it crash :D
21:58:44  <tjfontaine>:)
21:59:22  * mikealquit (Quit: Leaving.)
22:01:21  <trevnorris>afternoon
22:01:27  <trevnorris>missed anything interesting?
22:01:48  <indutny>yeah
22:01:49  <tjfontaine>the world has turned
22:01:51  <indutny>London is pretty cool today
22:01:57  <indutny>the weather is almost perfect
22:02:49  <trevnorris>awesome
22:05:02  <swaj>indutny: huzzah!
22:05:08  <indutny>hahaha
22:05:13  <indutny>great
22:05:13  <swaj>indutny: that missing file wasn't on LD_LIBRARY_PATH
22:05:20  <swaj>indutny: I fixed that and the engine loaded.
22:05:26  <indutny>hm...
22:05:29  <indutny>by id, right?
22:05:36  <indutny>what about full path?
22:05:36  <swaj>indutny: no absolute file
22:05:43  <indutny>oh
22:05:44  <swaj>indutny: oh wait that was by ID
22:05:48  <indutny>:)
22:05:54  <indutny>ok, please try both
22:05:54  <swaj>which is fine with me
22:05:58  <swaj>k
22:05:59  <indutny>for me
22:06:01  <swaj>yep
22:06:03  <indutny>but this is good!
22:06:04  <indutny>:D
22:06:15  <tjfontaine>I was going to say that's what it seemed like fromt he strace
22:06:20  <swaj>I'm gonna have it generate some random bytes and check the debug file for the module
22:06:26  <tjfontaine>but it's unclear what's different from the openssl-cli instantiation
22:06:31  <swaj>make sure the engine is actually being used as a source for random
22:07:21  <rendar>indutny, are you in london?
22:07:31  <indutny>yep
22:07:34  <rendar>cool
22:07:49  <rendar>do you live there?
22:07:54  <indutny>unfortunatelly no
22:08:01  <swaj>indutny: absolute path works.
22:08:02  <indutny>do you?
22:08:09  <rendar>no, but i'm thinking to move there
22:08:15  <indutny>swaj: great
22:08:28  <indutny>hooray! :D
22:08:34  <swaj>indutny: should random bytes come from OpenSSL?
22:08:40  <swaj>or do you have your own random number generator?
22:08:42  <swaj>in node?
22:08:44  <tjfontaine>you mean Math.random?
22:08:50  <indutny>swaj: crypto.randomBytes
22:08:54  <indutny>swaj: comes from openssl
22:08:59  <swaj>interesting
22:09:04  <swaj>so I didn't get any output from my HSM
22:09:06  <tjfontaine>we should be telling v8 to use our ssl, but use crypto to be safe
22:09:14  <swaj>I'm wondering if that engine was actually used
22:09:18  <swaj>it loaded
22:09:18  <tjfontaine>indutny: are we setting the plugin for all?
22:09:29  <tjfontaine>swaj: do some rsa/aes
22:09:44  <swaj>sure, one sec
22:09:45  * mikealjoined
22:09:59  <indutny>tjfontaine: yep
22:10:11  <indutny>otherwise it won't fail
22:10:22  <indutny>previously
22:10:28  <tjfontaine>well I mean you can set priorities for plugins on ciphers and what not
22:10:34  <swaj>tjfontaine: how would I get a key?
22:10:43  <indutny>https://github.com/joyent/node/blob/master/lib/crypto.js#L634
22:10:55  <tjfontaine>right
22:11:58  * rendarquit (Quit: Leaving)
22:19:07  * rmgquit (Remote host closed the connection)
22:26:40  * `3rdEdenchanged nick to `3E|Zz
22:31:11  <indutny>tjfontaine: almost backported that v8 patch
22:31:18  <indutny>seems to be building fine
22:31:21  <indutny>going to run that test
22:34:01  <indutny>didn't work out
22:34:03  <indutny>hm...
22:38:34  <indutny>tjfontaine: I think it is more complex than this
22:38:50  <indutny>it is not switching to slow properties
22:39:19  <indutny>and overflows are happening in multiple places
22:39:42  * hzquit
22:40:22  <tjfontaine>indutny: it's a dangerous change, and more evidence we need to get 0.12 out :)
22:40:46  <indutny>hahaha
22:40:53  <indutny>well, I think it is quite simple
22:40:59  <indutny>just need to figure out
22:41:02  <indutny>but yeah
22:41:17  <indutny>differences between APIs of v0.10 and v0.12 are minor
22:41:23  <indutny>so migration should be painless
22:41:29  <indutny>mostly
22:41:41  <trevnorris>for non-native code
22:41:51  <indutny>yeah
22:41:56  <indutny>oh hell yeah
22:42:02  <indutny>tjfontaine: we need to fix it :P
22:42:08  <tjfontaine>because we're doing better at backwards compat
22:42:15  <tjfontaine>indutny: v8 needs to fix it :)
22:42:55  <swaj>indutny: the engine is loading. I need to do some research to figure out how to get keys to load, but this is good. thanks for your help.
22:43:10  <indutny>swaj: you are welcome!
22:43:12  <swaj>indutny: does node use ENGINE_load_private_key() at all?
22:43:13  <indutny>tjfontaine: well
22:43:20  <indutny>swaj: hm...
22:43:23  <indutny>not really
22:43:32  <swaj>that might be why it's not working then
22:44:02  <swaj>indutny: essentially I need to ENGINE_load_private_key() and then use the resulting pointer for various operations.
22:44:15  <swaj>indutny: but that sounds like a pretty massive change to crypto.js
22:44:30  <indutny>perhaps
22:44:35  <indutny>could you please open an issue for it?
22:44:47  <swaj>indutny: yeah let me do some more research on my side and try to get it working in just plain C
22:44:55  <swaj>indutny: and if I can, then I'll open an issue with the details
22:44:56  <indutny>thank you!
22:45:50  <indutny>tjfontaine: oh, they already fixed it :)
22:45:55  <indutny>we just need to update patch version of v8
22:45:59  <indutny>going to open PR in a minute
22:46:04  <tjfontaine>they updated in the 3.14 branch?
22:46:46  <indutny>yep
22:46:52  <indutny>with the fix for that problem
22:46:53  <tjfontaine>interesting, go for it then :)
22:47:00  <indutny>3.14.5.10
22:47:04  <indutny>the latest one
22:47:11  <indutny>just need to test it
22:47:15  <tjfontaine>jenkins is kinda busted at the moment
22:47:24  <tjfontaine>I am going to have to spend the weekend on revamping it
22:47:37  <tjfontaine>so don't freak out when you see that
22:48:08  * rmgjoined
22:49:29  <indutny>haha
22:49:32  <indutny>do I usualy?
22:49:37  <indutny>usually*
22:49:46  <tjfontaine>no, I'm just letting you know, that I've disabled notifications for now, because it's all sorts of busted
22:49:54  <indutny>ah
22:49:55  <indutny>ok
22:49:58  <indutny>good to know
22:50:03  <tjfontaine>and I'm going to use this time to revamp the base jobs anyway
22:50:05  <indutny>btw, how is weather in US?
22:50:15  <tjfontaine>the bay area is fine at the moment
22:50:24  <indutny>great
22:51:29  <tjfontaine>a little rain on saturday, but I think that's all I've seen
22:51:35  <indutny>hm..
22:51:38  <indutny>still crashes
22:52:06  <indutny>oh
22:52:13  <indutny>wtf
22:56:00  * calvinfojoined
23:06:38  * calvinfoquit (Quit: Leaving.)
23:11:38  * thlorenzquit (Remote host closed the connection)
23:15:18  * thlorenz_joined
23:19:19  <indutny>yay
23:19:21  <indutny>found it
23:19:30  <indutny>tjfontaine:https://github.com/v8/v8/commit/0b7477e1ec4a6216549157535e985ddc402e6b2b
23:19:38  <indutny>not sure, how it missed 3.14
23:19:40  <indutny>but whatever
23:20:11  <tjfontaine>interesting, that fixes it?
23:21:26  <indutny>yay
23:21:27  <indutny>works
23:21:28  <indutny>yep
23:21:40  <indutny>let me run tests
23:21:42  <indutny>just to make sure
23:21:43  <tjfontaine>that doesn't seem particularly as scary as it could have
23:21:46  <indutny>https://codereview.chromium.org/11362182/
23:21:48  <indutny>yeah
23:21:54  <indutny>I think they just forgot to include it
23:21:58  <indutny>s/include/backport/
23:22:18  <indutny>going to will run tests
23:22:21  <indutny>and open a PR
23:22:31  <tjfontaine>thanks
23:24:17  * thlorenz_quit (Ping timeout: 272 seconds)
23:28:29  <indutny>oh, actually
23:28:35  <indutny>it seems that nothing has changed in v8
23:28:37  <indutny>except version :D
23:28:51  <indutny>probably, because of our floating patches
23:29:18  <tjfontaine>yes, I updated v8 earlier
23:30:04  <indutny>tjfontaine: https://github.com/joyent/node/pull/6844/files
23:30:07  <tjfontaine>hmm maybe that was master
23:30:23  <indutny>I think all that was because of floating patches
23:30:29  <tjfontaine>nod
23:30:35  <indutny>LGTY?
23:30:45  <tjfontaine>I think so, sad I don't have my test bots :)
23:30:48  <indutny>I'll reword sven's commit
23:30:50  <tjfontaine>but it doesn't seem really scary
23:30:54  <indutny>yeah
23:31:38  <tjfontaine>you should only need to apply his patch, right?
23:31:54  <indutny>well
23:31:56  <indutny>ok
23:31:57  <indutny>:)
23:32:25  <MI6>joyent/node: [email protected] v0.10 * 196184d : v8: backport codereview.chromium.org/11362182 - http://git.io/y6cV6Q
23:32:27  <tjfontaine>I mean the commit stack doesn't make sense to me
23:32:29  <tjfontaine>oh
23:32:33  <indutny>that's it
23:32:35  <tjfontaine>I was fine with you rewording it
23:32:35  <indutny>then
23:32:40  <tjfontaine>anyway
23:32:43  <tjfontaine>deosn't matter :)
23:32:51  <tjfontaine>the PR commit section confuse dme
23:32:51  <indutny>haha
23:32:53  * Ralithjoined
23:32:55  <indutny>np
23:33:01  <tjfontaine>thanks fedor!
23:33:15  <indutny>haha
23:33:16  <indutny>you're welcome
23:37:23  * thlorenzjoined
23:38:00  * wolfeida_joined
23:39:23  * wolfeidauquit (Ping timeout: 272 seconds)
23:39:43  * thlorenzquit (Remote host closed the connection)
23:39:59  * thlorenzjoined
23:42:17  * pachet_quit (Quit: leaving)
23:44:10  * paulfryzelquit (Remote host closed the connection)