[nodejs] Re: Building a secure NodeJS REST API without password

2014-08-15 Thread Tristan Slominski
What you are looking for are Object Capabilities.. this is a good start http://static.googleusercontent.com/media/research.google.com/en/us/pubs/archive/40673.pdf but it is a lot to take on. On Thursday, August 14, 2014 8:26:54 AM UTC-5, Mandeep Gulati wrote: > > I am building a node.js REST ap

Re: [nodejs] what happens to orphan processes while using cluster

2014-08-15 Thread Sam Roberts
On Fri, Aug 15, 2014 at 9:35 AM, Jimb Esser wrote: > Hmm, on my OSX machine, it seems the behavior is roughly the same as I > recall from Windows - hitting Ctrl+C delivers SIGINT to all of the > processes, not just the master, so the cluster children are exiting > immediately because of that. Sou

Re: [nodejs] Installing ursa

2014-08-15 Thread Cristian Wilgenhoff
Hi, Check you "WindowsSdkDir" variable and see if contains a valid path to the SDK: - "C:\program files\microsoft sdks\windows\vX.XX\ If not change the following key in registry to valid path one and reboot. - HKEY_CURRENT_USER\SOFTWARE\Microsoft\MicrosoftSDKs\Windows\CurrentInstallFolder Al

[nodejs] Re: handling xlsx response from an API call

2014-08-15 Thread klru...@gmail.com
not sure I understand the question correctly but if the file itself is corrupt try using try something like https://github.com/rubenv/node-xlsx-writer to build the xlsx from jason, I use express framework (or koa) so I download with something simple like (sorry for coffeescript) ...get "/blabl

[nodejs] Re: Does `node --harmony` works stable on all platforms?

2014-08-15 Thread klru...@gmail.com
been playing with it on debian wheezy, coffee + koajs + node-mysql, try catch gets all the sql errors so you can do really nice transactions. looks ok at first glance I'll start converting my apps to dump callbacks. Not that I mind the callbacks but you get all the errors with the 'yield way'

Re: [nodejs] what happens to orphan processes while using cluster

2014-08-15 Thread Jimb Esser
Hmm, on my OSX machine, it seems the behavior is roughly the same as I recall from Windows - hitting Ctrl+C delivers SIGINT to all of the processes, not just the master, so the cluster children are exiting immediately because of that. If you kill just the master, then the children presumably e

[nodejs] Installing ursa

2014-08-15 Thread Sith Lord
Hi, I'm trying to install this thing for like a month without success. I'm trying to install ursa through npm on node.js: https://github.com/Medium/ursa I run a windows 7 OS. I have python 2.7.3 I have Windows SDK 7.1: http://puu.sh/aTxlw/11e9deb3b7.png I have express 2010: http://puu.sh/aTxSZ/26

Re: [nodejs] Building a secure NodeJS REST API without password

2014-08-15 Thread Aria Stewart
On Aug 14, 2014, at 9:26 AM, Mandeep Gulati wrote: > I am building a node.js REST api for an android application. During the > registration phase, user chooses a username which is unique. Based on the > availability of the username, he/she is allocated that username and the user > is created

[nodejs] Re: Building a secure NodeJS REST API without password

2014-08-15 Thread Александр Суховетченко
Maybe https://passwordless.net/ can be any of help. On Thursday, August 14, 2014 5:26:54 PM UTC+4, Mandeep Gulati wrote: > > I am building a node.js REST api for an android application. During the > registration phase, user chooses a username which is unique. Based on the > availability of the u

Re: [nodejs] Does `node --harmony` works stable on all platforms?

2014-08-15 Thread Ben Noordhuis
On Thu, Aug 14, 2014 at 10:25 PM, Alexey Petrushin wrote: > Want to try generators `node --harmony` but worried a little about: > > - if it works on all platforms? > - does the API stable and won't be changed in future? No and no, in general. --harmony is for experimental features whose spec hasn