Re: [nodejs] More opendatabase ranting..

2014-02-23 Thread Arvind Gupta
Thanks Mark If you have bookmarks, it will be a great help for me. On Thu, Jan 16, 2014 at 4:31 AM, Mark Hahn wrote: > > Opendatabase allows us to tie Mobile, Web and system applications with > a single database (Sqlite). > > CouchDB does the same thing and gives you free

[nodejs] Re: Scaling node.js project

2014-02-23 Thread Unmesh Joshi
Hi ket, No, I didnt mean that. I just wanted to call out that different applications have different infrastructure requirements and different load patterns. You need to do performance testing to figure out how your application is performing with the infrastructure your have and do capacity pla

Re: [nodejs] v0.12 Release

2014-02-23 Thread Stephen Belanger
https://www.npmjs.org/package/nan On 23 Feb 2014 19:36, "Rick Waldron" wrote: > > > > On Sun, Feb 23, 2014 at 9:34 PM, Stephen Belanger wrote: > >> Yes. New V8 versions break a bunch of stuff. There's the nan project >> > What is the "nan project"? > > Rick > > >> to deal with that at the moment,

Re: [nodejs] Re: Scaling node.js project

2014-02-23 Thread Nathan White
The default pooling and connection timeouts can kill you. Checkout for more info https://github.com/substack/hyperquest > On Feb 23, 2014, at 6:44 PM, Ket wrote: > > Hi Unmesh, > > Are you suggesting that Node.js on a quad core server machine of something > 4GB RAM can handle only small tas

[nodejs] Re: Friendly error messages?

2014-02-23 Thread Jan Krems
I'm not sure that showing such error messages to actual users is a good idea. They are leaking information about your server and can help an attacker. You should consider logging those but not showing any error details to users. That being said: I'm not sure if there is an existing module that

Re: [nodejs] Does node.js support 2 phase commit for multiple data sources(such as 2 MySQL instances)?

2014-02-23 Thread fred wang
Aria, You might be right, transaction manager to support XA might not something node.js provide but I would like to know where to support in Javascript stack. Let me be more specific, because we have to use different data sources(you can image one is MySQL, the other one is PG) when we want to us

Re: [nodejs] v0.12 Release

2014-02-23 Thread Trevor Norris
> What is left on feature-set ? Since it's not clear, are you experimenting > something or I totally misunderstood ? Part of this is my fault. There is one final change that needs to land in the new AsyncListener API, but I have been on paternity leave the last two weeks and only able to dedica

Re: [nodejs] v0.12 Release

2014-02-23 Thread Rick Waldron
On Sun, Feb 23, 2014 at 9:34 PM, Stephen Belanger wrote: > Yes. New V8 versions break a bunch of stuff. There's the nan project > What is the "nan project"? Rick > to deal with that at the moment, and there was some effort to abstract V8 > API so native module writers have a more consistent tar

[nodejs] Which to choose under nodejs api server? Express, socket.io, or MQTT

2014-02-23 Thread Wenxiang Deng
Hi Noders, I've been playing with node.js as API server for an iOS app. I'm using MQTT protocol to power group chat. For a activity feeds, I'm just wondering which module is better to use to handle request and response... Pub/sub for MQTT could work if using topics such as "/userid/request" an

Re: [nodejs] v0.12 Release

2014-02-23 Thread Stephen Belanger
Yes. New V8 versions break a bunch of stuff. There's the nan project to deal with that at the moment, and there was some effort to abstract V8 API so native module writers have a more consistent target--not sure what the plan is with that presently. On 23 Feb 2014 16:10, "Matt" wrote: > Fedor: Fo

[nodejs] Re: Scaling node.js project

2014-02-23 Thread Ket
Hi Unmesh, Are you suggesting that Node.js on a quad core server machine of something 4GB RAM can handle only small task like chat app and is not suitable for heavy task like streaming video live like ustream.tv. No argument intended, I'm just deeply interesting to gather as much info about th

Re: [nodejs] v0.12 Release

2014-02-23 Thread Kevin Ingwersen
Hey. I am using 0.11, because I urgently needed 3.22 v8 for a project. XD It works just as expected, I have not noticed any weird behavior, yet. Kind regards, Ingwie Am So. Feb. 23 2014 23:23:55 schrieb Fedor Indutny: > Hello guys! > > Sorry for not responding early, I have pretty long backlog

Re: [nodejs] v0.12 Release

2014-02-23 Thread Jason Hill
Thanks Fedor. Could you please give more details on* "Regarding, overall status: we are working hard on getting v0.11 feature-set freezed."* What is left on feature-set ? Since it's not clear, *are you experimenting something* or I totally misunderstood ? Thanks again J. On Sunday, February 23

Re: [nodejs] v0.12 Release

2014-02-23 Thread Matt
Fedor: For those of us with compiled modules, do we have to make significant changes to work on 0.12? I noticed a few things don't compile. On Sun, Feb 23, 2014 at 5:23 PM, Fedor Indutny wrote: > Hello guys! > > Sorry for not responding early, I have pretty long backlog in my inbox. > While > I

Re: [nodejs] v0.12 Release

2014-02-23 Thread Fedor Indutny
Hello guys! Sorry for not responding early, I have pretty long backlog in my inbox. While I'm not the leader of node.js project (TJ Fontaine is), I could perhaps shed some light on the current state of things. I think we are almost done with update to v8 3.24 and I'm quite sure that we will stick

Re: [nodejs] v0.12 Release

2014-02-23 Thread Jason Hill
I know that list but after reading the one that suggests v8 update, I felt like we are no where close to 0.12.. There are many people use 0.11 already for some time with the current version of v8. I just don't understand the such big changes right before the release. Indeed v8 3.24 solves cou

Re: [nodejs] CERT_UNTRUSTED Error

2014-02-23 Thread Maz
Thank you mate, rejectUnauthorized: false did the trick. ! On Thursday, 6 February 2014 21:07:55 UTC+1, Alex Kocharin wrote: > > > "npm config ..." sets npm settings, but you're using node.js. Those are > two entirely different applications. > > In this case you can do: > $ node -e "require('

Re: [nodejs] Does node.js support 2 phase commit for multiple data sources(such as 2 MySQL instances)?

2014-02-23 Thread Aria Stewart
On Sun, Feb 23, 2014 at 08:06:08AM -0800, fredwang...@gmail.com wrote: > All, > > I wonder whether node.js support two phase commit(we have to split data > in different Database due to the data size or not). I saw Sequelize has > supported transaction. If not, is there a plan when it will be

[nodejs] Does node.js support 2 phase commit for multiple data sources(such as 2 MySQL instances)?

2014-02-23 Thread fredwang222
All, I wonder whether node.js support two phase commit(we have to split data in different Database due to the data size or not). I saw Sequelize has supported transaction. If not, is there a plan when it will be supported? Thanks! FRed -- -- Job Board: http://jobs.nodejs.org/ Posting gui

Re: [nodejs] v0.12 Release

2014-02-23 Thread Peter Rust
> What is left for 0.12 release (apart from bug fixes). ? Looks like there are 34 open issues slated for the 0.12 milestone: https://github.com/joyent/node/issues?milestone=17&state=open -- peter -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki

[nodejs] Re: CERT_UNTRUSTED Error

2014-02-23 Thread Maz
Hi guys, same issue here. Latest version I can run on ARM (raspberry pi) is Node 0.11.7 on npm 1.3.8 set ca "" or strict ssl false has no effect ideas? please :/ On Monday, 30 December 2013 00:30:03 UTC+1, Todd Morrison wrote: > > Correct answer: > > >> Try to run: >> >> ~/npm config set ca

Re: [nodejs] (C++) Add function into nodejs even tloop.

2014-02-23 Thread Fedor Indutny
I don't think that you need to run separate loop for `uv_idle_t`. Just call `uv_idle_init(uv_default_loop(), idle)` and `uv_idle_start(idle, cb)`. Make sure to allocate `idle` in heap (not on stack) with malloc/new or whatever. On Sun, Feb 23, 2014 at 2:35 AM, Kevin Ingwersen wrote: > Hey everyo

[nodejs] Friendly error messages?

2014-02-23 Thread Benjamin Pasero
Hi, I am wondering if there is any module out there that could be plugged into the server to convert error messages into more friendly format? Currently I pass errors to the user and he will end up seeing stuff like: Error: EBUSY, unlink 'D:\home\site\wwwroot\images\images.zip Error: ENOTEMPTY,