Better HN
topnewbestaskshowjobs
Log inSign up

api

35,901 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 4y ago · link · parent

There really aren't enough awards or halls of fame in our field.

comment 4y ago · link · parent

Financialization has done this to the entire country to varying degrees.

comment 4y ago · link · parent

It’s an OSI relevance puff piece. They want to make sure they own the term.

comment 4y ago · link · parent

How does catching crash bugs lead to more logic bugs? In practice I've never seen this.

In any case we're talking about security here where many crash bugs can in fact be catastrophic security vulnerabilities. If it crashes there's a distinct possibility that the bug is exploitable.

comment 4y ago · link · parent

This is correct.

What people often don't think about in the safe languages debate is that it's not about the skill of specific programmers. Yes, good programmers can write secure C or C++ code. That's not the problem.

The problem is what happens as code ages. What happens when bugs are fixed, refactors are done, code is ported to other platforms and OSes, multiple people work on it, and pull requests are merged. Bugs creep in when modifications are made without the full context, hastily, and by people who did not write the original code or when it was written so long ago that they've forgotten the deep details of it.

Safe languages will prevent, catch, or at least "nerf" the most dangerous sorts of bugs such as memory errors. Rust is very good at catching most of them at compile time. Unsafe languages won't and it's easy for bugs to creep in later and then result in catastrophic security failures long after they're released. Look at OpenSSL, a hoary old code base that continues to produce ugly security bugs.

comment 4y ago · link · parent

This looks just like the venerable Tandy 100!

http://www.oldcomputers.net/trs100.html

That can't be a coincidence.

comment 4y ago · link · parent

Sure, forgot to mention that, but that's only if it must be semantically atomic. That's not always the case.

comment 4y ago · link · parent

Be careful with spin locks. We used to have one in the ZeroTier core. We pulled it due to a crazy insane bug where it would hang on single core machines and another one where it would run away on CPU usage on massively multicore machines. These bugs had the same cause. Think about it.

Don't use spin locks unless you have profiled and have a clear understanding of the contention factors involved. Also be sure to test on single core and massively multicore.

Also look at whether you can use atomics. Atomics are better than lock guarded things in almost every way. The only time locks beat atomics is when you are updating a bunch of things in which case it may be faster to lock once than to update 10 atomic variables.

Message passing can also win sometimes over concurrent access even if it involves more copying. Profile and think.

comment 4y ago · link · parent

Dead code removal and deduplication are orthogonal aren't they? You can already turn off verbosity increasing things with -Os etc.

comment 4y ago · link · parent

Please mainstream this in general. It would save a decent amount of RAM if it became a standard part of LLVM and would probably improve overall performance due to cache effects. Dead code sitting in RAM would be bad for cache locality.

comment 4y ago · link · parent

Putin and the modern day Russian regime is basically the KGB. The KGB took over Russia after the USSR collapsed. It's basically the same agency.

comment 4y ago · link · parent

That's not new. Gen-Xers got the same thing. Boomers got the same thing. Lazy stereotyping wasn't invented yesterday.

I don't think this blog post means to stereotype all of gen-Z though. I think they're just using it as a foil to talk about the counter-trend to early-21st-century minimalism. That was in turn a counter-trend to late-1990s / early-2000s eclecticism like old Geocities.

comment 4y ago · link · parent

Every good idea gets unmoored from its original purpose and driven to absurdity. Look at agile, lean startup, etc.

comment 4y ago · link · parent

There is a whole genre of YouTube videos where people talk like farm auctioneers. I give you PrestonPlayz:

https://www.youtube.com/watch?v=GUKPaCoQPEU

For those who don't get the farm auctioneer reference:

https://www.youtube.com/watch?v=EkPUX8rv7gs

comment 4y ago · link · parent

It's also good for the environment. Globalization has allowed an environmental race to the bottom while simultaneously creating an illusion of environmental progress in the developed world. We've just sent all the polluting industries elsewhere.

comment 4y ago · link · parent

Oh yes, but unfortunately the physical passport is enshrined in a ton of treaties that are very hard and slow to change.

There are also some nasty privacy and autonomy implications to digitizing the passport system.

This is not primarily a technical problem, but that doesn't mean it's not a very hard problem. Tech people tend to assume that every non-technical problem is easy. Often people, legal, ethical, and institutional problems are quite a bit harder than just making shit work at the tech level, and it is not just because people are lazy or inept. It's because there are loads of competing concerns and stakeholders.

comment 4y ago · link · parent

What tools does she use?

comment 4y ago · link · parent

Maybe the solution is to pursue a society where people are not so unequal that they feel tempted to degrade themselves for money? Maybe we should have minimum income to at least a level where everyone is capable of meeting basic needs, basically "fuck you money" for everyone.

IMHO doing obviously unethical work for money is also degrading and is much more common than porn. It's one thing if someone wants the money and doesn't care, but there are millions of people around the world in e.g. scam call centers that do this kind of work to stay out of the worst of the slums.

comment 4y ago · link · parent

The big boat is about status, which means attracting mates and increasing the odds of breeding before a lion eats you. Our brain stems don’t know what geological epoch we are in.

comment 4y ago · link · parent

> While several government laboratories have reported plasma temperatures above 100M degrees in conventional tokamaks, this milestone has been achieved in just five years, for a cost of less than £50m ($70m), in a much more compact fusion device.

Governments should only fund things. They should not actually run them.

comment 4y ago · link · parent

Neither did Keynes. Keynes argued for counter cyclic spending to balance cycles and flexible forms of money. The levels of debt we have would horrify him.

There are endlessly many more who are similar. Much of what we think Marx said actually came from Lenin. Ayn Rand was not a conservative. And so on…

comment 4y ago · link · parent

I'm going to submit that some of these COVID protests are not COVID protests. They are inequality protests, but seriously talking about inequality has been pushed out of the Overton window across much of the American political landscape. As a result the anger "sublimates" out about other issues.

The right does a good job guiding the anger of the working class toward issues that have nothing to do with inequality like COVID, race, immigrants, trans people, etc. Meanwhile the left offers up a totally out of touch message that doesn't resonate at all, or offers them welfare without understanding that these people consider welfare to be something to be ashamed about. They want productive work.

You know... we have a housing crisis in this country. A lot of these people could find work building adequate housing for the US population, but that would threaten high real estate valuations...

We also have a lot of infrastructure that needs building, but we may have to wait for the generation that was brainwashed to believe that infrastructure (except more roads) is communism to retire.

There are plenty of jobs but we won't create them. We'd better get on it.

comment 4y ago · link · parent

If we think we have class antagonism and rural vs. urban antagonism now, wait until self-driving trucks decimate trucking as an industry. It's one of the largest well-paying employers of "blue collar" people. We are still a ways off but it's definitely coming.

We have to do something about inequality or we will have totalitarianism. It will either be in the form of a totalitarian fascist or communist revolution, or a totalitarian police state to prevent such a revolution.

comment 4y ago · link · parent

DARPA (war department) works on life-saving applications of AI, while private social media works on addictive engagement algorithms to make people miserable and enslave them to dopamine loops.

This strike anyone as a bit off?

comment 4y ago · link · parent

What about cast iron? It’s very nice to cook with and popular with chefs.

comment 4y ago · link · parent

One of the things I learned here is that Chernobyl still requires active cooling to some extent.

The failure modes of nuclear fission power are just insane. Yes I think it's true that coal has killed far more people, but the economic cost of just one fission plant failure is so high that one serious incident destroys the economics of the entire program. It also tends to make fission power privately uninsurable since once incident would bankrupt the insurance company within weeks.

How much renewable energy and storage could you buy for the containment and cleanup cost associated with Fukushima?

comment 4y ago · link · parent

I think that's kind of semantic. The agreement is what I'm talking about. It makes the Internet open. I can just send you a packet. That's what's in danger here.

comment 4y ago · link · parent

I'm really concerned that DDOS attacks are going to lead to the death of the open Internet and its balkanization and isolation behind walled gardens. If you look at where Cloudflare and some of the big clouds are going with their private networks, private backplanes, and "secure your traffic by putting it all over our network" zero trust plans it seems to be going that way.

If open peering and the open Internet are to survive I think serious work needs to be done to fight DDOS attacks. It needs to be an effort analogous to the "war on spam" in the late 1990s / early 2000s. Unfortunately that war was sort of lost; e-mail is in practice barely an open protocol anymore and almost all e-mail is handled by a few giant companies that can leverage big data to filter spam. If you try to DIY a mail server you'll be simultaneously hit by spam and have to constantly fight mistaken filtration by larger e-mail providers who tend to distrust small mail servers by default.

If the open Internet succumbs to DDOS "spam," we will lose something really huge and important. It would be the ultimate casualty of what so far has been almost a law (with very few exceptions): all open systems are destroyed by abuse if they become sufficiently popular.

We also can't just leave it to the free market because the only solution the market will likely come up with is walled gardens. It's the easiest to engineer solution and the easiest to monetize.

comment 4y ago · link · parent

I call today's situation "more's law." Clock speeds and single core performance are largely stagnant but the horizontal growth is still amazing.

Look at the original M1 in the MacBook Air vs. the M1 Ultra or whatever they call that 48-64 core beast. Single core is about the same. If your load is not parallelizable the M1 MacBook Air will do it about as fast as the new Mac Studio.

In the x64 world they continue to squeeze more instruction level parallelism out and push the clock rates slightly higher but those come at the cost of higher power consumption. It's pretty stagnant there too unless you are willing to invest in a refrigerated liquid cooling system and overclocking capable hardware.

But on multi-threaded loads the performance is still going up the way single core speeds were from 1995 until 2005. That's because a mixture of smaller process nodes, larger dies, better memory bandwidth, and better core interconnect fabrics are letting the equivalent of a whole data center be crammed into a single package.

I think that is going to keep going for a while. We will probably see 256 cores on a desktop machine within 10 years and rack mount servers with 1024 cores in a single 1U case.

1
214215216
596