00:40:05  * xaqquit (Read error: Connection reset by peer)
00:40:26  * xaqjoined
00:44:11  * mritzquit (Quit: Computer has gone to sleep.)
00:44:26  * C-Manquit (Quit: Connection reset by beer)
00:50:30  * joshthecoderquit (Quit: Linkinus - http://linkinus.com)
01:57:30  * stamphoquit (*.net *.split)
01:57:31  * im0bquit (*.net *.split)
01:58:38  * mritzjoined
02:15:46  * stamphojoined
02:15:46  * im0bjoined
02:16:04  * sanjoydquit (Changing host)
02:16:04  * sanjoydjoined
02:16:26  * joshthecoderjoined
04:43:48  * [[zzz]]joined
04:46:31  * [[zz]]quit (Read error: Operation timed out)
05:40:52  * xaqquit (Remote host closed the connection)
06:53:17  * joshthecoderquit (Quit: Linkinus - http://linkinus.com)
07:12:10  * lamefunjoined
07:12:19  <lamefun>why does v8 lack documentation?
07:12:55  <lamefun>Where is API reference?
07:28:18  * rendarjoined
08:17:02  * [[zzz]]changed nick to [[zz]]
09:15:17  * eohjoined
09:16:32  * eoh|quit (Ping timeout: 250 seconds)
09:34:53  * C-Manjoined
09:40:45  * mritzquit (Quit: Computer has gone to sleep.)
10:07:43  * lamefunquit (Quit: TODO: Put some wise philosophical statement here.)
10:56:17  * Net147joined
11:07:25  * eohquit (Read error: Connection reset by peer)
11:07:40  * eohjoined
11:11:22  * fdmananajoined
11:20:24  * Net147quit (Quit: I love my HydraIRC -> http://www.hydrairc.com <-)
11:25:59  * Orion-joined
11:26:07  <Orion->hello people
11:26:27  <Orion->anyone care to explain how to get a NaN in V8 ?
11:28:02  <Orion->I'm trying,g to return an object instance in which a property may be a NaN
11:29:29  <Orion->WhaoOooO #v8 is not as fast as google claims it :)~
11:30:18  <dmilith>Orion-: how about isnan() ?
11:31:12  <Orion->well checking is not my primary concern here. First I'd like to make a Number that reports to be NaN in my javascript exported object
11:31:46  <dmilith>maybe try NaN as a value?
11:31:56  <Orion->Doesn't compile
11:32:12  <Orion->It needs to be defined somewhere
11:32:26  <dmilith>return v8::String::New("NaN");
11:32:27  <Orion->And I can't see where
11:32:41  <dmilith>try this one
11:32:50  <Orion->dmilith: that's what I did first but it's a String
11:33:30  <dmilith>try switching to Number maybe
11:34:08  <Orion->You mean casting it to Number ?
11:34:16  <dmilith>but theoretically there's nothing like NaN
11:34:19  <dmilith>in Number
11:35:17  <dmilith>a number value canot hold NaN string right?
11:35:59  <dmilith>maybe it's just virtual call to object which contains number but also can hold a "NaN" string as a number?
11:36:12  <dmilith>I don't know, that's how I'd do it
11:36:34  <dmilith>and that's why isnan() will check for that value
11:36:41  <Orion->in javascript typeof NaN === 'number'
11:36:48  <dmilith>yes
11:36:57  <dmilith>that's what I'm saying.
11:37:18  <dmilith>but in js it's something bit different
11:37:25  <dmilith>I'm just looking on C++ side
11:38:02  <Orion->I think it will be very simple to someone who already did this once :)
11:38:49  <Orion->I did try the casting but it did not work
11:39:24  <dmilith>casting isn't the case
11:39:43  <dmilith>I think you should use v8 internal types for numbers
11:40:18  <Orion->and also v8::Value doesn't have a test for isnan()
11:40:33  <dmilith>maybe this number boxing is reason why number operations are slow in node ;]
11:41:12  <dmilith>IsNumber()
11:41:17  <dmilith>look here: http://v8.googlecode.com/svn-history/r8701/branches/bleeding_edge/src/extensions/experimental/number-format.cc
11:41:35  <dmilith>find this line: "return v8::String::New("NaN");"
11:42:15  <dmilith>it boxes number value with whole v8 object container or sth like that (it's first time I see this ;P I'm really speculating)
11:42:18  <dmilith>but it's logical
11:44:09  <Orion->It's just a String
11:44:30  <dmilith>yes
11:44:35  <Orion->I mean it's not the *right* thing
11:45:01  <dmilith>internally.. it's just a value for a object which isn't proper number
11:45:02  * Net147joined
11:45:51  <dmilith>so object Number internally isn't holding number in such case, but still has type of number right?
11:46:11  <dmilith>"Infinity" is internally a string too
11:46:26  <dmilith>> 0/0
11:46:26  <dmilith>NaN
11:46:52  <dmilith>in C it will throw an exception cause it cannot hold value of not a number
11:47:10  <dmilith>in v8 it's just a value.. and it's string even in number.
11:47:13  <dmilith>;]
11:47:14  <dmilith>fun
11:48:58  <dmilith>Orion-: I suggest doing a math operations in your extension, after which just convert it to v8::Number
11:49:09  <dmilith>and it will wrap NaN thing itself
11:49:36  <Orion->Like Number::New(0/0) ?
11:49:38  <dmilith>I mean: in C++ you're supposed to operate on numbers as primitives
11:49:41  <dmilith>yea
11:49:52  <Orion->mmm
11:49:58  <Orion->let me try
11:49:58  <dmilith>in v8 level it's just a virtual thing, an object
11:50:02  <dmilith>wrapped around your number
11:50:37  <dmilith>(hope that some v8 guru wont kill me for any kind of herecy ;D)
11:50:46  <dmilith>heresy*
11:51:03  <Orion->I got it
11:51:08  <Orion->Tadaaaaa
11:51:14  <Orion->It's weird
11:51:19  <Orion->look at this:
11:51:21  <Orion->Number::New(String::New("NaN")->NumberValue())
11:52:00  <dmilith>;]
11:52:10  <dmilith>hope I helped some way
11:52:20  <Orion->It really is Not a Number thought :)
11:53:26  <Orion->thanks for fiddling with me :)
11:54:21  <dmilith>n/p
11:54:29  <Orion->I'm writing an RRD module for node
11:54:41  <dmilith>it's interesting topic. I'm eager to see some comment about what I said. I might be wrong
11:54:42  <Orion->NaN is often seen in red world
11:54:52  <Orion->rrd
11:54:57  <Orion->s/red/rrd
11:55:11  <dmilith>rrd sucks cause not supporting strings ;P
11:55:47  <Orion->rrd is great
11:56:05  <Orion->for what it is meant for
11:56:33  <dmilith>anyway.. good luck, fighting with Your extension
11:57:10  <Orion->concerning 0/0, it doesn't compile
11:57:26  <Orion->which is no surprise to me
11:58:05  <Orion->well it compiles sorry but with the warning
11:58:19  <dmilith>are You using clang?
11:58:46  <Orion->is node-waf using it ?
11:58:58  <dmilith>node-waf is deprecated AFAIK
11:59:08  <dmilith>they're using gyp since 0.8 IIRC
11:59:21  <Orion->don't know
11:59:42  <Orion->I'm fairly new to node native building stuff
11:59:49  <dmilith>better check it out. http://blog.nodejs.org/2012/06/25/node-v0-8-0/
11:59:55  <Orion->I just got into it this morning
11:59:57  <dmilith>"BUILD SYSTEM" part
12:00:33  <Orion->google has lead me to tutorials using node-waf
12:00:43  <Orion->blame google ! :)
12:00:55  <dmilith>yea, but I can learn something, dealing with your problem
12:01:19  <dmilith>node-waf was/is used on node =< 0.6
12:01:25  <dmilith>in 0.8 it will work
12:01:35  <dmilith>but probably not in new releases
12:01:45  <dmilith>but it's better to ask isaacs
12:02:36  <Orion->I have node 0.8.1 and I'm using waf
12:03:03  <dmilith>Orion-: did You see: https://github.com/alertedsnake/node-rrdtool ?
12:03:39  <Orion->Nop
12:03:44  <Orion->Let me check
12:03:52  <Orion->It's not native
12:04:08  <dmilith>yes
12:04:12  <dmilith>unfortunatelly
12:04:21  <Orion->It reminds me of javascript-rrd
12:04:32  <Orion->same binary file reading stuff
12:04:38  <dmilith>yes
12:04:55  <dmilith>it won't be as fast as in C when doing much math operations
12:05:06  <Orion->it will break if red updates it's binary formats
12:05:16  <Orion->rrd
12:05:29  <dmilith>yup
12:05:31  <Orion->damn corrector
12:05:45  <dmilith>turn it off in system preferences
12:05:47  <dmilith>;]
12:05:50  <Orion->:)
12:06:18  * joeandaverdejoined
12:06:39  <Orion->I have to go. Thanks and see you later.
12:06:59  <dmilith>cu
12:07:05  * Orion-quit (Quit: Orion-)
12:07:17  * hij1nxjoined
12:24:29  * stamphoquit (Ping timeout: 240 seconds)
12:37:44  * stamphojoined
13:06:43  * hij1nxquit (Quit: hij1nx)
13:09:52  * joeandaverdequit (Quit: joeandaverde)
13:31:59  * adalgisojoined
13:32:13  * adalgisopart
13:57:57  * Net147quit (Quit: HydraIRC -> http://www.hydrairc.com <- Wibbly Wobbly IRC)
14:18:23  * fdmananaquit (Quit: Leaving)
14:27:32  * xaqjoined
14:50:03  * mritzjoined
14:56:51  * mralephjoined
15:07:59  * hij1nxjoined
15:22:17  * hij1nxquit (Read error: No route to host)
15:22:57  * hij1nxjoined
15:43:39  * TheJHjoined
15:50:53  * hij1nxquit (Quit: hij1nx)
16:17:13  * hij1nxjoined
16:19:33  * hij1nxquit (Read error: Connection reset by peer)
16:29:44  * hij1nxjoined
16:38:30  * RT|Chatzillaquit (Quit: ChatZilla 0.9.86.1 [Firefox 2.0.0.22pre/2009081014])
16:54:47  * hij1nx__joined
16:55:22  * hij1nxquit (Read error: Connection reset by peer)
16:55:22  * hij1nx__changed nick to hij1nx
17:11:30  * joshthecoderjoined
17:18:08  * hij1nxquit (Quit: hij1nx)
17:36:55  * hij1nxjoined
18:13:09  * jroessleinjoined
18:13:10  * joshthecoderquit (Read error: Connection reset by peer)
18:31:28  * hij1nxquit (Quit: hij1nx)
18:41:44  * mritzquit (Quit: Computer has gone to sleep.)
18:45:31  * joshthecoderjoined
18:45:49  * jroessleinquit (Read error: Connection reset by peer)
18:59:05  * xan_quit (Quit: leaving)
20:00:20  * rerntzdbjoined
20:01:48  <rerntzdb>is there a good way to interrupt a v8 instance while it is running javascript code?
20:56:25  * mritzjoined
21:26:43  * joshthecoderquit (Quit: Leaving...)
21:54:04  * joeandaverdejoined
21:57:26  * joeandaverdequit (Read error: No route to host)
21:57:55  * rendarquit
22:12:21  * decoderquit (Ping timeout: 264 seconds)
22:14:52  * TheJHquit (Ping timeout: 255 seconds)
22:23:09  * decoderjoined
22:32:31  * mralephquit (Quit: Leaving)
22:37:31  * mritzquit (Quit: Computer has gone to sleep.)
22:47:26  * joshthecoderjoined
22:48:34  * xaqquit (Remote host closed the connection)
23:10:25  * CodeWarjoined
23:11:12  <CodeWar>when running the V8 testsuite, do we reuse the same codecache after each subtest or use different chunks of memory and collect later
23:12:04  <CodeWar>I m looking at compilation-cache.h is that the right placeholder for code that controls CodeCache memory allocation. Thanks
23:49:18  * CodeWarquit (Quit: Leaving)
23:50:33  * RT|Chatzillajoined