Thank you peter, C++ binding is another choice I would consider, if I make
sure it's hard to remove v8 heap limit right now or in near future and
split process has unacceptable overhead.
On Thursday, August 22, 2013 1:23:21 PM UTC+8, Peter Rust wrote:
as well as quite a few others on npm:
no error for me, but nothing happens either.
Are you using some sort of proxy ?
On Thursday, 22 August 2013 04:55:35 UTC+2, Ket wrote:
I got this error message:
WebSocket connection to 'ws://75.98.171.173:8080/' failed: Error during
WebSocket handshake: Sec-WebSocket-Protocol mismatch
Can
EventEmitter handlers are always called in the scope of the EventEmitter
instance.
On Wednesday, 21 August 2013 07:30:58 UTC+2, Mike Chen wrote:
Hi,
I am doing a bit of code organization, and I would like to turn the
following:
client.on('message', function(data) {
// do something
here is the explanation by TJ https://vimeo.com/56166857
Am Donnerstag, 22. August 2013 00:50:31 UTC+2 schrieb Diogo Resende:
app = express();
your_other_express_app = express();
// ...
app.use(/subfolder, your_other_express_app);
--
Diogo Resende
On Wednesday, August 21, 2013 at 21:41
Hi all
I have a project with nodejs and I am trying to use the google drive api
for nodejs in server side. Here it's the github for the library:
https://github.com/google/google-api-nodejs-client/tree/master/lib
As far as I know, I only know to use this library to list files and upload
Yes. But here
http://nodejs.org/api/crypto.html#crypto_crypto_createhash_algorithm in
example it's invoked not like object constructor, but like a function.
среда, 21 августа 2013 г., 11:37:34 UTC+3 пользователь ryandesign написал:
How do you mean describe? It is described as a class in the
Just hack this up in a pinch: https://npmjs.org/package/down
It keeps polling the github (and harvest and TODO:other services) and
prints green/red UP/DOWN messages.
Very useful to left running on the one of your tmux's pane for that moment
when you are waiting to `npm install` from a git repo
Thank you,
You've saved me my hair. I use proxy server, if this the case, in part of a
plan to expand service to other region.
There's nothing happening because there's no data transfer. It's the
problem I tried to solve for weeks and Google didn't help me a bit.
--
--
Job Board:
it's an API documentation, not a js-tutorial. Examples should show safe
usage of the API. Using ReadStream as a factory function is safe for the
ReadStream class. No Problem.
Am Donnerstag, 22. August 2013 11:02:25 UTC+2 schrieb Dennis Leukhin:
Yes. But here
I am looking for a solution which will allow users to manage Virtual
Machines available in VMWare ESXi, through Web Application(using Node.js).
I just looked into the VMWare official Docs, Java and C# APIs are
available, but I am looking for a javascript API or node.js modules.
I am looking
Does anyone solved it in different way than change ulimit? Like The Yak
wrote- it only allows files to accumulate longer so it is not solution.
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received
Here is another real world example:
var todo = 0;
function done() {
todo--;
if (!todo) callback();
}
todo++;
// If a calls back synchronously, todo amount will never be 2, so done
will call back directly after a calls back.
a(done);
if (soemthing) {
todo++;
b(done);
}
Hi,
It seems the vSphere Web Services SDK has WSDL file(s) that you might be
able to use.
Have you tried looking into using those? (you need to register on the
vmware website in order to download the SDK)
Best regards,
Jeroen Janssen
Op donderdag 22 augustus 2013 13:48:24 UTC+2 schreef
Why hasn't anyone posted --max-old-space-size=size in MB yet? Just do
that w/ 8192 for instance, for 8gb.
On Thu, Aug 22, 2013 at 1:48 AM, NStal Loit nstalm...@gmail.com wrote:
Thank you peter, C++ binding is another choice I would consider, if I make
sure it's hard to remove v8 heap limit
we have tried maybe 100 coding combinations based on other's
suggestions but cannot get express working with preflight - keeps
failing on connection refused and options - have tried with chromium and
firefox - here is the curl we are using as a test (fails on our angular
apps as well). If
I always followed the simple rule callback may be called at any time and
I was pretty happy so far.
The resulting code is more portable and simpler. Just use tail recursive
algorithms and be happy.
вторник, 20 августа 2013 г., 21:47:22 UTC+4 пользователь Bryan Donovan
написал:
I have been
This is just the robustness principle/Postel's law: Be conservative in what
you send, be liberal in what you accept.
If you're implementing an API, you should be consistent. If you're
consuming the API, you should be defensive. But honestly, people writing
node modules should follow the node
node: v0.10.15
OS: Linux 3.2.0-51-generic #77-Ubuntu x86_64 x86_64 x86_64 GNU/Linux
Wrote an addon for password comparison and hiding the response in response
blob, based on a sha1 a client device sends to my node server running
express. here https://gist.github.com/austiniam/6309413 is the
Hi,
After reading a number of papers and journals which describe node as being
a single threaded web server running on a single core, I came across this
popular stack overflow question which to some extent contradicts my
findings:
the phrase Node.js can fire up child processes or send messages to
additional worker processes
means: You must program that part.
You can use
http://nodejs.org/api/cluster.html
A single instance of Node runs in a single thread. To take advantage of
multi-core systems the user will sometimes want
On August 22, 2013 at 2:14:29 PM, Jasmine (jasmine.ag...@gmail.com) wrote:
Hi,
After reading a number of papers and journals which describe node as being a
single threaded web server running on a single core, I came across this popular
stack overflow question which to some extent contradicts
The success case is synchronous. It looks like there's nothing that ever
needs to be async in that function. Why does this take a callback instead
of just returning a boolean?
On Thu, Aug 22, 2013 at 2:08 PM, Bryan Donovan brdono...@gmail.com wrote:
Cool. I've updated
Be conservative in what you send, be liberal in what you accept.
This is absolutely wrong! You should be conservative in what you accept and
conservative
in what you send otherwise you get huge troubles, shits and endless it
works here doesn't there story.
Browsers are good example.
people
Because the calling code calls back with the error (e.g.,
https://github.com/BryanDonovan/node-simple-elasticsearch/blob/master/lib/client.js#L54),
and it was easier to add the nextTick() stuff inside the validator function
instead of in each caller. I previously had it purely synchronous..
On Thu, Aug 22, 2013 at 2:22 PM, Eldar eldar...@gmail.com wrote:
Be conservative in what you send, be liberal in what you accept.
This is absolutely wrong! You should be conservative in what you accept
and conservative
in what you send otherwise you get huge troubles, shits and endless it
To be honest, it seems like laziness over correctness. You now can't have a
method that just validates synchronously. You also now need to trace the
code to prove the correctness of the code, since you need to ensure that
any use of the validation will result in an async callback at some point.
Or
Yeah, I agree. I originally did it this way because I erroneously thought I'd
have to do some kind of cb.bind() trickery to preserve stack traces, and that
was too much cruft in the main client code.
On Aug 22, 2013, at 11:36 AM, Scott González scott.gonza...@gmail.com wrote:
To be honest,
I am sorry, I had to write more detailed explanation of my above statements.
*Postel low (Robustness principle)*
You can have a look at wikipedia article about it
http://en.wikipedia.org/wiki/Robustness_principle.
It contains explanation about why the robustness principle is harmful and
Also about process.nextTick standard. You might be surprised, but I very
rarely see sync callbacks deferring in modules which our app uses. directly
or not.
пятница, 23 августа 2013 г., 0:02:36 UTC+4 пользователь Eldar написал:
I am sorry, I had to write more detailed explanation of my above
On Thu, Aug 22, 2013 at 4:02 PM, Eldar eldar...@gmail.com wrote:
I am sorry, I had to write more detailed explanation of my above
statements.
*Postel low (Robustness principle)*
You can have a look at wikipedia article about it
http://en.wikipedia.org/wiki/Robustness_principle.
It
FWIW, the error issue is a strawman. You can/should use long-stack-traces
for debugging/development, and trycatch (
https://github.com/CrabDude/trycatch/) for production, which avoids the
need to both restart on domain errors (
Howdy all,
We needed to fork forever-agent for some additional functionality, but
don't want to have to fork request as well since we have made no updates to
it, and would lose semver.
Currently, the only way to accomplish this that I know of, would be to run
a private npm repo that uses our
On Thu, Aug 22, 2013 at 5:29 PM, Adam Crabtree atcrabt...@gmail.com wrote:
Howdy all,
We needed to fork forever-agent for some additional functionality, but
don't want to have to fork request as well since we have made no updates to
it, and would lose semver.
Currently, the only way to
Though it doesn't address the larger issue, that's definitely a better
approach than forking request. Thanks. =)
I'd still prefer a better solution to the private npm issue though...
Cheers,
Adam Crabtree
On Thu, Aug 22, 2013 at 2:48 PM, Kevin Swiber kswi...@gmail.com wrote:
On Thu, Aug
I think https://github.com/stagas/npm-server might help.
And/or node-reggie (https://github.com/mbrevoort/node-reggie - also see
http://blog.strongloop.com/deploy-a-private-npm-registry-without-couchdb-or-redis/
).
andy
On Thu, Aug 22, 2013 at 4:24 PM, Adam Crabtree atcrabt...@gmail.com wrote:
Unless I'm mistaken, it looks like those don't support my use-case, nor do
they seem to support private+public dependency trees at all.
Use case:
npm install request # Get public request, but private forever-agent
Unfortunately npm client does not really support multiple registries (e.g.
private
On Thu, Aug 22, 2013 at 2:29 PM, Adam Crabtree atcrabt...@gmail.com wrote:
Currently, the only way to accomplish this that I know of, would be to run a
private npm repo that uses our private version for forever-agent and falls
back on the public request, which feels like overkill.
Is there a
Hello Fedor,
it took me a bit of fumbling around, but thank you, thank you, thank
you! Just in case someone else comes across a similar problem the
following worked for me:
var msgheader = message header;
var msg = msgheader + msg body;
var msghlen = msgheader.length;
var buf = new
Marcel ,
I forgot to mention that. This option in node is actually
--max_old_space_size according to the node's manpage, but not work for me
when greater than ~2G.
During my search and test, I found this option only useful to remove the
soft limit in old days (say node 0.6). It likely
Hi,
I'm new to Node, and was hoping to use Node.js for a a small internal
webapp for managing workflow for product photos.
The image files are RAW camera files, and stored on a local NAS device.
The webapp should:
- Have a concept of workflow, and be able to jump back/forth between
Thank you for your input, Forrest.
You're never ending / destroying / disposing any of the responses,
so they're just piling up inside the callback closures.
In foo1, there is a return statement immediately after the asynchronous
setTimeout(foo1,0);
so i would assume the responses are
On Thu, Aug 22, 2013 at 9:37 PM, ming hseum...@gmail.com wrote:
Thank you for your input, Forrest.
You're never ending / destroying / disposing any of the responses,
so they're just piling up inside the callback closures.
In foo1, there is a return statement immediately after the
42 matches
Mail list logo