Re: [nodejs] Module search path safety?

2013-04-28 Thread Ryan Schmidt
On Apr 27, 2013, at 13:33, Isaac Schlueter wrote: > But really, I think "multiple users on the same fs" is kind of an > antiquated approach to multi-tenancy, as it's fundamentally insecure. > Do any hosts even have that any more? I would guess zillions. But probably none that are awesome enough

Re: [nodejs] Retrieving values asynchroniously

2013-04-28 Thread Marcel Laverdet
I think the distinction between *doing* node and *using* is good call. I wrote a tampering HTTP proxy server in node; I used streams and callbacks. I wrote a web application with lots of waiting on database and filesystem chatter; I used fibers w/ futures. On Sun, Apr 28, 2013 at 11:22 PM, Bruno

Re: [nodejs] Streams writev API

2013-04-28 Thread Jorge
On 29/04/2013, at 00:14, Fedor Indutny wrote: > No, only TCP so far, but it could be implemented for FS too, pull requests > are welcome! :) Oh, what a pity... :-) And any of you have checked if Apple has fixed that bug already? -- ( Jorge )(); -- -- Job Board: http://jobs.nodejs.org/ Posti

Re: [nodejs] Streams writev API

2013-04-28 Thread Fedor Indutny
No, only TCP so far, but it could be implemented for FS too, pull requests are welcome! :) Cheers, Fedor. On Mon, Apr 29, 2013 at 2:13 AM, Jorge wrote: > On 29/04/2013, at 00:00, Fedor Indutny wrote: > > > It already landed in master and it works for every TCP socket. > > Awesome :-) > > What

Re: [nodejs] Streams writev API

2013-04-28 Thread Jorge
On 29/04/2013, at 00:00, Fedor Indutny wrote: > It already landed in master and it works for every TCP socket. Awesome :-) What about fs? Cheers, -- ( Jorge )(); -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines

Re: [nodejs] Streams writev API

2013-04-28 Thread Fedor Indutny
It already landed in master and it works for every TCP socket. Cheers, Fedor. On Mon, Apr 29, 2013 at 1:55 AM, Jorge wrote: > On 28/04/2013, at 23:15, Fedor Indutny wrote: > > > libuv has started doing it automatically recently. > > Awesome :-) > > One more thing: OSX would benefit *a* *lot* m

Re: [nodejs] Streams writev API

2013-04-28 Thread Jorge
On 28/04/2013, at 23:15, Fedor Indutny wrote: > libuv has started doing it automatically recently. Awesome :-) One more thing: OSX would benefit *a* *lot* more than anybody else of an fs.writev() due to the mutex in write()s due to the concurrent write()s bug (has anybody checked if it's been

Re: [nodejs] Streams writev API

2013-04-28 Thread Fedor Indutny
libuv has started doing it automatically recently. Cheers, Fedor. On Mon, Apr 29, 2013 at 1:12 AM, Jorge wrote: > On 23/04/2013, at 02:01, Isaac Schlueter wrote: > > > There's a syscall called `writev` that lets you write an array (ie, > > "Vector") of buffers of data rather than a single buff

Re: [nodejs] Streams writev API

2013-04-28 Thread Jorge
On 23/04/2013, at 02:01, Isaac Schlueter wrote: > There's a syscall called `writev` that lets you write an array (ie, > "Vector") of buffers of data rather than a single buffer. > About 3 years ago when ry was working on this for streams, I implemented a writev() for fs.write()s and even sent

[nodejs] Re: Node + Angular + MongoDB

2013-04-28 Thread Michael Smith
That's nice, autoric. I like the structure of the seed. On Saturday, April 27, 2013 10:50:07 AM UTC-4, autoric wrote: > > Here's a seed for the express train framework using mongodb and angular. > > https://github.com/Khelldar/Angular-Express-Train-Seed > > On Wednesday, April 24, 2013 9:14:51 P

[nodejs] Re: [NEW MODULE] walkie-watchie: The definitive fs.watch wrapper

2013-04-28 Thread Gagle
I'm currently starting to add formal tests. A lot of bugs has been fixed. OSX is still not supported. -- -- 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 Goo

Re: [nodejs] npm-add: a CLI tool for instantly adding NPM packages to package.json

2013-04-28 Thread Jared Wright
There were some cases where I needed to add them without installing (yes hah, this is true). Also, I don't like the way --save-dev specifies versions. On Sun, Apr 28, 2013 at 2:49 PM, Forrest L Norvell wrote: > How is this different from 'npm install --save hoarders' / 'npm install > --save-dev

Re: [nodejs] npm-add: a CLI tool for instantly adding NPM packages to package.json

2013-04-28 Thread Forrest L Norvell
How is this different from 'npm install --save hoarders' / 'npm install --save-dev hoarders@1.0.8'? F On Sun, Apr 28, 2013 at 10:55 AM, Jared Wright wrote: > I made this a while ago and it has been saving a lot of unwanted time > looking for the latest version for a package and installing it.

Re: [nodejs] Re: [ANN] LevelGraph - A graph database on top of LevelUp

2013-04-28 Thread Matteo Collina
2013/4/28 Lucas Schmidt > This is interesting. Graph databases are an extremely hot subject, so you > are in the right path. Have you ever take a look at Neo4j? > > Neo4j did an amazing job, very easy to use. > LevelGraph is nowhere near Neo :). I published it to get some feedbacks to drive its

[nodejs] npm-add: a CLI tool for instantly adding NPM packages to package.json

2013-04-28 Thread Jared Wright
I made this a while ago and it has been saving a lot of unwanted time looking for the latest version for a package and installing it. I thought I would open source it just incase anyone else would like to use it. Link below https://github.com/jawerty/npm-add -- -- Job Board: http://jobs.node

Re: [nodejs] Retrieving values asynchroniously

2013-04-28 Thread Bruno Jouhier
Fine, but I would not call Haskell, Clojure or Erlang mainstream! I was more thinking of PHP, Visual Basic and the likes. On Sunday, April 28, 2013 6:17:28 PM UTC+2, Isaac Schlueter wrote: > > > I don't think that node will go mainstream by trying to convert > mainstream > > developers to the c

Re: [nodejs] Retrieving values asynchroniously

2013-04-28 Thread Isaac Schlueter
> I don't think that node will go mainstream by trying to convert mainstream > developers to the callbacks and streams paradigm, simply because it is > too hard. This is a judgement that is not substantiated by any evidence whatsoever. The evidence suggests that most node users, beyond the initia

[nodejs] Re: [ANN] LevelGraph - A graph database on top of LevelUp

2013-04-28 Thread Lucas Schmidt
This is interesting. Graph databases are an extremely hot subject, so you are in the right path. Have you ever take a look at Neo4j? Neo4j did an amazing job, very easy to use. When you talk about Join operations, what should that do? Sorry but I couldnt understand. I dont know if I am tired o

Re: [nodejs] Retrieving values asynchroniously

2013-04-28 Thread Bruno Jouhier
Hi Nuno, Your post is helpful. I'll try to challenge it in a constructive way. I think that most of disagreement comes from a different perspective on means and ends. >From your perspective, node is an end in itself: you **do** node; you build streams; you write callbacks; etc. For you, adhere

[nodejs] Re: Introducing Megafilter, a node.js based google reader replacement

2013-04-28 Thread Callan Bryant
Also thanks for featuring it on the Cloudnode blog! BTW both links point to your instance of it, I assume one was supposed to point to http://callanbryant.co.uk/megafilter/ ? Cloudnode looks really exciting, I have signed up for the beta! I'll start on the subscription manager (so you can impor

[nodejs] Re: Retrieving values asynchroniously

2013-04-28 Thread Liam
Slobodan, Sadly the node.js list sometimes generates more heat than light. Here's a bit of the latter: DB.retrieve('id1', cb); // start all retrieves in parallel, a key benefit of Node DB.retrieve('id2', cb); // providing the object name in the callback arguments may require passing it to retr

[nodejs] Re: Introducing Megafilter, a node.js based google reader replacement

2013-04-28 Thread Callan Bryant
Thanks, I've included this as a theme called 'lime' via the theming system I did here: https://github.com/naggie/megafilter/issues/63 You can use your theme with `--theme lime` before a cache refresh. On Sunday, 28 April 2013 09:57:05 UTC+1, dvbportal wrote: > > Hi, > > I have send you a PR with

[nodejs] Re: Introducing Megafilter, a node.js based google reader replacement

2013-04-28 Thread dvbportal
Hi, I have send you a PR with the CSS changes. Cheers, Hans On Saturday, April 27, 2013 10:36:10 PM UTC+2, dvbportal wrote: > > Hi, > > > Would you mind if I switched to your colours? > > Not at all. > > Because we have different preferences, themes would be a great solution > and not that dif