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

2010-03-09:

[0:08] <ashb> kriskowal: git subtree
[0:08] <ashb> and recommend is a bit strong, more 'I know about'
[0:08] <ashb> http://github.com/apenwarr/git-subtree
[21:37] <kuya> hello, is there a commonjs module for launching processes?
[21:38] <Wes--> kuya: no proposal has been put forward
[21:38] <Wes--> GPSEE has a proprietary way to do that, what platform are you on?
[21:39] <kuya> oh im just thinking
[21:39] <kuya> thanks tho
[21:39] <Wes--> I actually use our stuff to log in to multiple machines over ssh, collect stats, and generate reports. Nifty. :)
[21:40] <kuya> nice :)
[21:41] <kuya> can i ask a possibly dumb question as i have you attention?
[21:41] <Wes--> sure
[21:41] <kuya> do any of the js interpreters support something like python ctypes or swig for easy bindings to c libs?
[21:42] <Wes--> GPSEE does :)
[21:42] <kuya> ah :)
[21:42] <kuya> what does GPSEE call that?
[21:42] <Wes--> It's the gffi module
[21:42] * kuya finds GFFITutorial
[21:43] <Wes--> Current focus of that module is provide excellently-portable access to everything [reasonable] defined by SUSv3
[21:43] <Wes--> kuya: Unfortunately, docs need work. :(
[21:43] <kuya> no docs is half the fun isnt it?
[21:43] <Wes--> Yeah, lol
[21:43] <Wes--> http://code.google.com/p/gpsee/source/browse/modules/fs-base/fs-base.js
[21:43] <Wes--> kuya ^^^ written with gffi
[21:44] <kuya> that is very cool.
[21:44] <Wes--> Can also pull symbols out of non-libc DSOs, foreign header constants and foreign structs are doable but a little trickier (I need to write some scaffolding to make it easy)
[21:44] <Wes--> But IIRC python ctypes doesn't give you those for free either
[21:45] <kuya> can gpsee use any gui libs currently?
[21:45] <Wes--> kuya: "can" - sure - "been done" - no
[21:45] <kuya> fair enough
[21:45] <Wes--> My focus is more systems oriented, but I *am* interested people doing GUI work
[21:46] <Wes--> There is a spidermonkey package for ... GTK or OpenGL? ... which isn't at all like ctypes, but wraps one of those two GUI libs. (I forget which)
[21:46] <Wes--> Could probably be made to interoperate with GPSEE without major hassle
[21:48] <kuya> what is the relation between spidermonkey and gpsee?
[21:49] <Wes--> kuya: spidermonkey is the underlying javascript engine (same one as firefox) -- GPSEE is a CommonJS platform and/or a shim between spidermonkey and a spidermonkey-using product that wants GPSEE's extra functionality
[21:49] <kuya> does that mean someone could build xulrunner with gpsee ?
[21:50] <Wes--> kuya: yes
[21:50] <kuya> woo!
[21:50] <kuya> "can" - sure - "been done" ? :)
[21:50] <Wes--> Mind you, it's never been done, but if somebody tries, I will offer help!
[21:51] <Wes--> But, the technique is sound.
[21:51] <kuya> wow
[21:51] <kuya> youve solved about 3 weeks of evening searches in 15 mins :)
[21:51] <Wes--> You're welcome! ;)
[21:53] <kuya> yes thanks Wes-- - ill play with gpsee a little and may take you up on some help compiling with xulrunner
[21:54] <Wes--> kuya: Sure, I'm around EST business hours, often more

 

 

Logs by date :