Re: [nodejs] Learnyounode "Make It Modular" does not pass

2014-11-07 Thread John Shaver
What you have there looks correct to me, as far as the module. Did you write the script that accepts the command line parameters, requires the module and then passes the parameters into the module? >From the lesson description: This problem is the same as the previous but introduces the conc

Re: [nodejs] Hosting of Application in Europe

2014-11-07 Thread Matt
We get asked this sort of wide open question a lot on the #node.js IRC channel. Honestly it very much depends on your experience and capabilities. There's a massive range of services to consider, from simple no-devops-required systems like Heroku ranging up to installing your own hardware in datac

Re: [nodejs] Hosting of Application in Europe

2014-11-07 Thread Constantine Karnacevych
Hi Markus. Did you try Jelastic cloud solutions? There a lot of hosting providers in Europe http://docs.jelastic.com/jelastic-hoster-info I would recommend either ElastX as they outperform any other, or LayerShift as they provide excellent support. Regards, CK 08.11.2014 01:18, Markus Kuhn w

[nodejs] Learnyounode "Make It Modular" does not pass

2014-11-07 Thread jerome
Has anybody got experience with the learnyounode "Make It Modular" challenge? Because I am writing the following code, but it is not passing. But when I run it with a test usage, everything seems ok. If anybody spots anything wrong, please let me know. Here are the two files I have created. =

[nodejs] Hosting of Application in Europe

2014-11-07 Thread Markus Kuhn
Hi Everybody, i found some entrys to my question, but they are old or not specific enough. Got the following question and please keep in mind that my administration skills for servers suck hard :) I want to host a node.js app which connects to a mongo database. I want this app to be highly sc

Re: [nodejs] node.js best framework for web developement

2014-11-07 Thread Jim Lloyd
Go to this page: https://www.npmjs.org/ It shows the top 10 node packages by different measures, and has links to so that you can go beyond the top 10. It's probably worth your time to browse through these lists so that you are aware of the heavily used packages. The link for the packages that ha

Re: [nodejs] web worker problem

2014-11-07 Thread James Nylen
Node.js doesn't support web workers by default, try this library: https://github.com/audreyt/node-webworker-threads On Thu, Nov 6, 2014 at 9:11 PM, Mark Hahn wrote: > When I try to start a web worker in node I'm getting this error ... > > myWorker = new Worker('./web-worker.js'); > Refer

[nodejs] node.js best framework for web developement

2014-11-07 Thread Bala Kumaran
Any one can tell me which framework choose in node.js for developing UI. because these framework is good one for design, and performance,,and etc.. thanks in advance -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old gr

Re: [nodejs] privilege separation

2014-11-07 Thread Tim Kuijsten
Sam Roberts schreef op 03-11-14 om 21:50: On Mon, Nov 3, 2014 at 11:00 AM, Tim Kuijsten wrote: Tim, is your server storing passwords in plain text? If so, that's probably your biggest security problem. Hi Sam, yes, but I'll use a file that only the superuser can read. That's what i meant

Re: [nodejs] Re: Node.js, elasticsearch, mognodb, ext.js and Heroku sample application - work-in-progress

2014-11-07 Thread Alexander Cherednichenko
Hi Vipin, It's nott really related to the ttemplates. You can look into the sample app about how to query ES instance via the REST api. As soon as you have API result, you can then use it as any variable and just insert it into the template as you like. In our sample app we don't have server-side

[nodejs] keystone.js, express.js or sails.js which one is best framework for web development (UI)

2014-11-07 Thread Bala Kumaran
I'm new in node.js and mongodb. so now i want develope new web development app using node.js .so i have confused which framework selected in node.js . i haven't no idea .so once selected any one framework, all the details go through in net. which one can i choose . choose any one doesn't mat

[nodejs] Plain text search to ... modules?

2014-11-07 Thread Jeremy Darling
This seems like a common enough scenario that their is probably already a module for it, so I'm asking before I start writing one :). Given a generic free form text search input on a webpage I would like to have it converted over to a query to be executed against my data. My target is MongoDB lik

Re: [nodejs] http result 408 , underlying connection is closing by server

2014-11-07 Thread siliconplains
Alright, so I narrowed it down. I am running node under the new cluster module. What is happening is one of the node processes is dying and it that is what is closing down the connection to the client. It happens right before the node process response. This leads me to another couple of qu

[nodejs] how to use rdfstore in node.js poroject

2014-11-07 Thread Gaurav Wable
I am new to node.js. I want to use rdfstore module for implementing semantic web in a node.js poroject. I found this sample code on Github for rdfstore, can anyone explain it var rdfstore = require('rdfstore'); new rdfstore.Store({persistent:true, engine:'mongodb',

Re: [nodejs] Passing file descriptors between parent and child process

2014-11-07 Thread Tim Kuijsten
Have you tried wrapping it in a socket using new Socket({ fd: 11 })? -Tim Ryan Schmidt schreef op 05-11-14 om 04:18: Does anyone have any thoughts on the below? Or is there a better zero-downtime deployment module I should use instead of naught that has already solved this problem of how to p

[nodejs] Re: Key-Value store with master-master replication support

2014-11-07 Thread Floby
ready-made solutions that I know of include CouchBase and CouchDB. they are both pretty much the same in regard of your requirements. - blobs and docs are supported natively (but better done by CouchDB for JSON) - They both have master-master replication in real-time with default or

Re: [nodejs] Passing file descriptors between parent and child process

2014-11-07 Thread Ryan Graham
FWIW, I can't see anything wrong with your logic. Modifying naught to pass fd 11 to your app's cluster master looks like it should allow the cluster workers to listen with {fd: 11} and have that bubble up to the master. ~Ryan On Tue, Nov 4, 2014 at 7:18 PM, Ryan Schmidt wrote: > Does anyone ha

[nodejs] Re: [ann] Bolty - binary javascript object serializer

2014-11-07 Thread Floby
I though we had gzip On Tuesday, 4 November 2014 17:11:36 UTC+1, Alan Hoffmeister wrote: > > Hello guys, > > I want to introduce Bolty, a small piece of code that can serialize JS > objects into binary buffers and back again into an object. It consumes > a lot less space than JSON and can also

[nodejs] node.js best framework for web development

2014-11-07 Thread Bala Kumaran
Which framework is good one for developing for UI (web designing) in node.js. anyone tell me.advance thanks -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-L

[nodejs] Re: Doing 1000 concurrent http requests, and getting ETIMEDOUT.

2014-11-07 Thread James Nylen
The trick that hyperquest uses to disable the node core pooling behavior is to pass `agent: false` to the options. The same thing works with request. More discussion here: https://github.com/request/request/issues/1231 On Saturday, November 2, 2013 11:16:10 PM UTC-5, Jarrett Cruger wrote: > >

[nodejs] web worker problem

2014-11-07 Thread Mark Hahn
When I try to start a web worker in node I'm getting this error ... myWorker = new Worker('./web-worker.js'); ReferenceError: Worker is not defined Is there something I have to do to use a web-worker? -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym