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

I really agree with your sentiment to a point, but the problem as I've written elsewhere (ad nauseam) is that software isn't free. Software, particularly easy to use software, is extremely labor intensive. If FOSS is about developers writing themselves out of the equation, it means nobody can make a living making it. If nobody can make a living making it, that puts a pretty huge limit on how much resources can be put toward making FOSS better.

Closed silos don't have that constraint so they will win by sheer muscle power.

The BSL (our current license) sort of sucks, and I look at it as a stopgap until we can come up with something better. I have some ideas, but they need to be developed and so far I have not had time to develop them further since coding and running a company are fairly demanding.

They deserve a blog post at least.

Outstanding reply BTW.

comment 5y ago · link · parent

FOSS UI/UX is at least two decades behind and the gap is growing.

A major problem is that people almost always underestimate the difficulty of a good UI. Good UIs can be a lot harder than the rest of a system and a modern UI toolkit has a feature set and difficulty level approaching that of a good 3D game engine like Unity.

comment 5y ago · link · parent

We want ZeroTier to be FOSS. We just need to find a way to do that without allowing someone to take and rebrand it and write us out.

ZT is vulnerable to this because we actually try to make everything decentralized and self hostable. We are not making a cloud silo play where we try to lock everyone into our hub to do their networking, so we have to be able to monetize by licensing as well as SaaS. Our SaaS is optional.

This wasn’t an issue a decade or two ago when existing FOSS licenses were created. It’s an issue now, and is why other people working on decentralized easy to set up systems like CockroachDB use the same license we do. If CockroachDB were liberal FOSS someone would fork it and slap their name on it and scoop them, since by not having to do the hard work of actually developing it they could focus exclusively on marketing.

(You can self host ZT controllers, and roots become easier to self host in the next major release. Once we do that the protocol could theoretically outlive the company with no loss of functionality including its unified namespace.)

comment 5y ago · link · parent

The first point is no different from regular dead links or outdated URLs.

The second can be mitigated but is a legitimate issue.

comment 5y ago · link · parent

You can self host ZeroTier controllers, which are the things that control network access. See the controller subfolder of github.com/zerotier/ZeroTierOne.

Roots in ZeroTier are harder to self host right now (it’s getting easier in the future) but they are just dumb STUN/TURN equivalents. They have no power to grant access and can’t even see what networks you join or what you are doing.

comment 5y ago · link · parent

IPFS uses this, but it's more complex than necessary and has a ton of added features that are not core to the principle. (Not saying they're all bad... just that the core principle doesn't require thousands of lines of code to implement.)

Here's the bottom line:

The cryptographic content addressing I described sounds complex but is actually super simple and can be implemented in a page or two of code that will almost never need to change because it is "correct." It could be added to the gemini protocol in an afternoon.

Caching sounds simple but is horrifically complex and an endless source of bugs and failure modes.

comment 5y ago · link · parent

Cryptographic content-addressability (with inherent data deduplication) is superior to simple caching in every single way: efficiency, facilitation of distributed storage, and security.

A link should point to a hash. Now you can go get that hash from the same host you used to get the link or any other host that stores it anywhere in the world. That hash could unpack to data or to a list of other hashes. Go get those. Where you get them doesn't matter one bit. You can verify the correctness of the data trivially.

This is how BitTorrent works but it could work equally well on top of a simpler protocol.

comment 5y ago · link · parent

The lack of images is really an important "feature."

Images seem to do something to the human brain. They grab attention in ways text does not as evidenced by the fact that a dumb image meme can be used as an anchor point to advance the most inane bullshit in either meme or short-attention-span text form.

Image boards and their capacity to originate and amplify utterly inane bullshit are the canonical case, and the format illustrates the principle exactly. Each post consists of an attention grabbing catchy image along with text that is usually one or more of banal, mean spirited, or irrational, and the image meme sells the message to the point that these sites almost feel like cults. Take the images away and there is virtually nothing compelling there.

Edit: there was interesting stuff on the chans once. 4chan was not always identical to /pol. The fact that /pol, originally a containment board, became 4chan and edged out everything else tells you everything you need to know about the format and the medium and what kind of thinking it encourages.

Media guides discourse. This is the most important idea of Marshall McLuhan and why we still talk about him; "the medium is the message." When the quality of the ideas on a medium almost universally declines over time, the medium is the problem not the users of it.

comment 5y ago · link · parent

Even more annoying: it's now considered necessary to have a bunch of videos about any major new product or project. Video production is either very expensive, very time consuming, or both, so it's a new "tax" that you have to pay to look serious.

comment 5y ago · link · parent

Has anyone tried Gemini?

https://gemini.circumlunar.space

I looked around a few days ago and I find it really neat. Its minimalism makes it unsuitable for all the trash that has ruined the modern web as a simple information store. It uses the principle of least capability to create an environment where mere information takes center stage. Not even supporting images means memes can't even take hold, let alone real-time adtech.

The only flaw is that it's still a client/server protocol, which means closed silos and more passive forms of adtech could still invade.

(The modern web is however an acceptable thin client for single page apps that interact with services. I look at HTML5+CSS+JS as the new VT100, a terminal protocol for talking to remote machines.)

The other part of the modern Internet that reminds me of the old Internet is small independent podcasts. I listen to a number of these, and the high information content and lack of bullshit is reminiscent of the web before Facebook and adtech. There's also an implicit principle of least capability in podcasts. It's possible to insert ads, sure, but it's also possible to skip them and it's hard to make it impossible to do that. The medium is non-interactive and almost non-scriptable. There is an effort right now to walled garden podcasts, and I urge everyone who cares to resist it by using podcast apps and aggregators that are not pushing this.

comment 5y ago · link · parent

Could this be replicating what fasting and caloric restriction do?

comment 5y ago · link · parent

That’s sad. I learned relational DB design before I even really got into systems programming and it was really a valuable thing to learn. You can be so much more efficient and less error prone with normalized data structures.

There’s a reason SQL is still around after all these years. It’s basically math and while the syntax is a little moldy the principles are eternal.

comment 5y ago · link · parent

If it’s toggling back and forth and the mass changes, does this mean its momentum should also be changing since mass-energy are conserved?

Seems to me that if a particle is flapping back and forth on mass and it’s energy were not changing this would be extremely weird and maybe even more significant.

They should try to measure this if they haven’t already.

comment 5y ago · link · parent

A great starting point to learn about crypto is to first study current best practices until you understand exactly why they are best practices. Then go through a list of vulnerabilities that have been found in flawed algorithms or constructions and try to understand how each of these vulnerabilities works. Keep digging into these rabbit holes until you feel like you have a grasp on what a good construction looks like and common pitfalls.

comment 5y ago · link · parent

Yes, usually so, though on Windows there are issues due to Windows TCP stack stupid behaviors around multicast. They're not ZeroTier-specific issues.

comment 5y ago · link · parent

Your comment about manipulating raw bytes in C++ is a language criticism, not a criticism of this project.

comment 5y ago · link · parent

Crypto people: “programmers really need to get better at using crypto!”

Also crypto people: “how DARE ye mere mortal even touch crypto!!!”

This doesn’t help. The only people who will listen to “don’t roll your own crypto” are the very people who ought to be learning how to do it. The arrogant types who should never touch crypto will ignore this advice and still write bad crypto.

The most effective thing would be to just tell programmers why crypto is hard in ways other code is not.

Crypto is hard because you can’t simply unit test for vulnerabilities. “Anyone can write a crypto system they themselves can’t break.”

For the majority of code it’s good code if it works and is fast and lacks things like memory safety bugs.

For crypto it can work perfectly and still be grossly insecure. The only way to tell is to deeply understand cryptanalysis and do academic mathy stuff.

As a result if you use crypto it’s best to write boring conservative crypto and use it the way pro cryptographers suggest. Try to use a peer reviewed library or if you can’t and must implement then try to ape a peer reviewed library exactly.

Don’t even try to invent new stuff in crypto unless your understanding is very thorough and don’t use anything new without peer review.

Edit: another example of abnormally hard code is distributed databases. They can be unit tested but adequately doing so is extremely difficult. It’s easy to write one that seems to work but loses data at scale or under edge case failure scenarios. Crypto is even worse.

comment 5y ago · link · parent

Does this work on ZeroTier? Most LAN things do.

comment 5y ago · link · parent

People would spend very conservatively and nothing particularly interesting would happen. It would be virtually impossible to raise money for new businesses.

comment 5y ago · link · parent

This is just the Japanese Hikikomori phenomenon in an American form.

comment 5y ago · link · parent

This is called the hedonic treadmill, and is why we don't have a more leisurely lifestyle in general.

John Maynard Keynes famously predicted something like a 10-20 hour work week by the year 2000. You can actually have that today... if you are willing to live at the standard of living of someone in the 1930s.

That would mean a much smaller house, much less technology, a very cheap car or public transit, vanilla food, only a few suits of clothes, and bare bones health care.

Instead we tend to use our gains to get more space (houses today outside dense cities are huge), more tech, more education, better health care, designer hipster food, more entertainment, and so on.

comment 5y ago · link · parent

Don't forget commute times, which can be bad especially in high cost of living cities where you have to live really far from things to afford a decent place.

For us it saved everyone an average of 1-2 hours per day.

Also consider the energy savings. Commuting by car every day uses tons of energy. Of course this is somewhat offset by more HVAC being consumed by houses, but I highly doubt that totally erases the savings from not driving so much. Cars are very energy intensive.

comment 5y ago · link · parent

This should work with ZeroTier's Ethernet bridging capability. You could have a WiFi network that bridged right into a virtual Ethernet network that spanned sites.

comment 5y ago · link · parent

Apple is the only company I can imagine doing this. They're really the only remaining PC company where a PC is defined as a computer designed to serve and assist its customer/user instead of treat the customer as the product.

comment 5y ago · link · parent

Not sure why the downvotes. A consequence of our two-party system is that both parties end up being uneasy coalitions of many different "parties."

The Republicans have long been an uneasy coalition of the religious right, paleoconservatives, fascists, economic libertarians, right leaning neocons and neoliberals, and mid-century centrist "Eisenhower conservatives." Major fault lines have been between the libertarians and the religious right and between the neocons and the paleocons and nativists.

The Democrats have long been an uneasy coalition of left leaning neocons and neoliberals, social libertarians, anti-war activists, minorities who feel threatened by Republican tolerance of racism and nativism in their "big tent," atheists and minority religions who feel threatened by the religious right, and socialists. Major fault lines have been between the socialists and the various economic centrist or libertarian factions, between socially conservative minorities and the social liberals, and between the neocons / neoliberals and the anti-war / anti-empire factions.

Each party contains at least three or four other parties within.

A shuffle seems to be happening right now where the nativist, paleocon, and fascist parts of the Republican Party have gained power at the expense of the neocons and neoliberals after the latter discredited themselves with the Iraq war disaster and the 2008 financial bailout shitshow (which can technically be blamed on both parties since Obama presided over some of it).

Another shuffle occurring is that libertarianism has really taken a hit as a result of anxiety over wealth distribution and issues with globalism and neoliberalism. Many libertarians on the right have been converted to the alt-right/fascist side, and on the left quite a few have gone further left economically and joined the AOC wing of the party.

comment 5y ago · link · parent

Mike DeWine in Ohio is fairly reasonable and was among those whose lips were not attached to Trump's behind, but now the Republican base in rural Ohio is angry at him about that.

comment 5y ago · link · parent

Only when it comes to private company actions that could harm the Republican Party.

Also: RTFA and this is not really about political stuff. It's about prioritization of businesses in search results in ways that are anti-competitive.

comment 5y ago · link · parent

I am thinking of multithreading. Mutable static variables pretty much destroy any possibility of multithreading without a major refactor. Test harnessing is an issue too.

But if this only ever wants to be an app binary, I guess it's sort of okay.

1
254255256
596