[nodejs] Re: Node.js memory, GC and performance

2012-07-19 Thread sahal
I use *delete varname;* anywhere I expect varname to be big, on big iterations, and after doing *r**esponse.end();* I delete both *request* and *response*. What can I say, I'm a very tidy person. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mai

[nodejs] delete global; works

2012-07-19 Thread sahal
No decent browser lets you delete its global object; Node instead does let you then it crashes. -- 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

Re: [nodejs] Re: So I built a node module. Now what?

2012-07-09 Thread sahal
I'll try; I actually think I need that too. Can you please file the feature request on github? On Friday, July 6, 2012 8:40:58 PM UTC+3, Jeff Barczewski wrote: > > @sahal could you provide some sugar for this, so it is easier to do? It > is becoming more and more common to writ

Re: [nodejs] Re: So I built a node module. Now what?

2012-06-30 Thread sahal
> > I tried it out but I'm confused. I don't use any globals in node, I only > use local vars in modules that are wrapped in a function (standard > coffeescript). What can I see in my app? Is this only for node core > developers? > > On Fri, Jun 29, 2012 at 2:

[nodejs] Re: So I built a node module. Now what?

2012-06-29 Thread sahal
Oo so you guys are command-line freaks I get it. But anyway, it's okey, done all that. I think it did good since most commands ended with 201. I tried "git search codein" but it's been "building the local index for the first time" for some time now. Other than that.. I've added the module t

[nodejs] Re: So I built a node module. Now what?

2012-06-29 Thread sahal
; --app=http://localhost:55281) > > Den fredagen den 29:e juni 2012 kl. 19:22:37 UTC+2 skrev sahal: >> >> It's an inspector window. Screenshot here: >> https://github.com/ketamynx/node-codein >> > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https:

[nodejs] So I built a node module. Now what?

2012-06-29 Thread sahal
It's an inspector window. Screenshot here: https://github.com/ketamynx/node-codein -- 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" gro

[nodejs] How to use Eclipse Debugger for inspection?

2012-06-27 Thread sahal
Is there any way to use Eclipse Debugger like Chrome's Inspector? All I want is: 1. to execute arbitrary commands in the console; how do I do this? 2. to view what variable contain, like inspector allows you to expand objects if you type "global" and hit enter you'll see that object, even if it

[nodejs] Re: Desktop apps with Node.js

2012-06-19 Thread sahal
AppJS uses CEF. All others use webkit one way or another. I'm just saying the HTML5 APIs change at such a rate you'll have one hell of a time keeping up. I spammed crbug a while back to ask about an --embeddable flag here http://code.google.com/p/chromium/issues/detail?id=132455 maybe I'm not

Re: [nodejs] How can I run a script while initializing an addon?

2012-06-19 Thread sahal
t; > See ref's main .js file for an example: > https://github.com/TooTallNate/ref/blob/master/lib/ref.js > > On Tue, Jun 19, 2012 at 12:30 PM, sahal <> wrote: > >> On Tuesday, June 19, 2012 3:04:00 PM UTC+3, Ben Noordhuis wrote: >> >>> On Tue, Jun 19, 20

Re: [nodejs] How can I run a script while initializing an addon?

2012-06-19 Thread sahal
On Tuesday, June 19, 2012 3:04:00 PM UTC+3, Ben Noordhuis wrote: > > On Tue, Jun 19, 2012 at 8:27 AM, sahal <> wrote: > > I'm wrapping a module into an addon. I want to run a standard nodejs > script > > when the module gets initialized, so that I only have to

[nodejs] How can I run a script while initializing an addon?

2012-06-19 Thread sahal
I'm wrapping a module into an addon. I want to run a standard nodejs script when the module gets initialized, so that I only have to do "node mymodule" from the command line. As far as I can see none of the usual module apis are exposed. How can I do it then? Here's what I've tried: > #includ

[nodejs] Re: Secure distribution of NodeJS applications

2012-06-16 Thread sahal
You can research things such as BoxedApp . They're quite expensive. They solve the problem. -- 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