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

Can you give me a link? Searching for how to deploy it turns up dozens of guides of varying age that refer to different projects of different levels of maturity.

comment 9y ago · link · parent

From my experience with both PostgreSQL and RethinkDB (and other NoSQL stores):

For SQL, complex queries, and data warehousing: yes. It's an excellent database and I'm not sure why you'd pick another SQL DB unless it were a lot better on point two.

For high availability and scaling: no, absolutely not.

The problem with the latter is an arcane deployment process and arcane error messages that provide constant worry that you're doing something wrong. It's a many week engineering project to deploy HA Postgres, while HA RethinkDB takes hours -- followed by some testing for prudence... our testing revealed that it does "just work" at least at our scale. We were overjoyed.

The docs for Postgres HA and clustering are also horrible. There are like five different ways to do it and they're all in an unknown state of completion or readiness.

Of course if/when we do want complex queries and more compact storage, we will probably offload data from the RethinkDB cluster to... drum roll... a PostgreSQL database. Of course that will probably be for analytics done "offline" in the sense that if the DB goes down for a bit we are fine. HA is not needed there.

TL;DR: everything has its limitations.

comment 9y ago · link · parent

They were. That's not the problem.

The problem is tools -- plural. Users think "I have Linux, where do I get the Linux version?" You have to provide arcane instructions for how to add a package repository on Every. Single. Linux. Distribution.

Or you can script it and users can run a command. Still painful, but less so for the user.

As far as the distributions themselves go: they are harder to get software into than the Apple App Store. The rules are arcane and the docs either barely exist or are on wikis that have not been updated in over a decade. The whole process is unnecessarily arcane beyond belief.

comment 9y ago · link · parent

If/when they do this, I'm gone from OSX.

This can fly on mobile because ultimately mobile devices are just dumb terms for accessing the cloud. I don't think it'll fly on real computers, especially for the pro market and developers.

comment 9y ago · link · parent

If you want to complain about something, complain about the completely pointless fragmentation of the Linux ecosystem that pretty much mandates "curl|bash" to ship software for "Linux."

comment 9y ago · link · parent

Wireguard supports roaming but it's not distributed in a p2p global sense.

comment 9y ago · link · parent

You already have a TCP connection, so NAT and firewalls don't matter here. Proxies have to be web socket aware anyway.

comment 9y ago · link · parent

That would be in the headers and prior to protocol breakout. I'm talking about after that. Why does web sockets have an extra layer of framing and other nonsense? Not to mention other "modes of operation." It's a socket. Give me a socket.

comment 9y ago · link · parent

Will they pay their writers or is this a magazine staffed by crowdsourced unpaid interns?

comment 9y ago · link · parent

Speaking of web sockets and simplicity:

I never understood why web sockets aren't just a straight break out of HTTP(S) to a naked TCP or SSL socket. Why all the extra complexity? All it does is degrade performance and bloat software.

I hate the way protocols are designed by committee, virtually guaranteeing that everything has layers upon layers of cruft that have never actually been needed by anyone for anything but must be implemented because it's in the spec.

comment 9y ago · link · parent

All government agencies push that narrative. It's never their fault. They just need more power and a bigger budget.

There's only two fields that I can think of where failing gets you a promotion: government and banking. The latter is largely due to the involvement of government.

Edit: this only works for the upper echelons though. If a street level FBI agent screws up badly, they get reprimanded.

comment 9y ago · link · parent

If anything this would drown the signal in more noise, right?

comment 9y ago · link · parent

I think this accurately describes American history for the past 15 years and explains why establishment hate is so mainstream.

Iraq war, housing bubble, housing collapse, bailouts, rise of ISIS, student debt explosion, ...

Eventually there is a point where confidence is lost.

comment 9y ago · link · parent

Our society is something between Huxleyan and Kafkaesque. Ironic since most civil libertarians are mentally stuck on fearing Orwellian models.

comment 9y ago · link · parent

In SoCal now which is very nice, but other places that come to mind for differing reasons are:

Asheville, North Carolina

Knoxville, Tennessee

Detroit, Michigan

Charleston, South Carolina

Santa Fe, New Mexico

comment 9y ago · link · parent

https://www.quantamagazine.org/20150820-the-case-for-complex...

Sorry had to do it.

comment 9y ago · link · parent

Didn't say they weren't, but you don't win conflicts like this by blacklisting. Ideological blacklisting makes you appear intellectually weak and leads people to think the opposition must have something to say that you can't counter. Censorship and blacklisting is something people do when they can't win the argument on merit.

comment 9y ago · link · parent

If you want a managed solution RedShift supports PGSQL syntax and connectors now I think. That's a fully managed turn-key DB, but of course it locks you into AWS.

comment 9y ago · link · parent

What I didn't see mentioned here is clustering. One of the things that sold us on RethinkDB was how easy it was to cluster compared to PostgreSQL. The latter has poor documentation and it's very hard to know you've done things right... and if you don't the results can be catastrophic failures or mysterious replication problems with cryptic error messages.

Edit: also I was led to believe by PG documentation that LISTEN/NOTIFY is impossible across a cluster, which means that code depending on LISTEN/NOTIFY is impossible to cluster. If that's the case you're stuck with master/slave and manual or (scary) automatic failover now.

We wanted a system that is masterless (or all-master) in the sense that any node can fail at any time and the system doesn't care. RethinkDB delivers that, at least within the bounds of sane failure scenarios, and it delivers it without requiring a full time DBA to set up and maintain. That's worth a certain amount of CPU, disk, and RAM in exchange for stability and personnel costs, especially when a bare metal 32GB RAM SSD Xeon on OVH is <$200/month fully loaded with monitoring and SLA. So far we've been unable to throw a real world work load at those things that makes them do anything but yawn, and OVH has three data centers in France with private fiber between them allowing for a multi-DC Raft failover cluster. It's pretty sweet.

The only thing that would make me reconsider is if the use patterns of our data were really aggressively relational. In that case PGSQL would be a clear winner in terms of the performance of advanced relational operations and the expressivity of SQL for those operations. ReQL gives you some relational features on top of a document DB but it has limitations and is really designed for simpler relational use cases like basic joins.

comment 9y ago · link · parent

I highly recommend finding a bunch of Leary's out of print material. A lot of it's been scanned and uploaded to various places. It's both fascinating and culturally very significant, not to mention stylized and weird to the point of being a work of art.

I also highly recommend his biography Flashbacks.

comment 9y ago · link · parent

That network topology is actually quite logical and doesn't say much about politics.

P2P connectivity almost always requires a third party to do a three-way handshake. In IPv4 this is because of NAT, and in IPv6 it's usually still needed due to stateful firewalls. Having stable upstream nodes allows rapid bootstrapping of a P2P network by providing known stable points to act as introducers. You can do it in a less hierarchical fashion, but at the expense of performance and stability and possibly security unless you are very careful (see: sybil attacks).

Curtis' political views are what they are. I fundamentally disagree with the core thesis myself-- while I do have problems with pure democracy I see no evidence that aristocracy is in any way superior. But at the same time I believe in treating others' views with respect and respecting their right to hold them. I also must point out that Curtis' views are often hysterically misrepresented and exaggerated, and I doubt he has much to do with today's alt-right which is more of a populist phenomenon. In fact I could see a neo-reactionary calling the alt-right "demotic", which as far as I recall is the term they use for rhetoric of that style.

comment 9y ago · link · parent

I'd love to see a meta-analysis of OSS-oriented companies that have succeeded vs. those that have failed and what they did.

comment 9y ago · link · parent

I tried it a while ago and was blown away by the weird restriction of requiring federated login from providers like Google to use a system designed to be decentralized. Seemed like a really strange arbitrary restriction that prevented its use on private networks for one.

comment 9y ago · link · parent

I've felt for a while that more happened behind the scenes in this election than we know, and that part of what occurred is a collapse in the de-facto unwritten alliance between the USA and China that has existed for some time now. Clinton was working to preserve that alliance, and failed.

That's dangerous. I do agree that the USA has subsidized China too much to its own detriment, but the alternative could be significantly worse for both countries. A collapse of trade would crash both economies, and given the fragility of the Chinese economy a crash there could be a humanitarian and political disaster. It could also lead to the ascent of crazy hard liners.

Honestly I don't see either -- continuing to subsidize China or collapsing trade -- to be a good outcome. It seems we've painted ourselves into a corner.

comment 9y ago · link · parent

Yeah the change feed feature is beautiful too. It's not what sold us but once we had it it made making everything real-time almost trivial.

I think the big thing for us is that everything about RethinkDB screams quality from a technical POV. It's powerful but not over-engineered. The code is pretty clean looking. It "just works" without hiding wads of chewing gum and duct tape in Docker containers or requiring 10-step setup processes. When you do bang on it ChaosMonkey-style it holds up very well.

comment 9y ago · link · parent

Feeling good about our decision to stick with it for our core infrastructure's next incarnation. Still very sad that they didn't make it as a company. We would have paid. RethinkDB is an unbelievable technology: better under the hood and IMHO easier to use than MongoDB, and combining NoSQL with some SQL-like features that for us are good enough. The rough edges we've found so far are minor.

We used PostgreSQL before and while excellent on a single node it's deeply painful to cluster. You need a full time DBA to make sure you're doing it right, as GitLab discovered, and when it fails it gives error messages that seem more cryptic than C++ template errors. Amazon RDS was insanely pricey compared to bare metal (our load is both CPU-bound and disk-IO-heavy bare metal on OVH is >10X cheaper than Amazon) and Redshift didn't have pgsql syntax yet. Even now that it does I'm not sure I want to be bound to it as I have an instinctive aversion to cloud lock-in.

comment 9y ago · link · parent

You are excluding the middle. It wasn't perfect back then by any stretch, but it was possible to make a good living and all economic growth and innovation was not hyper concentrated in less than five unaffordable coastal cities.

If you live in one of these places and have not spent time in the interior you don't get it.

For an example look into the first, say, ten companies to offer viable home computers. They were in places like Albaquerqie (MITS), Dallas (Tandy), Philadelphia (Commodore), Atlanta (Compucolor), Boca Raton (IBM's PC group), etc. as well as Apple and a few others in the Bay Area. Today they would just about all be in SF/SV with maybe one token in Seattle.

Everything is like that. Regular jobs leave the interior for other countries or are replaced by automation, while high end jobs all go to to LA, NYC, SF, Seattle, and Boston.

I am in LA and grew up in Cincinnati and am as guilty as the next person. It's hard to swim against a torrent. When I go back there I see people stockpiling guns and talking about the new record for heroin deaths. Young people talk about escaping.

This is also bad to a degree for people in rich coastal cities since all this is driving real estate hyperinflation there. No jobs or unaffordable housing: pick one.

For average people things have become tangibly worse. It started in the 70s, accelerated after 2001, and became a visceral downward spiral after 2008. Trump and Sanders talked about this. Nobody else cares or even sees the problem.

comment 9y ago · link · parent

Today's stock markets with all the hedge fund bots remind me of 90s IRC. It grew up. Instead of #warez it's Nasdaq.

comment 9y ago · link · parent

Distribution of non consensual porn is a sex offense and a massive privacy violation.
1
431432433
596