This is also available in Node 10 behind the `--harmony-bigint` flag. I've already made two modules with https://github.com/emilbayes/secure-random-uniform#bigint-su... and https://github.com/emilbayes/biguintle. Lots of fun!
HN user
tixzdk
I pay 15€ for unlimited everything in Denmark (but with reasonable caps imposed on European roaming)
My hair and my beard
The same question was asked on Quora: https://www.quora.com/Did-Pixar-accidentally-delete-Toy-Stor...
Important excerpt from random.c:
* When random bytes are desired, they are obtained by taking the SHA
* hash of the contents of the "entropy pool". The SHA hash avoids
* exposing the internal state of the entropy pool. It is believed to
* be computationally infeasible to derive any useful information
* about the input of SHA from its output. Even if it is possible to
* analyze SHA in some clever way, as long as the amount of data
* returned from the generator is less than the inherent entropy in
* the pool, the output data is totally unpredictable. For this
* reason, the routine decreases its internal estimate of how many
* bits of "true randomness" are contained in the entropy pool as it
* outputs random numbers.
*
* If this estimate goes to zero, the routine can still generate
* random numbers; however, an attacker may (at least in theory) be
* able to infer the future output of the generator from prior
* outputs. This requires successful cryptanalysis of SHA, which is
* not believed to be feasible, but there is a remote possibility.
* Nonetheless, these numbers should be useful for the vast majority
* of purposes.
This is the same old story. /dev/urandom is what you should use, unless you believe that the hash function is brokenPony! Seems like a very interesting language that doesn't get much exposure. Predictable GC, fine grained capabilities, actor model (concurrent by default), no deadlocks etc.
I think the article gets this wrong. `window.crypto` should be read-only
"A woman wearing a red hat" from the samples cracked me up
And the letter, which was sent as priority mail, had been opened when they went to retrieve it...
Denmark does as well, to a high degree
K-medians or k-medoids yield more pleasing results in my experience
Javascript version: https://github.com/politiken-journalism/scale-color-perceptu...
I'll leave this module here for those of you how haven't heard of it. https://github.com/patrick-steele-idem/morphdom
It diff's the DOM instead of a VDOM
If possible, send it off to a web worker? That free's up the UI thread
Edit: So it's the rendering that's hard on the CPU. Canvas would probably improve performance. Also, the graphic is so simple and there doesn't seem to be any event listeners on the edges themselves, that converting should be trivial :)
Or maybe they could use [Node.js core DNS](https://nodejs.org/api/dns.html#dns_dns_setservers_servers) module to resolve the domain, setting something like [censurfridns](http://www.censurfridns.dk/) as a temporary server.
I think this module is very immoral, however, so I'm not going to contribute...
Substack (creator of browserify among others) is also available through github, but not sure if through PRs: https://github.com/substack/music-for-hire
Seems like another kitchen sink library to me... Demos are impressive, but when is someone going to write a JS viz library in a more declarative fashion like outlined in Grammar of Graphics? They all seem overly imperative (draw this pixel, then that pixel) or rigid, non-composable functions taking huge configuration JSON blobs.
For tougher treatment of complex math subjects I really enjoy matematicalmonk's Khan Academy style videos:
$ms-ratio: $golden
See: https://github.com/Team-Sass/modular-scale#usageDo you have xcode installed?
I second this!
Great job! Seen tons of similar services, but this is really polished. I already signed up, but was looking for a way to create my own playlists. I'd use this all the time if it had custom playlists
I keep getting stuck at:
Traceback (most recent call last): File "/usr/bin/selfspy", line 19, in <module> from activity_store import ActivityStore File "/private/var/lib/selfspy/activity_store.py", line 9, in <module> import sniff_cocoa File "/private/var/lib/selfspy/sniff_cocoa.py", line 1, in <module> from Foundation import NSObject, NSLog ImportError: No module named Foundation
I've kept my favorite shortcuts open in a panel for about a week, so I could learn them by heart: http://pastebin.com/hQtYKzhN Favorites include: Expand selection (to various levels), close tag, block commenting and splitting lines!