[nodejs] Mystery memory consumption

2014-09-17 Thread Roy Barkas
A question about node memory management. I have (see below) a very simple bit of code that, when run, slowly increases it's RSS usage forever. I've tried setting variable to null and deleting variables - no effect. Adding or removing the nextTick has no effect. It just sits there, running and

Re: [nodejs] Get the context of a script

2014-09-17 Thread Peter Stoyanov
It is in the javascript file, that i pass to node::CreateEnvironmet(): function stateInit() { return 0; } and it is called later from C++. I am trying to figure out, where exactly in node.js the javascript file that is passed is compiled and run. I am reading the code but at some point I

[nodejs] Twitter Streaming API with node JS is not working

2014-09-17 Thread yirga badma
I am facing the following error while installing node js twitter libraries npm ERR! registry error parsing json npm WARN engine ntwitter@0.2.10: wanted: {node:=0.4.0 0.7.0} (current: { node:0.10.31,npm:1.4.23}) npm WARN engine express@2.5.4: wanted: {node:= 0.4.1 0.7.0} (current: {n

[nodejs] 0.11.14?

2014-09-17 Thread Egor Egorov
Hello. Any chance for a new 0.11.14 release with recent updates? -- 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-Posting-Guidelines --- You received

[nodejs] Can a JSON script can be deployed from a web application into node.js server

2014-09-17 Thread Manasa Chandana
Hi, I would like to provide a JSON script from a web application that should get deployed into node.js server, is this possible using nodered? -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules:

Re: [nodejs] Enterprise NodeJs architectures and deployments?

2014-09-17 Thread Adrian Lynch
Look-up Walmart's Black Friday + Hapi stories. http://thechangelog.com/116/ Adrian On 16 September 2014 22:21, manwood manwoodv...@googlemail.com wrote: I'm looking to build a case for using NodeJs at work (a fairly conservative and risk averse environment). Can people point me to any

Re: [nodejs] DTrace

2014-09-17 Thread Peter Tribble
Luke, I've read that DTrace is a powerful tool for introspection and tracing in Node.. and also that SmartOS provides DTrace support built-in. However, we've also been looking at CoreOS w/Docker as an alternative/augmentation of our virtual environment setup. Does anyone know of a way to

Re: [nodejs] Twitter Streaming API with node JS is not working

2014-09-17 Thread Luiz Filipe
The version of ntwitter that you are using is 0.2.10 and for that version you have to install a node which its version must be between 0.4.0 and 0.7.0, It seems that you have the node 0.10.31 installed. This is the same for express that you are using in version 2.5.4. 2014-09-17 6:03 GMT-03:00

Re: [nodejs] Get the context of a script

2014-09-17 Thread Ben Noordhuis
On Wed, Sep 17, 2014 at 1:09 PM, Peter Stoyanov dietersk...@gmail.com wrote: It is in the javascript file, that i pass to node::CreateEnvironmet(): function stateInit() { return 0; } and it is called later from C++. I am trying to figure out, where exactly in node.js the javascript

[nodejs] Performance question.

2014-09-17 Thread Michael Monashev
Hi! I have array of buffers: var data = new Array(123); data[0] = new Buffer(456); ... data[122] = new Buffer(789); What is the fastes way to read 1 byte from data? data[x][y] is very slowly. :-( -- Michael -- Job board: http://jobs.nodejs.org/ New group rules:

Re: [nodejs] Can a JSON script can be deployed from a web application into node.js server

2014-09-17 Thread Karl Tiedt
JSON script is not a thing. You may need to elaborate on what exactly your expectations are before getting meaningful answers... -Karl Tiedt On Wed, Sep 17, 2014 at 12:52 AM, Manasa Chandana manasa1...@gmail.com wrote: Hi, I would like to provide a JSON script from a web application that

[nodejs] Re: Enterprise NodeJs architectures and deployments?

2014-09-17 Thread Bruno Jouhier
We (Sage) have been using node.js heavily in the new version of our mid market ERP product (Sage ERP X3 V7). This is not large enterprise, rather mid-market but the fact that node has been chosen by an ERP vendor may help you sell your story. Bruno On Tuesday, September 16, 2014 11:21:25 PM

[nodejs] Re: Callback hell and how to get around it?

2014-09-17 Thread Ahmed Eldosoukey
+1 for the event emitter solution, really great On Monday, September 15, 2014 7:28:28 PM UTC+3, Ingwie Phoenix wrote: Hai, everyone. So I just figured out that Connect’s static file servers dont work well with symlinks…so I had tow rite myself a little workaround, a fallback router,