Re: [nodejs] Use of Node / Express / MongoDB for a e-commerce website?

2012-10-22 Thread Hakan Guzelgoz
Hi Adam, I can see the need for ACID compliant DB. What would you suggest in that case with Node / Express? Thanks, Hakan On Mon, Oct 22, 2012 at 1:04 PM, Adam Reynolds awjreyno...@gmail.comwrote: You use an ACID compliant DB for e-commerce. This excludes Mongo. On Mon, Oct 22, 2012 at 10:50

Re: [nodejs] Re: Forever with ssh

2012-10-22 Thread Jacob Groundwater
I have been using Foreman to run my jobs locally which can also export upstart jobs. Foreman is a ruby gem however, so over the weekend I decided to port a Node version of foreman. http://nodefly.github.com/node-foreman/ I will be adding to the module over the next few weeks, if anyone would

Re: [nodejs] Weak references. Does node-weak and other simliar libraries, add significant overhead?

2012-10-22 Thread Diogo Resende
You could use ES6 WeakMaps. https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/WeakMap -- Diogo Resende On Monday, October 22, 2012 at 17:05 , Fredrik O wrote: Hi, Does anyone know if it is safe, for performance reasons to heavily use the npm module:

Re: [nodejs] Weak references. Does node-weak and other simliar libraries, add significant overhead?

2012-10-22 Thread Nathan Rajlich
I've only really used it for testing and tracking down memory leaks, but I know that hook.io has used it as a dependency in the past, and that dnode does currently. What exactly is your use case? On Mon, Oct 22, 2012 at 9:52 AM, Diogo Resende drese...@thinkdigital.pt wrote: You could use ES6

Re: [nodejs] Weak references. Does node-weak and other simliar libraries, add significant overhead?

2012-10-22 Thread Fedor Indutny
This actually depends on how much are you going to use them. Few thousands objects are probably ok, but millions will slow down GC significantly. Cheers, Fedor. On Mon, Oct 22, 2012 at 9:52 PM, Nathan Rajlich nat...@tootallnate.netwrote: I've only really used it for testing and tracking

[nodejs] Mocking Postgres Database calls for unit testing

2012-10-22 Thread Modika
Hi All, Firstly apologies for some of the terminology here, i am coming from an MS stack into Node so some of my language is still stuck there. I am just getting into node, and improving my javascript along the way, and all the community driven stuff is really great. I am using Mocha and

[nodejs] npm registry down

2012-10-22 Thread Dan Milon
curl -v https://registry.npmjs.org * About to connect() to registry.npmjs.org port 443 (#0) * Trying 23.23.147.24... Connection refused * couldn't connect to host * Closing connection #0 curl: (7) couldn't connect to host Anyone got a mirror? -- Job Board: http://jobs.nodejs.org/ Posting

Re: [nodejs] npm registry down

2012-10-22 Thread Forrest L Norvell
On Monday, October 22, 2012 at 11:55 AM, Dan Milon wrote: curl -v https://registry.npmjs.org * About to connect() to registry.npmjs.org (http://registry.npmjs.org) port 443 (#0) * Trying 23.23.147.24... Connection refused * couldn't connect to host * Closing connection #0 curl: (7)

Re: [nodejs] npm registry down

2012-10-22 Thread Dan Milon
Thanks for the info! Pitty npm isnt deployed in many areas. On Mon, Oct 22, 2012 at 9:58 PM, Forrest L Norvell forr...@newrelic.com wrote: On Monday, October 22, 2012 at 11:55 AM, Dan Milon wrote: curl -v https://registry.npmjs.org * About to connect() to registry.npmjs.org port 443 (#0) *

[nodejs] Re: Mocking Postgres Database calls for unit testing

2012-10-22 Thread greelgorke
try sinonjs it works perfectly for me. http://sinonjs.org/ Am Montag, 22. Oktober 2012 20:46:14 UTC+2 schrieb Modika: Hi All, Firstly apologies for some of the terminology here, i am coming from an MS stack into Node so some of my language is still stuck there. I am just getting into

[nodejs] Node.js with java

2012-10-22 Thread amro alfares
Dear all i am posting this question after alot of google search i want to use node.js with my java web project can any one tell me how to do that ?! Regards -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You

[nodejs] Bifocals.js

2012-10-22 Thread Aaron Hedges
Hey Everyone, I have been working on a framework for some time. No, I am not announcing a new framework. I am spinning off the view component into a standalone library. The component is ready for outside use, so take a look and tell me what you think. It's not the easiest library to explain,

Re: [nodejs] Re: node dev on windows

2012-10-22 Thread Valery Carpentier
For a while I tried to run node in a VM (Virtual Box with Ubuntu server), with the code shared in my Dropbox, so I could easily move between my two machines (one OSX, one Windows 7) and edit in OSX/Windows. It nearly worked until I ran into some Virtual Box bugs (No matter how I configured them,

Re: [nodejs] Weak references. Does node-weak and other simliar libraries, add significant overhead?

2012-10-22 Thread Fredrik O
Thanks for your responses, all! I use it too support a simple (C++) RAII functionally, to reclaim resources, both external and internal resources. I believe it is good idea. It allows a resource, even if an exception get thrown be reclaimed. I simply code in mind that a exception can get

Re: [nodejs] Node.js with java

2012-10-22 Thread Ryan Schmidt
On Oct 22, 2012, at 12:43, amro alfares wrote: i want to use node.js with my java web project What do you mean, exactly? -- 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

Re: [nodejs] Weak references. Does node-weak and other simliar libraries, add significant overhead?

2012-10-22 Thread Rick Waldron
On Monday, October 22, 2012 at 5:22 PM, Fredrik O wrote: PS. How would weak maps be used to call a custom function on garbage collection? I think you've misunderstood, WeakMaps don't facilitate this Rick What are your thoughts? Thanks in advance! -- Job Board:

[nodejs] npm: version locking in modules

2012-10-22 Thread Alex Kocharin
Hi all, Some node.js modules depend on strict versions of another modules like that: dependencies:{mongodb:0.9.9-3} // mongode or that: engines: { node: ~0.6 } // express did it some time ago Now suppose I want to always use newer versions of any modules and don't care much about what

Re: [nodejs] Re: node dev on windows

2012-10-22 Thread mgutz
Same experience with VirtualBox but I figured it out. Samba is not easy and googling for how somebody else solved it years ago didn't work for me. I have it mostly scripted but it's not standalone. I'll extract the scripts and blog about it. On Monday, October 22, 2012 12:03:11 PM UTC-7,

Re: [nodejs] Re: node dev on windows

2012-10-22 Thread Jacob
If you are deploying a lot of VirualBox instances for development, check out [veewee](https://github.com/jedi4ever/veewee). I *think* it works for Windows, it's a ruby gem. You can build a box with just a few command lines. Veewee will download the iso, and set it up to a point where you can