35,891 karma · joined Oct 4, 2007 (19y ago) · 17,858 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 1y ago · link · parent
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
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
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
> "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
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
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
https://www.newscientist.com/article/mg21528734-400-americas...
comment 1y ago · link · parent
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
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
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
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
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
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
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
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.