Re: [nodejs] Re: What's the unicorn for Node? How should I think of deployment?

2013-11-16 Thread Eric Mill
On Sat, Nov 16, 2013 at 8:26 AM, Alex Kocharin a...@equenext.com wrote: On Saturday, November 16, 2013 4:15:39 PM UTC+4, Hongli Lai wrote: With the Unicorn model I believe you are referring to the supervising, preforking server model, in which there is a master process that sets up the

Re: [nodejs] Re: What's the unicorn for Node? How should I think of deployment?

2013-11-16 Thread Eric Mill
Well, that's extremely responsive, I appreciate that. I can't promise it means that I'm going to switch to Phusion, but I will be continuing to try different things over the next few weeks, and this definitely helps. On Sat, Nov 16, 2013 at 3:02 PM, Hongli Lai hon...@phusion.nl wrote: On Sat,

[nodejs] Re: What's the unicorn for Node? How should I think of deployment?

2013-11-15 Thread Eric Mill
On Friday, November 15, 2013 4:19:25 AM UTC-5, Alex Kocharin wrote: On Thursday, November 14, 2013 8:22:16 PM UTC+4, Eric Mill wrote: I'm totally fine being told that the Unicorn model is the wrong way to think of things in Node. But what are the best practices There is no such thing

[nodejs] What's the unicorn for Node? How should I think of deployment?

2013-11-14 Thread Eric Mill
I'm totally fine being told that the Unicorn model is the wrong way to think of things in Node. But what are the best practices for deploying a Node app where I'd like to be able to scale the number of processes up and down easily on a box? The model I'm used to is putting nginx in front, having

Re: [nodejs] new project - simpleio

2013-07-08 Thread Eric Mill
Hi Oleg, Could you describe how simpleio would be preferable to using sockjshttp://sockjs.org/? It was also borne out of frustration with socket.io, and I've had a great experience with it. -- Eric On Mon, Jul 8, 2013 at 9:27 AM, Oleg Slobodskoi oleg...@googlemail.comwrote: Forgot to

Re: [nodejs] NodeJS, Socket.io Chat script, preventing flood messaging

2013-03-28 Thread Eric Mill
I had a live chat room running in the dev console of isitchristmas.com this past Christmas for a 9-day experimenthttp://konklone.com/post/the-making-of-isitchristmas-dot-com-2012, and I got a few flooders who loved writing for loops filled with nastiness. I did three things to combat them: a)

Re: [nodejs] How to do 301 Redirects

2013-02-21 Thread Eric Mill
For anyone who tries to do this, it was just a few lines: https://gist.github.com/konklone/5006662 On Monday, April 25, 2011 10:09:33 AM UTC-4, Francois Laberge wrote: Thanks. It communicates over wifi so typically it takes about 1/150th of a second to communicate. Francois On Mon, Apr

Re: [nodejs] How to know which linux distribution that node is running on?

2013-01-11 Thread Eric Mill
Or `uname -a`. Either way, the solution is to run this as a system command (through Node), not through a specific Node function. On Fri, Jan 11, 2013 at 12:34 AM, Roger WANG roger.w...@linux.intel.comwrote: kuno neok...@gmail.com writes: I want to know which linux distribution that my node

Re: [nodejs] comments in package.json

2013-01-06 Thread Eric Mill
. On Sun, Jan 6, 2013 at 8:06 PM, Rick Waldron waldron.r...@gmail.com wrote: On Sunday, January 6, 2013, Eric Mill wrote: . Developers' responses to specific questions/suggestions with Why do you want to do that? It sounds like you're making bad decisions. is a cliche that still happens

Re: [nodejs] comments in package.json

2013-01-05 Thread Eric Mill
It can often be a good idea to add comments for yourself and others around your dependencies, especially on a large project. It doesn't mean you made bad choices about your dependencies. When stuff gets large, it helps to group things, label them, etc. As package.json's get used for more and more

Re: [nodejs] Re: comments in package.json

2013-01-05 Thread Eric Mill
Some of you are being extremely derisive to a reasonable suggestion. You may not think it is a suggestion worth adopting, and it may not be, but it's being made seriously and has stated reasons behind it. Explain why you don't see the problem raised as enough of a problem to merit the change, but

Re: [nodejs] Re: On Reserving Package Names

2012-12-19 Thread Eric Mill
Well I'm not arguing against the policy! Due to the intrinsic nature of npm (e.g. we don't see GitHub enforce such a policy), it's a measure to decrease scarcity of names for package maintainers, and it seems to accomplishes that. That's a fair point. The purposes of Github are obviously

Re: [nodejs] Re: A simple implementation of fs.write(fd, buffer, offset, length, position, [callback])

2012-12-09 Thread Eric Mill
The stereotype of developers responding to questions for help with why do you want to do that? instead of an actual answer continues... On Sun, Dec 9, 2012 at 11:13 AM, Network Individual networkindivid...@gmail.com wrote: I wanted a new line for every line i wrote to have neat spacing little