Re: [nodejs] Cluster question

2014-12-16 Thread Ryan Graham
Can you share how you accomplished this? (in code, if possible.. JS is way better than English with the diversity of backgrounds and native languages seen on this list) I'm not aware of a JS level API in node core that provides what you described, so like Sam, I assumed you meant a busy loop which

Re: [nodejs] Re: 0.12 intro?

2014-12-16 Thread Fedor Indutny
Sam, This overview is clearly missing lots of TLS and Crypto stuff, probably even more in other fields. On Wed, Dec 17, 2014 at 11:13 AM, Simon wrote: > > ES6 Arrow functions? I get tired of writing .bind(this) all the time. > > > On Tuesday, December 16, 2014 11:21:27 AM UTC-8, // ravi wrote: >

Re: [nodejs] Cluster question

2014-12-16 Thread Ω Alisson
Well I did it and the CPU is running at 0.2% On Tue, Dec 16, 2014 at 11:22 PM, Sam Roberts wrote: > > On Wed, Dec 10, 2014 at 8:15 PM, Ω Alisson wrote: > > Interesting Sam, but what if I set a flag that is checked every > > process.nextTick > > You will eat 100% CPU, rather than waiting on event

[nodejs] Re: 0.12 intro?

2014-12-16 Thread Simon
ES6 Arrow functions? I get tired of writing .bind(this) all the time. On Tuesday, December 16, 2014 11:21:27 AM UTC-8, // ravi wrote: > > > > Rather than the more common “please sir may I have some 0.12?”, I want to > ask if anyone better informed than I am wants to take a shot, for the > edific

[nodejs] Re: A module to generate documentation for your node.js application

2014-12-16 Thread jo cl
If anybody is interested in contributing or have comment, they can write to me at jugl...@hotmail.com -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Post

[nodejs] Re: is the debug node binary supposed to work?

2014-12-16 Thread Matt Ginzton
> > I could not reproduce this issue. How did you get the source for node > (GitHub clone and if so which branch/tag did you checkout, source tarball, > other)? Also, which OS did you use to run node? > I cloned the github repo, checked out the v0.10.33-release branch, did `./configure --debug

Re: [nodejs] Cluster question

2014-12-16 Thread Sam Roberts
On Wed, Dec 10, 2014 at 8:15 PM, Ω Alisson wrote: > Interesting Sam, but what if I set a flag that is checked every > process.nextTick You will eat 100% CPU, rather than waiting on event from the master saying that its time to go away, and being able to do the cleanup you want: > suspends redis

Re: [nodejs] 0.12 intro?

2014-12-16 Thread Sam Roberts
On Tue, Dec 16, 2014 at 11:20 AM, // ravi wrote: > Rather than the more common “please sir may I have some 0.12?”, I want to ask > if anyone better informed than I am wants to take a shot, for the edification > of the list, at introducing 0.12 to us? What’s new, what’s exciting… v8 > features a

Re: [nodejs] 0.12 intro?

2014-12-16 Thread Alex Kocharin
 Generators. Without --harmony-generators flag. Nice working generators. Did I mention generators? It's the single most important thing node.js is worth upgrading for. Or shall I say io.js now since node.js 0.12 is going to be released a few days after "never"? Oh well. There are a couple of other

[nodejs] yak: another js to html converter

2014-12-16 Thread 'glathoud' via nodejs
Hello, I'd like to share this: https://github.com/glathoud/js.yak Constructive feedback is welcome. Best regards, Guillaume -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/nod

[nodejs] 0.12 intro?

2014-12-16 Thread // ravi
Rather than the more common “please sir may I have some 0.12?”, I want to ask if anyone better informed than I am wants to take a shot, for the edification of the list, at introducing 0.12 to us? What’s new, what’s exciting… v8 features and improvements? Generators? Other JavaScript advances?