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

2012-12-11 Thread Jonathan Dickinson
Superior alternative being this I assume: http://blog.marksoper.net/Server-side-DOM-manipulation-in-Nodejs-with-JSDOM-JQuery-and-Mustache-Templates-April-25-2011.html - just to make sure this thread gets closed off with a real answer. Newbies also make the mistake of thinking that structured da

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

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

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] Re: A simple implementation of fs.write(fd, buffer, offset, length, position, [callback])

2012-12-08 Thread Nathan Rajlich
I don't get it. Why not just use fs.WriteStream? On Sat, Dec 8, 2012 at 2:53 AM, Network Individual wrote: > I was looking for bufferedWriter and i found a module for that > https://github.com/Gagle/Node-BufferedWriter > > Thanks. > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines:

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

2012-12-08 Thread Network Individual
I was looking for bufferedWriter and i found a module for that https://github.com/Gagle/Node-BufferedWriter Thanks. -- 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