Haskell: https://github.com/codahale/hs-shamir Go: https://github.com/codahale/sss Rust: https://github.com/codahale/sss.rs Java: https://github.com/codahale/shamir
1,027 karma · joined June 13, 2008
Haskell: https://github.com/codahale/hs-shamir Go: https://github.com/codahale/sss Rust: https://github.com/codahale/sss.rs Java: https://github.com/codahale/shamir
And that 'fizzle' used to mean 'fart quietly'? http://www.etymonline.com/index.php?term=fizzle
And that 'wench' used to mean 'child'? http://www.etymonline.com/index.php?term=wench
And that 'meat' used to mean 'food'? http://www.etymonline.com/index.php?term=meat
Etymology is fascinating (a word which itself may be related to the Latin 'fascinum', or penis).
http://wholehealthsource.blogspot.com/2015/08/a-new-human-tr...
http://wholehealthsource.blogspot.com/2015/08/more-thoughts-...
National Suicide Prevention Lifeline
24 hours a day, 7 days a week
or www.suicidepreventionlifeline.org
The code you write is either thread-safe, used in a single-threaded context, or a pinless grenade.
If you have a bunch of immutable state, then build unexported package variables in the package’s `init` func and export funcs which use those variables.
If you have a bunch of mutable state, then don’t use a singleton.
First, you're describing RSA signatures. "Encrypt X with your private key" means "X^D mod N" which is how RSA signatures work. In the context of RSA-based cryptosystems, it's clearer to just say "signed".
Second, the ghsign library uses the `RSA-SHA1` signer, which runs the message through SHA1 before signing it. The reason it does this is because "textbook" RSA (i.e. RSA on arbitrary messages) is vulnerable to chosen-plaintext attacks.
* Non-repudiable. Everything you send is signed with the public key on your GitHub account.
* Uses SHA1. (via the ghsign NPM module)
* Uses mDNS and BlueTooth LE and a gossip topology algorithm, so I'm not sure what would prevent a random third party from eavesdropping.
I would hesitate to market this as "secure".
I did this in rough a week and a half of full-time work.
As for aws-go, I had some APIs I needed to use and a machine-readable description of those APIs. The choice was pretty clear.
I just opened up this repo yesterday: https://github.com/stripe/aws-go.
It's really raw, but it uses the JSON API descriptions from botocore to generate Go clients for all 40 public AWS services.
* VP, Business Development & Services
* Head of Technology Partnerships
* CIO
* VP, HR
* Vice President, Strategy
* Vice President, Marketing
* VP Communications
* Director of Outreach
* Director of SalesWhat would that accomplish? It's an article about the CAP theorem, not safety engineering or Byzantine fault tolerance.
A single producer and single consumer means zero contention for either for most implementations. How well does this scale to your actual workload? What’s the overhead of a producer or a consumer? What’s the saturation point or the sustainable throughput according to the Universal Scalability Law? It’s impossible to tell, since this is a data point of one, which means it can’t distinguish between a system which has a mutex around accepting producer connections and a purely lock-free system. And that’s a shame because wow would those two systems have very different behaviors in production environments w/ real workloads.
Finally, measuring the mean of the latency distribution is wrong. Latency is never normally distributed, and if they recorded the standard deviation they’d notice it’s several times larger than the mean. What matters with latency are quantiles, ideally corrected for coordinated omission (http://www.infoq.com/presentations/latency-pitfalls).
This is not a benchmark, this is a diary entry.