[nodejs] Re: Implement multipart/mixed parser

2014-04-08 Thread Floby
I looked into this a bit further. Unfortunately busboy won't help you as it only handles multipart/form-data bodies. However dicer could easily do the trick for parsing requests. However, if you need to generate a payload against this API, maybe partly [1] can help you.

[nodejs] Re: Implement multipart/mixed parser

2014-04-08 Thread Hendrik Cech
Yep, dicer looks great for getting the response parts. Thanks, I will take a look at partly. Unfortunately the code needs to run in the browser as well. I can't make use of the http module therefore. For reference, this would be a good starting point otherwise:

[nodejs] Re: [RFC] Debugger

2014-04-08 Thread Miroslav Bajtoš
Hi Tim, I am not sure if you are asking for links to documentation or for opinions on what interface the gdb-like debugger should have. In case you are looking for docs, then here are few links to get you started: - V8 debugger protocol documentation, unfortunately rather incomplete.

[nodejs] Heartbleed bug - openssl leaking private keys :-((

2014-04-08 Thread Bruno Jouhier
http://heartbleed.com/ It looks very serious. Is node impacted? -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups nodejs group. To post to

Re: [nodejs] Heartbleed bug - openssl leaking private keys :-((

2014-04-08 Thread Arnout Kazemier
https://twitter.com/nodejs/status/453298698714230784 A.K.A. — Nope On Tuesday 8 April 2014 at 11:48, Bruno Jouhier wrote: http://heartbleed.com/ It looks very serious. Is node impacted? -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines:

[nodejs] SocketCluster - Highly scalable WebSocket server cluster based on engine.io

2014-04-08 Thread Jon
SocketCluster is a WebSocket server cluster which runs as a parallel cluster of processes. You can choose how many processes (workers, loadbalancers, stores) to deploy in order to make the most of all your CPU cores. Distributing load between multiple workers also offers a more consistent

Re: [nodejs] SocketCluster - Highly scalable WebSocket server cluster based on engine.io

2014-04-08 Thread Arnout Kazemier
How is this based on Engine.IO? I see not a single similarity with it. Except the part when both of you support WebSockets and HTTPS.. On Tuesday 8 April 2014 at 13:03, Jon wrote: SocketCluster is a WebSocket server cluster which runs as a parallel cluster of processes. You can choose how

[nodejs] Server not responding after a lot of traffic

2014-04-08 Thread Bert Thomas
Hi, In a project I'm working on there is a NodeJS Server accepting TCP connections from boardcomputers in cars. Recently the number of clients has grown from a few to say 40 cars. The program works fine for a while, but then stops accepting new connections. NodeJS keeps running however. The

Re: [nodejs] Heartbleed bug - openssl leaking private keys :-((

2014-04-08 Thread Bruno Jouhier
Cool. Thanks. On Tuesday, April 8, 2014 11:49:23 AM UTC+2, 3rdEden wrote: https://twitter.com/nodejs/status/453298698714230784 A.K.A. — Nope On Tuesday 8 April 2014 at 11:48, Bruno Jouhier wrote: http://heartbleed.com/ It looks very serious. Is node impacted? -- -- Job Board:

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

2014-04-08 Thread Mikeal Rogers
There's a pretty simple rule to follow here: - If your working set fits in memory, pull it in to memory. - If your working set does not fit in to memory, or you require concurrent working sets which will cumulatively not fit in memory, use streams. It is *always* faster to do transforms and

[nodejs] Re: Creating a innosetup executable that would install nodejs on a windows system

2014-04-08 Thread Peter Rust
Assuming you actually want/need to run node *as a service*, it looks like your best bet is the module that this stackoverflow answer links to: http://stackoverflow.com/a/20724855. If you were to write something like that yourself, from scratch, you could follow the advice in this

Re: [nodejs] SocketCluster - Highly scalable WebSocket server cluster based on engine.io

2014-04-08 Thread Jon
You're right, it is higher level than engine.io - engine.io is actually a dependency (that's what I meant by 'based on'). SocketCluster is fairly high-level as far as WebSocket libraries go. The engine.io dependency is not obvious on npm; SocketCluster depends on a lower-level module called

[nodejs] Re: Implement multipart/mixed parser

2014-04-08 Thread mscdex
On Tuesday, April 8, 2014 4:14:34 AM UTC-4, Hendrik Cech wrote: Unfortunately the code needs to run in the browser as well. I can't make use of the http module therefore. You may want to check how various browsers handle a multipart/mixed response first. Some may not give you the entire

[nodejs] [ANN] Managing Objects in LoopBack with the Storage Provider of Your Choice

2014-04-08 Thread Raymond Feng
For those who need Node.js and/or REST APIs for files with your choice of storage providers, LoopBack now offers a storage service. http://strongloop.com/strongblog/managing-nodejs-loopback-storage-service-provider/ Thanks, Raymond -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines:

Re: [nodejs] Converting PDF To Text From Node.Js In Memory

2014-04-08 Thread Matt
The short answer is no, there isn't. But you can do it streaming through child processes (i.e. without writing anything to disk). The longer answer is you can probably do something with a lot of work using node-ffi, but it probably won't be worth the effort. On Thu, Apr 3, 2014 at 10:02 AM,

[nodejs] How do I use fs.readdir to read an online directory ? What do I need to put in path if I want to read a directory on a specific server ?

2014-04-08 Thread Jonathan Grenier
How do I use fs.readdir to read an online directory ? What do I need to put in path if I want to read a directory on a specific server ? if I send a string of a path that lead like my hard disk like c:\\snes\\ it works fine. What am I doing wrong for the online one ? Here is the

Re: [nodejs] How do I use fs.readdir to read an online directory ? What do I need to put in path if I want to read a directory on a specific server ?

2014-04-08 Thread Matt
That's not a directory. That's just a web server serving up HTML. For that you want a HTTP request and a HTML parser like Cheerio. On Tue, Apr 8, 2014 at 12:09 PM, Jonathan Grenier lordoomer...@gmail.comwrote: How do I use fs.readdir to read an online directory ? What do I need to put in path

[nodejs] Re: Im looking a Partner to finish a development in node.js and socket.io/websocket

2014-04-08 Thread Reza Razavipour
say more On Friday, April 4, 2014 6:43:14 AM UTC-7, Cristian Betteley wrote: Im looking a developer that finish a job using node.js and socket.io, is 90% done, and is very simple, we are willing to share % of the business if you have the knoweledge. The business will be post this next

Re: [nodejs] Re: Im looking a Partner to finish a development in node.js and socket.io/websocket

2014-04-08 Thread Faysal Banna
Triggered my interest whats the deal ? Faysal Banna Meteorological Services Rafic Harriri International Airport Beirut - Lebanon Mob: +961-3-258043 On 04/08/2014 08:07 PM, Reza Razavipour wrote: say more On Friday, April 4, 2014 6:43:14 AM UTC-7, Cristian Betteley wrote:

Re: [nodejs] Heartbleed bug - openssl leaking private keys :-((

2014-04-08 Thread Nathan Rajlich
Probably needless to say, but remember that if you're terminating your SSL with something *other* than node (i.e. nginx), then there's still a possibility that your app is affected. Be sure to check your app itself with one of the various testers. On Tue, Apr 8, 2014 at 6:43 AM, Bruno Jouhier

[nodejs] Android(client) call to Node JS(server) with port no Post parameters example

2014-04-08 Thread brijesh Kothari
Hi, I want to make my Android(client) app call to Node JS(server) with specific port no Post parameters example. Please guide me and give reference link. -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You

[nodejs] Android(client) app webservice call to Node JS(server) with specific port no Post parameters example.

2014-04-08 Thread brijesh Kothari
Hi, I want to make my Android(client) app webservice call to Node JS(server) with specific port no Post parameters example. Please guide me and give reference link. -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines:

[nodejs] Re: Implement multipart/mixed parser

2014-04-08 Thread Hendrik Cech
You may want to check how various browsers handle a multipart/mixed response first. Some may not give you the entire response, some may just give you the last part, others may do something entirely different. The latest versions of Chrome, Firefox and Safari on OS X are looking good

[nodejs] mongodb is so confusing!

2014-04-08 Thread Frank Z
I installed mongodb through my unbuntu terminal after installing node.js. When I run sudo service mongodb start I get back start: Job is already running: mongodb from the terminal So my assumption is that everything is running properly here... I'm trying to make this todo list from an example

Re: [nodejs] mongodb is so confusing!

2014-04-08 Thread Jose Luis Rivas
Where's user? You have to write and declare user before using it. It has nothing to do with mongodb, at all. You have to write the method list inside user too before trying to tie something to that method. On 4/8/14, 7:10 PM, Frank Z wrote: I installed mongodb through my unbuntu terminal after

Re: [nodejs] mongodb is so confusing!

2014-04-08 Thread Martín Ciparelli
You don't know Javascript and because of that mongodb is confusing? [image: Inline image 1] On Tue, Apr 8, 2014 at 9:20 PM, Jose Luis Rivas ghostba...@gmail.comwrote: Where's user? You have to write and declare user before using it. It has nothing to do with mongodb, at all. You have to

Re: [nodejs] mongodb is so confusing!

2014-04-08 Thread Frank Z
I know JavaScript, as a front end programmer. I'm not a back end programmer. On Tuesday, April 8, 2014 8:26:04 PM UTC-4, Martín Ciparelli wrote: You don't know Javascript and because of that mongodb is confusing? [image: Inline image 1] On Tue, Apr 8, 2014 at 9:20 PM, Jose Luis Rivas

Re: [nodejs] mongodb is so confusing!

2014-04-08 Thread Frank Z
By the way... What is your deal exactly? What makes you assume that I don't know JavaScript? I'm guessing you're bitter because you're still a virgin? I understand bro, it's cool. You are better at JavaScript at least, so good for you. On Tuesday, April 8, 2014 8:26:04 PM UTC-4, Martín

[nodejs] Re: mongodb is so confusing!

2014-04-08 Thread Conrad Pankoff
This isn't related to MongoDB at all. 1) Paste code 2) ??? 3) Profit! On Wednesday, 9 April 2014 10:10:27 UTC+10, Frank Z wrote: I installed mongodb through my unbuntu terminal after installing node.js. When I run sudo service mongodb start I get back start: Job is already running: mongodb

Re: [nodejs] mongodb is so confusing!

2014-04-08 Thread Adam Brady
Hollyy shit, I hope your future (and current) employers find these and decide to fire you. On Wednesday, April 9, 2014 1:36:21 PM UTC+10, Frank Z wrote: By the way... What is your deal exactly? What makes you assume that I don't know JavaScript? I'm guessing you're bitter because you're

Re: [nodejs] mongodb is so confusing!

2014-04-08 Thread Luiz Filipe
Focus guys this list is destined to share knowledge about nodejs. Em 09/04/2014 00:36, Frank Z frankz...@gmail.com escreveu: By the way... What is your deal exactly? What makes you assume that I don't know JavaScript? I'm guessing you're bitter because you're still a virgin? I understand bro,

Re: [nodejs] mongodb is so confusing!

2014-04-08 Thread Conrad Pankoff
wow, dude. Just wow. On Wednesday, 9 April 2014 13:36:21 UTC+10, Frank Z wrote: By the way... What is your deal exactly? What makes you assume that I don't know JavaScript? I'm guessing you're bitter because you're still a virgin? I understand bro, it's cool. You are better at JavaScript

Re: [nodejs] mongodb is so confusing!

2014-04-08 Thread Frank Z
Can someone actually help me? YES, I am VERY GOOD at JavaScript. Here's the deal, I'm NEW TO BACK END!! I'm better with very direct and lower level stuff like, you know, actual programming, making variables and loops and what not.. This is all layers of abstractions upon

Re: [nodejs] mongodb is so confusing!

2014-04-08 Thread Luiz Filipe
Is just a undefined variable the guy is learning nodejs, is natural in the learning curve confusing apples with bananas... Em 09/04/2014 00:40, Adam Brady a...@volatiletechnology.com escreveu: Hollyy shit, I hope your future (and current) employers find these and decide to fire you. On

Re: [nodejs] mongodb is so confusing!

2014-04-08 Thread Frank Z
Thank you Luiz, you're cool. Some of these other guys have a chip on their shoulders because they think they are superior to everyone else. You're cool. I'm still learning the difference between bananas and apples! They don't understand that. On Tue, Apr 8, 2014 at 11:44 PM, Luiz Filipe

Re: [nodejs] mongodb is so confusing!

2014-04-08 Thread Adam Brady
I actually lol'd. What language are we using then? Please enlighten us. On Wednesday, April 9, 2014 1:43:31 PM UTC+10, Frank Z wrote: Can someone actually help me? YES, I am VERY GOOD at JavaScript. Here's the deal, I'm NEW TO BACK END!! I'm better with very direct and

Re: [nodejs] mongodb is so confusing!

2014-04-08 Thread Frank Z
JavaScript? Right? That's what I use. On Tue, Apr 8, 2014 at 11:48 PM, Adam Brady a...@volatiletechnology.comwrote: I actually lol'd. What language are we using then? Please enlighten us. On Wednesday, April 9, 2014 1:43:31 PM UTC+10, Frank Z wrote: Can someone actually help me? YES, I

Re: [nodejs] mongodb is so confusing!

2014-04-08 Thread Conrad Pankoff
http://i.imgur.com/0NgnE8w.png On Wednesday, 9 April 2014 13:43:31 UTC+10, Frank Z wrote: Can someone actually help me? YES, I am VERY GOOD at JavaScript. Here's the deal, I'm NEW TO BACK END!! I'm better with very direct and lower level stuff like, you know, actual

Re: [nodejs] mongodb is so confusing!

2014-04-08 Thread Frank Z
Let me clarify this... I normally use JavaScript on the front end. I've made a lot of progress with Node.js (in my opinion) but a lot of it is so nebulous... Even using a terminal was very alien to me until like a few weeks ago. I'm so used to just using text editors with files in folders on

Re: [nodejs] mongodb is so confusing!

2014-04-08 Thread Frank Z
Hahahahaha. This isn't fair I didn't even realize that was the problem. On Tue, Apr 8, 2014 at 11:51 PM, Conrad Pankoff deo...@fknsrs.biz wrote: http://i.imgur.com/0NgnE8w.png On Wednesday, 9 April 2014 13:43:31 UTC+10, Frank Z wrote: Can someone actually help me? YES, I am VERY GOOD

Re: [nodejs] mongodb is so confusing!

2014-04-08 Thread Adam Brady
But according to you This exceed the boundaries of JavaScript as a programming language. And with that logic, we can't be using Javascript. On Wednesday, April 9, 2014 1:51:54 PM UTC+10, Frank Z wrote: Let me clarify this... I normally use JavaScript on the front end. I've made a lot of

Re: [nodejs] mongodb is so confusing!

2014-04-08 Thread Jose Luis Rivas
It does not require mongoose. You can use the native mongodb driver installed with `npm install mongodb` and require it with `mongodb = require('mongodb')`. It does not requires a user being declared. You could have put your method right away but that's kind of messy. Something like:

Re: [nodejs] mongodb is so confusing!

2014-04-08 Thread Conrad Pankoff
Just to clarify, nobody has a problem with you learning. The node community (of which I consider myself a part) loves teaching people and helping people to learn more about node or JavaScript in general. The problem that people (again, including me) have with you is your attitude. You came

Re: [nodejs] mongodb is so confusing!

2014-04-08 Thread John Teague
Can everyone please dial it back a bit or at least keep it off the list. Frank, if you post your code or put it in a gist, a lot of people will be happy to help. Keep Calm and Node On. On Tue, Apr 8, 2014 at 11:02 PM, Conrad Pankoff deo...@fknsrs.biz wrote: Just to clarify, nobody has a

Re: [nodejs] mongodb is so confusing!

2014-04-08 Thread Adam Brady
You did.. read through the thread, right? This isn't the first thread this has happened in - and when we try to explain things, he starts throwing around insults. On Wednesday, April 9, 2014 2:05:48 PM UTC+10, john teague wrote: Can everyone please dial it back a bit or at least keep it

Re: [nodejs] mongodb is so confusing!

2014-04-08 Thread Frank Z
I don't know anymore. I joined this group partly because I wanted to learn Node.js, but I also knew that other places weren't particularly helpful. I have a lot of pent up frustration from all these times when I searched for answers on the internet, and saw nothing but people answering my

Re: [nodejs] mongodb is so confusing!

2014-04-08 Thread Luiz Filipe
But the question is... why are you feeling insulted? Just see that guy is angry because he did not understand something. I did not saying that he is right. Im trying to explain that you have to keep the mind free of feelings when you try explain or help an angry person. That will helps you to not

[nodejs] Re: mongodb is so confusing!

2014-04-08 Thread Christopher Mina
Frank, All the other crap aside, hopefully by now you have figured out the issue. However, I'll try to be a little more crystal clear than what has been posted already. You've got a couple issues, starting at the beginning: 1) You're correct, mongod process is already running, so you're

Re: [nodejs] Re: mongodb is so confusing!

2014-04-08 Thread Frank Z
Christopher, you are the man! Thank you! Note to moderators, Conrad Pankoff bills himself as a Professional Cyber Bully : http://webcache.googleusercontent.com/search?q=cache:GvjFQCWny-AJ:about.me/deoxxa+cd=12hl=enct=clnkgl=us On Wed, Apr 9, 2014 at 12:31 AM, Christopher Mina

Re: [nodejs] mongodb is so confusing!

2014-04-08 Thread Martín Ciparelli
Sorry Frank if I did sound a little bit mean, it wasn't my intention. I just assumed that you don't know the language because you posted one line of code that makes use of two Javascript variables and an error that tells you there is one of them that is not defined and as a result your subject

Re: [nodejs] mongodb is so confusing!

2014-04-08 Thread Joshua Holbrook
Conrad Pankoff bills himself as a Professional Cyber Bully I sure HOPE so! Otherwise, wth are we paying him for?? --Josh On Wed, Apr 9, 2014 at 12:39 AM, Martín Ciparelli mcipare...@gmail.com wrote: Sorry Frank if I did sound a little bit mean, it wasn't my intention. I just assumed that you

Re: [nodejs] mongodb is so confusing!

2014-04-08 Thread Frank Z
Haha, no worries man. I apologize for that. On Wed, Apr 9, 2014 at 12:39 AM, Martín Ciparelli mcipare...@gmail.comwrote: Sorry Frank if I did sound a little bit mean, it wasn't my intention. I just assumed that you don't know the language because you posted one line of code that makes use of

[nodejs] How to force npm ignore git folders in node_modules?

2014-04-08 Thread Vitaly Puzrin
I noticed, that npm changed behaviour, and now breaks if find git repo in node_modules folder, if that module described in package.json. That's not convenient for some development cases. How can i force npm to continue work in old style? I'd like it to just warn and ignore that folders. --