[nodejs] Re: api service with node and mongo db

2012-03-23 Thread Mihai Tomescu
I'm also building a restful json api with node and mongo and it's smooth sailing. Definitely go well together. On Friday, March 23, 2012 6:39:36 PM UTC-4, christkv wrote: The first place to learn a bit more about mongodb is here http://www.10gen.com/​presentations

[nodejs] Re: node-redis sorting option?

2012-03-23 Thread Mihai Tomescu
Just use a sorted set dude. On Friday, March 23, 2012 3:24:50 AM UTC-4, Angelo Chen wrote: Hi, using node_redis(https://github.com/​mranney/node_redishttps://github.com/mranney/node_redis), I came to this situation: client.keys(reg:article:*, function (err, replies) { } the

[nodejs] Re: Is there a way to install node.js on mac os without sudo?

2012-03-21 Thread Mihai Tomescu
I also use nvm and it's great for handling multiple versions of node. On Tuesday, March 20, 2012 8:31:57 AM UTC-4, Alexey Petrushin wrote: As far as I know there's currently 2 ways to install node on mac: 1. As `brew install node`. It doesn't require sudo, but npm sometimes doesn't work as

Re: [nodejs] Re: a good practice to handle date

2012-03-21 Thread Mihai Tomescu
Haha ;) On Wednesday, March 21, 2012 11:07:05 AM UTC-4, Jorge wrote: Yes, time keeps flowing like a river... :-P -- Jorge. On Mar 21, 2012, at 3:19 PM, Dave Clements wrote: Are you sure this isn't just a time discrepency between first date and second date? node EOF while(1) {

[nodejs] Re: working with synchronous libraries

2012-03-21 Thread Mihai Tomescu
Just create your own validateAsync... hint: look at how Backbone._validate is implemented. On Tuesday, March 20, 2012 7:12:57 AM UTC-4, Bika wrote: hi, I'm trying to use backbone for everything on the server side too, and got stuck with doing a proper validation. The problem is that

[nodejs] Re: Will Node.js work for me?

2012-03-04 Thread Mihai Tomescu
I was working on a project a while ago where i wanted to do something like this and you can do it pretty easily like this: I had one process which was the master 'plugin master' which spawned 5 child 'plugin workers'. The master and workers can talk via the ipc pipes if your only using node

[nodejs] Re: Will Node.js work for me?

2012-03-04 Thread Mihai Tomescu
Oops i meant that you can pool more tasks on the same worker process and run them in *separate* contexts On Monday, March 5, 2012 12:17:41 AM UTC-5, Mihai Tomescu wrote: I was working on a project a while ago where i wanted to do something like this and you can do it pretty easily like

[nodejs] Re: What's the best way to use multiple version of node AND npm?

2012-02-28 Thread Mihai Tomescu
This one is well done https://github.com/creationix/nvm On Sunday, February 26, 2012 12:28:06 PM UTC-5, Thomas wrote: Hi, After installing a bunch of version of node, npm, modules using different ways, I managed to fuck up my installation… I've deleted of files related to node, npm and