Better HN
topnewbestaskshowjobs
Log inSign up

api

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

Elon's dumb tweets about coronavirus are a great example of the non-transferrability of expertise. He is a great engineer in many areas and a great founder and visionary business leader (in the Jobs mold), but seems to have major issues understanding epidemiology and public health.

The assumption that expertise is transferrable is probably one of the biggest fallacies in the public discourse.

Jobs displayed a similar blind spot around medicine, likely killing himself by attempting to treat severe cancer with alt-med crackpottery. Then of course there are all the celebrities that gave us all that nonsense plus the anti-vax movement. Medicine seems to be a popular area for this. For whatever reason when a person gets rich or famous they seem to develop the need to play amateur doctor with zero training and zero willingness to actually undertake the requisite study. Maybe you know you've arrived when you develop a strong desire to be a medical crank.

comment 6y ago · link · parent

"Maximize shareholder value" strikes again. By the time we're through America will have lost its dominance in every sector.

comment 6y ago · link · parent

Where are they getting the money? Are they that profitable or state sponsored?

comment 6y ago · link · parent

I find it fascinating how much those grids resemble RAM chip die photos. I know the principle is different but in a sense we have just been shrinking things for over 70 years.

comment 6y ago · link · parent

Significant performance improvements in the core, reworked CLI, crypto improvements, professional security audit of both design and code, easier root server federation, easier DIY controllers, better multicast, and of course bug fixes.

The firm doing our security audits is an extremely well known one. Don't want to reveal the name quite yet.

It's possible that some of that won't land fully formed right away in 2.0 but will follow shortly thereafter, but the performance, auditing, crypto, and multicast will be there.

comment 6y ago · link · parent

Also note that Italy has a substantial elderly population, skewing the numbers.

comment 6y ago · link · parent

ZeroTier original (and still main) author here. Objectively speaking another difference is the ACL scheme which seems perhaps less powerful than our own rules engine but easier to use. The ACLs are closer to intents while ZT rules require some TCP/IP knowledge (like raw iptables or pf).

We have plans to address this ourselves more with a higher level UI to build rules from intents and common patterns. Also have more auth integration planned, but the list is long.

comment 6y ago · link · parent

Do you mean least privilege/ minimal centralization? I wrote this rant-ish post on the concept a while back.

http://adamierymenko.com/decentralization.html

It describes a route whereby I got to the concept, but I doubt I'm the first one there. Everything gets reinvented over and over again in this field.

comment 6y ago · link · parent

The problem there is that we've never figured out how to make it scale. Right now everyone builds everything static or as a container because if you depend on anything upstream it will break and then you will be held responsible for fixing it. Communities don't scale, and the Apple/Google alternative of closed app stores are... closed... and also tend to suck.

Making shared libraries and other upstream dependencies actually scale is an open problem in practical computer science / systems engineering.

The fact that commercial interests often have a vested interest in things sucking is a problem all over the place.

comment 6y ago · link · parent

Everything needs to be namespaced and there needs to be a scalable and robust model for sharing resources.

Containers do the first part but not the second. Classical OSes do the second part but not the first.

Here's what I would do if I were working on this problem:

(1) Shared libraries can be linked by name and version constraints or by specific cryptographic hash of the library. The former uses some kind of name resolution system to get a cryptographic hash from that name and version constraint. This is not terribly unlike NPM or modern Go module versioning. It would allow sharing of resources without security or "DLL hell" type issues. The OS lazily grabs libraries by cryptographic hash off a configurable list of sources that could include URLs, IPFS, BitTorrent, peers on the same LAN, etc. (1) Could also perhaps be extended to include binaries, but this would require more thought.

(2) Kill the concept of installing software "on" a machine, but in a finer grained way than containers. Segment applications and services the way users are segmented: each app or service has a home directory and a UID/GID. Get rid of /bin, /usr/bin, etc. in favor of some system infrastructure for finding binaries where they live. MacOS has some of these things but isn't consistent about them.

(3) Lock down the system a lot harder in terms of different users being able to see anything outside things they own. For example a user should not be able to "find /" at all. This would be similar to containers but a little simpler.

(4) Extend namespacing and user/group ownership to network identifiers like IP addresses and other things. I think you could do this with existing cgroups plus some user land support.

(5) Get rid of system level service management (except for truly system level services) in favor of per-user services. Each user can run their own services/daemons that bind to IPs/ports in their own namespace.

(6) Kill 'root' in favor of a hierarchical administrative permission system. This may require some new stuff in the kernel or maybe cgroups could be leveraged to implement it.

(7) Kill privileged ports. This stupid restriction is utterly antequated and serves no purpose on modern systems or networks, and it makes a ton of stuff needlessly insecure and complex by mandating 'root' to e.g. bind port 80. I wrote a rant on this years ago: http://adamierymenko.com/ports.html

(8) Implement process hibernate/restore and migration as a standard feature in the kernel (if it's not somewhere in there already... not sure). That way the 'box' can be rendered absolutely ephemeral and entire runtimes can be hot migrated between boxes.

(9) Replace numeric UID/GIDs with GUIDs or even better hashes of public keys to allow some transparent tie-in to some kind of IAM infrastructure. It's possible that this could be done by having a local mapping to numeric UIDs/GIDs to avoid having to recompile the universe and refactor code that expects UID/GID to fit in 'int' or 'long'. This way a user can log into any machine anywhere and still be the same user and all that UID/GID synchronization or LDAP or whatever trash can die.

I think that would be a start.

Some of these concepts have shown up in various places: MacOS, iOS, Android, Mosix/OpenMosix, Beowulf, various container virtualization stacks, etc. I have never seen them in one place or integrated nicely.

comment 6y ago · link · parent

The only attempts I've seen are advanced package managers for Linux, like the stuff used by NixOS:

https://en.wikipedia.org/wiki/NixOS

Unfortunately these tend to be overly complex and have too steep of a learning curve, and they don't address all the issues.

The closest is probably apps on mobile, but again that doesn't address all the issues and comes with a whole set of restrictions that are very problematic outside small single-user devices.

comment 6y ago · link · parent

I've been saying for years that containers are nothing more than an ugly hack to get around the fact that OSes are broken. More specifically modern OSes still carry 1980s assumptions about multi-tenancy, system administration, application management, state management, etc.

In the 1980s a "server" was a big expensive special snowflake. Each server had a "system administrator." The system administrator would "install" software "on" the machine.

I quoted all those words to highlight no longer valid concepts.

Boxes are ephemeral now. Systems have more than one administrator, sometimes belonging to a different organization or department. Applications are not installed "on" the system in the sense that they root into it and modify its state. If they do this makes them a terrible hassle to manage. Applications should be ephemeral things that can float freely between machines and store their state in some kind of distributed or remote data store or database, or at least can be easily migrated between hosts. Everything is mobile. Everything is commodity. Everything is liquid.

OSes are just not designed this way, so we have an ugly hack called a container that basically amounts to "let's tar up images of operating systems and just treat them like giant static binaries." Onto this is bolted a whole array of other ugly hacks to make that easy to deal with, but the concept is fundamentally ugly as hell.

comment 6y ago · link · parent

This is exactly why the costs are set up that way. The first time I saw AWS pricing I chuckled and thought "roach motel." Data goes in but it doesn't come out. Its one of many soft lock in mechanisms cloud hosts use.

comment 6y ago · link · parent

Last fresh Windows install I did came pre-loaded with a bunch of loot box style gaming crap, Candy Crush, Xbox stuff, Netflix, Amazon Prime, loads of other foistware that should not exist on a fresh install.

A new Windows install requires at least an hour of de-cluttering and shit removal, while for a new Mac full setup to my liking takes about 5-10 minutes and I generally don't have to uninstall much of anything. The only thing I sometimes remove are apps I never personally use like Garage Band to save a bit of disk space, and that takes like ten seconds.

Then there's the almost Android level of obviously spyware telemetry going on. Yes I know Apple has telemetry but I trust them quite a bit more than Microsoft both not to do anything deliberately sketchy with my data and to be competent with their security. They also do a lot less and a lot less invasive telemetry. Redirecting local search, sending file list dumps, etc. to the mothership is unforgivable unless I have explicitly opted into that kind of behavior e.g. for tech support or debugging. That's the kind of stuff I associate with borderline malware, not an OS by a supposedly reputable company that I paid for.

Microsoft's recent behavior is pegging them in the low end of the market and ceding the high end of the market to Apple. Then of course there's Linux. If Apple did something barking stupid that forced me to ditch the platform that's where I'd go. I'd miss the Apple degree of trouble-free operation but at least I'd keep my privacy and security and lack of foistware.

comment 6y ago · link · parent

"This is very much possible while also increasing quality of life."

I don't disagree. It's in part a framing issue. For decades the message has been "you should feel guilty for wanting things, and to save the world everyone needs to de-industrialize and return to the lifestyle of a medieval peasant." (I'm exaggerating just a little bit, but not much.)

The mainstream response has been similar to how people respond to other moral shaming campaigns: pretend to play along and engage in a lot of token signaling gestures (like banning plastic straws or recycled disposable cups) but otherwise ignore it. Actual behavior does not change, but you get this gloss of fake ineffective feel-good junk.

The developing world's response has been a bit more pointed: "fuck you, we're poor." They're not going to listen to a bunch of rich westerners tell them they need to stay poor to save the planet.

comment 6y ago · link · parent

Yeah, the presence of ads on anything I've paid for instantly classifies it as "junk." Windows is now junk.

comment 6y ago · link · parent

I strongly disagree about climate change. It's nothing but a technology problem. The people addressing it are people like Gates with his funding of advanced nuclear and Musk with his driving of EVs, solar power, and grid scale storage.

One of the major reasons we've failed at tackling climate change to date is that we've been treating it as a political, economic, or ultimately moral problem and trying to solve it by moralizing.

I call this approach "abstinence based environmentalism," making a direct analogy to abstinence based sex-ed. It works about as well. Trying to shame people into using less energy or pursuing less economic activity is going to be about as successful as shaming teens into not having sex.

If we try to push abstinence based environmentalism really really hard by legislating it and trying to force people to down-size, we'll get a populist counter-reaction and we'll see the election of explicitly anti-environmentalist candidates. That's worse than nothing. That's going backward. We've already seen some of this.

We've been approaching environmental problems as moral and political issues for decades and what do we have to show for it?

https://www.sciencealert.com/images/2019-05/processed/017-ca...

Total, absolute failure.

To stop CO2 and methane emissions, replace fossil fuels. To stop STDs and unwanted pregnancies, give teens contraceptive pills and rubbers.

comment 6y ago · link · parent

Both are true. To have a huge success you need a great product that "sells itself" and you need sales and marketing to sell it.

Having just a great product will get you so far, but won't break through into the big leagues. Having only sales and marketing but a shit product will get you a flash in the pan.

comment 6y ago · link · parent

Hey, nothing wrong with turning Saudi money into free beer.

comment 6y ago · link · parent

The thing that really doesn't seem to work in the Austrian model is the whole "hard money" superstition... the idea that money should be an immutable store of value. I really think it is a superstition of sorts, since I don't think the rationale or the underlying model work in the real world.

Not only does this seem to fall down in a variety of ways in practice, but I have philosophical issues with it. The value in the economy is in capital, goods, and services. Money has no value. You can't eat it, drink it, live in it, or use it for anything. It's a medium of value exchange, not a value of its own.

In fact one of the desirable characteristics of money is that it's useless for other purposes, otherwise those other purposes compete with its money use case. Cryptocurrency does check that box, but so far all popular cryptocurrencies are built on hard money assumptions. It would be theoretically possible to build a cryptocurrency that wasn't, but there are issues like how to make the inflation targeting algorithm not be trivially game-able by 'whales.' (Real world whales do in fact try to game central banks, so this is not fiction... of course central banks are AI-complete so they have a better chance of resisting this.)

Most of the affinity for Austrianism is really rooted in a dislike for central banking and the assumed authoritarianism that goes with it, but I am not convinced that these issues are intrinsically inseparable. I don't see why libertarianism necessitates Austrian hard money finance or why hard money prohibits totalitarianism in any way. Since totalitarians have guns they can easily just confiscate and monopolize any hard currency. Cryptocurrency is no different, since rubber hose cryptography is highly effective.

comment 6y ago · link · parent

I wonder if they're under-reporting their COVID-19 numbers to win propaganda points.

Naaaaah... impossible.

comment 6y ago · link · parent

I think there's some validity to that view. The Internet was actually 30 years old when it went public.

I find it hard to believe though that VCs are playing that long a game. That's way too long a time horizon for any conventional VC investment.

comment 6y ago · link · parent

You're referring to what I call "pop Austrianism," and that's definitely an adjacent issue.

Austrianism is a rationalistic theory of economics. By rationalistic in this context I mean it's not empirical. It's the sort of thing you get when smart people sit around and reason through something and come to a conclusion based on that alone without bothering to observe, experiment, or evaluate their ideas in practice.

A wonderful classical example of this kind of rationalism is Aristotle reasoning that heavier objects fall faster than lighter objects. Of course they do! Heavier objects are subject to more force, therefore they fall faster. It's perfectly rational.

BTW I'm not saying that other economic schools of thought have it all correct either. They clearly continue to make incorrect predictions all the time. I really don't think anyone understands economics very well. It's a subset of complex auto-adaptive systems, but with an added layer of adversarial behavior. In economics when a major economist, government, central bank, or business makes a prediction, the market acts so as to attempt to invalidate that prediction. Economic systems actively attempt to invalidate theories about them.

comment 6y ago · link · parent

Whenever I hear someone like Andreessen who is still a cryptocurrency believer, I go and really look for what he's talking about. I find nothing.

I also have a routine search that I do when I look for something built on cryptocurrency or the cryptocurrency ecosystem (e.g. Ethereum "dapps") that I might want to actually use. I always come up empty handed.

Yet there are many smart people that believe in this stuff. Are they in a parallel universe?

Where is it being transformational? All I see is gambling, speculation, scams, solutions in search of a problem, and a ton of vaporware.

Beyond the core use cases of easier international wire transfer and black/grey market commerce, I don't see anything in this space that people actually use (excluding gambling and speculation).

I'm puzzled when I hear them compare it to the Internet. The Internet had immediate real world use cases everywhere. I saw people all around me start to get online and actually use the Internet for a huge variety of things. I don't see any of that with cryptocurrency. Nobody is using this stuff for anything. It's got that classic worst-case solution in search of a problem vibe: you can't give it to people.

I get why bag holders and speculators sound bullish on cryptocurrency. They're hoping more will buy in so they can dump at a higher price. I am genuinely and deeply puzzled when I hear bright people who aren't in those groups who are still believers. What do they see that I don't?

comment 6y ago · link · parent

Most of this is silly, but there is one correct point: large enterprises will never use WG unless we can get NIST to approve ChaCha and C25519 under FIPS.

Yes it's mostly bullshit. No it won't ever change. FIPS is a check box and its all about liability and things like insurance. It has zero to do with tech and everything to do with standards and bureaucratic and legal requirements. Nobody ever got fired for using FIPS approved stuff. Use something different like WG and it (and you) will be blamed for any breach.

Note that I'm not sure to what extent this is true in Europe, but there you have another problem. In my experience European industry is just culturally super conservative and does not like to adopt new things. So even if they don't have the FIPS boat anchor, they're just terribly change-averse.

comment 6y ago · link · parent

I doubt they'd do anything to break Macs for developers because that's one of the big market segments for Macs. It'd be like removing emojis from the iPhone. :)

comment 6y ago · link · parent

That's SaaS.

comment 6y ago · link · parent

That's not how economies of scale work in a price crunch. This will drive further consolidation of mining power since the largest players are the most efficient. It's the smaller indie miners that will be forced out.

When margins are squeezed only the largest vertically integrated players survive.

comment 6y ago · link · parent

I don't want a new native UI for Windows. I want a cross platform UI.

I am NOT developing the same GUI N times for N different platforms. No way. Even very large companies like Slack are refusing to do that. They have the resources to have three or four parallel dev teams but why?

I don't care how nifty, pretty, fast, or modern this new UI is. It's not cross platform therefore it does not exist.

This is not a technical problem. Check this project out:

https://github.com/andlabs/libui

Yes it's minimal and rough around the edges, but it's the work of one developer in their spare time. If one developer hacking away in the evenings can do that, then there is no excuse.

If OS vendors keep insisting on being special and trying to herd developers into making OS-specific apps, developers will keep going to bloated but portable alternatives like Electron and Qt. Why is every new app an Electron app? Don't blame developers or Electron. Blame OS vendors.

It's 2020. We have common portable APIs for threads, networking, even 3D graphics, but not 2D GUIs. It's easier to write a portable cross platform 3D rendering engine than it is to write a portable cross platform app with a menu, a box, and a button. It's just offensive at this point.

comment 6y ago · link · parent

Seems up at the moment. I'm sure there will be some outages as data centers are running with reduced staff and some companies don't know how to do teleworking well.
1
318319320
596