i\'m writing application like social network where in my application can show status update and chat . when i search on internet i found node.js for long polling technology and i think i can use that
I\'m running a node.js server on cygwin and I\'d like to se开发者_开发问答e how much memory is used by that node.js process.How do I do that? Task Manager I think only shows the cywin console memory?
I want to determine if incoming requests are from a bot (eg google, bing), or a human, and serve different data to each, for example, json data 开发者_高级运维for client javascript to construct the si
This is my JSON object: { text: \'stuff\', user: \'user1 } when I run a typeof jsonObj, I get object. When I run an jsonOb.length, I get undefined. When I tried to access the text property via cons
I\'m running a basic Express app in Node.js and trying to deploy to Heroku. The app works fine locally and I believe my setup with Heroku has gone well up until starting the server where i get the fol
I\'ve followed examples and samples and everything and I am struggling.. the equivalent PHP code I\'m using is:
I typed \"date\" in console...and I get Tue Sep 20 01:01:49 PDT 2011 ...which is correct. But then I do this in node.js, and I get the wrong time.
When I start my node.js server and client gets connected, I am able to send a request from client (socket.emit) and get a response (socket.on(\'rentsAround\'....)). But when I connect 2nd time onwards
I\'m fairly new to Node.js and I\'m starting to love the idea of server-side javascript. I\'m trying to create a web server that on one hand will serve static files with a module such as Trailer and
I am wondering if it is possible to make a portable chat application with Node.js. What I mean by portable is that, if there is a central website which provides chat service with Node.js, users can f