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.

learn more… | top users | synonyms (2)

0
votes
0answers
3 views

Can not catch over >1000 message when server send over 1000 message at a time nodejs udp

I write application to send file multicast by nodejs I read file by chunk and send it in block like this for (var block = 1; block <= number_of_block; block++) { ...
0
votes
0answers
5 views

File upload to a Node JS server

I am trying to upload a file to my node js server using express. Here is my nodejs code: var express=require('express'); var app=express(); var fs=require('fs'); var sys=require('sys'); ...
0
votes
1answer
8 views

Push Notifications to iOS App using Nodes.JS and without APNS

I am using Node.JS for pushing notifications in my iOS application. So a push notification solution without APNS. Do you see any problem with that?
0
votes
0answers
5 views

SALT and HASH using pbkdf2

I am using the following methods to create a salted and hashed password from the crypto lib in nodejs: crypto.randomBytes(size, [callback]) crypto.pbkdf2(password, salt, iterations, keylen, callback) ...
0
votes
1answer
13 views

node.js page in different tabs shows the same page source code

I'm new in node.js, my code is: var http = require('http'); http.createServer(function (req, res) { res.writeHead(200, {'Content-Type': 'text/html'}); res.write('<p>' + Math.random() + ...
0
votes
0answers
12 views

While loop with promises

What would be the idiomatic way to do something like a while loop with promises. So: do something if the condition still stands do it again repeat then do something else. ...
0
votes
0answers
7 views

Meteor/Node.js node-amqp - not receiving confirmations from published messages

I am having problems having messages published through node-amqp return a confirmation. Despite having the most recent version (0.1.7) installed via NPM, I uninstalled and installed using the url ...
0
votes
0answers
4 views

Jade access images from parent directory

I've got a big problem with Jade. Starting with my folder structure: -root --public ---userdirs ----userimages ---www ----member.jade So I'm working on a cloud-like service and I'm trying to show ...
0
votes
1answer
10 views

Nodejs REST without express

All the tutorials I see for creating rest apis use express. While I'm sure this is a fine solution, I would like something with less overhead and as few dependency modules as possible. What are some ...
1
vote
0answers
5 views

Error EACCES (Node-Webkit / asw2js / Amazon S3)

I am trying to upload a file from my local file system (/local/dir/file.png) to my AmazonS3 Bucket (bucket/dir/file.png). I am using node-webkit and aws2js. My code looks something like.. s3 = ...
0
votes
0answers
10 views

How To Cancel, Timeout, or Clear Queued Messages In Socket.IO

I'm using callbacks in Socket.IO to know when an action is finished. For example: $loading.show(); socket.emit('delete', {id:123}, function(error){ $loading.hide(); if(error) ...
2
votes
5answers
73 views

Why compilers are written in C/C++ instead of using CoffeeScript (JavaScript, Node JS)?

I am exposed to C because of embedded system programming, and I think it's one wonderful language in this field. However, why is it used to write compilers? If the reason why gcc is implemented in ...
0
votes
1answer
11 views

Expressjs without templates

I am looking to develop an web application which is basically one page and I am little confused regarding two things. Now I am little confused as to what should my response from server-side(i.e ...
0
votes
1answer
25 views

Node.js: Connection between servers

I have question, this might be small but I've not found answer anywhere. Do we need to have a port address for a node.js server to connect to other node.js server and create a communication between ...
0
votes
1answer
10 views

Jade is not working as expected not showing index.jade content

i am trying to use jade .i am trying to render a template in get request my code is app.get('/promocode/generate-promocode',mw.authenticate,function(req,res) { res.render('index1', {}); }); ...

1 2 3 4 5 1598
15 30 50 per page