Better HN
topnewbestaskshowjobs
Log inSign up

api

35,902 karma · joined Oct 4, 2007 (19y ago) · 17,866 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 5y ago · link · parent

The microservices fad is hilarious. Let’s replace direct function calls and direct channels of communication with calls and channels over a network, and that will magically make our software more maintainable.

There is nothing a microservice does for maintainability that an interface and modularity won’t do.

It only makes sense if there are specific resource intensive things that need to scale separately, or if you have more than one language or runtime.

It’s probably something pushed by cloud providers to increase lock in and use more resources, since adding self hosting capability to a microservice based system that is dependent on Kubernetes is going to be that much harder.

comment 5y ago · link · parent

On reading list. :) I would be surprised if the idea were novel.

comment 5y ago · link · parent

I recall speculating years ago that the universe might be starting a phase change from non-living to living matter. Life, left to its own devices, will eventually (after billions and billions more years) transform all matter and energy in the universe into life, causing life to become the dominant physical process for a long epoch of time.

The life we see (and are) now is the very beginning of that phase transition, the seed crystals if you will.

It also leads to my personal speculation about the Fermi paradox: if the universe is relatively uniform and has cooled and evolved at a consistent rate, we might not see any star-faring aliens because there aren't very many of them around yet. All across the universe there could be a ton of worlds with life approximately as complex as is found on this one. I call this the "uniform cooling hypothesis." We don't see things like alien megastructures because that stuff hasn't happened yet.

Of course for the uniform cooling hypothesis to fully explain the Fermi paradox the standard deviation for living complexity/diversity would have to be relatively small. The distribution would have to be tight enough that at least a non-trivial fraction of galaxies do not yet contain any significant number of star-faring aliens. We would therefore have a decent chance of being in one of those not-yet-colonized galaxies, explaining our "paradox."

If the distribution is really tight we might go to the stars and run right into others who are on their first journeys, or get visited within a short time frame +/- our first interstellar trips. If some fraction of UFOs are aliens maybe we are seeing them because we are about to do the same thing. It's "steam engine time."

Note also that intergalactic travel is many orders of magnitude harder than interstellar travel. It would require speeds close to 'c' and accompanying time dilation to even be imaginable, since over such long time scales complex materials actually start to fall apart at the atomic and molecular level. Sleeper ships could go to Centauri but they won't take you to Andromeda. The uniform cooling hypothesis would easily explain a lack of intergalactic colonists. They simply do not exist yet.

comment 5y ago · link · parent

Well in VC the answer is "the founders worked at Google" or "the founders went to Stanford."

comment 5y ago · link · parent

Struggles to handle demand.

That's a good problem to have.

comment 5y ago · link · parent

Put liability on software and you will halt innovation almost completely. It won't lead to a utopia of provably safe systems and secure languages, but to a dystopia of paranoid risk-averse companies refusing to allow any form of innovation or use any code that is not already in use. Instead of clean bug-free code we'll end up with code that looks like OpenSSL, ugly as hell but relatively bug-free after decades of brute force fixing.

comment 5y ago · link · parent

SIV is usually done with AES/GMAC constructions but you could do it with ChaChaPoly just fine.

The big downside is that it requires two passes on encrypt: one to create the MAC and derive the IV and another to encrypt. The overhead for this is small for message/packet based systems though since after pass one the data will be sitting hot in the processor's L0 cache. Decryption can be done in one pass.

comment 5y ago · link · parent

I'm just responding to the debate about whether cryptocurrency is useful beyond... itself.

For the record I don't believe it should be banned broadly speaking. Banning legal exchanges for proof of work cryptocurrencies is something I might be convinced is a good idea since PoW is a disaster, but I would not support banning non-PoW consensus cryptocurrencies.

Get rid of PoW and a lot of the bad shit about cryptocurrency is gone. Yes you can still buy droogs with it, but most droogs are bought with cash anyway. Cryptocurrency is a small fraction of the droog market.

comment 5y ago · link · parent

Give me one Web 3.0 thing that a non-trivial number of people use that is not directly related back to cryptocurrency itself (speculation, exchanges, gambling, etc.).

A product? A service? A game? A hosting solution?

The only one I can think of is Sia and maybe FileCoin if they actually ship something useful, and those have only a tiny number of actual users.

I guess maybe Steemit if someone actually still uses that.

We are now in year 13 of the cryptocurrency revolution and I'm having trouble thinking of anything you can do with this stuff.

comment 5y ago · link · parent

The advantage would be a single instruction that implemented the core of a wide range of things including BLAKE2, BLAKE3, Salsa, ChaCha, Speck, and more.

comment 5y ago · link · parent

Good point. Misuse resistance is also why I am a fan of SIV constructions for stream ciphers, since "repeat a nonce = instant death" is a footgun.

Repeating a nonce is easier than you might think if you are using threads and accessing a nonce counter non-atomically, have a bad RNG, are on an embedded platform with bad RNG seeding, have a bug that overwrites some memory used to generate nonces, or just transfer a ton of data with the same key (birthday attack). SIV makes nonce reuse fairly benign. The only consequence is that if you happen to reuse a nonce with two identical messages, an attacker could tell that you sent the same message twice. That's generally not catastrophic and statistically is far less likely than repeating a nonce with different messages. Repeating a nonce with different messages generally does nothing in SIV.

You could theoretically use SIV with no nonce, with the only consequence being that an attacker could always tell if you sent duplicate messages. Not sure why you'd do that though.

IMHO since we now have ciphers that are probably "unbreakable for the foreseeable future" (e.g. AES and ChaCha) we should probably concentrate on creating and popularizing misuse-resistant constructions as much as possible. It's good to remove footguns.

comment 5y ago · link · parent

Given that all these are ARX cores, I wonder if a fused ARX instruction could cover a wide range of them?

comment 5y ago · link · parent

Security-wise they are roughly equivalent. While SHA has had more eyes on it I doubt either construction will ever be practically broken at hash sizes like 384 or 512 bits. Someone may find an "academic break" at some point.

BLAKE3 is faster, sometimes a lot faster, on hardware without SHA instructions. On hardware with SHA instructions SHA may be faster. Same as the AES story where AES is faster than ChaCha on CPUs with dedicated hardware but slower otherwise.

comment 5y ago · link · parent

You don’t need to trust the government. You can do your own research by starting with some biology textbooks and then progressing to immunology, the history of medical science, etc. Then you can read a bunch of papers on mRNA vaccines and learn exactly how they work. There is a ton of international clinical data available too, which at least means you don’t have to trust just one government.

Note that nowhere did I mention YouTube videos, celebrities, or talk radio blowhards.

comment 5y ago · link · parent

Put ZeroTier on it and you can stream from your house while on the road. Works great.

comment 5y ago · link · parent

Maybe tangential but I have had the sense for the past ten years that something is wrong with human cognition.

When I look at the popular ideas on all sides of the political spectrum, the trend seems to have been toward ideas that are not only more one dimensional and extreme but more irrational and incoherent. I regularly come across online comments that are borderline word salad, a blathering incoherent mess of the sort that would in the past have immediately led to questions about schizophrenia.

It doesn’t seem to be a specific idea so much as a decline in the lucidity and coherence of cognition itself. The ideas are inane, but I can’t imagine such inane ideas taking hold to such an extent in earlier eras.

I have only two hypotheses that seem like they make sense: gamified social media and CO2 concentration impacting metabolism. I lean strongly toward the former because around 2010 is when algorithmic timelines started to be introduced and it was right around then that I remember a tangible sense of sharp decline. I had to include the latter for completeness, but I hope not as the latter would be far scarier.

Social media companies are the tobacco companies and opiate dealers of the information age. The more I see of them the more I am convinced they are an objective evil and create net negative value. The algorithmic weighting of content for engagement seems to be the real problem, but it’s at the heart of their business model now.

comment 5y ago · link · parent

Your first sentence also perfectly describes Reddit.

comment 5y ago · link · parent

Right click open. Fail. Right click open again, hit okay, and it will succeed. It remembers your decision. This has been the magic incantation since signing was introduced.

comment 5y ago · link · parent

You could create a ZeroTier public network that anything can join. You can self host the network controller too.

Still means remotes have to install a piece of software though instead of going straight to the host.

No IPv6 I presume? If it’s CGNAT without V6 that is a shit ISP.

comment 5y ago · link · parent

It would be like everything else today. Reality would bifurcate along political lines.

comment 5y ago · link · parent

Until we have self hosting as simple as app installation and without having to fiddle with security, it will be a niche thing.

comment 5y ago · link · parent

ULA sat around and produced studies for years arguing that reusable rockets were either impossible or wouldn't actually save any money. The latter claim is absurd at first glance, but they argued and pushed it even past the time when Falcon cores were being reused.

Space launch and ISPs are both industries that are accustomed to fat cost-plus contracts, subsidies with no accountability, and market protection from government. They've lived that way for decades, resulting in companies that I'm sure are optimized top to bottom for suckling at the government teat.

comment 5y ago · link · parent

Tangent but: I sometimes feel like programs that just work like this don't get traction because they don't provoke as much discussion, search volume, etc. A complex mess that needs to be constantly babysat creates a cottage industry around it and gets discussed a lot, but something that works is like the quiet kid who sits in the corner and gets A's and that everyone ignores

Kubernetes is today's poster child for this. The Hashicorp stack can do just about all the same things, but it just works so there's no cottage industry of consultants and no market for as-a-service implementations. Why promote something like that?

comment 5y ago · link · parent

I still don't fully understand how some of today's real estate prices are possible. There are not that many buyers of the income or net worth required to afford these prices. How can a large scale market exist with so few customers who can reasonably afford the product?

comment 5y ago · link · parent

Asking a corporation to fix social problems is like asking the DMV to operate the space program or your local school district to build roads. Corporations are simply not "for" that. They are for production and service operation. They are not the right kind of entity, don't have the right structure, and don't have the right incentives.

Luckily corporations are not the only kind of human organization. We also have governments of various kinds and scales, international coalitions, non-profits, churches, universities, etc.

There is this weird idea that corporations are the answer to everything.

comment 5y ago · link · parent

It's very much by design. They want ingress not egress to create "gravity." The end game is for virtually all compute to happen in the cloud and be accessed only by thin client. This pricing drives things in this direction by making companies that would use the cloud to just service local compute less profitable than companies that host everything in the cloud and provide only web or other thin client access.

There are providers that don't do this, but they are much less batteries-included. The best bandwidth deals are via bare metal hosting which is basically just box-in-a-rack rental. You can get bandwidth there by capacity rather than transfer quota. It's many many orders of magnitude cheaper.

comment 5y ago · link · parent

I think it might be worth it to be there for a while if you're young and getting established. It still very much is a tech center and there's a great density of talent and jobs.

Live as light as you can and focus on learning and building your career. If you're not making at least $200k by age 30, leave. That's practically the poverty line if you want to start a family. A "fixer upper" starter house will be over a million dollars. I call the Bay Area the world's only six figure slum.

I wouldn't start a startup there unless it were lavishly funded, or unless it's made up exclusively of young people who are okay with sleeping on couches or living in tiny rooms.

The trend is toward place (in general, not just SF/SV) becoming less and less important over time. The old limitation that you have to be in the Bay Area to raise angel or VC money has been dead for years, and COVID massively accelerated the shift toward remote and distributed teams in knowledge-oriented industries. There is still benefit to going to a concentrated hub for a while to level up, but once you hit a certain level in your career you no longer need to stay.

comment 5y ago · link · parent

iOS devices are "consoles," not computers.

comment 5y ago · link · parent

On the flip side, if you know how to not do that it's a competitive advantage.
1
246247248
596