RE: [nodejs] Why is my streaming word counter so much slower than a non streaming version?

2014-04-07 Thread Chad Engler
Benefits of using async streams is not so much raw speed, as ability to do multiple things at once. If you were doing this task to 10,000 files, your methods would process many of those files in parallel; and the non-streaming version would do them serially. Similarly if you are operating on

RE: [nodejs] NodeJS Application Design

2014-03-07 Thread Chad Engler
I don’t think there is a “right” or “wrong” here. It is just whatever fits your workflow/team best. Lots of times it is desired to enforce a directory structure, sometimes it is not. Do whatever works best for you, and helps you and future maintainers of your application understand the code

RE: [nodejs] nodejs acting as git server....

2013-12-10 Thread Chad Engler
A library in the works: https://github.com/creationix/js-git -Chad From: nodejs@googlegroups.com [mailto:nodejs@googlegroups.com] On Behalf Of Norman Paniagua Sent: Tuesday, December 10, 2013 12:36 PM To: nodejs@googlegroups.com Subject: [nodejs] nodejs acting as git server I want to know

RE: [nodejs] Re: [ANN] openvg-canvas - Hardware accelerated HTML5 canvas on the Raspberry Pi

2013-09-04 Thread Chad Engler
Is webgl not an option? -Chad From: nodejs@googlegroups.com [mailto:nodejs@googlegroups.com] On Behalf Of Greg Braman Sent: Wednesday, September 04, 2013 8:16 AM To: nodejs@googlegroups.com Subject: [nodejs] Re: [ANN] openvg-canvas - Hardware accelerated HTML5 canvas on the Raspberry Pi Hi

RE: [nodejs] How to split \u0000?

2013-08-27 Thread Chad Engler
`console.log` does not return the string that it logs, try `data.split(\u);` instead. -Chad From: nodejs@googlegroups.com [mailto:nodejs@googlegroups.com] On Behalf Of James L. Sent: Tuesday, August 27, 2013 11:36 AM To: nodejs@googlegroups.com Subject: [nodejs] How to split \u?

RE: [nodejs] Re: Client file download via req.download

2013-03-07 Thread Chad Engler
You can, but there is more work. When the ajax response comes down you get the data but the browser doesn't automatically try to display it (which is what causes download boxes to pop up). Instead you can convert it to a dataURL and then do something like: window.location = myDataUrl;

RE: [nodejs] [ANN] Modulus Node.js Hosting Platform Goes Live

2013-03-06 Thread Chad Engler
Not bold for me, chill out. -Chad From: nodejs@googlegroups.com [mailto:nodejs@googlegroups.com] On Behalf Of Arnout Kazemier Sent: Tuesday, March 05, 2013 2:19 AM To: nodejs@googlegroups.com Subject: Re: [nodejs] [ANN] Modulus Node.js Hosting Platform Goes Live Oh, yes, write in bold

RE: [nodejs] How to send email when script js restarted ???

2013-01-17 Thread Chad Engler
Use monit -Chad From: nodejs@googlegroups.com [mailto:nodejs@googlegroups.com] On Behalf Of bodo Sent: Thursday, January 17, 2013 2:24 PM To: nodejs@googlegroups.com Subject: Re: [nodejs] How to send email when script js restarted ??? How to do that ? restart is an action, is not event

RE: [nodejs] Re: Debian Nodejs Package Maintainer

2013-01-15 Thread Chad Engler
+1 for nvm, I got really tired of waiting for package updates in different distros. -Chad From: nodejs@googlegroups.com [mailto:nodejs@googlegroups.com] On Behalf Of Arunoda Susiripala Sent: Monday, January 14, 2013 10:49 PM To: nodejs@googlegroups.com Subject: Re: [nodejs] Re: Debian

RE: [nodejs] Re: Debian Nodejs Package Maintainer

2013-01-15 Thread Chad Engler
: Tuesday, January 15, 2013 11:57 AM To: nodejs@googlegroups.com Subject: Re: [nodejs] Re: Debian Nodejs Package Maintainer On Tue, Jan 15, 2013 at 11:50:20AM -0500, Chad Engler wrote: +1 for nvm, I got really tired of waiting for package updates in different distros. So, let me jump

RE: [nodejs] socket.io and mongodb

2012-12-28 Thread Chad Engler
Code pl0x -Chad From: nodejs@googlegroups.com [mailto:nodejs@googlegroups.com] On Behalf Of Akshaya Sharma Sent: Friday, December 28, 2012 11:08 AM To: nodejs@googlegroups.com Subject: [nodejs] socket.io and mongodb Hi, I have created an application in Silverlight which allows the

RE: [nodejs] preferred license for node modules?

2012-12-18 Thread Chad Engler
I prefer to release under MIT or MPL; GPL can infect other applications that use your module. -Chad From: nodejs@googlegroups.com [mailto:nodejs@googlegroups.com] On Behalf Of David Herron Sent: Friday, December 14, 2012 10:29 PM To: nodejs@googlegroups.com Subject: [nodejs] preferred

RE: [nodejs] best distributed multi-writer, single-reader store?

2012-12-18 Thread Chad Engler
Do it in IndexedDB so it can translate to the browser :P -Chad -Original Message- From: nodejs@googlegroups.com [mailto:nodejs@googlegroups.com] On Behalf Of Ciprian Dorin Craciun Sent: Tuesday, December 18, 2012 6:44 AM To: nodejs@googlegroups.com Subject: Re: [nodejs] best distributed

RE: [nodejs] Re: Why no additional parameters in (async. node.js API) callback functions?

2012-12-12 Thread Chad Engler
If you don't want help and just want a straight answer as to why, the answer is because. If you don't like the syntax use promises or some compile to JS language to clean it up. But `.bind()` is the way to do this, and it isn't ugly it is just JavaScript. Don't use JavaScript if you don't like

RE: [nodejs] CMYK support in node-canvas?

2012-12-03 Thread Chad Engler
You may get better response on the node-canvas issues page: https://github.com/LearnBoost/node-canvas/issues -Chad From: nodejs@googlegroups.com [mailto:nodejs@googlegroups.com] On Behalf Of pie_lard Sent: Sunday, December 02, 2012 3:45 PM To: nodejs@googlegroups.com Subject: [nodejs]

RE: [nodejs] ECT - new performance focused template engine

2012-11-15 Thread Chad Engler
If I didn’t have to use CoffeeScript I would be all over it L -Chad From: nodejs@googlegroups.com [mailto:nodejs@googlegroups.com] On Behalf Of ? ??? Sent: Thursday, November 15, 2012 3:03 PM To: nodejs@googlegroups.com Subject: [nodejs] ECT - new performance focused template

RE: [nodejs] GC takes too much time when create large buffers frequentely

2012-11-14 Thread Chad Engler
Is there no way that you can stream the chunks as you read them as opposed to buffering it all in memory first? -Chad From: nodejs@googlegroups.com [mailto:nodejs@googlegroups.com] On Behalf Of darcy Sent: Tuesday, November 13, 2012 9:56 PM To: nodejs@googlegroups.com Subject: Re: [nodejs]

RE: [nodejs] nodejs 100% cpu randomly

2012-11-14 Thread Chad Engler
Hehe, gems... Sounds like garbage collection. Do you create large objects or buffers temporarily? -Chad From: nodejs@googlegroups.com [mailto:nodejs@googlegroups.com] On Behalf Of Dor Tzur Sent: Wednesday, November 14, 2012 4:08 AM To: nodejs@googlegroups.com Subject: [nodejs] nodejs

RE: [nodejs] Re: testing mongoose validation with vows

2012-11-05 Thread Chad Engler
I was just having this exact issue the other day, thanks for the catch Papandreou! You just saved me some serious time. -Chad From: nodejs@googlegroups.com [mailto:nodejs@googlegroups.com] On Behalf Of papandreou Sent: Monday, November 05, 2012 3:15 AM To: nodejs@googlegroups.com Subject:

RE: [nodejs] Re: process.env - documentation?

2012-11-01 Thread Chad Engler
It wasn't condescending; topic(page#) like environ(7) is a very common way to express man pages, and if you aren't aware of what the user environment is you should probably do more research. Had you typed environ(7) into google before getting butthurt at the docs, you probably would have found out

RE: [nodejs] Re: process.env - documentation?

2012-11-01 Thread Chad Engler
, Chad Engler chad.eng...@patlive.com wrote: It wasn't condescending; topic(page#) like environ(7) is a very common way to express man pages, and if you aren't aware of what the user environment is you should probably do more research. Had you typed environ(7) into google before getting butthurt

RE: [nodejs] Re: process.env - documentation?

2012-11-01 Thread Chad Engler
that was a reference to another part of the node docs. When a reference is made to another source, I'm used to seeing the source named. If it had said 'see: man-pages environ(7)' there probably would have been no misunderstanding. On 1 November 2012 17:58, Chad Engler chad.eng...@patlive.com wrote: I

RE: [nodejs] Re: process.env - documentation?

2012-11-01 Thread Chad Engler
be. On Thu, Nov 1, 2012 at 11:34 AM, Chad Engler chad.eng...@patlive.com wrote: It wasn't condescending; topic(page#) like environ(7) is a very common way to express man pages, and if you aren't aware of what the user environment is you should probably do more research. Had you typed environ(7

RE: [nodejs] Re: process.env - documentation?

2012-11-01 Thread Chad Engler
always refer to them as environmental variables. danmilon. On 11/01/2012 07:02 PM, Chad Engler wrote: Ill repeat myself for the third time now: If you see something and are confused on what it means, Google is a great starting point. Had you attempting to figure it out on your own, you would have

RE: [nodejs] Problem with using socket.io

2012-11-01 Thread Chad Engler
You may get more response form the Socket.io mailing list: socket...@googlegroups.com -Chad From: nodejs@googlegroups.com [mailto:nodejs@googlegroups.com] On Behalf Of Angel Java Lopez Sent: Thursday, November 01, 2012 5:28 PM To: nodejs@googlegroups.com Subject: Re: [nodejs] Problem

RE: [nodejs] npm: version locking in modules

2012-10-23 Thread Chad Engler
package: =1.0.1 Will grab the latest above that version. Is that what you are looking for? -Chad -Original Message- From: nodejs@googlegroups.com [mailto:nodejs@googlegroups.com] On Behalf Of Alex Kocharin Sent: Monday, October 22, 2012 7:22 PM To: nodejs@googlegroups.com Subject:

RE: [nodejs] npm: version locking in modules

2012-10-23 Thread Chad Engler
would one write that if one wanted that to override what a package maintainer wrote in their package.json? On Oct 23, 2012, at 07:51, Chad Engler chad.eng...@patlive.com wrote: package: =1.0.1 Will grab the latest above that version. Is that what you are looking for? -- Job Board: http

RE: [nodejs] Re: node dev on windows

2012-10-19 Thread Chad Engler
I have a windows PC at home, but also own some raw metal I have an ESX farm on. I usually do nearly all of my node development via ssh/emacs on an Ubuntu Server VM. I have only used it on windows a couple times for small scripts, nothing major. -Chad From: nodejs@googlegroups.com

RE: [nodejs] Forever with ssh

2012-10-17 Thread Chad Engler
On Tuesday, October 16, 2012 10:24:40 AM UTC-4, Chad Engler wrote: Just use: forever start script And see what is running

RE: [nodejs] Forever with ssh

2012-10-16 Thread Chad Engler
Just use: forever start script And see what is running: forever list And stop a script: forever stop index_or_script_name -Chad -Original Message- From: nodejs@googlegroups.com [mailto:nodejs@googlegroups.com] On Behalf Of William Myers Sent: Tuesday,

RE: [nodejs] Forever with ssh

2012-10-16 Thread Chad Engler
: nodejs@googlegroups.com [mailto:nodejs@googlegroups.com] On Behalf Of rhasson Sent: Tuesday, October 16, 2012 11:22 AM To: nodejs@googlegroups.com Subject: Re: [nodejs] Forever with ssh use screen On Tuesday, October 16, 2012 10:24:40 AM UTC-4, Chad Engler wrote: Just use: forever

RE: [nodejs] Forever with ssh

2012-10-16 Thread Chad Engler
Note we also use --pidFile so we can monitor the process with monit as well. -Chad From: nodejs@googlegroups.com [mailto:nodejs@googlegroups.com] On Behalf Of Chad Engler Sent: Tuesday, October 16, 2012 11:53 AM To: nodejs@googlegroups.com Subject: RE: [nodejs] Forever with ssh Forever

RE: [nodejs] Dynamic content scrape with Node.js

2012-10-08 Thread Chad Engler
This is probably the same person who asked this question on StackOverflow: http://stackoverflow.com/questions/12630891/scrape-data-generated-by-jav ascript-on-server-side-from-webpages-aspx Where I have already answered his question, he just didn't like it:

RE: [nodejs] Newbie question: How to share basic functions (for error handling, logging etc.) between modules?

2012-09-14 Thread Chad Engler
I generally have a common module that is included everywhere. I think that is fairly common practice. -Chad From: nodejs@googlegroups.com [mailto:nodejs@googlegroups.com] On Behalf Of Aga Sent: Friday, September 14, 2012 10:53 AM To: nodejs@googlegroups.com Subject: [nodejs] Newbie

RE: [nodejs] Re: Version 0.8.8 (Stable)

2012-08-23 Thread Chad Engler
Just look at: http://nodejs.org/download/ It shows the current version: Download the Node.js source code or a pre-built installer for your platform, and start developing today. Current version: v0.8.8 -Chad From: nodejs@googlegroups.com [mailto:nodejs@googlegroups.com] On

RE: [nodejs] - Github Followers Thread

2012-06-03 Thread Chad Engler
https://github.com/englercj Why not. From: nodejs@googlegroups.com [mailto:nodejs@googlegroups.com] On Behalf Of Ted Young Sent: Saturday, June 02, 2012 11:01 PM To: nodejs@googlegroups.com Subject: Re: [nodejs] - Github Followers Thread enjoy: https://github.com/tedsuo Ted