Better HN
topnewbestaskshowjobs
Log inSign up

api

35,908 karma · joined Oct 4, 2007 (19y ago) · 17,871 submissions

Founder of ZeroTier. Learned programming on a Commodore 64. Linux user since Slackware and kernel version 0.99.15. Been online too long and spent too long in front of a screen.

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.

Submissions

comment 6y ago · link · parent

Meanwhile for companies like ours not doing this is a competitive advantage. Peoples' jaws drop when we tell them how insanely little we spend on cloud for hundreds of thousands of concurrent users and a lot of stuff going on.

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

Amazon has found a way to attach a profit model to sophomore developers' tendency to over-engineer absolutely everything. It's brilliant. Imagine if the authors of all those object oriented design patterns books had found a way to charge people by the minute for each abstraction in a FactoryFactorySingleton!

comment 6y ago · link · parent

You can't prove it was not engineered or bred/selected (an ancient method of genetic engineering!). But... the burden of proof is on anyone asserting that it was intentionally created to provide evidence.

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

IP is just one more data point. There are already so many ways a browser can be fingerprinted, it doesn't make things that much worse.

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

Modern compilers are pretty good, but it's still quite possible for a good human coder to exceed their performance even for normal code.

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

We use this at my.zerotier.com and it works quite well, though it can be a little heavy.

comment 6y ago · link · parent

I don't think him jumping back and forth is a bad thing. I'd prefer if Intel and AMD (and others) were at each others throats constantly. We're the winners in that scenario, with more and faster and cheaper chips to choose from.

comment 6y ago · link · parent

Install an old version of Linux, limit it to 256MB with a kernel code hack or kernel command line option, and you'd be running entirely in L3.

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

> one would expect the systems and the math to become simpler the deeper and more fundamental the models became

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

It's "just" a different way of formulating mathematics, but sometimes formulating things differently can yield insights. At least attempting physics from this angle is a project with merit, especially since it seems as if conventional mathematical theoretical physics is a little stuck lately.

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

It's been waiting for a genius, a visionary, a maverick, ...

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

Isn't safety an issue too? You'd be turned into pizza toppings in a highway speed accident in one of those.

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

I get it. I think I had the misconception that you could branch in FHE, but as I think about it this would by its nature reveal quite a lot of information about the plaintext.

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

I guess then that my hypothetical fully homomorphic C-64 would be huge and would have a limited run-time?

comment 6y ago · link · parent

The emphasis on getting things done vs. understanding is another manifestation of our age's extreme time poverty. People don't have time to understand anything.

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

I wonder at what point might we implement a very old CPU like the 6502/6510 on this and demonstrate the proof of concept of e.g. a very very slow fully homomorphic Commodore 64 emulator.

Has it been done?

comment 6y ago · link · parent

Based on past experience post-dot-com-bust-bailout and post-2008-bailout:

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

The fact that the most common inflation numbers (AFAIK) don't include real estate makes them worthless.

comment 6y ago · link · parent

Sure, that's why important software never crashes. /sarcasm

comment 6y ago · link · parent

It would certainly be possible for them to abuse their position in this way, but there may be enough counter motivations. Most are already wealthy, so they are not going to be hungry for money. They are also fearful of negative publicity or information that could help a political opponent. Abusing their position to trade stocks could easily end up in an opponent's attack ad.

comment 6y ago · link · parent

Nobody cares that something is centralized either. There is no preference either way.

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

What is all the weight in that "touch" binary? It can't be code. My guess would be that the format is just not optimized for size and contains a bunch of boilerplate records whose minimum size is in the kilobytes.

comment 6y ago · link · parent

Search for the birthday paradox. Basically if you assume an attacker that can store every messages, as used nonces accumulate the chance of a collision increases. It does not remain constant, as naive intuition would suggest.

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

Was there a COBOL search light bat signal? Because there should be.

comment 6y ago · link · parent

It's been renamed several times as things like complexity science, forked into spinoffs like artificial life and dynamical systems theory, and it crosses over into game theory quite a bit. The whole field is fascinating, but it's got a bad case of neologismania. That's a term I just made up to describe the tendency in some scientific fields to constantly make up new terms even if they're redundant.

comment 6y ago · link · parent

I think technological progress in modulation might be a really good explanation for the "great silence." Advanced aliens could be all over the place, but if they're really advanced their transmissions are low-power, directional or cellular, and look like noise if you don't know the codec.

comment 6y ago · link · parent

She's a Democrat from the district including SF. She could eat a baby on live TV and still win. It's like being a Republican from a heavily rural Texas or Utah district. Congressmen and senators from hard single party regions are basically tenured.

comment 6y ago · link · parent

It's a bad faith argument. They don't care about pedophiles.

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

Have we started looking for modulations like this with SETI? A signal would have to be quite loud to be ordinarily detectable, but someone might embed e.g. digits of Pi into an ultra-wide spread spectrum transmission that could be detected even though it's far below cosmic microwave background.
1
314315316
596