Better HN
topnewbestaskshowjobs
Log inSign up

api

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

This is why the US isn't a democracy, and shouldn't be. It's a republic. Democracy is one check in a system of checks and balances.

comment 9y ago · link · parent

About nine months ago we made the decision to go with RethinkDB for our infrastructure in place of PostgreSQL (at least for live replicated data), but if this existed at the time we'd have seriously taken a look. We're pretty happy with RethinkDB but I plan on still taking a look at this so we have a backup option.

comment 9y ago · link · parent

Choosing technologies based on first-hand review and first principles rather than things like Gartner magic quadrants, big company brand recognition, feature lists, and "serious" sounding names is a competitive advantage that startups often have over big businesses. The latter are forced by their procurement departments and other forces to use old, inferior, and more costly technology.

On the flip side though if I were in charge of CockroachDB I would look at doing something about the name. Maybe rename it something like "Resilient" as part of the "exit from beta" milestone. It's going to be a serious liability for them selling to the kinds of customers I described above, and unfortunately that's where most of the money is in these devops/infrastructure markets. The key to success is to make a superior product and then figure out how to sell it to pointy haired bosses. The latter often means making it look more boring than it actually is.

Fun factoid: scientists sometimes do this with grant proposals. I've had two scientists independently tell me that they often take cool, fascinating research proposals and "make them boring" to sell them to bureaucrats. "You have to hide all the interesting stuff and make it sound like you are doing boring incremental research. If you talk about anything 'revolutionary' you will never get funded."

comment 9y ago · link · parent

All sales and marketing tends to incentivize over-promising, especially if selling to an audience who are not domain experts.

comment 9y ago · link · parent

To do away with the walled garden approach would require a robust, scalable solution to the malware and spamware problem.

For most non-pro users, a walled garden is awesome. You can actually use a computer without it becoming progressively more and more infested with malware and without it "rotting" from badly written installers, etc. For most users closed is a feature, not a bug. Closed means it works. Closed means you don't have to do your own IT.

A real solution to these problems that isn't based around walled gardens and app whitelisting would require very innovative solutions to major problems in application and operating system security. These aren't the kinds of problems that get solved overnight, and unfortunately I don't see very many people working on it.

Ultimately I think what's going to happen is more pragmatic: the computer market will fully bifurcate into one kind of device and OS for power users and developers and another for everyone else.

comment 9y ago · link · parent

Seattle will have to follow suit after Vancouver.

comment 9y ago · link · parent

I haven't heard that one.

I have heard that it is a proxy war against Russia or China, but I'm not sure that makes sense either. Russia in particular has tons of oil and doesn't need any from elsewhere.

The only thing that makes a little sense is that it's an end in itself: we must have war to support the war industry and it's associated jobs and social programs. It's not just corporations with an interest in this. For many poor Americans military service is the only way to advance, and military service signs you up for a much higher tier of social programs than the rest of the public. In truth America does have socialism. It's just enlistment to grave, not cradle to grave.

If there were a prolonged period without war, people would start questioning these expenditures.

comment 9y ago · link · parent

War in the middle east is ruining the West. I don't understand it and I don't buy the oil explanation. With the absurd cost of these wars we could just buy the oil, or pay for megaprojects to replace it with gas (even gas to liquids), nuclear, and renewable power. There seems to be no rational explanation for the immense gravity well of Middle Eastern war and how it drags in Democrats and Republicans alike even if they seem initially opposed to it.

I also don't buy the religious or Israel explanation, as neither of these groups have that much influence. The need to constantly involve ourselves in the Middle East seems like an imperative that supercedes all other concerns.

I wasn't a fan of Trump and did not vote for him, but I did have a little bit of hope that at the very least he might be against these wars on "America first" grounds. Looks like the answer is no as his administration is slowly taken over by the war party.

It's almost like when presidents are elected they learn something nobody else knows.

comment 9y ago · link · parent

Yes it does. The secondary C++ allocator is doing its own pooling on top of the primary allocator.

comment 9y ago · link · parent

This is correct. Glibc malloc works fine, though jemalloc is faster in highly multithreaded code and seems to be slightly more memory efficient.

comment 9y ago · link · parent

(Original blog author here.)

That's a nice idea, and we've considered "minus minus"ing the ZT core as part of an embedded port. But code like this that shleps a lot of structures around and works with JSON is eye gougingly painful to write in C and the chance of a worse and possibly exploitable memory bug is much higher.

This is the first time we have encountered an actual problem with C++ compilers or runtimes.

comment 9y ago · link · parent

It's a known issue according to what I've read. It's never been fixed. This may be due to the fact that it's hard to trigger and reproduce.

12793.

Toss: dead simple LAN file transfers from the command line(github.com ↗)

4 points · by api · 9y ago · discuss

comment 9y ago · link · parent

Hilarious... I just put something up a little bit like this. It's something I started a while back and finished up this morning:

https://github.com/zerotier/toss

It must be the National Day of Command Line File Transfer Utilities.

comment 9y ago · link · parent

How do you compete with a corporate entity that has become the state?

Getting back to net neutrality: you also have the concept of a natural monopoly.

A natural monopoly is something where there is an intrinsic barrier to competition. In the case of telecom there is a natural monopoly over last mile connectivity because it makes zero economic sense to create more than one or two redundant last mile connectivity networks. It would also be an eyesore. Imagine huge sprawling bundles of wires or constant digging everywhere.

So for telecoms like Cox, Comcast, etc. you have a double whammy: they are natural monopolies and competition is also restricted by a state over which they have achieved regulatory capture.

These companies are monopolies, plain and simple, and if they can leverage that monopoly they can effectively shut down the Internet as a venue for entrepreneurship.

comment 9y ago · link · parent

It's worse than that. There is no such thing as an impenetrable firewall between the public and the private sphere.

It's one of the areas where libertarian idealism doesn't quite work in the real world. I can't think of a way to limit the political influence of business without limiting the size and financial leverage of individual businesses. A libertarian society that fails to do this will not remain libertarian for long, since suitably large corporate entities will become the state.

Why compete at all when you can just write your own laws and tap the public treasury?

comment 9y ago · link · parent

It's not relevant to your threat model until it leaks...

comment 9y ago · link · parent

Please call it Skynet. :)

comment 9y ago · link · parent

Because it's a hardware backdoor in the CPU?

comment 9y ago · link · parent

This is by far the best post about Docker I've ever seen.

We're a small company and so far we've never found a role for Docker. We just deploy stuff to VMs and bare metal servers with Chef. Docker is occasionally useful for testing and builds but that's about it.

But... the thought of coordinating the way we do things with 100+ developers working under layers of middle management is terrifying. Stuff would be breaking left and right. It would be a disaster.

For that we'd want a true zero-interdependency micro service type way of doing things where everyone's part is a different product and is deployed as a completely separate monolith.

For that Docker with all its warts and inefficiencies is an acceptable, standard solution. As you say it's not ideal or elegant but it works and people know it.

comment 9y ago · link · parent

Only if we fail to educate people about the dangers of other STIs.

comment 9y ago · link · parent

Vulnerable as in how vulnerable? Do you need to be physically connected to local Ethernet for this? WiFi?

If it's WiFi that's damn scary.

comment 9y ago · link · parent

There are arguably more and easier to get drugs today. If drugs automatically made culture interesting we wouldn't be having this conversation.

60s and 90s psychedelic drug use was just one of many ingredients in a larger thing, and probably nowhere near the most important.

comment 9y ago · link · parent

There's been a lot of cool technical innovation on the net in the last 8 years, but culturally it seems a lot worse. It's been taken over by memes, short attention span social media, next generation forms of spam, and click bait. I remember when people spent serious time on blog posts and sites. I see a lot less of that today.

comment 9y ago · link · parent

There was a renaissance of grassroots psychedelia in the overlapping hacker and rave culture of the 1990s. I miss that stuff.

Today's culture is disturbingly vapid. There is little in the way of either genuinely creative counterculture or mainstream high culture. The pop culture is five chord pop that all sounds the same and endless remakes of the same film, and geek and fringe culture seems full of low effort meme trash and mean spirited nihilism. It's not at all surprising that fascism has risen up in those festering swamps.

It reminds me of the eerie artistic anticlimax that served as a prelude to collapse in one of Lovecraft's stories about the history of a vanished elder race. "The Cursed City" I think. Like the old ones our art and culture reached a peak from the 60s to the 90s and then gave way to blobs scrawled in MS Paint.

comment 9y ago · link · parent

They love subsidies, but to different industries run by different people and concentrated in different regions of the country. It's pork politics.

comment 9y ago · link · parent

I'd put it more simply:

"Users don't care about privacy or security."

I put it in quotes because it's become a kind of catch phrase, and in practice I have found this to be largely correct. We've tried very hard to make our product secure, but users almost never ask about that. We have never been asked about the quality of our crypto by a regular user, and only once by an enterprise user. Users care about UX and cost, in roughly that order, and little else. This is even true of most enterprise users.

This is why security sucks. This is why everything spies on you. It's not a priority for anyone because it doesn't affect user buying behavior. The tiny minority who do care are not only too small to matter but also tend to be the kinds of "hackers" who like to DIY (and pirate) rather than buy things... making them doubly economically insignificant.

In the end the privacy issues around things like this will have to be fixed with legislation. We will need to effectively extend HIPAA regulations to cover all kinds of other personal data: passively recorded audio and video, location tracking data, anything more than the most superficial user logging, etc. Vendors will face a fine of $$$ per incident if this information is leaked, and sale and use of information will be strictly regulated.

As far as government surveillance goes: that horse left the barn over a decade ago, and that also can only be fixed in the legislature. The legislature must regulate intelligence agencies and police. If they don't, no amount of techno-fixing will limit the power of these agencies. They have larger budgets than you.

comment 9y ago · link · parent

Yes, for several reasons.

(1) This device is absolutely sealed and opaque. It can't (easily) be analyzed to see what it's running, doing, or sending. It's even more opaque than a phone. It has enough processing power to do local image analysis, object recognition, etc., so just looking at bulk traffic won't prove anything about whether or not it's watching.

(2) The camera in this device is part of its core functionality, is always on, and is situated deliberately so as to watch you.

(3) The device is literally an Amazon sales rep in your house. Its primary purpose is to represent Amazon and sell you stuff.

I've always thought Alexa and the other cloud-connected voice-activated things were completely insane. I will never own such a thing. Period. This takes it to a whole new level of creepiness.

1
426427428
596