[nodejs] Re: [ANN] address-rfc2822

2013-03-18 Thread Tim Dickinson
link? On Sunday, March 17, 2013 1:24:00 PM UTC-4, Matt Sergeant wrote: Not many people using node will need this module, but I figured I'd announce it anyway... address-rfc2822 parses email addresses as seen in email From/To/CC/Bcc headers. It is *not* meant for parsing or validating

[nodejs] Re: Socket hang up problems

2013-03-18 Thread Oleg Slobodskoi
I have this error reproducible very stable using node v0.8.21 And I think I have nailed the issue: it happens if the maxSockets of the agent is lower than the amount of requests we are doing. If I set https.globalAgent.maxSockets = 50; and do 50 parallel requests - after some seconds the error

[nodejs] Re: Calling a C++ app using CLI vs binding to Node with node-gyp

2013-03-18 Thread greelgorke
there are many modules, which are binding to a c/c++ lib, it's not primarily for node core extensions. the other question, you have to elaborate it yourself. is performance an issue? what the bottleneck? would a binding solve that issue? What about development resources and maintenance of the

[nodejs] Re: [ANN] HAVE.js - Have your arguments, and validate it too. -- Slick arguments validator for all your js functions.

2013-03-18 Thread chakrit
The use case is just to simplify arguments validation, which for me, is getting repetitive and cumbersome in a project I'm currently building. So I wrote the module. Added an example.js here: https://github.com/chakrit/have/blob/master/example.js if it'll helps. On Sunday, March 17, 2013

Re: [nodejs] Re: [ANN] HAVE.js - Have your arguments, and validate it too. -- Slick arguments validator for all your js functions.

2013-03-18 Thread Eric Muyser
I've done a lot of programming and this is definitely useful. I've come up with a few times but never follow through with using it. The jQuery core has a lot of argument type checking and should probably use something like this so it's cleaner and clear which arguments it accepts, but that's why

[nodejs] Re: [ANN] address-rfc2822

2013-03-18 Thread Thomas Shinnick
https://github.com/baudehlo/node-address-rfc2822 And yes, I remember the Perl module - I'm still using it. Thank you. editorial So many good old modules, accidentally duplicated by the new and eager, without reference to existing Perl/Python/whatever implementations. So many old mistakes,

[nodejs] node.js debugger setBreakpoint

2013-03-18 Thread Jeffrey Law
Hi, I can't figure out how to set breakpoint with file name with the built-in debugger. I tried setBreakpoint('some.js',100), it gave me the script name is ambiguous. Actually any bogus file names give me the same error message. But if I only give the line number parameter, it works. And

[nodejs] How do I get the names of all the files located on the remote file server using Node.js?

2013-03-18 Thread vins
I would like to know the usage of fs,readDir() API to be used with http request such that I can get the array of file names of a directory residing in the server. -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines

Re: [nodejs] Re: [ANN] address-rfc2822

2013-03-18 Thread Matt
On Mon, Mar 18, 2013 at 6:59 AM, Thomas Shinnick tshin...@gmail.com wrote: editorial So many good old modules, accidentally duplicated by the new and eager, without reference to existing Perl/Python/whatever implementations. So many old mistakes, new again... /editorial I think the

Re: [nodejs] [ANN] address-rfc2822

2013-03-18 Thread Arunoda Susiripala
Lack of tests Have you seen travis-ci. On Monday, March 18, 2013, Matt wrote: On Mon, Mar 18, 2013 at 6:59 AM, Thomas Shinnick tshin...@gmail.comjavascript:_e({}, 'cvml', 'tshin...@gmail.com'); wrote: editorial So many good old modules, accidentally duplicated by the new and eager,

Re: [nodejs] [ANN] address-rfc2822

2013-03-18 Thread Matt
Travis is great, but covers one OS and one version of Node (from what I can tell). Cpantesters covers about 15 different OS's and over 60 versions of Perl, and scales this way because they distribute the problem to end users. It includes current development versions of Perl as well as current and

Re: [nodejs] [ANN] address-rfc2822

2013-03-18 Thread Martin Cooper
On Mon, Mar 18, 2013 at 8:16 AM, Matt hel...@gmail.com wrote: Travis is great, but covers one OS and one version of Node (from what I can tell). Just FYI, it's 3 versions of Node right now. You can choose one or more of 0.6, 0.8, 0.10. -- Martin Cooper Cpantesters covers about 15

[nodejs] Re: [ANN] address-rfc2822

2013-03-18 Thread mscdex
On Mar 18, 12:08 pm, Arunoda Susiripala arunoda.susirip...@gmail.com wrote: As martin mentioned travis does support multiple node versions. I agree we do not have multiple platforms when its come to travis. Since node use as Server Side JS for most of the apps, I think that won't be a big

[nodejs] Segmentation fault

2013-03-18 Thread Alan Hoffmeister
Well, I had a path in my default user pointing to a Node.js binary that was chmoded by the root, that was the problem. Thanks everyone. -- Att, Alan Hoffmeister 2013/3/15 Alan Hoffmeister alanhoffmeis...@gmail.com javascript:_e({}, 'cvml', 'alanhoffmeis...@gmail.com'); Thanks Ravi, This one

Re: [nodejs] [ANN] address-rfc2822

2013-03-18 Thread José F . Romaniello
I was talking about this few days ago and I love what Travisi does. Previously, I used to have an xunit kind of formater for my tests because that is what most CI servers understand, but sometimes this is kind of overengineer, and it fails, which make me think if it is really important for a CI

[nodejs] Re: address-rfc2822

2013-03-18 Thread mscdex
On Mar 18, 2:03 pm, mscdex msc...@gmail.com wrote: On Mar 18, 12:08 pm, Arunoda Susiripala arunoda.susirip...@gmail.com wrote: As martin mentioned travis does support multiple node versions. I agree we do not have multiple platforms when its come to travis. Since node use as Server Side

Re: [nodejs] Re: address-rfc2822

2013-03-18 Thread Matt
And it's important to remember the big differences even between minor releases of Node where particular bugs have been fixed or APIs changed. I don't really see how a server hosted solution for free can scale to all these platforms the way that a user-distributed system like cpantesters can. On

Re: [nodejs] New Streams confusion

2013-03-18 Thread Nathan Rajlich
I also find that implementing a custom Writable stream (one callback) is easier than the .read() function that we have now (event, synchronous function with inconsistent return value). I've brought up my concerns about .read() before[0] but unfortunately it was too late and now we're stuck with

Re: [nodejs] New Streams confusion

2013-03-18 Thread Nathan Rajlich
You have been very vocal indeed Bruno, I'm sorry that your proposal hasn't gained more traction. On Mon, Mar 18, 2013 at 1:24 PM, Bruno Jouhier bjouh...@gmail.com wrote: I advocated early for the simpler read with callback: https://groups.google.com/forum/#!topic/nodejs-dev/djqqFhrObB8 (July

[nodejs] Re: upgrade to 0.8 broke npm

2013-03-18 Thread Adam Fontenot
Make install is failed it say C:\Users\Zackmake install 'make' is not recognized as an internal or external command, operable program or batch file. C:\Users\Zack On Tuesday, June 26, 2012 2:26:16 AM UTC-5, Oleg Efimov (Sannis) wrote: Vanilla install with `make install` works for me. The same

[nodejs] git server built with node

2013-03-18 Thread Tim Dickinson
Hey all, I'm looking for a git server or a module to build a git server with node.js. I have looked at pushover and from what I can tell I could build a git server with it. Can anyone tell me more? Thanks -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines:

Re: [nodejs] git server built with node

2013-03-18 Thread Tim Dickinson
Anything current? I'm not looking for a project on kickstarter. On Monday, March 18, 2013 8:16:23 PM UTC-4, Karl Tiedt wrote: self explanatory... http://www.kickstarter.com/projects/creationix/js-git -Karl Tiedt On Mon, Mar 18, 2013 at 7:14 PM, Tim Dickinson

Re: [nodejs] git server built with node

2013-03-18 Thread Arunoda Susiripala
I think that's why this kickstarter is born and funded. On Tue, Mar 19, 2013 at 6:27 AM, Tim Dickinson price.ti...@gmail.comwrote: Anything current? I'm not looking for a project on kickstarter. On Monday, March 18, 2013 8:16:23 PM UTC-4, Karl Tiedt wrote: self explanatory...

Re: [nodejs] git server built with node

2013-03-18 Thread Tim Caswell
Tim, I do have a stretch goal in my kickstarter for your use case, but it's not my primary use case. If nothing shows up and I get enough funding, I'll have this for you in a few months. -Tim Caswell On Mon, Mar 18, 2013 at 8:14 PM, Arunoda Susiripala arunoda.susirip...@gmail.com wrote: I

[nodejs] How to use streams with feedparser

2013-03-18 Thread josh
this is almost a copy paste from feedparser readme. I know I miss something but not sure what it is. var request = require('request'); var feedparser = require('feedparser'); request({ 'uri': 'http://substack.net/blog.xml' }).pipe(feedparser.stream); stream.js:52 dest.on('drain', ondrain);

Re: [nodejs] Re: [ANN] HAVE.js - Have your arguments, and validate it too. -- Slick arguments validator for all your js functions.

2013-03-18 Thread chakrit
That's certainly doable. right now it just accept strings but it could certainly be changed to also accept a hash. let's say for a url request function, i can make it support something like this: have(arguments, { opt: { method: 'optional string' , url: 'string' , body: 'optional