35,908 karma · joined Oct 4, 2007 (19y ago) · 17,871 submissions
I live in Cincinnati, Ohio with my wife and two daughters. Ohio is terrible. Don't move here. (Locals still want to be able to afford housing.)
Opinions posted here are entirely my own personal views and not official positions of ZeroTier or any other company or group, unless I explicitly say otherwise.
comment 6y ago · link · parent
The secret: a la carte bare metal (packet.net, datapacket.com) for high-load and especially high-bandwidth stuff combined with a simple not-over-engineered services deployment in Google GKS with instances tuned for our work load (high CPU, low memory) so we are not paying for RAM we do not need. We are really only using Kubernetes to keep stuff up and auto-scale. We are not even close to using all K8S's features.
GKS is most of the price tag. We could go down to about 1/4 the monthly cost if we rolled our own Kubernetes cluster with Rancher or something at packet.net, but the added labor might negate the savings. We may still do this if we grow significantly, since at larger scales the added labor may be justified by geometric cost savings.
In general the bigger you are the more sense it makes to roll your own. Small and growing: use managed stuff. Bigger: consider bare metal and DIY clusters. Even bigger: co-location can start to make sense. HUGE: build your own data center! It's always a pure spreadsheet decision though. Also keep in mind that you can sometimes split your stack and do managed for one part and bare metal for another. For us the split is between things that are micro-service based, database backed, and need to auto-scale vs. dumb simple bandwidth and CPU pumping services that are trivial to deploy and require little attention. The latter is what goes on bare metal for massive operational cost savings. The former goes in GKS for labor cost savings.
... and yes, it's very stable, and probably more stable than finicky over-engineered Rube Goldberg machine AWS deployments that engineers constantly have to fiddle with.
comment 6y ago · link · parent
comment 6y ago · link · parent
So far I have only seen innuendo and the weakest sort of circumstantial evidence, but if someone can produce something stronger I'd be willing to consider it.
comment 6y ago · link · parent
While you can limit your exposure a bit, I long ago reached the conclusion that strong privacy is impossible in the current client/server web model. There is too much surface area.
comment 6y ago · link · parent
For really tight algorithms I've still seen humans beat compilers by a lot, though it takes a lot of skill and some domain knowledge of the CPU.
For code that benefits a lot from vectorization, human coders still beat the crap out of compilers. I am not aware of any vectorizing compiler or JIT that can even approach what a human coder can do with SSE, AVX, or NEON (ARM's equivalent). I think these CPU extensions are just too complex for current generation compilers to effectively deal with. They require too much abstract understanding of what's actually happening in the code and the CPU to use really effectively.
I'm a bit surprised that there's been so little attention paid to the opportunities for applying deep learning and other advanced techniques to compiler optimization. It seems like this area is ripe for a new wave of innovation, but it's not happening. I do believe that many companies would pay for an advanced compiler capable of generating code that was significantly faster than stock compilers, but the speedup would have to be more than a few percent to justify spending money on it.
comment 6y ago · link · parent
I also think there might be a niche for unikernels here to compile number crunching and other CPU-heavy tasks down to sizes that would run almost 100% from L3 cache. Wow.
comment 6y ago · link · parent
The notion that there exists a single expression, CA rule, or other fundamental truth at the root of the physical universe is an arbitrary assumption. It may or may not be true. We should go where the evidence leads us.
In the end we should have a model that is no more and no less complex than what is needed to model observed reality.
comment 6y ago · link · parent
The problem with the CA-based physics approaches are that while you can create CA models that work and are predictive in ways that mimic conventional mathematical models, so far the approach has failed to produce a compelling model with testable predictions that is unique to the approach.
In other words there's no evidence (yet?) that this approach is better than conventional math, and a strong contrary argument in favor of math can be made from the angle that math maps more clearly to the conceptual space. It's possible to read an equation in terms of the concepts it models, assign units to variables that refer to specific forces or properties, etc. I'm not aware of a way to do that with CA. What you get there are weird rules that manifest something that seems to fit existing mathematical models or concrete observations, but those weird rules are "opaque." It's a relative to the opaqueness problem in AI / machine learning.
Lastly though I would add that the fact that you can create compelling CA models of physics at all does perhaps suggest something about reality. Maybe it suggests that reality is or is similar to a CA system under the hood. The fact that quantum comes from "quanta" and "quantized" suggests that things are in fact discrete at some level.
comment 6y ago · link · parent
Wolfram's narcissism is so extreme it's just comical. When I was really into complexity science and stuff everyone in the field would joke about it, suggesting a drinking game where you take a shot every time Wolfram refers to how he was a gifted child or started studying math in his teens or single-handedly accomplished some amazing feat. The guy toots his own horn like a circus clown.
It's too bad because he actually does have some very interesting ideas and a good skill at explaining things. His narcissism is self-defeating. He needs to just chill out, write like a normal human being, and publish. Maybe he should take up amateur astronomy. Nothing gives perspective more than carefully observing photons older than the human species with your own eyes.
I sometimes recommend A New Kind of Science with a huge caveat. It's a decent compendium of fascinating cellular automata, complexity, and theoretical CS research with some interesting speculation attached, but (1) Wolfram did not invent all this or do all this work himself, and (2) he takes his speculation too far to the point of flirting with crackpottery. If you can read NKS with those caveats in mind, it's worth at least skimming and taking in the interesting bits.
comment 6y ago · link · parent
They do show that huge efficiency improvements are possible, but they are not there yet. I feel like there's probably a happy medium: a larger somewhat heavier car with safety features built around active immobilization and advanced materials. It wouldn't be quite as efficient as these, but it would be more efficient than a conventionally built car.
I also must point out that weight and aerodynamics are more significant for efficiency than size in an absolute sense. Aerodynamics matters the most at highway speeds. You can lengthen the vehicle and add a trunk for cargo without losing too much.
comment 6y ago · link · parent
Would it perhaps be possible to create a weaker form of homomorphic encryption that could branch? It would not be strong enough for the most serious security use cases (authentication, financial, etc.) but would perhaps be usable for cases where you just want to protect data confidentiality e.g. processing PII. The processor could probably infer the structure of the running program but not necessarily its data if appropriate constant-time comparisons and other constructions were used.
comment 6y ago · link · parent
Add to that the fact that computing is so trendy. Take the time to learn something -- web development, mobile development, the latest trendy language -- and it won't be hip anymore in 5-10 years.
As an experienced programmer I only take the time to deeply understand things that my intuition tells me will be around for a while and for which understanding is a major benefit to me. My intuition is guided by a mix of market share, speed of change in the target market, and robustness of the thing in question.
comment 6y ago · link · parent
Prepare for the $1.5M starter home financed by an 0.08% interest 90 year no money down mortgage, $800k student loans at 0% interest, and business lines of credit at 2% to any business that has shown any revenue at all in the last month and that can produce one mammal capable of fogging glass. Any mammal with provable respiration will be able to get a car loan and a credit card.
Go long on real estate, stocks, bonds, Bitcoin, Litecoin, Dogecoin, all the shitcoins that don't even work, gold, oil, cow farts, and pogo stick futures.
Expect more monstrously overfunded "unicorn" startups that lose massive amounts of money and produce very little. These are basically Ponzi schemes targeting the very rich and venture funds.
Wages however will continue to stagnate. Everything always goes up but wages.
As a result of wage stagnation in 2024 or 2028 another even more asinine Populist than Trump will be elected; whether they are "right-wing" or "left-wing" will depend on which side is able to produce a louder demagogue and better memes. Meanwhile the rich will build orbital bases and prepare to leave the planet.
comment 6y ago · link · parent
comment 6y ago · link · parent
Simple hierarchical systems like DNS have been faster, easier to implement, and have scaled better. If someone can make decentralized alternatives competitive they have a chance.
The bottom line to always remember is that 99% of your users, even technical ones, don't care one bit how it works. They only care that it does.
comment 6y ago · link · parent
The maximum suggested number of uses per key can be calculated based on the desired security bound (chance of a collision with past messages) and the size of the nonce/IV.
If you want a rule of thumb, (N/2)-1 the number of bits in the nonce is not too bad. So if you have 64-bit nonces, you should send no more than 2^31 messages.
This only applies to random nonces. If you are incrementing the nonce sequentially, you get as many nonces as the range of your integer. But here be dragons: if you lose track, you will definitely repeat nonces! This is why schemes that save and restore the nonce value are dangerous. If you lose power and restore an old value, all the nonces from then until the latest real position will repeat.
Usually it's safe to use simple incrementing nonces with ephemeral keys that live only as long as a session and a specific instance of the app/OS/whatever. You can restart the nonce with a new key no problem. Just be sure your increment is protected by a mutex or something like std::atomic<> if there are multiple threads or two threads could send the same nonce.
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
You're right. It's usually a teacher, neighbor, pastor, uncle, etc. "Stranger danger" is mostly BS unless you live in a really dangerous neighborhood, and there the risk is more likely to be simple robbery with incidental harm to the child.
Child sex abuse is also under-prosecuted and under-sentenced. Your average child rapist serves less time than people convicted of selling small amounts of drugs. It's really bad if the abuser is wealthy and can really put up a fight. Google Jeffrey Epstein's original indictment and the non-punishment he received.
If they really cared about child abusers they'd prosecute them more aggressively and sentence them more severely.
comment 6y ago · link · parent