Re: [nodejs] Installing NodeJs on Windows

2012-12-09 Thread Ben Noordhuis
On Mon, Dec 10, 2012 at 2:42 AM, Eenvincible wrote: > Hi everyone, > > I have tried so many methods to install NodeJs using Cygwin but every time I > run the Make command, It totally fails: Below the message that I get before > everything crashes down: > > -

Re: [nodejs] Re: A simple implementation of fs.write(fd, buffer, offset, length, position, [callback])

2012-12-09 Thread Ben Noordhuis
On Sun, Dec 9, 2012 at 7:35 PM, Eric Mill wrote: > The stereotype of developers responding to questions for help with "why do > you want to do that?" instead of an actual answer continues... With good reason. What someone _asks for_ is not necessarily what he _needs_. A newbie may ask "how can

[nodejs] Installing NodeJs on Windows

2012-12-09 Thread Eenvincible
Hi everyone, I have tried so many methods to install NodeJs using Cygwin but every time I run the *Make* command, It totally fails: Below the message that I get before everything crashes down: --- *make -C out BUILD

Re: [nodejs] Re: A simple implementation of fs.write(fd, buffer, offset, length, position, [callback])

2012-12-09 Thread Eric Mill
The stereotype of developers responding to questions for help with "why do you want to do that?" instead of an actual answer continues... On Sun, Dec 9, 2012 at 11:13 AM, Network Individual < networkindivid...@gmail.com> wrote: > I wanted a new line for every line i wrote to have neat spacing li

[nodejs] Re: Running NodeJs inside JVM

2012-12-09 Thread Simon
Oh, there's also DynJS which Douglas Campos presentedat JSConf.eu 2011 and looks very promising. It seems pretty active on GitHub and I believe

Re: [nodejs] What's the default value for buffer

2012-12-09 Thread Jorge Chamorro
memory is continually reused so it may as well contain data from any other connection. On 08/12/2012, at 06:53, Mark Hahn wrote: > I would guess the rule is that there is no rule. > > On Fri, Dec 7, 2012 at 6:13 PM, Goddy Zhao wrote: >> var buf = new Buffer[1]; >> console.log(buf[0]); >> >>

Re: [nodejs] Running NodeJs inside JVM

2012-12-09 Thread Simon
In response to Why use Nashorn instead of Node, I thought it was funny that one commenter mentioned: "Node.js uses Google's V8 Javascript engine which is too fast for some applications. Also, it doesn't use enough memory, a problem the JVM is likely to correct..." Source: http://developers.sla

Re: [nodejs] Re: [ANN] Mechanical Turk Driver

2012-12-09 Thread Arunoda Susiripala
AFAIK, There is no such a version by Google. Its on Amazon - https://www.mturk.com/mturk/welcome On Wed, Nov 30, 2011 at 4:01 AM, Mark Hahn wrote: > Google's mechanical turk -- Arunoda Susiripala @arunoda https://github.com/arunoda htt

[nodejs] Re: Running NodeJs inside JVM

2012-12-09 Thread Evangelos Pappas
If you just want to start nodeJS from your JVM runtime then just use the ProcessBuilder, It'll start your NodeJS with any arguments & environment settings you wish and it'll gain a Child PID but without using any JVM re

Re: [nodejs] Re: [ANN] Mechanical Turk Driver

2012-12-09 Thread Pedro Teixeira
Here is the master of mturk: https://github.com/jefftimesten/mturk and here are the docs: https://github.com/jefftimesten/mturk/blob/master/API.md Updated the readme. Thanks for pointing this out. -- Pedro On Sunday, December 9, 2012 at 7:52 AM, Erel Segal Halevi wrote: > Unfortunately, the

Re: [nodejs] Re: A simple implementation of fs.write(fd, buffer, offset, length, position, [callback])

2012-12-09 Thread Network Individual
I wanted a new line for every line i wrote to have neat spacing little did i know that \n would be enough.I however am considering doing what i wanted in java since i need threads. Thanks. On 12/8/12, Nathan Rajlich wrote: > I don't get it. Why not just use fs.WriteStream? > > On Sat, Dec 8, 201

Re: [nodejs] How do you speed up file sending in json format

2012-12-09 Thread Ket
Thank you Juan for your help. Your suggestion is very helpful. Mostly, I did node on the Windows environment. It's the fastest I admitted. I've just moved to Linux for a week. Maybe this is the problem. I just figured out. All my code is optimized for Windows. I see people's codes are differen

Re: [nodejs] How do you speed up file sending in json format

2012-12-09 Thread Juan Simon
Let's see if I can help. I'm not experienced enough with node but I've been working on other platforms long enough to tell you that, as it has been said before, if is not the fastest it's close enough. node.js has little to do with the network speed of your web server. The hardware on a web server

[nodejs] Re: [ANN] Mechanical Turk Driver

2012-12-09 Thread Erel Segal Halevi
Unfortunately, the http://github.com/expensecat/mturk link doesn't work anymore. Additionally, the link to "the API docs" here: http://search.npmjs.org/#/mturk doesn't work: https://github.com/pgte/mturk/blob/master/API.md On Tuesday, November 29, 2011 6:56:42 PM UTC+2, Nuno Job wrote: > > H