Mochabot log - CommonJS IRC channel: #commonjs on irc.freenode.net

2010-05-11:

[2:26] <Dantman> Tch, too much js... I typed exports(":", $hash); instead of explode(":", $hash); when programming
[14:32] <Wes--> so
[14:33] <Wes--> should changing require.paths affect require.paths in other worker threads?
[14:33] <Wes--> I'm thinking, "No" - that is a covert communication channel
[14:33] <Wes--> I guess the require memo is also divorced on a per-worker basis too
[14:57] <sworkz> hi everyone
[14:57] <sworkz> just wonderin if anyones ever had a problem where ie randomly doesn't load certain js files
[14:58] <sworkz> for no apparent reason, works fine on refresh (sometimes)
[19:15] * kuya twiddles his thumbs
[19:20] <Wes--> kuya: if you're bored, you should hack on gpsee!
[19:21] <kuya> :]
[19:21] <kuya> iv been thinking about going back to that stuff after a major sideline of jsgi
[19:29] <kuya> also with the ctypes in ff... gpsee doesnt give me much :(
[19:33] <Wes--> kuya: Sorry, I won't support passing entire structs on the stack unless you want to write the code
[19:33] <Wes--> (It's just not a feature I'll ever need)
[19:33] <Wes--> OTOH, you could use the jsctypes code instead if you want
[19:34] <Wes--> The only problem there is you lose the portability guarantees, which is less of a big deal when you're not dealing with reflecting libc
[19:34] <kuya> yea thats ok - dont you remember i also wanted to compile gpsee into firefox? all in all just using firefox ctypes is alot easier
[19:34] <Wes--> Portability and castability to CommonJS types
[19:34] <Wes--> kuya: You realize that I have the same JS engine as firefox?
[19:34] <kuya> yup
[19:35] <Wes--> So, how is it easier?
[19:35] <kuya> because id need to work out how to compile the two together?
[19:35] <kuya> i wanted xul + ffi
[19:35] <Wes--> Wait, you want to run CommonJS programs inside firefox?
[19:36] <kuya> nope - this was entirely seperate thing - i only found commonjs looking afterwards
[19:36] <kuya> which lead me to jsgi
[19:36] <kuya> which lead me to ...
[19:36] <kuya> :]
[19:36] <Wes--> Okay, then I am thoroughly confused
[19:36] <Wes--> but that's okay, lol
[19:36] * Wes-- goes back to working on his debugger
[19:37] <kuya> commonjs has nothing to do with what i wanted when i came to you a few months ago ^_^
[19:40] <kuya> i have 3 goals in life, to make a kick ass window manager, text editor, and multiplayer-online-space-game
[19:40] <kuya> :)
[19:40] <Wes--> hmm
[19:40] <Wes--> sounds like you should be hanging out in #emacs
[19:40] <Wes--> ;p
[19:40] <kuya> lol
[19:41] <kuya> doesnt run in a browser and can i use js to script it?
[19:41] <Wes--> no, no, write the browser in emacs lisp
[19:41] <kuya> ofcourse!
[19:41] <kuya> ;)
[19:42] <kuya> if its not python or js im not very interested

 

 

Logs by date :