I'm trying to debug an asynchronous file uploader that I built some time ago which is no longer working, I've spent already a good deal of time without success.  The stream that the server is receiving is always corrupted in fact the file (im...
I would like my server.js to basically save a string to a .txt file for a history/log on the server.  Since you can not use php or jQuery in server.js, I don't know how to do this, nor has anyone asked the same question.  Do you know how?  Thank...
I've got a fairly complicated NodeJS application which manages various operations on a server. It listens for messages on a PubNub channel, and makes several requests to 3rd-party APIs. It also has a timer (using setTimeout) which runs every seco...
I would like to use a Dojo button to download an Excel or a PDF file. So far I've managed to do it by using a call to dojo.io.iframe in the onClick handler of the button. However, this will only download the file once. Any successive calls will b...
I have some PHP code that is receiving and processing large images. I'd like to echo out some JavaScript at certain points while the image is being processed to update the DOM with jQuery. Here is some sample code, but it isn't working. It ju...
The smallest file I have has > 850k lines and every line is of unknown length. The goal is to read n lines from this file in the browser. Reading it fully is not going to happen.  Here is the HTML <input type="file" name="file"...
I have learned that node.js use libeio internally to perform async file I/O, with thread pool, on *nix platform, am I right?    What about async network I/O? Is it done by libev? Is there also a thread pool?   If there is thread pool inside, how cou...
Is there any way (in Javascript) to download a remote website (i.e. like with Curl), read it into a string variable and further process it?...
After having learnt node, javascript and all the rest the hard way, I am finally about to release my first web app. So I subscribed to Amazon Web Services and created a micro instance, planning on the first year free tier to allow me to make the app...
I'm developing a multi-process application using Node.js. In this application, a parent process will spawn a child process and communicate with it using a JSON-based messaging protocol over a pipe. I've found that large JSON messages may get...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.