01:02:02  * bnoordhuisjoined
01:06:23  * bnoordhuisquit (Ping timeout: 246 seconds)
04:28:45  * werle1quit (Quit: Leaving.)
05:17:50  * c4miloquit (Remote host closed the connection)
06:46:31  * shm_changed nick to shm
07:00:06  * muellijoined
07:22:04  * Lethalmanjoined
08:09:27  * muelliquit (Remote host closed the connection)
08:50:03  * C-Manjoined
09:03:23  * mralephquit (Read error: Operation timed out)
09:03:47  * mralephjoined
09:14:49  * Chiffon35quit (Quit: Quitte)
09:35:12  * Lethalmanquit (Read error: No route to host)
09:36:37  * Lethalmanjoined
10:19:14  * abraxasjoined
10:23:20  * abraxasquit (Remote host closed the connection)
11:21:51  * fijaljoined
11:21:53  <fijal>mraleph: hi
11:34:46  * Lethalmanquit (Ping timeout: 240 seconds)
12:10:39  * Lethalmanjoined
12:16:09  * werlejoined
12:22:16  * fijalquit (Ping timeout: 246 seconds)
12:44:10  * fijaljoined
13:06:10  * c4milojoined
13:10:31  * Alex_Gaynorquit (Changing host)
13:10:31  * Alex_Gaynorjoined
13:11:31  * c4miloquit (Remote host closed the connection)
13:30:47  * carifquit (Quit: Ex-Chat)
13:38:25  <werle>hey where is the source for `v8::Exception::Error` ?
13:49:48  * C-Manquit (Quit: Connection reset by beer)
13:51:46  <Lethalman>werle, src/api.cc
13:51:57  <werle>Lethalman: thank you
13:52:07  * fijalpart ("Leaving")
13:52:09  <Lethalman>git grep Exception::Error
13:56:03  * c4milojoined
13:57:08  <werle>Lethalman: thanks for sharing
13:57:32  * c4miloquit (Remote host closed the connection)
14:02:11  * c4milojoined
14:03:44  * c4miloquit (Remote host closed the connection)
14:04:35  * c4milojoined
14:36:00  * c4miloquit (Remote host closed the connection)
14:39:50  * asrailjoined
14:54:28  * nierobquit (Remote host closed the connection)
15:03:42  * c4milojoined
15:07:40  <werle>whats the best way to read a function from a .js file and assign it to a `PrototypeTemplate` ?
15:33:40  * c4miloquit (Remote host closed the connection)
15:34:55  * c4milojoined
15:36:46  * juanjosanchezjoined
15:57:32  * werlequit (Quit: Leaving.)
16:01:22  * asrailquit (Ping timeout: 276 seconds)
16:16:52  * bnoordhuisjoined
16:33:55  * C-Manjoined
16:37:55  * Lethalmanquit (Remote host closed the connection)
16:38:57  * werlejoined
16:41:52  * c4milo_joined
16:42:49  * werle1joined
16:50:58  * werlequit (*.net *.split)
16:50:58  * c4miloquit (*.net *.split)
16:52:23  * RT|Chatzillaquit (Quit: ChatZilla 0.9.86.1 [Firefox 2.0.0.22pre/2009081014])
16:55:20  * c4milo_quit (Remote host closed the connection)
16:56:05  * c4milojoined
17:15:16  * bnoordhuisquit (Ping timeout: 240 seconds)
17:38:30  * c4miloquit (Remote host closed the connection)
17:53:33  * jonaslundjoined
18:14:36  * Lethalmanjoined
19:18:57  * Lethalmanquit (Read error: Connection reset by peer)
19:50:35  * jmar777joined
20:14:46  * _rolandjoined
20:15:24  <_roland>Hi all, I embedded v8 in my program, and now I'm trying to implement module loading support.
20:15:45  <_roland>Basically I want to create a require() function which is to be availalbe in the global object
20:16:13  <_roland>I got this function, and it loads a file, compiles it, and runs the script, and then caches the resulting value using a persistent handle
20:16:35  <_roland>this is what I then return the next time the require function is called for the same module.
20:17:15  <_roland>however, I'm apparently not doing it right, since the "this" reference inside the module code doesn't seem to point to the right object in between calls
20:17:42  <_roland>I'm suspecting this is because the context is different between the different usages of the handle
20:18:21  <_roland>I'm wondering if somebody can confirm that, and point to the right way to implement reusable module support.
20:20:13  <werle1>_roland: I think it has to do with your current context you have entered
20:20:31  * werle1quit (Quit: Leaving.)
20:20:48  * werlejoined
20:21:08  <werle>_roland: I'm still very new but I think that may be it
20:21:17  * bnoordhuisjoined
20:21:21  <_roland>werle: yes, that's what i suspect too. is there a way to somehow hoist the object into another context than the one in wich it was created? or is that a bad idea?
20:23:21  <_roland>werle: I'm looking at https://developers.google.com/v8/embed#contexts
20:23:53  <werle>_roland: are you using `v8::Script::Compile` ?
20:24:00  <_roland>werle:lemme check...
20:24:27  <_roland>v8::Script::Compile(source)
20:24:32  <_roland>so, yes.
20:25:52  <werle>so I think you can declare a new context and enter it before executing that function
20:25:56  <werle>and exit after
20:26:08  <werle>according to the above link
20:26:12  <werle>when you exit context B
20:26:18  <werle>you should automatically enter A
20:26:25  <werle>unless I've misunderstood
20:27:01  <_roland>werle: yeah i was hoping the stuff i created in context a would be available in context b...but the doc isn't very clear on that.
20:27:15  <_roland>or maybe I didn't read closely enough
20:27:49  <werle>did you create a context before executing `Compile` ?
20:28:03  <_roland>werle: yes.
20:28:13  <_roland>werle: maybe I should just try
20:28:24  <_roland>try to create one context up front which I enter to compile the modules
20:28:52  <_roland>and then one context each time a thread wants to execute some js, and enter its own context to do that
20:29:58  <werle>sounds like a good plan
20:30:12  * jmar777quit (Remote host closed the connection)
21:32:32  * carifjoined
21:37:59  * bnoordhuisquit (Ping timeout: 259 seconds)
22:10:37  * jonaslund_joined
22:13:03  * jonaslundquit (Ping timeout: 240 seconds)
22:13:16  * jonaslund_changed nick to jonaslund
22:39:42  * rickytaylor26quit (Read error: Connection reset by peer)
22:39:42  * ricky26joined
22:44:27  * bnoordhuisjoined
22:48:08  * RT|Chatzillajoined
22:48:58  * bnoordhuisquit (Ping timeout: 245 seconds)
23:10:19  * C-Manquit (Quit: Connection reset by beer)
23:10:38  * carifquit (Ping timeout: 240 seconds)
23:10:39  * werlequit (Quit: Leaving.)