Re: [nodejs] node_modules/node-proxy/build/Release/nodeproxy.node: invalid ELF header]

2013-01-19 Thread Norman Khine
On Saturday, January 19, 2013 7:14:26 AM UTC+1, Luke Arduini wrote: No idea how appfog works or what os they're running for deploys, but do they install build (if necessary) dependencies for you or take what's built on your local machine? If it's the latter then it's probably the issue

[nodejs] 64 system can't complie node-v0.8.18

2013-01-19 Thread 冼建民
www:/home/kenneth/node-v0.8.18# make make -C out BUILDTYPE=Release V=1 make[1]: Entering directory `/home/kenneth/node-v0.8.18/out' flock /home/kenneth/node-v0.8.18/out/Release/linker.lock g++ -pthread -rdynamic -m64 -o /home/kenneth/node-v0.8.18/out/Release/mksnapshot -Wl,--start-group

Re: [nodejs] 64 system can't complie node-v0.8.18

2013-01-19 Thread Ben Noordhuis
On Sat, Jan 19, 2013 at 10:58 AM, 冼建民 utfqvfhpy...@gmail.com wrote: www:/home/kenneth/node-v0.8.18# make make -C out BUILDTYPE=Release V=1 make[1]: Entering directory `/home/kenneth/node-v0.8.18/out' flock /home/kenneth/node-v0.8.18/out/Release/linker.lock g++ -pthread -rdynamic -m64 -o

[nodejs] Re: Grasshopper

2013-01-19 Thread Anephenix
Hi, Apologies for hijacking this thread, but I wanted to get in touch with any Bangalore-based Node.js developers who do contracting work. There is a startup in the city who are using Dashku (an open-source Dashboard app I built), and want some custom work done with it. I can't do it because

Re: [nodejs] Running javascript code safely

2013-01-19 Thread Alexey Petrushin
Maybe I'm wrong, but isn't we loose all the performance benefits of node.js when delegating this to the system? If so - why bother with JS-related stuff at all - just use pure OS features for sandboxing and run there whatever You want - node.js or not. -- Job Board: http://jobs.nodejs.org/

Re: [nodejs] a pakage that exports few modules

2013-01-19 Thread Glenn Block
Check out utile: https://github.com/flatiron/utile It has helpers requireDir and requireDirLazy which scan for .js files and exposes an object for each file with the key being the filename. On Fri, Jan 18, 2013 at 10:27 PM, Luke Arduini lucasardu...@gmail.comwrote: Magically finding files in

[nodejs] cluster module: understanding and interfering the distribution of incoming connection to workers

2013-01-19 Thread thewilli
Hi! The node documentation of the cluster module says about incoming server connections: When multiple processes are all accept()ing on the same underlying resource, the operating system load-balances across them very efficiently. There is no routing logic in Node.js, or in your program,

Re: [nodejs] cluster module: understanding and interfering the distribution of incoming connection to workers

2013-01-19 Thread Ben Noordhuis
On Sat, Jan 19, 2013 at 7:54 PM, thewilli thewi...@googlemail.com wrote: Hi! The node documentation of the cluster module says about incoming server connections: When multiple processes are all accept()ing on the same underlying resource, the operating system load-balances across them very

Re: [nodejs] Running javascript code safely

2013-01-19 Thread Bradley Meck
Alexey, depends on the system. Long story put short: If you have persistent workers (say one per user not per request), this can be beneficial in some situations where running user code on your machines is less costly than sending things over network or for security you cannot (ie. something

[nodejs] Re: Running javascript code safely

2013-01-19 Thread Austin William Wright
I'd call this a bug, none of the context is supposed to be shared, including Function and Object. On Friday, January 18, 2013 12:15:38 PM UTC-7, Bradley Meck wrote: Austin: won't go into great detail, but heres a fun little example: ```javascript function exploit() {