Better HN
topnewbestaskshowjobs
Log inSign up

api

35,903 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 10y ago · link · parent

Isn't that expired now? And if it covers p2p it's ridiculous. All PSNs are prior art

13922.

Systems of meaning all in flames(meaningness.com ↗)

1 points · by api · 10y ago · discuss

comment 10y ago · link · parent

I wonder if they will do p2p video chat... since Skype abandoned p2p the quality is notably awful.

comment 10y ago · link · parent

We use Slack and get a lot out of it. We've got people on two continents and it really helps.

Sounds like the problem was over-using Slack. I've left Slack channels before because... well... noise. We tend to have a pretty quiet Slack but when we do use it it's convenient and easy and faster than e-mail.

I still often use e-mail for longer-format discussions.

comment 10y ago · link · parent

Its longevity is due to a couple factors I think:

(1) It's stable. No "let's rewrite everything every two years!" It's a bit ugly but once you learn it you know it.

(2) It targets a reasonably stable set of platforms.

(3) It's not over-ambitious. It doesn't try to be its own rendering engine or implement pseudo-style-sheets (I'm looking at you Qt) or do other crazy things. It just wraps a minimum common denominator of desktop UI functionality sufficient to ship a good working application that's not too ugly and is usable.

As such it's great for long lived C++ code bases that need UI functionality across platforms.

comment 10y ago · link · parent

This is why complexity is so terribly evil in secure protocols. All these features, feature flags, upgrades, downgrades, state transitions... it's all surface area for bugs. A complete state diagram for a modern SSL/TLS stack would be huge and contains edge cases that are probably undocumented and poorly understood.

Do boring crypto: https://cr.yp.to/talks/2015.10.05/slides-djb-20151005-a4.pdf

Boring crypto means minimal state, minimal code (and therefore easy to audit), a minimal set of algorithms with new algorithms and encodings and such being added only when absolutely necessary, etc. Crypto "flexibility" means edge case bugs and lots of code where bugs can hide.

There is in general an exponential relationship between LOC and complexity and bugs. In crypto and security code this is really bad.

comment 10y ago · link · parent

Don't run more than one process needs nuance. Apache and Postgres work fine in containers and are fork based, and helper apps or threads that are purely supportive don't matter either. No more than one job or "thing" makes sense.

I hate ham fisted advice like this that will always end up being dogmatized and multiplying complexity needlessly.

comment 10y ago · link · parent

Got it. So it's going to take a pedophile site appearing on a darknet that contains thousands of hours of captured home camera footage of naked kids, or a well documented case of an activist or journalist being singled out for a high-resolution IRS audit based on their home political speech.

comment 10y ago · link · parent

All the deeply creepy ones derive their creepiness from cloud tethering-- they transmit everything back to the mothership and can only be used via the mothership. You are putting a microphone, camera, etc. in your house that someone else has absolute real-time control over, and then because it's a "thing" you are going to forget it is there.

Yet every single IoT kit, howto, stack-as-a-service, or other piece of material or IoT startup I see enshrines this as The Way. IoT devices connect to IoT cloud backends and that's how it's done. Period.

There are several reasons:

(1) Vendors desperately want to avoid total commoditization. Competition in the hardware space comes from cheap Chinese vendors with unbelievably cheap labor and monstrous economies of scale. Tethering your device to a backend provides both some amount of lock-in and keeps your secret sauce away from the Chinese reverse engineers. (Or so people think.) This is as true for Chinese vendors as it is for domestic ones-- don't expect them to forgo this strategy when their competition is each other.

(2) There is no good solution for end-to-end transit that copes with the ugliness of endpoint networks.

Full disclosure: I am founder of a company that is trying to address #2 in an open, scalable, reliable, and interoperable way. I am therefore partial to this problem. Yet I also think it may be the easier of the two to solve since it's mostly just a technical problem. Problem #1 is deeply baked into the structure of the market and I have no idea how to solve it. Pathological emergent behaviors like this in complex systems like markets are notoriously hard to fix. You can see the train wreck but you as an individual are helpless against it-- in fact you are almost forced to help drive the train off the cliff because every market incentive points that way. Usually the ham-fisted solution of legislation is the only thing that can address such pathologies in the real world. I hate that as a still-semi-libertarian but it is what it is.

Edit:

It gets worse. Now add:

(3) All kinds of creepy agents from governments to crooks to (perhaps worst of all) quasi-crooked "dark pattern" companies who want to "monetize the user," would love to get as many Internet-connected cameras, microphones, sensors, etc. into your house as they can. It's a gold mine of private data they can do creepy things with. Think about the malware situation on PCs -- that is about to happen to your house.

#1 and #3 obviously interact constructively. The race-to-the-bottom nature of hardware and the ease with which software is copied means that companies must look for any revenue stream they can. We've seen what this has done to the web: the most successful web companies are free services that monetize the user through surveillance. It's hard to imagine that the same economics won't drive IoT vendors to the same endpoint.

Edit #2:

I toy around with the deeply contrarian idea that what we need are significantly stronger intellectual property laws to upend this economic death spiral, but I am not at all convinced that that is the answer or that it would have any chance of working.

The other less radical idea is that this is a marketing problem, and that IoT is ripe for a higher-end vendor to come in and say "we aren't creepy."

Would customers pay twice as much for a genuinely useful or enjoyable IoT device that came with an iron clad privacy policy, open APIs, and direct connectivity so you could avoid any cloud dependency? The conventional wisdom that I hear endlessly repeated is "customers don't care about privacy or security." I see evidence of this myself -- e.g. not a single user out of many thousand has asked us (ZeroTier) about the quality of our crypto. "It's end to end encrypted!" With what? A software implementation of a cereal box cipher? Nobody cares. Yet I wonder: just how creepy do you have to get before people start caring? Do people care when Barbie is listening to their children? When their Amazon Echo is submitting the sound of them having sex to Amazon? How pitifully abusive and downright gross does our relationship with "the cloud" have to get before people actually start caring whether their doors are locked?

Okay enough rant -- back to work trying to put a dent in this problem in a way that's probably more effective than posting to HN. #1 might be the harder of the two problems but if #2 isn't solved there is no chance of #1 being addressed.

comment 10y ago · link · parent

Isn't performance a problem? Technically you can memoize to eliminate constant recomputing of state, but that itself is overhead. Sometimes I try to use a functional style in common languages and end up backing out when it comes time to optimize.

comment 10y ago · link · parent

Was thinking of doing this myself! Awesome.

comment 10y ago · link · parent

RPi is IMHO the most important computer product period. It's the gateway to PC 2.0, the modern Altair.

comment 10y ago · link · parent

Entry into the middle class is now gated by a system of indenture in which you must purchase on non-bankruptable debt a certificate to be considered for a middle class job.

(... unless your parents are rich or you're part of the small percentage who qualify for non-trivial student aid or scholarships.)

comment 10y ago · link · parent

... or flush every toilet in New York at once. Barrels of fun.

comment 10y ago · link · parent

Does a 2000 mile data path to a light bulb seem dumb to anyone else?

comment 10y ago · link · parent

If your systems have a local firewall, services are jailed, OS is patched, etc. then direct access to it is not dangerous.

Somewhere we decided to accept crap system and device security as normal because oh we'll just firewall it. That was never a good idea but the more cloud connected things we deploy it becomes completely untenable.

Large corporate networks are already hostile territory due to BYOD. The only way to maintain the firewall as anything other than security theater is to lock everything down so much that nobody can get anything done.

The whole approach is braindead. We don't see how stupid it is because it's grandfathered in.

comment 10y ago · link · parent

It's just yet another nail in the firewall's coffin. I cringe now when I read security people still talking about them as a first or really any meaningful line of defense.

comment 10y ago · link · parent

IoT is yet another reason firewalls are obsolescent as a security measure. A device is secure or it is not. There is no such thing as a safe network. Never really was, but now there really ain't.

comment 10y ago · link · parent

Show me a house running on an eCat then.

comment 10y ago · link · parent

The EmDrive is actually less physically plausible than the E-Cat if you get into it, since reactionless propulsion is identical to perpetual motion and/or infinite energy. Someone had a nice explanation of this over on Reddit but I don't have a link handy. Basically if momentum is not conserved then you can build kinetic energy without bound on finite power or something like that. The only way the EmDrive could work is if either (a) we are really wrong about some fundamental stuff, or (b) it's not actually reactionless but is pushing against something "exotic" like dark matter or dark energy.

E-Cat or anything like it (LENR) would mean new nuclear physics -- some way of bypassing the Coulomb barrier at low energies via some novel probably quantum mechanism. But fundamentally it's not violating anything as foundational as a conservation law. We know the energy is there via E=mc^2 and all. We just don't currently know of any way to get at that energy at sub-plasma temperatures and pressures (and for the proposed fusion reaction in the E-Cat, by no known physical means). LENR would require new physics but would not break existing physics.

I do recall reading some interesting stuff about how some of the gas giant planets seem a bit warmer than they should be, and that if LENR were a thing it would provide a possible explanation for some anomalous heating observed in astronomical observations.

comment 10y ago · link · parent

If they have patents, why don't they publish a real scientific article on this with all the information needed to replicate?

This stuff is permanently in my 'put up or shut up' category, and putting up means true independent open replication by more than one party.

comment 10y ago · link · parent

"More energy than can possibly be stored."

For it to be a real test you'd have to exceed the total energy output of any plausible chemical system. Calculate the total amount of energy of a stoichiometric mixture of, say, liquid oxygen and kerosene, and then draw power until you have exceeded that. At that point you can be pretty damn sure it's not a chemical battery.

comment 10y ago · link · parent

People want free. Things aren't free. But people want free, so let's give them "free" and monetize them indirectly with surveillance, invasive advertising, etc.

The entire Internet has gone down this road since it's very hard to compete with someone who is giving something away for "free" (note quotes). Free has given us George Orwell's bidirectional it-watches-you TV set.

comment 10y ago · link · parent

They abandoned p2p, ostensibly to make mobile work better, and it's been downhill since then.

comment 10y ago · link · parent

Will any actual VC firms invest in an LLC? I've never heard of that but then again I've never worked in that world full time.

comment 10y ago · link · parent

I see a lot of billions, with a b, and then I look at what small teams do on bootstrapping or little seed rounds. The mind boggles.

comment 10y ago · link · parent

It's the cloud equivalent of the PC world in the 80s: Commodore (64 and Amiga), Apple, TRS-80, IBM, TI, and dozens of smaller players all competing for platform dominance.

comment 10y ago · link · parent

Depends on what those p2p nodes are doing. We do p2p on mobile but it's to allow the mobile device to act as a client to access an IoT device, not to force the mobile device to act as a CDN node. Spotify was doing the latter, which is more problematic.

Moore's Law eventually will matter, since faster and more efficient chips equal the ability to do more with lower power consumption. Batteries aren't getting better fast enough, but power consumption per fixed unit of compute is falling like a rock. As a result "effective battery life" for a given fixed workload is subject to Moore's Law.

comment 10y ago · link · parent

Seems to be a pattern: wimpy mobile endpoint devices drive everything to the cloud.

If so this is perhaps a dated phenomenon. Moore's Law is still a thing and today's generation of mobile devices are getting fatter and fatter.

comment 10y ago · link · parent

I'd be curious if anyone knows the details about why: complexity, customer complaints, reliability?
1
464465466
596