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
5 views
Reveal.js server - serve many presentations
I'm using markdown and reveal.js to create presentations, and want to start using node.js to serve them from my website.
I've read the docs for reveal.js and it seems like it's easy to do for one ...
0
votes
0answers
4 views
Using jugglingdb - how to I bring the database to a consistent state?
Using https://github.com/1602/jugglingdb
I would like to use the Model.count function after saving a number of objects. However they do not seem to show up in the database, I assume because they are ...
0
votes
2answers
18 views
Compiling trivial python program to javascript using cython and emscripten on mac
I am trying to generate javascript from python using cython and emscripten.
hello.py:
print 'Hello world.'
Then I compile this to c using cython
>>> cython --embed hello.py -v
This ...
0
votes
0answers
3 views
Incrementing Cassandra Counter Column Family in NodeJs
I am trying to do an insert/increment in cassandra database through node.js...
Suppose I have this table:
CREATE COLUMN FAMILY MsCounter
WITH comparator = UTF8Type
AND key_validation_class=UTF8Type
...
0
votes
1answer
12 views
Web application build using node and express not able to connect with mongodb hosted on mongohq
I have created a web app using express.js and node.js and hosted that on Heroku.
I am using MongoDB with my above application and i have hosted my mongoDb instance on "mongohq.com". So after hosting ...
3
votes
1answer
26 views
Compare html responses using node js
I have a case where I send a request to a server and record the response. Then I craft the request and send it to server one more time and compare the response with the earlier recorded response.
I ...
-2
votes
1answer
20 views
Text chatting using webrtc and node.js
I have search on Google but didn't get proper example how to create Text chat application using webRTC and node.js .
Please if anybody knows how to do this .please share details .
0
votes
0answers
11 views
groups by month and year using mongoose.js
my collection in mongodb looks like below:
{
"AccountID" : "87f7fd60-d1ad-11e2-98bb-795730bce125",
"userId" : ObjectId("51b59fbec46916e60d00000c"),
"_id" : ...
0
votes
4answers
60 views
how to add <script>alert('test');</script> inside a text box?
This is strange requirement!. I want to <script>alert('test');</script> in an input type text but it should not execute the alert(alert prompt). I just need to set the text ...
0
votes
0answers
11 views
How to add a new field in aggregation in projection with blank value in mongodb
This is my code.
db.article.aggregate(
{ $project : {
title : 1 ,
stats : {
pv : "$name",
foo : "$foo",
dpv : 1
}
}}
);
In that name,foo are there in collection.
...
0
votes
0answers
13 views
NodeJS + NginX: high memory vs high compute instances (amazon ec2)
Traditionally for Rails applications, a high memory instance was the defacto standard. However, Nginx and Nodejs both make much more efficient use of memory.
Does the nginx + nodejs combo scale ...
0
votes
0answers
15 views
arduino Wireless & Node JS
I'm working on an arduino project to control motors and read sensors,
I decided to use the web view using node js as a medium channel to read/write from the serial port to the browser using either ...
0
votes
1answer
19 views
How do the async file IO methods work for local files in Node.js?
Node has a async/sync versions of all its filesystem IO operations, but I was wondering: how is async file IO implemented in Node.js for operations on local files? I myself was messing around with ...
0
votes
0answers
15 views
Refactoring Javascript “extract method” in Eclipse causes a crash
I have the nodeclipse plugin installed in Eclipse Juno, and I would like to use the "extract Method" function to refactor some JavaScript, however I get the following exception in ".log" in the ...
0
votes
1answer
14 views
Reading data chunk by chunk - node.js at real time?
I am working on web analytics, For reporting the traffic and user information, I want to read the flat file at real-time, Flat file consist of user information in extended log format.
Requirement
...