Better HN
topnewbestaskshowjobs
Log inSign up

api

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

OpenAI lobbied for restrictive rules, and now they want an "out" but only for themselves. Absolute naked regulatory capture.

comment 1y ago · link · parent

He has Internet access in prison? He has rich friends on the outside?

Same way gangsters can reach out and have people offed from prison.

comment 1y ago · link · parent

There are more efficient ways, but batteries are heavy and still not as compact as liquid fuels. If you want to run ships on non-carbon-based energy making a liquid fuel is one way that can work today.

comment 1y ago · link · parent

People getting riled up about soccer as a way to blow off steam and experience their tribalism is vastly superior to what we have in the USA -- a political environment that people treat like battling football clubs complete with lawless hooligans.

When a soccer team wins they don't get to ascend to power and leverage the state against their enemies.

comment 1y ago · link · parent

Most of our tech has been developed in stable advanced developed countries.

comment 1y ago · link · parent

Unfortunately if you give non-technical users root you are also giving root to the phishing site or fraudster that cons them into giving it root.

It's hard for technical people to get their heads around just what a hostile environment the modern scam and hustler riddled slop and spam infested Internet is. Using the net as a non-technical user is like walking around a dodgy high crime area of some third world city at night as an unarmed sixteen year old girl there on holiday.

Tech folks get so good at ignoring and skipping all that nonsense that they stop noticing it. I get three or four phishing or scam attempts a week, some of which look convincing if you don't know how to examine an e-mail domain or a URL. It's a hellscape.

An exercise for readers who don't believe me: get on a Windows machine and try to use regular web search to find and download a piece of software outside the App Store. Pretend you are non-technical and just looking for something to get something done. Be sure you do this from a VM you can delete after it becomes compromised, assuming you can actually get to a download at all behind all the popups and scam "your PC is infected!" sites.

comment 1y ago · link · parent

It's a way of storing energy. You use solar, nuclear, wind, etc. to make ammonia.

comment 1y ago · link · parent

I meant modern -- you can use FTP over stuff like ZeroTier or Tailscale but otherwise you can't do P2P with it (firewalls, V4 NAT) and it's not secure. TS has some facility for transfer but again-- TS-specific, not available everywhere, not standard, and not suitable for all cases.

I also meant things regular people can easily use and that can be used as conveniently as e.g. Apple's AirDrop (which is nice but only works between Apple stuff).

It's part a UI/UX problem and part a missing standards problem. The latter precedes the former.

comment 1y ago · link · parent

Yeah, probably too harsh... I was thinking of Docker/containers when I wrote that, which really is "tar up your machine" as a software distribution mechanism the way most people use it.

Most of what I've seen in "cloud native" is a horror under the hood.

comment 1y ago · link · parent

Good points. A few responses:

> "Everything is memory safe" means speed penalty

Not much, and sometimes none if the optimizer is smart. See: Rust, Go. The JVM and CLR are not slow either, though they are a little less efficient than the former for legacy reasons... and of course like all benchmarks it will depend on the use case and code.

> The same can be said about "Software can be hot upgraded" - that seems insane

That's something that has to be engineered properly. I saw it done quite a long time ago via distinct versions distributed and then loaded in place of currently loaded .jar files (Java). Things stayed consistent. This one does require some forethought and developer discipline to do properly but it lets you build insanely high uptime systems without the clunkiness and waste of current approaches. I guess the current approach works too, but this is just so elegant.

I agree about this stuff being PC-centric, but that's a function of the era in which it was developed. Nothing intrinsic about these systems prohibits their use in a cloudy environment. They'd just be deployed and used a little differently.

comment 1y ago · link · parent

These are neat but... it's 2025, and there is still no first class standardized ways to move files over the Internet between PC/mobile/edge devices.

comment 1y ago · link · parent

Layering independent crypto is safe, otherwise one of the layers has some nasty vulnerability. Security should not depend on the type of traffic. If it does something is wrong.

In fact it’s common practice in high security government use cases to mandate two layers built by two different vendors for defense in depth. That way a nasty bug in one doesn’t compromise anything, and the odds of a nasty exploit in both at once are quite low.

You might be thinking of bespoke combinations of algorithms at the cryptographic construction level where the programmer is trying to be clever. Being clever with crypto is dangerous unless you really know what you are doing.

comment 1y ago · link · parent

This immediately makes me think about a path not (widely) taken in software: the path of higher level languages and execution environments with strong first class support for composability, easy message passing, reflection, automatic memory management, etc., across the entire system and even across networks.

Examples include Smalltalk, LISP machines, the JVM, and the CLR. There are probably others. Edit: is Erlang one of these? I seem to recall it having some of this.

If you've never operated in one of these environments, it will be hard to imagine what they bring to the table. Here's an incomplete list:

- All errors cause traceable exceptions and everything can be debugged.

- Statistics and diagnostics are a built-in feature of the runtime environment. Everything either always is or can easily be instrumented and profiled. The developer usually has to do nothing to allow this. Extremely detailed maps of memory and CPU usage can be produced for anything that is running.

- Software can be hot upgraded at the object/module level in running applications and services. If you design things to take advantage of this, full restarts can be reserved only for very major upgrades of the runtime or hardware.

- Everything is memory safe. Buffer overflows and similar "segmentation fault" errors are almost impossible.

- Composability -- applications and modules incorporating one another and building on one another -- is reasonably easy and commonplace.

- Modularity and code reuse is way easier.

- Inter-process communication (IPC) and the network equivalent (RPC) are easy, sometimes automatic and trivial.

- Function definitions and calling conventions are rich, typed, and support runtime reflection.

- Software can easily and efficiently pass complex data structures across module and even program boundaries with little to no API glue code.

- Module/object and program state can be serialized, moved, stored, deserialized, restored, etc., even across machines... or in some cases across architectures!

I'm sure there are more highlights. Those are the ones I can recall now.

It's not that these systems are totally dead. The JVM and the CLR are used heavily in business. But they are absolutely not trendy and have fallen out of favor among most "hackers" and new startups/projects in favor of the modern Unix way.

The modern Unix way, also known as "cloud native," might be described as: balls of random shit bundled up as containers or VM images communicating over bespoke APIs using inefficient text-based protocols over HTTP. There are of course many variations of this, but this is the basic theme.

I suppose this paradigm gives you some of what I listed above, but it does so in a very bespoke, inefficient, and labor intensive way. You end up having to create and maintain complicated API glue layers, implement connectors between applications that speak endless bespoke protocols, and of course every application runs in a completely different runtime (or no runtime at all) and can in no way be investigated using any set of common debugging or diagnostic tools.

This is definitely a case of "worse is better." Having used environments like the CLR and JVM and played with the likes of Smalltalk, it seems obvious to me that higher level environments save massive amounts of programmer labor and pain, but we don't like them. Why?

I find it hard to answer this question, but like many cases of "worse is better" it seems like a revealed preference. The better thing just never "takes."

Edit: I've got some speculations. It could be some combination of:

- Worse isn't better, but worse is free and unencumbered. Many of the better environments cost money or come with some other license or limitations.

- It could be that programmers are "macho" and don't like the fact that these environments are easier. Real Men(tm) code in C with no bounds checking. I sometimes see this attitude on display with regard to Rust. "We don't need safety!"

- The clunkiness and inefficiency of "weakly coupled wads of shit" encourages profligate waste of cloud resources and the use of managed services to avoid having to manually babysit this stuff, which is very profitable for vendors and cloud providers.

- By making it easier to build and sustain complex systems, these environments tend to foster runaway complexity growth. Look at abominations like enterprise Java for examples. The clunkiness and fragility of "worse is better" limits complexity, which turns out to be a good thing.

- The examples I listed were all too closely bound to one language or paradigm. Maybe something like WASM will finally make this mainstream?

comment 1y ago · link · parent

This has been true for millennia:

https://www.newscientist.com/article/mg21528734-400-americas...

comment 1y ago · link · parent

Saying it's the aim is a ridiculous caricature along the same lines as people on the left who say that MAGA is a Russian-backed fifth column deliberately trying to destroy America.

My own position is in the now-forbidden middle.

There does seem to be such thing as a socially sustainable rate of immigration, and exceeding it clearly seems to cause problems. That means immigration can help some with declining population, but there's a limit to how much lifting it can do without causing a backlash or other issues.

It also probably matters a lot where the immigrants are coming from and why they are coming. People who immigrate because they want to join your country and do productive things are great. Refugees who are just fleeing something are going to be harder to assimilate and probably will impose costs, while immigrants who want to come usually impose a net gain.

I'm generally in favor of helping refugees if we are able for humanitarian reasons, but I think governments allowing such people in have to be realistic about what kind of support they need to provide. Just dropping them off on the street en masse doesn't seem to work out well.

comment 1y ago · link · parent

Add to that insane workaholic culture, like the "996" culture that pervades China and South Korea. Look into South Korea's birth rates for an extreme example of what this does. People don't have time to even date, let alone marry or raise kids. Japan's "salaryman" culture is another example.

Note that many of the loudest population decline doomers (e.g. Musk) also push exactly this work culture, and are generally opposed to social welfare of the sort that would make it easier for people to have children.

Their solution seems to be to take rights away from women. Not only do I find this odious, but I don't think it will work either. I think it will result in something like the also South Korean 4B movement: https://en.wikipedia.org/wiki/4B_movement -- which will further depress birth rates. People who have tasted freedom do not go back without a fight. If you tell women they have to give up their rights and have babies, they will respond by refusing to have babies. Then there's the fact that men who actually care about their wives, sisters, and daughters, will not support this either.

The root problem with birth rates is this: modern society transforms children from an asset into an economic burden. In un-developed societies children are needed as both labor and old age insurance. In developed societies both of these can be obtained more easily, or are supplied by the economy and/or the state. I can sit here and write code and obtain both of those alone. I don't even need a spouse to do it, let alone kids.

It's a direct consequence of societal wealth, which is why you see birth rates decline in all wealthier societies regardless of culture, language, ethnicity, or religion.

This neatly disproves the far right's idea that pushing trad right bullshit will raise birth rates. Birth rates are as low in Orban's Hungary and Putin's Russia as they are in the rest of Europe. Very Catholic Poland has a lower birth rate than much less religious Sweden (as of 2023). Very Islamic Iran's birth rate is the same as the Bahamas and lower than less religious Argentina. Birth rates are declining in Africa as it develops.

If we want higher birth rates, we will probably have to do what we do with other things the free market is inadequate at providing: directly subsidize birth and child raising. It's the same reason we directly subsidize infrastructure and defense, other things the free market isn't great at providing.

A start would be to greatly increase the child tax credit, provide free birth and post-natal care, free preschool, and do something about the runaway cost of college. Start by making it easy for people who want to have kids to have them. Then, if that's not enough, consider even more direct subsidies.

Maybe the Social Security system in the US could be reimagined as a demographic support system that funds both ends of the curve: free health care and support for birth and child raising, and end of life support and care. They're connected of course. You need the former to keep providing the latter.

comment 1y ago · link · parent

Sure. There are certain similarities between all authoritarian revolutionary movements with populist roots. MAGA shares commonalities with European fascism but also with Leninism and Maoism.

The basic template here is that the people (populism) become so discontented that they see no salvation in any of the existing elites or political movements, so they essentially appoint a dictator or an oligarchy to sweep it all aside in favor of <insert magical thing that will fix all their problems>. The level of naked authoritarianism and brutality varies between these movements -- some are more gloves-on and some more gloves-off -- but they all have an ultimately authoritarian character. The whole thing nearly always backfires into some form of "meet the new boss, worse than the old boss."

comment 1y ago · link · parent

> as such is the foundational principle of democracy: a majority of fifty-one percent prevails.

There are other ways of doing voting and organizing a democracy that are less prone to this winner take all dynamic. The foundational principle of democracy is consent of the governed. The details of how that's achieved can vary widely.

One is to do the vote differently, such as with ranked choice voting where voters are free to choose the candidate they actually want without "wasting" their vote.

Another is parliamentary style systems with proportional representation, which allow more than just two parties to have a voice and require the parties to form coalitions to govern.

Lastly, you can vote on actual policy proposals instead of just on politicians and parties. It's not either-or -- it's possible to have a system with both representatives and direct voting on major points of contention.

comment 1y ago · link · parent

They seem like the last big PC company where PC actually stands for personal computing. It’s a left over from old Silicon Valley, the one steeped in human potential ideas with a sprinkling of actual as-in-individual-liberty libertarianism.

RIP

comment 1y ago · link · parent

Oh yeah, forgot about that: you can do profile guided optimization on the entire running image of code in the machine.

I wonder how much of a boost you'd get for that? I'm sure it would depend on the work load.

comment 1y ago · link · parent

There would almost certainly be an escape hatch, but it would require user approval to run native code. It would probably be in the form of libraries that could be 'blessed' to run native. The vast majority of software does not need this.

comment 1y ago · link · parent

What if they want to add Face ID to the Mac but have the camera light not illuminate for that internal function, since that can also be developed securely so that nothing in user space can access the camera during that query.

comment 1y ago · link · parent

We could have avoided so much hardware and OS complexity if we'd instead (mostly) discarded the idea of shipping and running compiled code directly on the hardware.

TL;DR: we are doing things in hardware that ought to be done in software, and we're giving software too close to metal access.

User mode should be something like the JVM, but more language-neutral, something based around WASM for example. The runtime for this should ideally be written in a memory safe language and very extensively tested. User mode code should not have access to raw pointers, raw CPU, etc.

If we'd done this we also could have elevated things like the common API beyond the lowest common denominator of C. We used to have a ton of research and some fielded systems like this: Smalltalk, LISP machines, the JVM, the CLR, etc. The JVM and the CLR are still quite alive and well but the HN world seems to hate them for some reason. Smalltalk and efforts like the LISP machines died out.

comment 1y ago · link · parent

COVID was the scapegoat for that, which was partly true.

comment 1y ago · link · parent

The idea that the empire has a burden to civilize the world is a common theme in empires throughout history.

It's part honest desire to do something good with the position history has afforded the empire, and part self-serving rationalization, depending on who is doing the talking.

comment 1y ago · link · parent

Oh yes. The two-party duopoly is a major cause for pretty much everything that's wrong. We also need term limits in Congress, badly.

comment 1y ago · link · parent

They're not as dumb as you think. They know tariffs will raise prices. What they think is that tariffs may repatriate manufacturing, leading to more and better jobs and higher wages. Lower prices have resulted from outsourcing, which has resulted in their unemployment and under-employment.

They had a different reaction to price increases under Biden because those were not resulting from pro-American-worker trade policies, or at least were not perceived as such. In reality Biden was doing some things to try to repatriate manufacturing, but these policies were badly communicated if they were telegraphed at all, and they were not enough.

Constantly assuming these people are all just stupid isn't winning back any votes. To be fair: Republicans and MAGA spend a lot of time attacking straw man Democrats and liberals too.

BTW -- I see what they're thinking, but I suspect a lot of repatriated manufacturing will be so heavily automated it will not result in the mass employment gains they're hoping for.

comment 1y ago · link · parent

I don't necessarily agree with Bernie Sanders about the medicine either, but his diagnosis is correct: the Democratic Party abandoned middle America and the working class, so they abandoned it.

America decided in the 1970s to liquidate its interior and its manufacturing base to make Wall Street rich from the labor arbitrage trade, and did so with the full throated support of both parties.

I live in the outer suburbs of a middle American city. The idea that all Trump supporters are cult members is vastly overblown. There is some of that, but much of his support is exasperation. Rural and working class Americans have nothing to lose and nowhere to go but down. The choice is to vote for Trump or keep watching everyone commit suicide with fentanyl. They know Trump might be full of shit or might not have any real solutions, but they also know Democrats and mainstream Republicans will continue to sell them out.

It's also important to understand that for the most part working class and small town Americans don't want welfare, which is the only thing the Democratic Party (possibly, maybe) offers them. They want jobs. They want to feel useful, to do useful things. Unless you are disabled, accepting welfare is disgraceful. I remember my mom (a lifelong Democrat BTW who hates Trump) feeling humiliated to use food stamps for a brief period when I was a kid. "These are for people who really need them. I don't need them." She worked as hard as she could to get off them. Americans want to do things.

MAGA is as much anti-traditional-Republican as it is anti-Democrat. In fact I know a few Trump voters whose hatred for the likes of Bush II and the Cheneys is greater than for Democrats. It's a third political party that has taken over the corpse of the Republican party that Bush II destroyed.

I didn't vote for Trump because I don't think he actually cares either, and I loathe the man in general. I also have two daughters, and his MAGA movement is full of people who cheer for pro-rape influencers like Andrew Tate or want to LARP the Handmaid's Tale. I can't vote for a movement that is openly allied with such people. Their performative scapegoating of LGBTQ people is gross too, and then there's the crazy autocrat ideologies lurking at the margins. Even if MAGA has some policy points I agree with, the movement is just too intellectually batty and personally disgusting to support.

I see nobody on the US political stage that I actually like. I voted for Harris as a "holding pattern" vote in the hope that something better will appear in the future. It's better to stay with the bad option than to go for obviously worse options. If you look around the world "just shaking things up" with nothing better waiting in the wings usually results in a bad outcome. Successful major political shifts or revolutions require a superior alternative with better ideas.

1
787980
596