[nodejs] Node and npm update on gcloud VM

2018-08-23 Thread Harry Blakiston Houston
Hello there I have been trying to upgrade my nodejs and npm versions on a gcloud virtual machine. The current version of node is v6.14.4 I would like to install a v8.x npm is also installed but on version 3.10.10 again I would like to upgrade this to a version 5.x. Would much appreciate any

Re: [nodejs] Node 'request' module: Getting hold of the last response in a 302-redirect

2016-04-17 Thread Harry
t either.) On Sunday, April 17, 2016 at 7:00:44 PM UTC+5:30, Daniel R. wrote: > > Given that you are issuing a post request, you'll need to set some of the > other request options. In particular look at: followAllRedirects > > -- Daniel R. > [http://danielr.neophi.com/ > ] &g

[nodejs] Node 'request' module: Getting hold of the last response in a 302-redirect

2016-04-16 Thread Harry
Hello, I am using the Node request module from inside the Node shell to submit a login form via an HTTP POST. If the login is successful, the server redirects to a 'home' page (with an HTTP GET). The documentation for the request module says that any and all redirects happen by default, and th

Re: [nodejs] Offline documentation (html or pdf), possible?

2016-03-28 Thread Harry
(Ouch!) Thank you, folks. On Sunday, March 27, 2016 at 12:33:27 AM UTC+5:30, Ben Noordhuis wrote: That's a binaries-only tarball. You need a source tarball so the one you want in this case is https://nodejs.org/dist/v5.9.1/node-v5.9.1.tar.xz. On Sunday, March 27, 2016 at 12:33:28 AM UTC+5:30

Re: [nodejs] Offline documentation (html or pdf), possible?

2016-03-25 Thread Harry
Noordhuis wrote: > > On Fri, Mar 25, 2016 at 4:21 AM, Harry > > wrote: > > Hello, > > > > Can the full html or pdf documentation be provided with every stable > Node > > release for offline viewing? > > > > I can save the 'all.html'

[nodejs] Offline documentation (html or pdf), possible?

2016-03-24 Thread Harry
Hello, Can the full html or pdf documentation be provided with every stable Node release for offline viewing? I can save the 'all.html' page from the browser but the index on the side (that lets me jump straight a section) continues to have online links in it. I cannot use wget -r either as n

Re: [nodejs] A few newbie questions on Nodejs

2016-03-23 Thread Harry Simons
On Thursday, March 24, 2016 at 7:51:35 AM UTC+5:30, Matt Sergeant wrote: > > On Wed, Mar 23, 2016 at 12:25 PM, Harry Simons > wrote: > >> >> For example, if an isolated and primarily an I/O bound request takes, >> say, 3 seconds to get serviced (with no othe

Re: [nodejs] A few newbie questions on Nodejs

2016-03-23 Thread Harry Simons
lso. So, Node's evented nature won't magically obviate the need of a dedicated DBMS server. (Note that I've never really developed or deployed even a modest scale web app, let alone a C10K scalable app - hence all this newbie ignorance.) On Thursday, March 24, 2016 at 7:52:05 AM

[nodejs] A few newbie questions on Nodejs

2016-03-23 Thread Harry Simons
Hello, I have not been able to see the following points addressed in all the online material I have read to date on Node, and so, hope to be enlightened by some very smart and knowledegable folks here that I presume would be reading this. 1. Since I/O happens asynchronously in worker threads

Re: [nodejs] Some questions on Node's threading and scaling.

2014-12-10 Thread Harry Simons
On Saturday, December 6, 2014 9:30:24 PM UTC+5:30, Aria Stewart wrote: > > > > On 6 Dec 2014, at 03:03, Harry Simons > > wrote: > > > > 2. To use multi-cores, I can have multiple Node processes, sure. But how > do I serialize/synchronize these processe

Re: [nodejs] Some questions on Node's threading and scaling.

2014-12-07 Thread Harry Simons
Aria, Julien - those were very enlightening answers! Looks like, I'll be busy for a few months now digging into this area. I'm incidentally new to web application development, too. Though I'll be making Node/Express my first web application development platform/framework, I won't have the bene

[nodejs] Some questions on Node's threading and scaling.

2014-12-06 Thread Harry Simons
Hello, I'm new to Node. It looks very wonderful so far, I must say. Is there any official documentation on Node Internals, addressing questions such as the following: 1. How is the priority of the main thread that initiates the asynchronous I/O, creates servers etc handled vis-a-vis the event