00:00:00  * ircretaryquit (Remote host closed the connection)
00:00:08  * ircretaryjoined
00:01:23  * kpdeckerjoined
00:02:13  <Raynos>why can't i access them ?
00:02:40  <Raynos>I'm trying to find out what causes lib in node to be able to access those but I cant
00:05:41  <tjfontaine>you're probably trying on node v0.10 and not v0.11 -- but no one should need access to them, if they do something has gone terribly wrong
00:06:42  <Raynos>oh true that
00:07:55  * mikealquit (Quit: Leaving.)
00:11:07  <Raynos>tjfontaine: your right, i dont need to access those at all
00:21:35  * benvie_quit (Ping timeout: 255 seconds)
00:32:05  * kpdeckerquit (Quit: Leaving.)
00:32:07  * benviejoined
00:32:19  * kpdeckerjoined
00:36:43  * niskaquit (Ping timeout: 264 seconds)
00:39:21  * rmgquit (Remote host closed the connection)
00:40:56  * benviequit (Ping timeout: 255 seconds)
00:42:20  * daviddiasquit (Remote host closed the connection)
00:42:47  * daviddiasjoined
00:46:15  * niskajoined
00:46:49  * daviddiasquit (Ping timeout: 240 seconds)
00:49:00  * daviddiasjoined
00:50:31  * thlorenzjoined
00:50:52  * qardquit (Remote host closed the connection)
00:54:00  * guilleiguaranquit (Ping timeout: 255 seconds)
00:54:29  * Domenic__quit (Ping timeout: 246 seconds)
00:56:32  * Domenic___joined
00:57:01  * mikealjoined
00:57:19  * guilleiguaran_joined
01:00:08  * kpdeckerquit (Read error: Connection reset by peer)
01:01:33  * rmgjoined
01:03:19  * kpdeckerjoined
01:04:01  * jmar777joined
01:06:43  * EM3RYquit (Ping timeout: 264 seconds)
01:11:01  * thlorenzquit (Remote host closed the connection)
01:11:23  * Domenic___quit (Ping timeout: 246 seconds)
01:11:38  * parshapquit (Ping timeout: 246 seconds)
01:11:38  * `3rdEdenquit (Ping timeout: 246 seconds)
01:12:41  * guilleiguaran_quit (Ping timeout: 246 seconds)
01:12:43  * stagasquit (Ping timeout: 264 seconds)
01:14:57  * parshapjoined
01:14:59  * Guest77060joined
01:15:10  * paulfryzeljoined
01:16:14  * guilleiguaran_joined
01:16:34  * Domenic___joined
01:19:25  * paulfryzelquit (Ping timeout: 246 seconds)
01:19:53  * kevinsimperjoined
01:21:43  * mikealquit (Quit: Leaving.)
01:24:43  * kevinsimperquit (Ping timeout: 264 seconds)
01:24:51  * seldoquit (Remote host closed the connection)
01:27:38  * rosskquit
01:28:09  * dap_1quit (Quit: Leaving.)
01:29:20  * defunctzombie_zzchanged nick to defunctzombie
01:37:52  * rmgquit (Remote host closed the connection)
01:40:45  * thlorenzjoined
01:44:05  * geomasterjoined
01:44:53  <geomaster>hey guys, I call uv_stop(), uv_run() returns, but then uv_loop_close() returns UV_BUSY and refuses to close the loop. why can this be happening?
01:47:02  <geomaster>uv_stop() is called from a watchdog timer that checks periodically if any global killswitches instruct that the daemon should die
01:47:23  <geomaster>from the docs, I got the impression that once uv_run() returns, there is no way it could still be busy
01:52:00  * defunctzombiepart ("Textual IRC Client: www.textualapp.com")
01:54:01  * thlorenzquit (Remote host closed the connection)
01:54:02  * jmar777quit (Remote host closed the connection)
01:54:53  * daviddiasquit (Remote host closed the connection)
01:55:20  * daviddiasjoined
01:55:38  * euoiajoined
01:56:16  <geomaster>anyone who's not afk?
01:59:29  * emeryjoined
01:59:55  * daviddiasquit (Ping timeout: 264 seconds)
02:00:38  * benviejoined
02:08:22  * rmgjoined
02:13:08  * geomasterquit (Ping timeout: 245 seconds)
02:15:07  * rmgquit (Ping timeout: 264 seconds)
02:15:24  * daviddiasjoined
02:19:28  * rmgjoined
02:22:06  * mikealjoined
02:25:15  * hzquit
02:26:14  * rmgquit (Ping timeout: 255 seconds)
02:26:55  * mikealquit (Ping timeout: 264 seconds)
02:27:35  * euoiaquit (Ping timeout: 255 seconds)
02:37:07  * brsonquit (Ping timeout: 246 seconds)
02:46:45  * thlorenzjoined
02:51:07  * thlorenzquit (Ping timeout: 246 seconds)
02:52:07  * eugenewarequit (Remote host closed the connection)
02:52:32  * Raynosquit (Ping timeout: 252 seconds)
02:53:45  * Raynos_joined
03:20:47  * kevinsimperjoined
03:22:38  * mikealjoined
03:24:48  * Qardjoined
03:25:11  * kevinsimperquit (Ping timeout: 255 seconds)
03:26:49  * mikealquit (Ping timeout: 246 seconds)
03:39:29  * eugenewarejoined
03:44:19  * eugenewarequit (Ping timeout: 264 seconds)
03:54:31  * kpdeckerquit (Quit: Leaving.)
03:59:57  * kpdeckerjoined
04:17:33  * paulfryzeljoined
04:21:27  * jmar777joined
04:21:46  * paulfryzelquit (Ping timeout: 246 seconds)
04:26:09  * seldojoined
04:28:08  * daviddiasquit (Remote host closed the connection)
04:28:42  * daviddiasjoined
04:30:04  * eugenewarejoined
04:31:07  * seldoquit (Ping timeout: 264 seconds)
04:31:21  * rmgjoined
04:33:17  * daviddiasquit (Ping timeout: 252 seconds)
04:34:26  * daviddiasjoined
04:36:01  * rmgquit (Ping timeout: 240 seconds)
04:36:07  * eugenewarequit (Ping timeout: 246 seconds)
04:41:15  * eugenewarejoined
04:45:44  * eugenewarequit (Ping timeout: 255 seconds)
04:53:08  * eugenewarejoined
05:07:09  * daviddiasquit (Remote host closed the connection)
05:07:44  * daviddiasjoined
05:11:49  * daviddiasquit (Ping timeout: 246 seconds)
05:15:38  * Qardquit (Ping timeout: 252 seconds)
05:21:36  * kevinsimperjoined
05:26:14  * kevinsimperquit (Ping timeout: 255 seconds)
05:33:24  * c4milojoined
05:46:23  * c4miloquit (Read error: Connection reset by peer)
05:46:47  * jmar777quit (Remote host closed the connection)
05:47:22  * c4milojoined
05:48:18  * c4miloquit (Read error: Connection reset by peer)
05:58:00  * mikealjoined
06:02:08  * eugenewarequit (Remote host closed the connection)
06:05:51  * WalrusPonyjoined
06:07:37  * WalrusPony1quit (Ping timeout: 240 seconds)
06:18:52  * bajtosjoined
06:19:03  * paulfryzeljoined
06:21:03  * bajtosquit (Client Quit)
06:21:52  * bajtosjoined
06:23:13  * paulfryzelquit (Ping timeout: 246 seconds)
06:29:23  * m76joined
06:33:12  * eugenewarejoined
06:39:01  * daviddiasjoined
06:39:35  * eugenewarequit (Ping timeout: 255 seconds)
06:43:10  * daviddiasquit (Ping timeout: 246 seconds)
06:51:34  * kpdeckerquit (Quit: Leaving.)
07:03:14  * daviddiasjoined
07:07:40  * daviddiasquit (Ping timeout: 246 seconds)
07:13:19  * petka_joined
07:18:24  * janjongboomjoined
07:19:44  * paulfryzeljoined
07:20:16  * kpdeckerjoined
07:22:50  * kevinsimperjoined
07:24:07  * paulfryzelquit (Ping timeout: 246 seconds)
07:27:48  * kevinsimperquit (Ping timeout: 255 seconds)
07:34:50  * rendarjoined
07:40:28  * eugenewarejoined
07:45:31  * eugenewarequit (Ping timeout: 264 seconds)
07:50:06  * janjongboomquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
08:03:25  * bajtosquit (Quit: bajtos)
08:12:28  * kevinsimperjoined
08:20:29  * paulfryzeljoined
08:25:01  * paulfryzelquit (Ping timeout: 246 seconds)
08:28:17  * sinclair|work_quit (Quit: ChatZilla 0.9.90.1 [Firefox 27.0.1/20140212131424])
08:28:46  * sinclair|workjoined
08:30:13  * Guest77060changed nick to `3rdEden
08:34:24  * rmgjoined
08:39:01  * rmgquit (Ping timeout: 246 seconds)
08:40:40  * eugenewarejoined
08:46:01  * eugenewarequit (Ping timeout: 246 seconds)
08:52:32  * janjongboomjoined
08:55:49  <rendar>if in linux libuv uses inotify for file notifications, what it uses in solaris? event ports simply can do that?
09:00:23  <saghul>rendar: yes, and it watches for PORT_SOURCE_FILE events
09:04:21  <rendar>i see
09:05:04  * daviddiasjoined
09:09:28  * daviddiasquit (Ping timeout: 246 seconds)
09:09:29  * bajtosjoined
09:11:55  * janjongboomquit (Ping timeout: 264 seconds)
09:12:34  * janjongboomjoined
09:16:54  * kevinsimperquit (Remote host closed the connection)
09:17:13  * [1]porchratjoined
09:17:32  * kevinsimperjoined
09:19:51  * porchratquit (Ping timeout: 252 seconds)
09:19:51  * [1]porchratchanged nick to porchrat
09:21:15  * paulfryzeljoined
09:25:34  * paulfryzelquit (Ping timeout: 246 seconds)
09:26:10  * petka_quit (Quit: Connection closed for inactivity)
09:40:23  * eugenewarejoined
09:40:49  * janjongboomquit (Ping timeout: 240 seconds)
09:41:35  * janjongboomjoined
09:45:43  * eugenewarequit (Ping timeout: 264 seconds)
09:54:16  * c4milojoined
09:55:38  * bajtosquit (Quit: bajtos)
09:58:42  * bajtosjoined
10:22:03  * paulfryzeljoined
10:26:28  * paulfryzelquit (Ping timeout: 246 seconds)
10:46:20  * c4miloquit (Remote host closed the connection)
10:57:00  * bajtosquit (Quit: bajtos)
10:59:13  * daviddiasjoined
11:03:34  * daviddiasquit (Ping timeout: 246 seconds)
11:20:19  * hzjoined
11:22:51  * paulfryzeljoined
11:27:01  * paulfryzelquit (Ping timeout: 246 seconds)
11:36:48  * rmgjoined
11:41:31  * rmgquit (Ping timeout: 264 seconds)
12:06:03  * LeftWingquit (Remote host closed the connection)
12:06:48  * mmaleckiquit (Read error: Operation timed out)
12:10:07  * isaacsquit (Ping timeout: 264 seconds)
12:14:05  * mmaleckijoined
12:21:33  * isaacsjoined
12:23:17  * LeftWingjoined
12:23:35  * paulfryzeljoined
12:27:56  * paulfryzelquit (Ping timeout: 246 seconds)
13:00:38  * daviddiasjoined
13:05:02  * daviddiasquit (Ping timeout: 246 seconds)
13:10:09  * thlorenzjoined
13:11:29  * thlorenzquit (Remote host closed the connection)
13:16:17  * cphooverjoined
13:24:21  * paulfryzeljoined
13:27:23  * bajtosjoined
13:28:49  * paulfryzelquit (Ping timeout: 246 seconds)
13:30:43  * thlorenzjoined
13:35:06  * petka_joined
13:37:40  * rmgjoined
13:42:40  * thlorenz_joined
13:43:36  * thlorenzquit (Read error: Connection reset by peer)
13:48:00  * AvianFlujoined
13:57:52  * janjongboomquit (Ping timeout: 246 seconds)
13:59:10  * janjongboomjoined
14:04:43  * c4milojoined
14:08:50  * jmar777joined
14:22:48  * daviddiasjoined
14:25:12  * paulfryzeljoined
14:29:22  * paulfryzelquit (Ping timeout: 246 seconds)
14:34:50  * bajtosquit (Quit: bajtos)
14:35:18  * rmgquit (Remote host closed the connection)
14:36:33  * rmgjoined
14:38:39  * paulfryzeljoined
14:39:42  * bajtosjoined
14:41:02  * rmgquit (Ping timeout: 252 seconds)
14:42:11  * kenperkins_quit (Remote host closed the connection)
14:42:54  * kenperkinsjoined
14:55:51  * daviddiasquit (Remote host closed the connection)
14:56:31  * daviddiasjoined
14:58:28  * c4miloquit (Remote host closed the connection)
14:58:35  * hzquit (Ping timeout: 260 seconds)
15:00:53  * daviddiasquit (Ping timeout: 246 seconds)
15:05:17  * daviddiasjoined
15:06:08  * rmgjoined
15:06:19  * daviddiasquit (Remote host closed the connection)
15:06:42  * daviddiasjoined
15:08:56  * daviddiasquit (Remote host closed the connection)
15:09:35  * daviddiasjoined
15:11:14  * hzjoined
15:11:14  * hzquit (Changing host)
15:11:14  * hzjoined
15:12:30  * paulfryzelquit (Read error: Connection reset by peer)
15:12:58  * paulfryzeljoined
15:13:49  * daviddiasquit (Ping timeout: 246 seconds)
15:17:32  * rmgquit (Ping timeout: 255 seconds)
15:18:31  * thlorenz_changed nick to thlorenz
15:21:43  * mikealquit (Quit: Leaving.)
15:30:12  * mikealjoined
15:32:39  * hzquit (Ping timeout: 260 seconds)
15:40:55  * mikealquit (Quit: Leaving.)
15:42:31  * janjongboomquit (Ping timeout: 264 seconds)
15:43:25  * janjongboomjoined
15:48:37  <roxlu>hi guys, someone experience with a ICE/STUN/TURN client?
15:55:55  * daviddiasjoined
16:05:28  * indexzerojoined
16:12:18  * piscisaureusjoined
16:14:01  * janjongboomquit (Ping timeout: 240 seconds)
16:14:57  * janjongboomjoined
16:17:31  * rendarquit (Ping timeout: 264 seconds)
16:17:55  * kevinsimperquit (Ping timeout: 264 seconds)
16:22:11  * daviddiasquit (Remote host closed the connection)
16:22:38  * daviddiasjoined
16:26:49  * daviddiasquit (Ping timeout: 240 seconds)
16:32:26  * hzjoined
16:33:28  * rosskjoined
16:34:30  * m76quit (Ping timeout: 255 seconds)
16:38:16  * daviddiasjoined
16:40:18  * rendarjoined
16:40:20  * brsonjoined
16:41:18  * mikealjoined
16:42:05  * bajtosquit (Quit: bajtos)
16:45:37  * mikealquit (Ping timeout: 240 seconds)
16:48:18  <janjongboom>mmalecki: ping
16:49:17  * m76joined
16:51:40  * cphooverquit (Quit: Leaving.)
16:52:57  * Kakera_joined
16:58:08  * kpdecker1joined
16:58:08  * kpdeckerquit (Read error: Connection reset by peer)
17:02:28  <isaacs>tjfontaine: when's the next Node release? especially, when's the cutoff for getting a new npm landed?
17:02:34  <isaacs>tjfontaine: i'd like to push some bugfixes
17:03:49  * bradleymeckjoined
17:09:55  * piscisaureusquit (Quit: ~ Trillian Astra - www.trillian.im ~)
17:10:31  * bajtosjoined
17:11:31  <tjfontaine>isaacs: all things being equal I'd like to try and get v0.10 and v0.11 out by friday
17:12:11  <isaacs>tjfontaine: ok. i'll have an npm for you today, then?
17:13:07  <tjfontaine>isaacs: coolio -- btw I'd like to pin to minors npm like we do for our other deps
17:13:32  * eugenewarejoined
17:13:35  <bradleymeck>tjfontaine: sorry to pester, but did you come up with thoughts on the dlopen from memory problem that you can put in the issue for bundling? not going to write a linker unless thats the command from above
17:13:52  <tjfontaine>writing a linker seems out of scope
17:14:28  <tjfontaine>there are some other solutions, but few apply outside of full on bundling solutions
17:14:57  <bradleymeck>if you have links or can write them down in the issue I'll take a look sometime
17:15:08  <tjfontaine>I'm inviting the guy I was talking to before about it in here
17:17:21  <tjfontaine>indutny: can you tell me more about #7328
17:17:46  <tjfontaine>oh I see it
17:18:09  <indutny>tjfontaine: hey man
17:18:17  <indutny>is it securitytoken?
17:18:22  <tjfontaine>ya, I saw the reference
17:18:26  <indutny>ok
17:21:22  * rmustaccjoined
17:22:17  <tjfontaine>bradleymeck: rmustacc is who I was working with on the other ideas for node bundling
17:22:54  <tjfontaine>rmustacc: bradleymeck has been working on bundling and https://github.com/joyent/node/issues/7301
17:24:41  <bradleymeck>rmustacc: we meet again, tjfontaine said you had ideas on loading libraries from memory?
17:24:57  <rmustacc>Yeah, I had a few.
17:25:46  <rmustacc>The way I did a first pass at constructing the bundle was to put together a blob that consisted of a header and offsets to files, and then just concatenated the files.
17:26:17  <bradleymeck>rmustacc: mine works as a zip archive on end of executable
17:26:26  <bradleymeck>since zip has trailing header/directory
17:26:44  <rmustacc>Okay, so more or less the same concept of glomming on to the binary.
17:26:50  <bradleymeck>yup
17:26:59  <rmustacc>So, there are a few ways of dealing with those libraries.
17:27:24  <rmustacc>The simplest (but probably not the best) is to simply create a temporary file that you write the contents out to and dlopen it.
17:27:27  <rmustacc>Not great.
17:27:58  <rmustacc>illumos has a system call called mmapobj (http://illumos.org/man/mmapobj). Which basically says mmap this region of memory and interpret it as you would an ELF object.
17:28:43  <bradleymeck>yes solaris is not a problem, Mac and Windows are the main problems, in systems with /proc we can create a fd and read it off /proc
17:29:36  <rmustacc>Well, the simplest thing is the temp file.
17:29:42  <rmustacc>And then unlink it once it's been loaded.
17:30:12  <rmustacc>I'd probably also research how other systems solve this problem.
17:30:41  <rmustacc>I assume you can bundle a JNI library in a JAR and therefore Java has had to solve this problem.
17:32:21  <bradleymeck>rmustacc: looks like JNI files require file path outside of JARs so people extract... mmm
17:32:39  <rmustacc>In which case I would just write it to a tmpfile, dlopen, unlink.
17:32:58  <bradleymeck>yup
17:33:00  <rmustacc>Or see if the platforms have APIs ala mmapobj.
17:33:23  <bradleymeck>ill patch it up and see how it goes
17:33:27  <rmustacc>Which would save writing it out to some temporary file.
17:35:46  <bradleymeck>rmustacc: I think only solaris will have that in the future, Mac is removing the ability so is freebsd (by deprecating /proc)
17:38:06  <rmustacc>I didn't think they had an mmapobj-like interface(), but if they did, it wouldn't rely on /proc.
17:38:27  <bradleymeck>rmustacc: they don't but you can create a file only in process and read it off /proc
17:40:16  <rmustacc>Well, it's unfortunate that they're removing it, but unless they give us an alternative API, I'm not sure what we can really do about it.
17:40:38  * brsonquit (Ping timeout: 255 seconds)
17:42:14  * kenperkins_joined
17:44:11  * dap_joined
17:44:46  * brsonjoined
17:45:11  * mikealjoined
17:45:50  * kenperkinsquit (Ping timeout: 252 seconds)
17:50:10  <indutny>tjfontaine: wanna land some of my PRs today?
18:01:01  * janjongboomquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
18:05:02  <mmalecki>ircretary: tell janjongboom pong
18:05:02  <ircretary>mmalecki: I'll be sure to tell janjongboom
18:11:26  * Domenic___changed nick to Domenic_
18:15:35  * rmgjoined
18:18:03  * kenperkins_quit (Quit: Computer has gone to sleep.)
18:23:20  * daviddiasquit (Remote host closed the connection)
18:23:46  * daviddiasjoined
18:28:20  * daviddiasquit (Ping timeout: 255 seconds)
18:34:22  * daviddiasjoined
18:41:04  * eugenewarequit (Remote host closed the connection)
18:45:26  <bradleymeck>anyone have a good example add-on for 0.11.x, most of the examples I use don't like 0.11.x apparently
18:50:50  * AlexisMochaquit (Read error: Connection reset by peer)
18:54:32  * thlorenzquit (Remote host closed the connection)
18:54:32  * janjongboomjoined
18:54:46  <tjfontaine>bradleymeck: v8 fucked us
18:54:49  <tjfontaine>indutny: yes
18:54:57  <janjongboom>mmalecki: pong2
18:55:23  <bradleymeck>tjfontaine: they do that every other year from what I have seen
18:55:28  <tjfontaine>bradleymeck: yup
18:57:01  <bradleymeck>wondering how many attempts at getting a tmpfile we should try before giving up when creating these tmp files for add ons as well...
18:57:10  <indutny>bradleymeck: take a look at doc/api/addons.markdown
18:58:24  <bradleymeck>indutny: ? this is for bundling
18:58:40  <bradleymeck>ah for examples, I get ya
18:59:07  <bradleymeck>yea those aren't using the new internal namespace :-/
19:01:11  * kevinsimperjoined
19:03:03  * cphooverjoined
19:03:26  <mmalecki>janjongboom: yo
19:03:35  <janjongboom>mmalecki: are you 'working'?
19:03:37  <mmalecki>janjongboom: so I'm leaving on Thursday for a crazy trip with Michal
19:03:42  <janjongboom>mmalecki: hahah
19:03:49  <janjongboom>mmalecki: do I wanna know?
19:04:29  <mmalecki>janjongboom: hahahah, it's all kosher
19:04:38  <mmalecki>janjongboom: (of course as much as trip with him can be)
19:04:45  <janjongboom>mmalecki: i remember some party
19:04:55  <janjongboom>mmalecki: haha
19:05:02  <janjongboom>mmalecki: so we need to grab a beer tonight?
19:05:26  * euoiajoined
19:05:55  <mmalecki>janjongboom: today is kinda hard for me. do you want to see Amsterdam hackerspace tho?
19:06:00  <mmalecki>janjongboom: also let's take it to a PM
19:06:26  <indutny>bradleymeck: impossible
19:06:30  <indutny>bradleymeck: we have tests for them
19:06:52  <bradleymeck>mmm ill double check but got some odd errors from a copy paste
19:07:15  * thlorenzjoined
19:07:18  <tjfontaine>bradleymeck: you're getting that from the master branch?
19:08:02  <bradleymeck>tjfontaine: master branch using node-gyp --target=0.11.11
19:08:11  <bradleymeck>tjfontaine: I've probably borked something in there
19:08:15  <bradleymeck>give me a min
19:08:25  <tjfontaine>right -- well or node has two broken addon build releases
19:23:43  * euoiaquit (Ping timeout: 246 seconds)
19:25:12  * m76quit (Read error: Connection reset by peer)
19:37:35  * bajtosquit (Quit: bajtos)
19:39:44  * c4milojoined
19:45:59  * AvianFluquit (Remote host closed the connection)
19:46:28  * AvianFlujoined
19:47:10  * kenperkinsjoined
19:50:31  * jmar777quit (Ping timeout: 264 seconds)
19:51:08  * AvianFluquit (Ping timeout: 255 seconds)
20:00:04  * kellabytequit (Quit: Quit)
20:03:39  * janjongboomquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
20:04:04  * mikealquit (Quit: Leaving.)
20:10:48  * daviddiasquit (Remote host closed the connection)
20:11:22  * daviddiasjoined
20:15:42  * daviddiasquit (Ping timeout: 264 seconds)
20:19:04  * prettymuchbrycejoined
20:22:46  * kellabytejoined
20:24:19  * kellabytequit (Changing host)
20:24:19  * kellabytejoined
20:24:19  * kellabytequit (Changing host)
20:24:19  * kellabytejoined
20:24:26  <MI6>joyent/libuv: Saúl Ibarra Corretgé master * 7c5ab1a : unix, windows: add IPv6 support to uv_udp_set_membership - http://git.io/aLu5CQ
20:26:38  * rmustaccpart
20:27:51  * jmar777joined
20:29:16  * jmar777quit (Remote host closed the connection)
20:33:27  * kenperkinsquit (Read error: Connection reset by peer)
20:34:03  * kenperkinsjoined
20:34:29  * c4miloquit (Remote host closed the connection)
20:38:42  * seldojoined
20:42:20  * janjongboomjoined
20:53:46  * mikealjoined
20:57:28  * hzquit
20:57:47  * Kakera_part ("Leaving")
20:58:19  * hzjoined
21:12:02  * m76joined
21:12:49  * AvianFlujoined
21:13:46  * hz_joined
21:13:51  * hzquit (Disconnected by services)
21:13:52  * hz_changed nick to hz
21:27:18  * c4milojoined
21:27:31  * EndangeredMassajoined
21:31:16  <EndangeredMassa>I'm looking into the upcoming features of Node.js 0.12, but I can't find an api reference or example for the multicontext/vm stuff. Does anyone have a link where I can read more about how that will work?
21:41:14  * daviddiasjoined
21:46:03  * jmar777joined
21:54:52  <trevnorris>tjfontaine: so that segfault i'm running into. somehow i'm being allowed into DoRead after env_ == 0. still not sure how that's possible, but working on it.
22:03:20  <tjfontaine>trevnorris: the env is either not yet initialized, has been free'd and zero'd, or the thing calling DoRead is using the wrong vtable and thus not finding the right thing for env
22:03:51  <tjfontaine>trevnorris: if you're playing around with casting you may have gotten bit by some of C++'s "interesting" rules around casting between parents and children
22:04:23  <trevnorris>tjfontaine: ok. now, when I backtrace to the uv__read call gdb just gives me <incomplete type> for the uv_stream_t* stream variable
22:04:33  <trevnorris>no idea why that would be happening.
22:05:33  <indutny>trevnorris: use debug builds, luke :D
22:05:34  <indutny>ttyl
22:05:45  <tjfontaine>dunno, could be the great lengths we go to hide struct members in obtuse /opaque macros
22:06:06  <trevnorris>indutny: it is a debug build darth
22:07:08  <tjfontaine>trevnorris: try an explicit cast in gdb to make it work
22:07:13  <trevnorris>tjfontaine: well, that's unfortunate. but i'm only casting from a child to parent.
22:07:54  <trevnorris>tjfontaine: already tried. still nothing. I get a memory address for the pointer, but "p *(uv_stream_t *)stream" just gives <incomplete type>
22:08:31  <tjfontaine>try p *(struct uv_stream_s *)stream
22:08:59  * cphooverquit (Ping timeout: 240 seconds)
22:09:10  <trevnorris>No struct type named uv_stream_s.
22:10:57  * kenperkinsquit (Quit: Computer has gone to sleep.)
22:14:40  <trevnorris>tjfontaine: ok. i've located the operation that's causing the problem. I'm running Unwrap<AsyncWrap>(arg.Holder()); on something like a TCPWrap.
22:14:51  <trevnorris>tjfontaine: so it's doing a static_cast from child to parent
22:15:53  <trevnorris>tjfontaine: ok, and then i'm doing wrap->async_flags_ = 0; but for some reason that's actually pointing to the env_.
22:16:02  * kpdecker1quit (Quit: Leaving.)
22:22:58  * mikealquit (Quit: Leaving.)
22:23:07  <tjfontaine>http://stackoverflow.com/questions/28002/regular-cast-vs-static-cast-vs-dynamic-cast
22:23:34  * mikealjoined
22:27:18  * EndangeredMassaquit (Ping timeout: 245 seconds)
22:31:20  <roxlu>hi guys, I'm looking for a way to synchronize some data between two threads (audio callback/main thread), but don't want to a complete library for only this. So I think I can use pthread on most systems, but wondering what I should use on Windows ?
22:31:25  <trevnorris>tjfontaine: yeah. understand that. but GetAlignedPointerFromInternalField() returns a void*, which you can't dynamic_cast.
22:31:45  <tjfontaine>you can't really use dynamic_cast with us anyway, I'm pretty sure we already disable rtti
22:31:57  <trevnorris>yeah, you did
22:32:22  <tjfontaine>rtti is pretty much the plague anyway
22:32:50  <trevnorris>but what's confusing me is that when I inspect the value in gdb using "p *(TCPWrap*)wrap" it looks correct, and the value for env_ is the same as if static_cast to AsyncWrap
22:33:12  <tjfontaine>but you're using env() right?
22:33:28  * bradleymeckquit (Quit: bradleymeck)
22:33:39  <trevnorris>ah, later down the call chain yes.
22:33:53  <trevnorris>but in that operation all i'm doing is wrap->async_flags_ = 0
22:34:02  <trevnorris>ok. i'll take a look at it that way
22:34:21  <trevnorris>thanks for the help on this. the way c++ does casting confuses me.
22:34:28  <tjfontaine>this is partly why you have setters and getters because of nonsense like this -- c++ is the devil.
22:35:37  <trevnorris>heh
22:35:51  * m76quit (Read error: Connection reset by peer)
22:35:52  <trevnorris>well, wrap->env() and ((TCPWrap*)wrap)->env() returns the same value
22:38:29  <tjfontaine>it's either in your downcast or upcast that c++ is getting the wrong shifting, try with standard C casts and see if it all just works the way you want
22:39:16  * daviddiasquit (Remote host closed the connection)
22:39:28  <trevnorris>tjfontaine: dude, if I break at the site then use gdb to set the variable and continue, it doesn't segfault.
22:39:39  <trevnorris>i'm going to try compiling w/ gcc and see what happens
22:39:44  * daviddiasjoined
22:40:59  <tjfontaine>trevnorris: good now you just have to hand run every node app out there
22:41:00  <tjfontaine>:)
22:41:34  <tjfontaine>fwiw this was last night against 7145, https://github.com/tjfontaine/node/compare/al-external
22:42:04  * bradleymeckjoined
22:42:04  <tjfontaine>http://github.com/joyent/node-tracing all tests that were passing for 7145 were also passing on that branch
22:44:05  <trevnorris>cool
22:44:28  <trevnorris>oops. and my pants just caught on fire. man this thing burns hot when compiling
22:45:36  <trevnorris>ok. so gcc fails too
22:45:40  * paulfryzelquit (Remote host closed the connection)
22:46:43  * bradleymeckquit (Ping timeout: 264 seconds)
22:51:09  * rendarquit
22:52:49  <trevnorris>oh, and cantrill made a nice little jab on twitter today. :-P
23:00:21  * mitsuhikoquit (Read error: Operation timed out)
23:02:05  * indexzeroquit (Quit: indexzero)
23:04:15  <trevnorris>tjfontaine: can I assume the address of the instantiated AsyncWrap class won't change, so I can inspect the values at that address at any time while I'm stepping through the program?
23:06:24  * kpdeckerjoined
23:10:32  <tjfontaine>trevnorris: native memory like that does not change, no
23:12:47  <trevnorris>cool thanks.
23:19:44  * janjongboomquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
23:33:54  * thlorenzquit (Remote host closed the connection)
23:33:57  * sblomquit (Read error: Connection reset by peer)
23:34:12  * sblomjoined
23:36:18  * daviddiasquit (Remote host closed the connection)
23:42:49  * tumdedumquit (Ping timeout: 240 seconds)
23:44:29  * tumdedumjoined
23:46:10  * petka_quit (Quit: Connection closed for inactivity)