[nodejs] Do I need cookie-parser?

2015-05-11 Thread joel
my express is using passport's local strategy. i just noticed i don't use the cookie-parser middleware and everything seems to work fine. The passport example app have it - https://github.com/mjhea0/passport-local-express4/blob/master/app.js#L26 any ideas? -- Job board:

Re: [nodejs] is it possible to start-stop CPU profiling on runtime and get the v8.log file?

2015-05-11 Thread Ben Noordhuis
On Mon, May 11, 2015 at 3:40 PM, Irina Tchernouchina irinatchernouch...@gmail.com wrote: Hello all, I know that I can either 1) pass node.js --prof --log-timer-events app.js and get v8.log file for the whole execution, 2) or node.js app.js, but use binding from

[nodejs] Cross Compiling Node.js

2015-05-11 Thread Fabrício Lélis
I' ve tried to make cross compiling node.js but I get this error: ./node: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.15' not found (required by ./node) This is my script: #!/bin/sh -e

[nodejs] cookie across subdomain

2015-05-11 Thread joel
I am trying to refactor existing express/angular app. The app is one codebase and I would like separate it into 2 parts: nginx that serves the angular app and node.js for the API (consumed by the angular). I setup nginx in front of both apps to act as reverse proxy so I can run both apps on my

[nodejs] Getting connection timeout error and server getting disconnect in localhost

2015-05-11 Thread prem Kumar
Hi, If response from API side is getting delayed, then getting connection timeout error and server getting disconnect (localhost) with below error, events.js:72 throw er; // Unhandled 'error' event ^ Error: connect ETIMEDOUT at errnoException (net.js:905:11) at

[nodejs] Authentication on different subdomain

2015-05-11 Thread joel
I am working on existing code base that someone else wrote. it's Angular+Node.js. I am trying to split it into 2 apps - serving angular with nginx and API service using Node.js. I have nginx as a reverse proxy. the angular is running on port 3001 and the API on 3000. The problem is after a

[nodejs] is it possible to start-stop CPU profiling on runtime and get the v8.log file?

2015-05-11 Thread Irina Tchernouchina
Hello all, I know that I can either 1) pass node.js --prof --log-timer-events app.js and get v8.log file for the whole execution, 2) or node.js app.js, but use binding from https://github.com/node-inspector/v8-profiler and call start-stop-profiler functions from my code. But for variant 2,

[nodejs] Re: Announcement: CMake.js - a Node.js/io.js native addon build tool

2015-05-11 Thread Gabor Mezo
Thanks. The next step is gonna be something like node-pre-gyp on steroids. I'll come back, if I have something to show ya. On Saturday, May 9, 2015 at 10:21:00 PM UTC+2, Peter Rust wrote: Looks very cool Gabor -- thanks for your work on this! -- Job board: http://jobs.nodejs.org/ New group