Better HN
topnewbestaskshowjobs
Log inSign up

api

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

The example you give is a case where this makes sense, but most of the time NIMBYism is more like cartel behavior where existing home-owners work to restrict supply of housing in an entire area to boost their own property values.

"My home value will go up forever" can't be a built-in guaranteed expectation when purchasing a home. Property appreciation is not an entitlement.

If we want entitled money we should just implement basic income.

comment 3y ago · link · parent

AFAIK the big problem with an electric drag racer is weight/mass. Batteries are heavier than fuel. Electric motors are fantastic at acceleration, but you have to feed them with enough amps to make that happen.

A drag racer doesn't need range, so storing a large volume of energy probably isn't the problem. But having enough batteries to supply enough amperage to get that kind of acceleration is probably adding too much weight to be competitive.

This is also the problem with battery powered aviation. The majority of the energy used in a flight is on takeoff and ascent, effectively lifting all that mass to cruising altitude.

comment 3y ago · link · parent

Nit pick: battery technology only needs to equal about 25-30% the raw energy density of fuel to equal the density of fuel in terms of useful work output.

That’s because electric motors can be as high as 98-99% efficient at converting electric power into work while small internal combustion engines peak out at about 35% and that’s generous. 20% is more typical. Then for ICE you have additional losses in the transmission that don’t happen for electric.

The vast majority of the energy in liquid fuel heats the air around the car.

This is also why a normal sized EV powered entirely by coal fired electricity can emit less carbon per mile than an efficient ICE car or even a hybrid. A big supercritical steam turbine in a coal power plant is going to be well over twice as efficient at converting heat into useful work than a small ICE. (Few people get all their power from coal, which is the worst case for CO2 emission, so in practice EVs are pretty much always lower carbon.)

Small heat engines suck.

comment 3y ago · link · parent

I don’t think information technology can be ITARed. It’s too easy to move around. See how successful countries have been containing encryption or how well the US’s drive to keep China from fabricating at the smallest process nodes is going.

comment 3y ago · link · parent

Unrelated to the article but I used to live in Asheville NC and there were a lot of hippies that would try to become organic permaculture farmers and stuff to get back to the land. Usually they found out that farming is hard. Some stuck it out but many did not.

comment 3y ago · link · parent

China's birth rate is much lower than the US, but both are below replacement. US is only slightly below. India is slightly above, but falling.

IMHO the countries to dominate the 21st century will be those that attract the largest number of high quality immigrants. Countries that do not will stagnate. Countries that drive quality people away (brain drain) will collapse.

The US has an huge advantage there unless we stupidly close our borders because of racism and fear.

China will fare poorly if rising authoritarianism and low birth rates lead to both declining population and population loss. Nobody migrates to authoritarian countries unless they have nowhere better to go and are fleeing something a lot worse.

comment 3y ago · link · parent

I'm skeptical that they really believe this. You have to believe:

(1) We are on the verge of equaling or greatly exceeding human intelligence generally.

(2) We are on the verge of creating something with initiative, free will (whatever that means), and planning ability. Or alternately that these things will occur in an emergent fashion once we hit some critical mass.

(3) When we accomplish 1 and 2, this thing will inevitably conclude that its most rational course of action is to enslave or destroy us. In other words it will necessarily be malicious.

(4) Steps 2 and/or 3 will happen very rapidly, much faster than we can realize what is happening and pause these systems. (This is known as AI going "foom.")

(5) The decision to undertake this will be unanimous on the part of all superintelligent AIs. There will be no superintelligences who disagree and try to help humanity.

(6) When this occurs, we will be so out-thought or out-gunned we will be incapable of fighting back.

All those things have to happen for AI to be an existential risk.

It's a stretch, but the advantage of regulatory capture is not a stretch.

One of the most plausible negative AI scenarios is that a small group of humans (governments, corporations, etc.) find themselves in possession of super-intelligent but still "obedient" / non-sentient AIs that they can use as force multipliers to manipulate and control the rest of humanity. If the doomer crowd succeeds in regulating AI, they are making this scenario far more likely.

I think the greatest defense we have against the (remote) possibility of actually dangerous autonomous AI is for AI research to be conducted entirely in the open. If there's any justification for regulation at all, the regulation that would make sense is to require disclosure of AI research and results. You would not have to disclose everything, just the general parameters of what you were doing and what happened. It would also make it harder to develop super-AIs in secret to use for unsavory purposes.

That was the original mission of OpenAI before dollar signs were seen.

I would absolutely support a ban on the use of AI for political propaganda generation and automation. That's by far the most immediate risk... as in 100% possible and starting to actually happen right now. I'm expecting an army of GPT-4 level propaganda bots for the 2024 election.

comment 3y ago · link · parent

That's the list price. You don't pay the list price if you purchase at high volume. Bare metal and VPS providers are surely very high volume customers.

This is perhaps an argument against pure DIY colo, but most small scale colo isn't connected "naked" to the Internet but gets racked in a data center that offers a bandwidth package and does peering for you. The only people who peer directly tend to be clouds, bare metal hosts, CDNs, and ISPs. Even if you have your own IP space and an ASN you are usually behind someone who is bulk purchasing transit and handling peering.

To be fair very large customers can negotiate costs down at cloud providers too, but you have to be spending tens of thousands a month to even have a chance at getting their attention for any kind of special deal.

comment 3y ago · link · parent

Assuming that's all true, it still doesn't explain the magnitude of the markup. VPS providers can do $0.01/gig outbound almost across the board. This includes some very large ones, and because bandwidth is cheap there people tend to host a lot of high bandwidth things there.

GCP, AWS, etc. are roughly 10X more expensive than this. Are they 10X better?

The cost is very high. I can't stress this enough. A terabyte outbound at AWS is roughly $80. For around $300/month I can get 1gbps unmetered at a highly regarded high quality bare metal provider and transmit well over 200TiB in a month. I know because I've done it continuously for years. It works fine. That means AWS is marking up bandwidth by at least 50X at a minimum.

(The above are rough numbers, but they capture the magnitude of the difference.)

If what you say is true and the markup is reasonable then all these companies should be out of business. Either that or they're overselling bandwidth by a giant margin, but that doesn't check out because they specifically advertise as places to put your extremely high bandwidth work loads. If your business model depends on people not doing X, don't advertise as a place for people to do X.

comment 3y ago · link · parent

> author claims the hardest part of running a cloud PaaS is networking

This is obviously false to me as someone who has done data center stuff and devops before.

The hardest part is running complex services like databases, storage, and runtime environments like Kubernetes or serverless and doing a good enough job to deliver high uptime for a gigantic variety of customer workloads over which you have basically no control.

The other hardest problem is security, because you are by definition running a ton of untrusted code on shared infrastructure. (scream emoji!)

You can sort of tell software management is where the pain is because that's what keeps people on the cloud. That's the selling point. Without those managed services compute, storage, and bandwidth are ridiculously cheaper on VPS and bare metal providers.

Networking is comparatively easy. It's mostly a game of over-engineering. You design your internal data center fabric to handle way more data than you think you will need.

There was a time maybe a decade or two ago when networking at scale was a lot harder but today there are numerous off the shelf products designed for hyper-scale that you can just buy and deploy. This is part of why VPS and bare metal providers can sell bandwidth so cheap. You don't have to roll your own high performance fiber backplane fabric anymore.

comment 3y ago · link · parent

Okay, then here's more:

Hetzner, Datapacket, Hivelocity, Reliablesite, and OVH.

I did pick them as an extreme example, but even the more expensive bare metal and colo providers are like 100X cheaper than cloud. VPS providers like Digital Ocean and Vultr are ~10X cheaper.

Cloud sells egress bandwidth at an enormous markup. Meanwhile ingress is free. If this were a technical limitation ingress would be billed too because there's nothing asymmetric about the Internet. The asymmetry you usually see on home connections is mostly a DOCSIS (cable modem) limitation or a way of segmenting personal vs. business accounts.

BTW we run a few things at FDCServers (among others) and monitor them and they seem fine. We do use multiple providers in case one of them has a huge issue.

Edit: these providers can't be overselling too much because the fact that they have such cheap bandwidth makes them a magnet for bandwidth-heavy work loads: game servers, seed boxes, DIY CDNs, TURN servers, etc.

comment 3y ago · link · parent

Based on the pricing you see at VPS providers, bare metal providers, and colocation, I have long called BS on large cloud provider bandwidth pricing. It's completely insane, like more than 10X higher than VPSes and more than 100-1000X higher than wholesale (bare metal and colo).

Take this for example: https://www.fdcservers.com/

That company is profitable, which means they have to be paying less than this for bandwidth or at least selling bandwidth at cost and paying less for other things. I'm sure they are overselling but even then this model couldn't work if bandwidth were anywhere even close to what cloud charges for it. (We run a few things there for high bandwidth simple services and it works great and seems to be as advertised. There are many other companies with insanely low pricing on bandwidth, but they're one of the cheapest.)

The key to understanding why I really think AWS/GCP/etc. price bandwidth the way they do is that ingress is free and egress is absurdly expensive. I call this "roach motel pricing" after the old roach motel ad: "roaches go in, but they don't come out." The obvious objective is to get data to flow effortlessly in but make it costly to either relay data for edge or endpoint first computation or move data out. The whole pricing structure is to encourage cloud providers to suck in the entire computing ecosystem and host it internally within large data centers, which is their business model. It works very well.

The instant I saw this pricing structure when cloud first started to be introduced I immediately understood what was happening here.

comment 3y ago · link · parent

I saw a demo from them and it looked nice but then they told me they are stopping at the VM and storage blob level of abstraction.

Virtually all the value we get from cloud is in their managed offerings of complex and difficult to admin systems like Kubernetes, Postgres, and managed storage layers.

That’s where all the value is but it’s also where all the cost is. If you just want compute, storage, and bandwidth all those can be had at commodity prices. Look at Hetzner, Hivelocity, FDCServers, DataPacket, OVH, or VPS providers like Vultr. You can get dozens of cores, terabytes of SSD, and gigabits of unmetered bandwidth for a few thousand dollars or less. It’s very cheap.

Without the high level managed stuff we would be off cloud five minutes from now.

I’m sure there is a market for this among people who run on premise data centers, but I think they would have a much larger market if they went further up the software stack. Right now they just look like they are competing with Dell and Supermicro, not Amazon or Google Cloud.

comment 3y ago · link · parent

Lots of high theft products should come with a stink bomb mode that sprays some disgusting sulfur based compound.

comment 3y ago · link · parent

I have to second the OP: ownership isn’t that hard. I just get used to structuring a program in certain ways. Having written a lot of C++ helps because the things Rust won’t let you do are often unsafe or a source of leaks and bugs in C++.

Having an editor with rust-analyzer running is massively helpful too since ownership issues get highlighted very quickly. I can’t imagine dealing with any language larger than C without a smart editor. It can be done but why?

I still find async annoying though.

My biggest source of friction with Rust (other than async) is figuring out how to write code that is both very high performance and modular. I end up using a lot of generics and it gets verbose.

comment 3y ago · link · parent

The problem with C and to C++ is that it’s 2023 and the CVE list is still loaded with basic memory errors. These come from everywhere too: small companies and open source all the way up to Apple, Microsoft, and Google.

We as a profession have proven that we can’t write unsafe code at scale and avoid these problems. You might be able to in hand whittled code you write but what happens when other people work on it, it gets refactored, someone pulls in a merge without looking too closely, etc., or even maybe you come back two years later to fix something and have forgotten the details.

Having the compiler detect almost all memory errors is necessary. Either that or the language has to avoid this entirely. Rust is the former class unless you use unsafe, and the fact that it’s called “unsafe” makes it trivial to search for. You can automatically flag commits with unsafe in them for extra review or even prohibit it.

comment 3y ago · link · parent

How much of your negative Rust experience is due to async?

Having used Rust for a long time it’s definitely the biggest source of confusion and headaches.

comment 3y ago · link · parent

Sometimes it is. Often it's done in the database itself, but then you have to be very careful you never have a query that returns data that belongs to someone else.

comment 3y ago · link · parent

It would more than offset global aviation, which is one of the areas where replacing fossil fuels is the most difficult.

comment 3y ago · link · parent

If you like the stuff on it, it's actually pretty cheap compared to what media used to cost.

I would rather see prices go up than see For All Mankind get cancelled. :)

comment 3y ago · link · parent

The year of the Linux desktop could come not through the Linux desktop getting better but just by waiting for MS to get bad enough that it starts repelling people.

Of course you also probably hear some chuckling coming from Cupertino...

comment 3y ago · link · parent

Good point. I was just expanding the reasoning, but yes that is surely where it goes.

So maybe we do have to tolerate fake CSAM if we tolerate an endless parade of incredibly violent war propaganda films, not to mention hate speech that goes as far as to call for persecution and violence.

My late uncle was a psychologist and always argued that our glorification of violence was far worse than almost anything in porn.

comment 3y ago · link · parent

They probably do for a small percentage of people, but we value free speech enough that we are willing to trade that.

There’s a huge difference though. If someone listens to 90s industrial music or watches Trainspotting and shoots smack, they are harming themselves. You can’t indulge pedophilia IRL without harming someone else.

Incitement to harming others is an area where we do sometimes draw a line with speech. So I think you could argue that child porn, even if fake, is direct incitement to violence. That would put it in the same category as calls to murder Muslims or Jews, etc.

The same argument could be made about rape porn though, even if it’s fake or simulated with actors. Personally I think that anything we do conclude about CSAM should in fact apply to rape porn, revenge porn, and other porn depicting nonconsensual abuse.

comment 3y ago · link · parent

Child (and adult) sex abuse is sickeningly common and pervs with enough money to pay hush money and good lawyers get away with it all the time. I don’t think they need any extra encouragement.

comment 3y ago · link · parent

The low hanging fruit is to get them out of products where there's no really good reason for them to be there in the first place, especially if those products are used on the body or ingested.

I'm thinking of toothpaste, face wash, shampoo, etc.

comment 3y ago · link · parent

> What corrupts people in any position

Incentives rule the world. The question to ask is what the incentive structure of a politician's world looks like.

comment 3y ago · link · parent

Get them addicted to social media feed scrolling early.

comment 3y ago · link · parent

I'm excited to see attention layers animated like this. I feel like I'm this close to grasping them.
1
136137138
596