Tagged Questions
Node.js is an event-based, asynchronous I/O framework that uses Google's V8 JavaScript engine. Node.js is commonly used for heavy client-server JavaScript applications.
0
votes
0answers
6 views
What delete really means in NodeJS in arrays?
Reading the answers to this question I understand that delete sets undefined value for the element.
So, if we have an array: a = [1, 2, 3] (at least) on the client side using delete a[1] the array ...
0
votes
0answers
5 views
Authenticating Google Pull Task Queue with NodeJS client
I have a Pull Task Queue running on App Engine. I am trying to access the queue externally from the NodeJS REST client: https://github.com/google/google-api-nodejs-client
I'm passing my Server API ...
0
votes
0answers
5 views
EACCES error when running node app on iisnode
I'm struggling to get a simple node application to run on IIS using iisnode. Here is the application:
var http = require('http');
http.createServer(function (req, res) {
res.writeHead(200, ...
1
vote
0answers
19 views
How should I open source my Node.js application?
I'm working on a Node.js application that's hosted on Heroku and uses a PostgreSQL database also hosted by Heroku.
I have a bunch of SQL scripts for creating my database tables in private Github ...
1
vote
0answers
24 views
Where to place javascript functions in Meteor applications
In Meteor we normally attach javascript functions to Templates. Where do we place standard javascript functions?
For instance, in one of my apps I have a UserInfo.js file which has a bunch of ...
0
votes
1answer
11 views
Fetching data from API that requires If-modified-since, using request.js in node,js
I'm making a proxy to the 4chan API. I'm using request.js in Node.js + Express to make the queries to the API and I don't know how exactly implement the "If-modified-since" that the API requires, this ...
0
votes
1answer
18 views
How to structure a neo4j graph db?
Hello i have problem designing a database based on neo4j. I want to be able to create relationships between nodes and get the node responsible for creating the relationship.
An example that i come up ...
1
vote
1answer
19 views
nodejs chatroom object expected line one
I'm using this tutorial to try to learn how to make a chatroom with nodejs.
I got down to where it shows the page with a button and text area, but then when I ran it, it gave an object expected ...
0
votes
0answers
4 views
Error in running balloons.io app?
When I run my balloons.js (https://github.com/gravityonmars/Balloons.IO) it shows this error:
url.js:118
throw new TypeError("Parameter 'url' must be a string, not " + typeof url)
^
TypeError: ...
0
votes
0answers
14 views
Module to pool streams in node.js
I have a two readable/writable streams:
fileDataToUrlStream() takes file chunks like those emitted from ReadableFileStream and emits URL's
urlToParsedDataStream() takes those URL's, downloads the ...
1
vote
0answers
13 views
USB device address on Windows
I'm using node-serialport to work with USB devices, however on Windows I can't find out how can I connect to specific device. When I use list function there is only one item with COM3 address, however ...
1
vote
0answers
21 views
two images is loaded instead of one when first socket connects - Node.js
I'm trying to implement a multiplayer feature to my game. I'm using node.js for this. When one person connects, an image is supposed to be loaded to the browser. Instead it loads two images.
Heres is ...
0
votes
0answers
23 views
Mongoose Query Returning Undefined
I've got a Mongoose query that definitely should be working as far as I can tell, but is returning undefined and I can't figure out why.
Here's the query:
...
var perPage = config.perpage;
var page ...
0
votes
0answers
18 views
Prevent a nodejs fork from sharing tcp connections
In this section in the cluster module: http://nodejs.org/api/cluster.html#cluster_cluster
it says:
// Workers can share any TCP connection
Is there anyway to disable this?
I want to be able to ...
0
votes
1answer
13 views
Is possible do things when user leave from Socket.io connection?
I'm using node js and socket.io, I need to manage the users when they leave from application, what is the best practice to do this?