[nodejs] Re: why fallocate is not exposed?

2013-02-23 Thread funny_falcon
Fallocate is prooved to be useful when you are dealing with huge amount of ondisk data. Especially when you need to separately grow hundreds of thousand files, and then be sure it doesn't lead to huge fragmentation. On 22 фев, 20:30, Ben Noordhuis i...@bnoordhuis.nl wrote: On Fri, Feb 22, 2013

[nodejs] How to keep filename through net socket filetransfer?

2013-02-23 Thread Thorsten Moeller
Hi, i managed to get a filetransfer from one node server to another one working using net.Socket, ReadStream and pipe on one side and a server with writeStream on the other side. The only thing i could not figure out after googling for days and reading docs over and over is how to manage to

Re: [nodejs] How to keep filename through net socket filetransfer?

2013-02-23 Thread Daniel Rinehart
The filename is logically separate from the data so you will need to transfer that by some other means. Since you already have data flowing between the two nodes I might suggest sending the filename using the same stream before sending the file's data. This would be like defining a mini protocol

Re: [nodejs] Re: why fallocate is not exposed?

2013-02-23 Thread Ben Noordhuis
On Sat, Feb 23, 2013 at 10:36 AM, funny_falcon funny.fal...@gmail.com wrote: Fallocate is prooved to be useful when you are dealing with huge amount of ondisk data. Especially when you need to separately grow hundreds of thousand files, and then be sure it doesn't lead to huge fragmentation.

Re: [nodejs] How to keep filename through net socket filetransfer?

2013-02-23 Thread Kevin Swiber
Though it might be overkill for your use case, you could just use either FTP or HTTP (multipart/form-data). HTTP/1.1 even has byte-range support for pause/resume behavior. While it might seem like overkill at first, it might not take long before the features of the above protocols become a

Re: [nodejs] NPM Readme vs Github Readme

2013-02-23 Thread Tim Caswell
I would think the easiest route would be sending Isaac a pull request (assuming the npm website is on github). I can't imagine he would be against making this match github's markdown features. On Fri, Feb 22, 2013 at 7:13 AM, Michal Srb xixi...@seznam.cz wrote: Hi, I was trying to find any

Re: [nodejs] NPM Readme vs Github Readme

2013-02-23 Thread Diogo Resende
It seems to work for me, the only thing that doesn't seem to highlight correctly is coffee script. -- Diogo Resende On Saturday, February 23, 2013 at 15:37 , Tim Caswell wrote: I would think the easiest route would be sending Isaac a pull request (assuming the npm website is on github).

[nodejs] Re: Dynamic Web app in Node JS without Jade and Stylus

2013-02-23 Thread kanitkar . abhishek
Ok I will explore Jade in detail to find out it's usefulness. Thanks ! On Thursday, February 21, 2013 10:57:15 AM UTC+5:30, Dave Horton wrote: On Tuesday, February 19, 2013 7:19:23 PM UTC-5, kanitkar...@gmail.comwrote: 1. Can any one of you experienced people elaborate on what are key

[nodejs] Re: Another .configure syntax error?

2013-02-23 Thread Chad Warren
HI am also experiencing the same error on my Cent OS server. Did you find any resolution to this? On Tuesday, February 5, 2013 11:24:25 AM UTC-5, Jeremiah Coleman wrote: Hi All, I'm getting this error when trying ./configure: File ./configure, line 360 1 if