Better HN
topnewbestaskshowjobs
Log inSign up

api

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

Gab’s purpose was to provide a home for fascists and racists when they were kicked off Twitter. The Pepe logo is a bit of a hint.

comment 5y ago · link · parent

Resistive heaters easily get encrusted in limescale, often causing them to fail. My guess is this can be near zero maintenance.

comment 5y ago · link · parent

Assume the physical network is insecure. The only exceptions might be secure backplane networks carefully configured and isolated, but these are basically data busses for clustered computing.

comment 5y ago · link · parent

It's used as a political tool to block construction for NIMBY reasons, and as a way to line the pockets of those involved in the study.

comment 5y ago · link · parent

The CCP is also building a surveillance state that may allow them to preemptively shut down any dissent before it gains any traction and do so in real time. Unlike most Western states there isn't even a pretense of legal or constitutional restraint. They can surveil with total impunity and more importantly use that data with total impunity. Western governments are at least constrained on the second part if not the first.

That is fucking scary. We have invented a set of technologies that could be used to create an un-overthrowable dictatorship and permanently enslave the human race... to get people to click ads.

comment 5y ago · link · parent

It's so unfortunate that it's called Pop! OS. That name is unspeakably awful. It screams "toy not suitable for anything serious."

It wouldn't turn me off from System76 if the hardware were good, but it's just... bad... real bad.

comment 5y ago · link · parent

> Everyone thought that as new countries got richer, they would follow in the steps of western values (democracy, free markets, etc.).

This is the key idea that has failed: the idea that prosperity equals or leads to social liberalism and human rights, or that the two are interdependent.

This idea appears to be wrong, having been disproven by China.

Totalitarianism and prosperity can co-exist just fine. Totalitarianism and capitalism can even co-exist to a degree, with the totalitarian tendency to kneecap the extremely wealthy being outweighed by the totalitarian ability to forcibly suppress workers' rights movements and pushes for higher wages. Totalitarians can also backstop the economy, stepping in in the event of a crash and forcing number to go up by edict. That benefits the investor class at the expense of the working class by effectively writing down wages and inflating assets.

This means utilitarian arguments for freedom and human rights fail. That's a big deal and undermines at least a half century of libertarian and neoliberal talking points. It means human rights must be argued for on purely spiritual, moral/ethical, or hedonic grounds, not utilitarian grounds.

I think the collapse of this key idea is as much a driver of the global push-back against globalism as working class economic concerns and cultural xenophobia, if not more. Human beings are philosophical beings and coherent narratives and ideas matter to us. When China showed that you could have totalitarianism and prosperity, the bottom fell out of the argument for the whole project.

comment 5y ago · link · parent

> random sleeps added to “fix” race conditions

That's just horrifying. It shows someone who knows next to nothing about multithreaded code and is kludging their way through. Not someone you want within a hundred feet of anything other than maybe front-end web, and even there they're going to be the kind of person who blocks the node.js event loop (because async coding is like the junior cousin of multithreading).

comment 5y ago · link · parent

Racism is real in America, but money is far more powerful. A rich person of color is more "white" than the white poor.

Our political system with its for-profit lobbying industry is basically legalized systematized bribery. Search for lobbying firms and you can probably get a price quote on what it costs to influence legislature.

comment 5y ago · link · parent

A bio professor of mine described the field as being like “the ancient Greeks trying to reverse engineer extraterrestrial technology.”

Biology does not work the way humans design things. It’s not one part one function. It’s all parts some functions to varying and often dynamic degrees, a web of interrelationships that is itself in constant flux. It makes us look like cave men disassembling a UFO.

Pharmaceuticals is basically “we throw this molecule in and it seems to do that.” Sometimes we can divine some cause and effect understanding but it’s always surface level and incomplete. How SSRIs supposedly work for depression comes to mind as an example of such an oversimplification.

comment 5y ago · link · parent

I wonder what percentage of data center power is wasted running totally unnecessary trendy abstractions...

comment 5y ago · link · parent

LinkedIn is full of banal spam instead of triggering propaganda spam.

comment 5y ago · link · parent

We've massively increased the role of the Federal government vs. what was outlined in the constitution. The most significant reason for this by far is war, particularly WWII and the Cold War.

Other wars before these played a role but I feel like WWII was the turning point after which the US was a different place. We entered more or less a permanent state of war or war-readiness since then, and the Cold War provided a rationale to massively increase the size of our espionage apparatus. Originally the idea was that this spy apparatus would only be aimed outward, but that was always a fantasy. Anything we aim outward will eventually be aimed inward.

comment 5y ago · link · parent

Those devices have addictive properties, especially casual mobile games and social media.

In the past addictive properties were enough to get people to do absurd things like roll up leaves, light them on fire, and deliberately huff the smoke. That's arguably more harmful than what mobile devices do to us.

comment 5y ago · link · parent

This tail end expense is maybe the largest problem with nuclear power. Economic systems and corporate structures are not set up for this. The whole economy is used to things costing nothing at the end of their life, or nearly so.

Done with a car? Scrap it, strip it, recycle the recyclables, and toss the rest. Done with a building? Implode it and cart it away. Same goes for almost all other pieces of machinery and capital.

Done with a nuke? Now you have another cost almost as high as building it to begin with! It's like having to buy your car and then spend almost the same amount to un-buy it at the end of its life span.

Yes such things can be priced in, but it requires a tremendous amount of foresight and discipline. There is a constant temptation to cut corners on any cost that won't be incurred for a long time, especially if that time is beyond the term of a politician or the career of a corporate bureaucrat.

Done with a solar panel? Send it to a bulk electronics recycler. Done with a wind turbine? Scrap it like any other piece of heavy machinery.

There are other industries with non-trivial decommissioning costs, like chemicals, oil and gas, etc., but at least the time frame is reasonably short. Nuclear decommissioning costs drag on and on, theoretically many times longer than the plant's useful life span.

comment 5y ago · link · parent

Are the prices subsidized? Are they actually that cheap or are you just paying the rest on your tax bill?

comment 5y ago · link · parent

When you have money backed by gold, those who have it benefit from its appreciation. Same is true of any deflationary currency.

Wealth tends to flow uphill. Even in Communism the politically connected realized that wealth in that system was political capital and learned to position themselves to accumulate it. There is a reason the USSR collapsed and gave way to one of the most aristocratic states in the world.

I don’t discount that site though. A lot more happened in or around the early 70s than just the collapse of Bretton Woods.

I also don’t dismiss your comment as untrue. A fair inflationary currency would almost literally drop money from helicopters, not issue it to banks and governments. Still I imagine over time people would learn how to chase the helicopters.

All systems will be gamed. No exceptions.

comment 5y ago · link · parent

Censorship of child pornography?

comment 5y ago · link · parent

He had me until he threw in Charles Murray.

I want to believe these bold defenders of classical liberalism and enlightenment values, but I am not oblivious enough to the subtext. I can see what they're trying to wedge into the discussion.

It reminds me of the old 2000s intelligent design "wedge strategy" to sneak literalist creationism into schools and academia, only now it's biological racism that's got to be wedged in there. If you don't like over-zealous woke-ism, stop making them look reasonable by trying to sneak ideological racism in the back door.

It reminds me of the Monty Python dead parrot sketch.

https://www.youtube.com/watch?v=z9SMUzj-_4Q

"We're not racists... we're... pining!"

If they wanted to talk about the biological basis of human behavior, there are a million better researchers in this area than Charles Murray that do not have the baggage. Try one of these people:

https://scholar.google.com/scholar?hl=en&as_sdt=0%2C36&as_yl...

Oooh look, "ethnic differences in brain structure" returns 10+ pages of papers by people who apparently are not being "cancelled." That's strange for a topic that you're supposedly not allowed to study. Maybe they're not being cancelled because they are just doing science and not trying to soft pill people on ideological racism.

These people think blacks are intellectually inferior to other races. That's what they think and they need to admit it or shut the fuck up. That is a dead parrot.

comment 5y ago · link · parent

IntelliJ IDEA is one of the best software values for the money I have.

comment 5y ago · link · parent

All three of these are reasonable statements if you remove all contemporary social context. Nobody does that, and the people who use these slogans know that. They're using the difference between abstract context-free understanding and contextual understanding as a gaslighting technique, making obviously political statements and then pretending there is no context and hiding behind "but that's a reasonable statement!"

Consider, alternately, these three statements:

"The social contract applies equally to all instances of human life."

"We should eliminate shame in connection with anyone's race, heritage, or other aspects of their origin over which they have no control."

"There is nothing inherent in markets that perpetuates racial prejudice."

These mean about the same thing but are formulated in a way that avoids this kind of gaslighting doublespeak. It's not hard to do. I doubt those statements would offend anyone.

I assume anyone saying "all lives matter" is racist precisely because it is so damn easy to say the same thing neutrally.

comment 5y ago · link · parent

Meh. I grew up with x86 and it was trivial for me to get into ARM and even using ARM NEON, etc. Computers are computers and understanding of them is largely transferrable.

comment 5y ago · link · parent

This is a great cautionary tale about why not to copy. Imagine if they'd taken their approaches from SECM and put them on an IC instead of copying the 8080... they probably would have had a superscalar chip when the West was just shipping 8-bit in-order cores.

comment 5y ago · link · parent

Ohhh.... I think I get it. The root of my confusion is that BRACES ARE OPTIONAL in Rust closures.

This is apparently valid Rust:

let func = || println!("foo!");

I didn't know that, which is why I thought "|| async move ..." was some weird form of pseudo-async-closure instead of what it is: a function that returns an async function.

Most of the code I see always uses braces in closures for clarity, but I now see that a lot of async code does not.

comment 5y ago · link · parent

Wait so you're saying "|| async move {}" is equivalent to "|| move { async move {} }"? If so then mystery solved, but that is not obvious at all and should be documented somewhere more clearly.

In that case all I'm doing vs. their example is explicitly writing the function that returns the promise instead of letting it be "inferred?"

comment 5y ago · link · parent

I've jumped on the Rust bandwagon as part of ZeroTier 2.0 (not rewriting its core, but rewriting some service stuff in Rust and considering the core eventually). I've used a bit of async and while it's not as easy as Go (nothing is!) it's pretty damn ingenious for language-native async in a systems programming language.

I personally would have just chickened out on language native async in Rust and told people to roll their own async with promise patterns or something.

Ownership semantics are hairy in Rust and require some forethought, but that's also true in C and C++ and in those languages if you get it wrong there you just blow your foot off. Rust instead tells you that the footgun is dangerously close to going off and more or less prohibits you from doing really dangerous things.

My opinion on Rust async is that it its warts are as much the fault of libraries as they are of the language itself. Async libraries are overly clever, falling into the trap of favoring code brevity over code clarity. I would rather have them force me to write just a little more boilerplate but have a clearer idea of what's going on than to rely on magic voodoo closure tricks like:

https://github.com/hyperium/hyper/issues/2446

Compare that (which was the result of hours of hacking) to their example:

https://hyper.rs/guides/server/hello-world/

WUT? I'm still not totally 100% sure why mine works and theirs works, and I don't blame Rust. I'd rather have seen this interface (in hyper) implemented with traits and interfaces. Yes it would force me to write something like a "factory," but I would have spent 30 minutes doing that instead of three hours figuring out how the fuck make_service_fn() and service_fn() are supposed to be used and how to get a f'ing Arc<> in there. It would also result in code that someone else could load up and easily understand what the hell it was doing without a half page of comments.

The rest of the Rust code in ZT 2.0 is much clearer than this. It only gets ugly when I have to interface with hyper. Tokio itself is even a lot better.

Oh, and Arc<> gets around a lot of issues in Rust. It's not as zero-cost as Rc<> and Box<> and friends but the cost is really low. While async workers are not threads, it can make things easier to treat them that way and use Arc<> with them (as long as you avoid cyclic structures). So if async ownership is really giving you headaches try chickening out and using Arc<>. It costs very very little CPU/RAM and if it saves you hours of coding it's worth it.

Oh, and to remind people: this is a systems language designed to replace C/C++, not a higher level language, and I don't expect it to ever be as simple and productive as Go or as YOLO as JavaScript. I love Go too but it's not a systems language and it imposes costs and constraints that are really problematic when trying to write (in my case) a network virtualization service that's shooting (in v2.0) for tens of gigabits performance on big machines.

comment 5y ago · link · parent

If all you need is compute, storage, and a pipe, all the big cloud providers are a total ripoff and you should look elsewhere. The big ones only make sense if you are leveraging their managed features or if you need extreme elasticity with little chance of a problem scaling up in real time.

OVH is one of the better deals for bare metal, but there are even better ones for bandwidth. You have to shop around a lot.

Also be sure you have a recovery plan... even with the big providers. These days risks include not only physical stuff but some stupid bot shutting you off because it thinks you violated TOS or is reacting to a possibly malicious complaint.

We had a bot at AWS gank some test systems once because it thought we were cryptocurrency mining with free credits. We weren’t, but we were doing very CPU intensive testing. I’ve heard of this and worse happening elsewhere. DDOS detector and IDS bots are particularly notorious.

comment 5y ago · link · parent

In that case it turns into something resembling the Reagan spend-the-USSR-to-death Cold War strategy.

While China and Russia may see some value in BTC weakening US hegemony, I wonder how much they'd be willing to spend to defend it. Right now the USA can probably spend more and also de-facto controls TSMC (Taiwan is a US client state), the most advanced fab that could make the most power efficient mining chips.

1
266267268
596