Re: [nodejs] [ANN] Node backoff

2013-01-01 Thread Aria Stewart
On Tue, Jan 01, 2013 at 08:52:14AM -0800, Mathieu Turcotte wrote: > Hi all, > > Backoff is a small library for handling retries of unreliable operations in > Node.js. The library is a few months old and already has a some clients. > The API is also fairly stable by now and reasonably well docume

Re: [nodejs] SyntaxError when requiring a module is uncatchable

2013-01-01 Thread Ben Noordhuis
On Tue, Jan 1, 2013 at 3:45 PM, wrote: > I have the following code: > >> try { >> require('./index.js'); >> } >> catch(e) { >> console.log('--'); >> console.log(e.stack); >> } > > > When I run the code, the following gets logged to the console: > >> C:\[path]\inde

[nodejs] SyntaxError when requiring a module is uncatchable

2013-01-01 Thread striker
I have the following code: try { > require('./index.js'); > } > catch(e) { > console.log('--'); > console.log(e.stack); > } When I run the code, the following gets logged to the console: C:\[path]\index.js:9 > return1 response.send('asdf'); >

[nodejs] [ANN] Node backoff

2013-01-01 Thread Mathieu Turcotte
*Hi all, Backoff is a small library for handling retries of unreliable operations in Node.js. The library is a few months old and already has a some clients. The API is also fairly stable by now and reasonably well documented.* * The library is composed of three layers built on top of each other

Re: [nodejs] GroupBy

2013-01-01 Thread Nicolas Dermine
On 1 Jan 2013 07:35, "ayaz ali" wrote: > > Hello how to use group by in mongoose i have tried this but it displays undefined > > Model.find({}, [], {'group': 'FIELD'}, function(err, logs) { > > // code > > }); > > MessageModel.find({'messageTo':userName, "deliveredStatus":false}, {'group': 'messag

[nodejs] Re: [ANN] connect-stream-s3 : Middleware to stream uploaded files to Amazon S3

2013-01-01 Thread Timothy Bone
Hi Andrew, Thanks for making up this code, it's great. Are there any examples of using this with xmlhttprequest() ? I've had trouble convincing this code to handle properly: (file is undefined, even though I'm sending using formData()); Thanks! $(function() { $('input').on('click', functio

Re: [nodejs] Re: How to revive a dead npm module?

2013-01-01 Thread Mark Hahn
> It would be good if npm have some better procedures for that, like allow to retake the name, God forbid that we run out of names. On Tue, Jan 1, 2013 at 7:20 AM, Arunoda Susiripala < arunoda.susirip...@gmail.com> wrote: > And I would like to know that how many modules have been resolved like

Re: [nodejs] convention for publishing modules requiring --harmony?

2013-01-01 Thread Tristan Slominski
Apparently the reason "node --harmony --use-strict" works is that v8 enters "extended mode" if both flags are used. from: https://groups.google.com/d/topic/v8-dev/1vmieHKNihs/discussion "This CL introduces a third mode next to the non-strict (henceforth called 'classic mode') and 'strict mode'

[nodejs] Re: What Editor do you use?

2013-01-01 Thread Jeff Schwartz
I use Webstorm, a commercial IDE from Jetbrains, and MacVim, which is a free open source and very mature Mac based code editor and an offshoot of VIM. Webstorm is the best HTML/Javascript/CSS experience going today imho. For an IDE it is extremely light weight. It boots up and is ready to beg

RE: [nodejs] GroupBy

2013-01-01 Thread Fadrizul H
The variable chatMessageModel you're passing is undefined. Where did you get it from? Sent from my Windows Phone -- From: ayaz ali Sent: 1/1/2013 2:35 PM To: nodejs@googlegroups.com Subject: [nodejs] GroupBy Hello how to use group by in mongoose i have tried this but i

Re: [nodejs] Re: How to revive a dead npm module?

2013-01-01 Thread Arunoda Susiripala
And I would like to know that how many modules have been resolved like this? On Tue, Jan 1, 2013 at 8:36 PM, Mariusz Nowak wrote: > I guess that about 50% of projects in npm reflect such state. > > It would be good if npm have some better procedures for that, like allow > to retake the name, and

[nodejs] Re: How to revive a dead npm module?

2013-01-01 Thread Mariusz Nowak
I guess that about 50% of projects in npm reflect such state. It would be good if npm have some better procedures for that, like allow to retake the name, and give rights to publish greater versions. On Monday, December 31, 2012 2:18:31 PM UTC+1, toranb wrote: > > A few months back I took on a d

Re: [nodejs] How do you work with decimal numbers so that the precision problem of floats is under control?

2013-01-01 Thread Kevin Purnelle
Thank you for providing insight :) and Happy new year :) On Monday, 31 December 2012 18:58:54 UTC+1, Mark Hahn wrote: > > In general you can think of js numbers as integers or floats, assuming you > need less than the 56 bits of resolution. A common misconception is that > floating point number

[nodejs] Re: GroupBy

2013-01-01 Thread greelgorke
i guess, you have to put null as second param between conditions and fields Am Dienstag, 1. Januar 2013 07:35:33 UTC+1 schrieb ayaz ali: > > Hello how to use group by in mongoose i have tried this but it displays > undefined > > Model.find({}, [], {'group': 'FIELD'}, function(err, logs) { > >