[nodejs] Re: recommended way installing nodejs 12.04 on ubuntu 14.04

2015-07-01 Thread Brandon Moser
If you are looking to use a package manager, Joyent has a full wiki page on it here, https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager. Most of us used to use the Chris Lea PPA for Ubuntu, but now NodeSource is hosting it. Brandon On Tuesday, June 30, 2015 at 8:05:4

[nodejs] node-dogstatsd increment and incrementBy Function

2015-07-01 Thread DM
Hi, I have been looking into node-dogstatsd . Can someone please explain me why the sampling rate is not provided for the incrementBy function whereas the sampling rate is there

Re: [nodejs] Re: issue while doing profiling of node server

2015-07-01 Thread Prasoon Gupta
Thanks Julien it works as expected. - Prasoon Sent from my phone. please excuse spelling mistakes. On Jun 30, 2015 11:59 PM, wrote: > > > On Tuesday, June 23, 2015 at 4:58:43 AM UTC-7, Prasoon Gupta wrote: >> >> I am using node 0.12.0 for my application, When try to run node server >> with "--pr

[nodejs] Re: recommended way installing nodejs 12.04 on ubuntu 14.04

2015-07-01 Thread Jared R
I have come to prefer compiling from source according to the instructions here: https://stackoverflow.com/questions/27139323/npm-uninstalls-itself-on-npm-update (note that I did not come up with this method, but I am reposting it here in case something happens to the link) export NODE_PARENT=/

Re: [nodejs] How to overload the URL fetch in npm?

2015-07-01 Thread Gustavo Machado
You might be able to use something like this: https://github.com/mixu/npm_lazy Thanks, Gus On Sun, Jun 28, 2015 at 8:20 PM, Yuri Vic wrote: > I want to create the package for one nodejs-based project. All files that > are required to be downloaded should be downloaded and fingerprinted before >

Re: [nodejs] recommended way installing nodejs 12.04 on ubuntu 14.04

2015-07-01 Thread Witold Szczerba
My favorite way to install such things is to download binaries from a project webpage and then symlink to /usr/local/bin or whatever other place required. I can later delete the project from disk and remove all broken links. Regards, Witold Szczerba On Wed, Jul 1, 2015 at 2:39 AM, James Ramsfield

[nodejs] Express sending back JSON via Ajax Get Issue

2015-07-01 Thread A
HI, I have a page that is requesting data via ajax as such url = 'hello/world/123', method: 'get', ... The route is this app.get('/hello/world/:num', function(req, res) {hello.readWorld(req, res, req.params.num)}); Which successfully calls this module.exports.readWorld= function (req,

[nodejs] Re: Express sending back JSON via Ajax Get Issue

2015-07-01 Thread A
Forgot to mention, if it matters, that it is a JQuery operation On Wednesday, July 1, 2015 at 3:38:50 PM UTC-4, A wrote: > > HI, > > I have a page that is requesting data via ajax as such > > > url = 'hello/world/123', > method: 'get', > > ... > > The route is this > app.get('/hello/world/:nu

[nodejs] Re: Memory pools with Node.js

2015-07-01 Thread Jimb Esser
Most actual calls to "new" and "delete" will be happening in V8, and I would assume they already make heavy use of memory pools and similar methods. On the Javascript side as well, doing pooling can go a long way to improving performance and reduce the amount of time spent in object initializa