811 karma · joined August 28, 2013
five.tooSlow = function() {
var returnIn = new Date(new Date().valueOf() + 555);
do {} while(new Date() < returnIn);
return five();
};
Finally a way to escape callback hell. I think somebody should write a jQuery.ajax plugin that calls the function repeatedly until a request is finished.> An error occurs if the PRNG has not been seeded with enough randomness to ensure an unpredictable byte sequence.
https://www.openssl.org/docs/crypto/RAND_bytes.html
But there is also this:
> Pseudo-random byte sequences generated by RAND_pseudo_bytes() will be unique if they are of sufficient length, but are not necessarily unpredictable.
Often due to some restrictions by the web development company, most of the web developers are forced to use free open source platforms such as Ubuntu.
Isn't the opposite the more common case, like having to work with Windows? How to install Gimp on Linux
sudo apt-get install gimp
Applies to just Ubuntu. Debian doesn't even have sudo configured by default, and most other distributions don't have apt-get.Overall a pretty biased and poorly written article.
I used RequireJS for a while and it isn't bad, but Browserify has a lot of advantages like compatibility with Node.js and npm (while the only disadvantage I see is that the compile step is non-optional).
287 MB/sec / $20 ~ 14 MB/sec/dollar
I don't think MB/sec/dollar makes sense simply because disk speed does not scale. If you need a (very) fast disk, Linode is obviously the better choice.Its language detection is a bit wonky right now and there are mainly plugins for web development related stuff; if you don't have anything lying around, here is where you get after pasting jQuery: http://picocdn.com/0fe3e567e0/
It's currently running on a $5 Digital Ocean box (with unlimited traffic :), depending on how popular it gets I might need to upgrade it soon. Especially the plugins use a lot of CPU, but after the first hit Varnish is able to serve an insane amount of requests per second.