00:00:00  * ircretaryquit (Remote host closed the connection)
00:00:07  * ircretaryjoined
00:04:25  <trevnorris>isaacs: been looking at some projects that use node_buffer.h. we may want to do a blog post about a couple of the changes/additions.
00:04:56  <trevnorris>isaacs: mostly the one that devs right now are doing "Local<Value>::New(Buffer:New()->handle_)"
00:05:15  <trevnorris>isaacs: when now all they'll have to do is "Buffer::New()"
00:06:09  <trevnorris>isaacs: also the addition of "Buffer::Use()". I think users use "Buffer::New()" w/o realizing it copies the data.
00:14:16  * EhevuTovquit (Quit: This computer has gone to sleep)
00:28:10  * amartensquit (Quit: Leaving.)
00:28:41  * qardquit (Quit: Leaving.)
00:29:20  * piscisaureus_joined
00:32:20  * abraxasjoined
00:34:48  * dominictarrquit (Quit: dominictarr)
00:37:07  * piscisaureus_quit (Ping timeout: 264 seconds)
00:37:18  * abraxasquit (Ping timeout: 264 seconds)
00:37:31  * TooTallNatequit (Quit: Computer has gone to sleep.)
00:39:42  * kevinswiberquit (Remote host closed the connection)
00:39:46  * inolenquit (Quit: Leaving.)
00:47:30  * piscisaureus_joined
00:51:15  * TooTallNatejoined
00:54:27  * st_lukejoined
01:17:00  * piscisaureus_quit (Quit: ~ Trillian Astra - www.trillian.im ~)
01:23:20  * TooTallNatequit (Quit: Computer has gone to sleep.)
01:31:01  * groundwaterquit (Quit: groundwater)
01:39:51  * inolenjoined
02:03:48  * hzquit
02:13:54  * TooTallNatejoined
03:11:17  * inolen1joined
03:11:19  * inolenquit (Read error: Connection reset by peer)
03:19:33  <tjfontaine>TooTallNate: btw, typed arrays are copys not references
03:19:52  <TooTallNate>tjfontaine: come again?
03:20:10  <TooTallNate>tjfontaine: you mean since that commit?
03:20:10  <tjfontaine>if I understood your comment on that arraybuffer issue
03:20:17  <tjfontaine>the spec says they're copys
03:20:44  <tjfontaine>they're supposed to be memset or memcpy'd
03:21:19  <TooTallNate>tjfontaine: all i know is i was able to use ArrayBuffer and Buffer interchangeably before, but now that's not the case
03:21:33  <TooTallNate>when it comes to typed array views that is
03:22:16  <tjfontaine>I'll re-read, trevnorris knows more about this, but I'm fairly positive the spec says they're supposed to copy into place
03:22:35  <TooTallNate>tjfontaine: well the spec doesn't say anything about Buffer objects, since they're a node thing
03:23:03  <TooTallNate>tjfontaine: i'm just saying that i would want ArrayBuffer and Buffer to be interchangeable when it comes to `new Uint8Array(buffer)`
03:23:16  <TooTallNate>ship has probably sailed though :\
03:23:52  <tjfontaine>right I understand what you want, but I am fairly positive this changed because that's how the spec defined it
03:24:09  <TooTallNate>why would it do a copy for a view?
03:24:12  <TooTallNate>i don't think that's correct
03:24:38  <tjfontaine>well hopefully soon we'll be able to use the v8 implementation
03:24:44  <tjfontaine>so we can just blame them
03:25:11  <TooTallNate>tjfontaine: i don't think you and i are on the same page right now :p
03:25:15  <tjfontaine>k
03:25:43  <TooTallNate>tjfontaine: you're saying `b = new ArrayBuffer(8); view = new Uint8Array(b)`
03:25:51  <TooTallNate>tjfontaine: view.buffer will NOT be === b?
03:25:56  <TooTallNate>it'll be a copy instead
03:26:18  <tjfontaine>that was my understanding, I could very well be wrong
03:26:26  <TooTallNate>ya i don't think that's the case
03:26:33  <TooTallNate>it's also not what that commit is doing
03:26:53  <TooTallNate>it's just transforming Buffer instances into ArrayBuffer instances (yes, a copy) for the view.buffer
03:27:23  <TooTallNate>but only when it's a Buffer, not an ArrayBuffer
03:28:52  <TooTallNate>Chrome seems to disagree at least
03:38:41  <tjfontaine>I guess they're interpreting a Buffer as a UInt8Array in that regard and conforming to
03:38:44  <tjfontaine>TypedArray(TypedArray array)
03:38:46  <tjfontaine>TypedArray(type[] array)
03:38:49  <tjfontaine>Create a new ArrayBuffer with enough bytes to hold array.length elements of this typed array, then creates a typed array view referring to the full buffer. The contents of the new view are initialized to the contents of the given array or typed array, with each element converted to the appropriate typed array type.
03:39:32  <tjfontaine>I'm not sure there's a way to make everyone happy on this, other than I think copy's should be explicit operations :)
03:40:31  <tjfontaine>just to be clear, I'm not an advocate of the behavior, for the most part I'm not fond of the typedarray spec and prefer how node buffers work
04:11:01  * c4miloquit (Remote host closed the connection)
04:20:34  * st_lukequit (Read error: Connection reset by peer)
04:21:13  * st_lukejoined
04:44:45  * benoitcquit (Excess Flood)
04:48:19  * benoitcjoined
04:53:59  * kazuponjoined
05:03:54  * inolen1quit (Ping timeout: 252 seconds)
05:06:14  * inolenjoined
06:29:24  <trevnorris>TooTallNate: you still around?
06:39:28  * rendarjoined
07:14:00  * inolenquit (Quit: Leaving.)
07:18:51  * stolsmajoined
07:22:17  * inolenjoined
07:49:28  * dominictarrjoined
07:49:38  * st_lukequit (Remote host closed the connection)
07:50:14  * st_lukejoined
08:35:50  * bnoordhuisjoined
08:55:45  * kazuponquit (Remote host closed the connection)
09:05:00  * bnoordhuisquit (Ping timeout: 264 seconds)
09:05:28  * dominictarrquit (Quit: dominictarr)
09:24:27  * stagasjoined
09:25:12  * benoitcquit (Excess Flood)
09:33:26  * benoitcjoined
10:11:09  * bnoordhuisjoined
10:18:42  * bnoordhuisquit (Ping timeout: 264 seconds)
10:33:15  * stagas_joined
10:35:34  * stagasquit (Ping timeout: 256 seconds)
10:35:39  * stagas_changed nick to stagas
10:45:44  * st_lukequit (Remote host closed the connection)
11:06:08  * piscisaureus_joined
11:46:41  * bnoordhuisjoined
11:54:09  * stagasquit (Read error: Connection reset by peer)
11:56:53  * bnoordhuisquit (Ping timeout: 248 seconds)
12:37:33  * dominictarrjoined
12:44:30  * luigyquit (Ping timeout: 256 seconds)
13:23:38  * saghul_joined
13:41:12  * txdvquit (Ping timeout: 272 seconds)
13:44:50  * txdvjoined
14:03:19  * saghul_quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
14:13:36  * piscisaureus_quit (Read error: Operation timed out)
14:34:24  * abraxasjoined
14:39:12  * abraxasquit (Ping timeout: 264 seconds)
14:46:26  * pachetjoined
15:49:14  * pachetquit (Ping timeout: 256 seconds)
16:09:13  * pachetjoined
16:12:11  * pachetquit (Client Quit)
16:29:14  * saghul_joined
16:34:39  * abraxasjoined
16:36:37  * luigyjoined
16:38:35  * kevinswiberjoined
16:39:22  * abraxasquit (Ping timeout: 256 seconds)
16:45:48  * luigyquit (Quit: ZNC - http://znc.in)
16:46:47  * luigyjoined
16:49:48  * saghul_quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
16:58:14  * stagasjoined
16:59:57  * normanmjoined
17:04:16  * saghul_joined
17:09:00  * saghul_quit (Client Quit)
17:14:46  * kevinswiberquit (Remote host closed the connection)
17:34:57  * bnoordhuisjoined
18:01:44  * kevinswiberjoined
18:02:10  * TooTallNatequit (Quit: Computer has gone to sleep.)
18:03:26  * c4milojoined
18:04:34  * piscisaureus_joined
18:05:43  * TooTallNatejoined
18:07:54  * kevinswiberquit (Remote host closed the connection)
18:19:49  * bnoordhuisquit (Ping timeout: 248 seconds)
18:20:52  * inolenquit (Quit: Leaving.)
18:24:44  * AvianFluquit (Remote host closed the connection)
18:27:14  * inolenjoined
18:27:42  * piscisaureus_quit (Ping timeout: 264 seconds)
18:27:52  * c4miloquit (Read error: Connection reset by peer)
18:28:04  * c4milojoined
18:58:29  * TooTallNatequit (Quit: Computer has gone to sleep.)
19:00:28  * piscisaureus_joined
19:12:23  * c4miloquit (Read error: Connection reset by peer)
19:12:44  * c4milojoined
19:14:02  * normanmquit (Quit: Computer has gone to sleep.)
19:26:05  * bnoordhuisjoined
19:29:08  * stolsmaquit (Ping timeout: 252 seconds)
19:34:07  * bnoordhuisquit (Ping timeout: 268 seconds)
19:39:18  * inolenquit (Quit: Leaving.)
19:47:48  * piscisaureus_quit (Ping timeout: 276 seconds)
19:54:10  * saghul_joined
19:54:30  * saghul_quit (Client Quit)
19:57:03  * inolenjoined
19:58:15  * c4miloquit (Remote host closed the connection)
20:05:09  * isaacs_mobilejoined
20:14:24  * brsonjoined
20:20:46  * isaacs_mobilequit (Remote host closed the connection)
20:35:17  * abraxasjoined
20:39:32  * abraxasquit (Ping timeout: 246 seconds)
20:51:48  * isaacs_mobilejoined
20:57:08  * hueniversejoined
20:57:50  * hueniversepart
21:01:23  * isaacs_mobilequit (Remote host closed the connection)
21:02:04  * kenperkinsjoined
21:12:30  * rendarquit
21:30:20  * russell_hpart
22:14:01  * defunctzombie_zzchanged nick to defunctzombie
22:24:18  * st_lukejoined
22:35:00  * st_lukequit (Remote host closed the connection)
22:35:36  * abraxasjoined
22:40:14  * abraxasquit (Ping timeout: 255 seconds)
22:42:57  * c4milojoined
22:46:56  * stagasquit (Quit: ChatZilla 0.9.90-rdmsoft [XULRunner 1.9.0.17/2009122204])
23:34:23  * defunctzombiechanged nick to defunctzombie_zz
23:58:24  * c4miloquit (Remote host closed the connection)