[nodejs] Network performance on AIX 7.1 with v0.10.32 seems to be slow

2014-10-27 Thread Dieter Reuter
Hi, I'm currently building a small Node.js prototype which is aimed to run in a production system on AIX 7.x. Tue to the fact, the solution should run at a industrial customer with strong SLA's, I'm forced to use the official IBM binaries for Node.js. Currently I'm using the latest prebuild v0.

Re: [nodejs] ipc pipe with fork

2014-10-27 Thread Tim Kuijsten
Angel Java Lopez schreef op 26-10-14 om 21:16: I never used that feature, but, why not use the "built-in" IPC channel given by fork? http://nodejs.org/api/child_process.html#child_process_child_process_fork_modulepath_args_options In addition to having all the methods in a normal ChildProcess i

Re: [nodejs] recommended way to open a pipe in a child process

2014-10-27 Thread Ben Noordhuis
On Sun, Oct 26, 2014 at 5:12 PM, Tim Kuijsten wrote: > The docs clearly state that the parent end of a pipe can be opened via the > stdio array on the child_process instance. But the docs do not state > anything about how to open the pipe in the child. Now with some > experimenting I've found that

[nodejs] Connect middleware for image resizing?

2014-10-27 Thread Mohammed S Fadin
Isn't this what you are looking for? https://www.npmjs.org/package/image-shrink -- 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 --- Yo

[nodejs] Re: How to unit-test?

2014-10-27 Thread Floby
Aria got it right. Also on the fact that indexOf returns -1 when it does not match anything, your code doesn't work =) since -1 is truthy. On Saturday, 25 October 2014 19:36:06 UTC+2, Honza Břečka wrote: > > Hi, > > I just want to know how do you unit-test that the following function, part > o

[nodejs] Ajax request not working in ExpressJS

2014-10-27 Thread pradeep raj
Hi Sir/Madam, If i make an ajax request from the client side to the server side 'http://192.168.0.83:3131/getWorkspace' i got request fails error means(the request was cancelled). Client Code : apf.ajax

[nodejs] Choose Node.js organization for GSOC 2015

2014-10-27 Thread TUSHAR SONI
Hi all, I want to participate in GSOC 2015 in node.js related project, So which organization should i choose and what should i do now for node project to select in GSOC? Thanks Best, Tushar -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-m

Re: [nodejs] recommended way to open a pipe in a child process

2014-10-27 Thread Tim Kuijsten
Ben Noordhuis schreef op 27-10-14 om 12:01: On Sun, Oct 26, 2014 at 5:12 PM, Tim Kuijsten wrote: The docs clearly state that the parent end of a pipe can be opened via the stdio array on the child_process instance. But the docs do not state anything about how to open the pipe in the child. Now

Re: [nodejs] Ajax request not working in ExpressJS

2014-10-27 Thread Adrian Lynch
Check your server logs to see if the request is coming in. Remove all logic in your client-side callback and do a basic request. What library are you using on the client? What error are you getting in the console on the client? Adrian On 27 October 2014 09:52, pradeep raj wrote: > > >

Re: [nodejs] yet another sync/async question

2014-10-27 Thread Axel Kittenberger
All current multi-sync-flow-logic stuff are actually all explicitly designed in the way so you cannot do this. That is yield a caller, without it knowing about this​ possibility and making it part of the "call contract". Every one has a highlight to say "attention this call might yield and even cau

Re: [nodejs] yet another sync/async question

2014-10-27 Thread Mark Hahn
> explicitly designed in the way so you cannot do this I understand. I am unfortunately facing a pragmatic problem that could be solved if a library could simulate a sync call with an async over-the-net call. Maybe I should restate the immense task I'd like to tackle. I'd like to implement n

Re: [nodejs] yet another sync/async question

2014-10-27 Thread Aria Stewart
> On 27 Oct 2014, at 23:54, Mark Hahn wrote: > > > explicitly designed in the way so you cannot do this > > I understand. I am unfortunately facing a pragmatic problem that could be > solved if a library could simulate a sync call with an async over-the-net > call. > > Maybe I should restat