Better HN
topnewbestaskshowjobs
Log inSign up

api

35,902 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 5y ago · link · parent

Web technologies have become the most productive UI layer due to a lot of developer work on abstracting them via things like React and the many React-based view libraries.

The same kind of paradigm could be done with native-mode libraries but nobody has done it because all the momentum is behind web technology now.

My real argument was that fighting this trend may be pissing into a hurricane. All the momentum may be behind web tech, so maybe we should just focus on making it better as a UI layer and fixing its problems instead of developing native mode UI layers that nobody will use.

WASM may eventually liberate us from JavaScript. Another way to do that would be to add C/C++ level API hooks to web renderers like Chromium and WebKit to allow the DOM to be manipulated from native code. Then we could write a native UI toolkit using web view renderers with no JavaScript at all.

comment 5y ago · link · parent

I'm the author of this, and I don't completely disagree. I don't think the web engine is that bad of a UI layer, but it's nowhere near the best.

If you don't like the trend toward web-ification of the desktop, don't blame developers or Electron. Blame OS vendors for refusing to field a portable API for the large common core of desktop app functionality, something for 2D GUIs analogous to OpenGL. Why do we have standard 3D libraries, standard APIs for files and I/O, standard networking APIs, but no standard GUI API?

... because OS vendors still want to try to herd developers into building apps for only their platform. Developers (myself included) respond with "fuck you" and use web technologies.

There is also Qt, but it's fairly antiquated. It doesn't use or support the reactive UI paradigm, and after using React I can't go back. Every other GUI coding paradigm I've seen degenerates into spaghetti code.

All the other options (other than Qt or web technologies) falls down in the area of accessibility, making it not usable for serious work.

comment 5y ago · link · parent

Or maybe satirizing murder and movements for human rights makes you a jerk. It has never been very socially acceptable to mock those kinds of things.

I do agree that people are broadly more sensitive today than they were in the 90s. Styles change. Dark, edgy, and irreverent is out, at least in popular culture.

I have this hypothesis that it tends to run counter to real life. In the 90s we were in the post Cold War peace and reality was optimistic, so people had an appetite for dark edgy art. Now reality is dark and edgy enough all on its own.

Back when those things were in conservatives were having a fit about them too. Now they are having a fit that they are out?

Anything to find a wedge issue I guess. Politicians need those wedge issues or they might have to earn their votes by actually fixing problems, and that’s hard.

comment 5y ago · link · parent

Reward function design and overfitting or “cheating” (optimizing to some incidental thing instead of the real problem) is a major reason genetic and evolutionary AI approaches never took off. I don’t think anyone ever figured out how to make reward function design easier or make any kind of unsupervised evolutionary learning work.

I played with EC a lot in college and these systems were almost comically good at the “cheating” part of overfitting. I watched evolving programs do things like learn the scheduling behavior of the OS kernel (because the reward function was threaded) or the disk timing differences resulting from where different parts of the sample set were stored on the drive. They could guess the answer by inferring load time.

comment 5y ago · link · parent

Is anything not spying on you?

comment 5y ago · link · parent

I think you can set quotas on S3 somehow too.

comment 5y ago · link · parent

You don't reference the galactic orientation by reference to the nearest superclusters? Pleb.

comment 5y ago · link · parent

Self-host at places like OVH or Hetzner that bill by pipe bandwidth rather than gigabytes transferred. Your site may get slow if it gets a hug of death but you won't get a stupid high bill. You can also get 2-4X the compute and RAM for pennies (comparatively).

If you are using AWS, Google, Oracle, or Azure and are just using VMs, you are getting horribly ripped off. There is absolutely zero advantage to using these for just compute. None. They only make sense in a business setting if you are leveraging their managed services to save on labor costs, or if you need to elastically scale to really enormous sizes and have confidence that you won't run out of resources.

VPS providers like Digital Ocean, Vultr, or Linode charge for bandwidth overages but their costs are generally at least an order of magnitude less than the big cloud vendors.

comment 5y ago · link · parent

There is no top of the map since there is no objective frame of reference in space. The axis on which the Earth spins relative to its orbit is a point of orientation but which side is the "top" is arbitrary.

comment 5y ago · link · parent

Exactly. The cloud is DRM. It’s really the only DRM that works; don’t give the user the code at all.

There’s also the data play of making the user keep data there and pay rent forever to keep it accessible. You can download your videos but you lose edit history etc.

comment 5y ago · link · parent

This is called feudalism, and will end with the majority being deprived of any opportunity to accumulate wealth in any form. The majority will be sharecroppers and serfs.

"... and you'll like it."

Just like feudalism 1.0 we will be lorded over by decadent nobility whose primary pastimes are gambling, political intrigue, and sexual abuse of the powerless. The gambling will take the form of market games with exotic financial instruments and the political intrigue will be an arms race to game democratic systems by misleading and indoctrinating masses of people in increasingly sophisticated ways. The sex habits of these degenerates will look a lot like the pastimes of Jeffrey Epstein, or worse.

The democratic facade will probably be kept, but the majority of voters will be voting on the basis of pure fantasies similar to today's Qanon type conspiritainment nonsense. People will be so thoroughly disinformed that they'll be unable to even properly frame a problem or choose an option that would empower them. They'll be arguing over flat Earth vs. the return of the ascended masters vs. some kind of barely-biblical religious eschatology. The majority of these narratives will be generated by GPT-like bullshit generators with goal functions of "maximizing engagement."

There will be an endless stream of "right" and "left" movements too, and they'll be comprised of ineffectual drivel and properly classified as a form of entertainment. The right will be a bunch of LARPers trying to relive an imaginary past or some kind of fashy traditionalist "volkisch" fantasy, and most of the left will be fighting for whatever marginal issues of social justice have nothing to do with economic equality or actual political empowerment.

Anyone who gets close to fighting for any kind of actual empowerment will get "shadow banned" (pushed to the bottom of the queue or silently hidden) and buried in bullshit. Nobody will be "disappeared" or even harassed. That's primitive totalitarianism. They'll just be hosed down by the firehose of falsehood until their message disappears. AI will allow almost instantaneous detection of actually hazardous forms of dissent, and the automated bullshit bots will be summoned immediately.

The mainstream educational system will be vocational only, preparing the masses for serfdom, and will lack any kind of liberal arts or deep historical education.

The sum total of all human knowledge and thought will of course be available online, but that kind of stuff is not viral. The greatest irony of the new dark age is that something a trillion times greater than the Library of Alexandria is instantly available to everyone, but nobody looks at it because they're busy staring at catchy memes or forwarding tabloid nonsense and outrage porn articles. The noise will drown it all out for most people and the platforms where most people spend their time will not be pushing that stuff.

We -- meaning the majority of the visitors to this site -- won't have it quite as bad though. We are the ones who build the control system ("as a service"), so we'll basically be the knights, priests, etc. that make up feudalism's relatively small middle class. We'll be able to own a little bit and afford to send our children to higher-class schools.

Maybe this is just how history repeats, and once the new frontier opens all the people who don't want to live in this dystopia will go to Mars. Of course some day humans will need to learn how to not do this to themselves, but the solar system is big enough that maybe we can put it off for a while.

Isn't Earth a bit like this in The Expanse? Haven't had a chance to watch that one yet but I've heard something like that.

Edit:

I am pretty pessimistic about anyone doing anything about this for reasons that are explained above. Nobody seems to care, and those that do care are instantly hooked by Alex Jones style conspiritainment (or higher-brow bullshit like "alt-right," "neo-reactionary," "woke," etc.) and effectively neutralized. If your head is full of garbage it doesn't matter if you want to change things. You can't even imagine or frame anything better, let alone take steps in that direction.

The way out may be deceptively simple: a fair tax code that is mildly progressive and most importantly lacks loopholes, serious financial industry regulation to re-channel finance from gambling to productive investment, fair trade reform to repatriate productive work and level the playing field against countries that exploit workers and the environment, legal restrictions on disinformation (fantasy LARPing as news, opinion as news, etc.), enormous improvements to the educational system, campaign finance reform, and many other simple things. It doesn't take a revolution (yet), but simple and sane things are not sensationalistic and thus have low virality. In-your-face woke accusations of racism or LARPing as a Nazi brown shirt are the kinds of things that get attention. The kid eating bugs on the playground got attention too.

comment 5y ago · link · parent

In raw materials and manufacturing this is called "dumping" and is often illegal because it can have absolutely disastrous effects on supply chains. A well financed competitor can sell something below cost, crush all its competition, and then raise prices to whatever it pleases.

comment 5y ago · link · parent

As soon as Reddit turns off old.reddit.com I will never return. Their now years old redesign is just horrible. It's bloated, information poor, and has totally ruined the site.

comment 5y ago · link · parent

A US made EV is the most American car you can buy. Not only is most of the car made domestically but the energy all comes from domestic sources. We don’t import much in the way of power grid fuel. It’s either domestic fossil fuel, nuclear, or renewable.

comment 5y ago · link · parent

You can in Rust.

comment 5y ago · link · parent

I'm a self-taught coder, and I'll never forget years ago someone with an MIT degree turning to me with a look of mild indignation and saying "how do you know this stuff?"

comment 5y ago · link · parent

Or you could, you know, use Rust, Go, C#, Java, or some other modern language.

C does need to die, but until fairly recently there were not many viable replacements. D isn't bad but isn't "better enough."

comment 5y ago · link · parent

On the flip side, carpet bombing or nuking cities is something that instantly raises the stakes and can't be done in secret. When fewer people are killed, there will be less consequences.

The same issue applies to non-lethal weapons. In theory they represent great moral progress, but by reducing the stakes their use for totalitarian repression becomes less controversial and no longer produces martyrs.

comment 5y ago · link · parent

The cyberpunks were by far the most prophetic sci-fi writers.

comment 5y ago · link · parent

I heard it put this way once: the US can’t stop a Chinese invasion of Taiwan any more than China could stop a hypothetical US invasion of Cuba.

In both cases it’s a battle right off the coast of a superpower with pretty massive home court advantage to the closer nation. Right off shore means no supply lines and the ability to just fire shit from shore at enemy ships and planes. The entire industrial output of the closer nation is right there.

Note that I am leaving thermonuclear escalation off the table. Nobody really wins that one. I’m imagining a scoped conventional conflict in the form of an intervention.

comment 5y ago · link · parent

If you could hit terahertz clock speeds something with only 100k transistors and hundreds of nanometers or larger feature sizes could kill modern CPUs… provided you could keep it fed with data from fast enough I/O of course.

comment 5y ago · link · parent

The failure of software outsourcing is really quite interesting, especially since telework is working decently well. That seems to eliminate the “remote work doesn’t work” objection.

It was not for lack of trying. The management class pushed it very hard. There are still many firms trying but it’s not really panning out.

From what I have seen the answer is that good software engineers are globally scarce and the good ones in India or Eastern Europe make enough that outsourcing isn’t that profitable once all overhead is included.

“Insourcing” is becoming a bit of a thing. You can get some salary benefits outsourcing to lower cost domestic places like Nebraska or Kentucky and not dealing with language, time zone, international currency exchange, legal differences, or other headaches. These folks can also travel to your office for an in person meeting in hours not days. Oh and their power grid and broadband are reliable too.

The jobs that have been most successfully outsourced are low to moderate skill manual jobs where basically what is needed is huge numbers of cheap hands.

comment 5y ago · link · parent

Same answer as any underpaid field: an oversupply of labor in that field vs demand.

The absolute worst fields are the “sexy” or trendy ones. Unless you are strongly driven to enter a field for non-monetary reasons always look into employment opportunities.

comment 5y ago · link · parent

The latter is not possible without some kind of strong AI. The compiler can’t know your intention.

comment 5y ago · link · parent

Isn’t Venus too hydrogen poor to be terraformed? Where are you going to get trillions of tons of hydrogen?

comment 5y ago · link · parent

People study the Holocaust all the time. Instead we should study the Rwandan genocide. It’s the best model of what a modern genocide might look like.

comment 5y ago · link · parent

You like security vulnerabilities? I don’t think we are talking about the same thing at all. It’s perfectly easy to make Rust “crash” or log errors when it does the wrong thing, and to write unit tests for it.

Memory errors and threading bugs are never ever something you want.

comment 5y ago · link · parent

Attacks only get better.

I also didn't mean to imply it was only Trump voters who were subject to this. That's just the most recent and most extreme example.

comment 5y ago · link · parent

Division is slow, which is something most programmers don't know. If you can binary AND instead of MOD this can be a huge win.

Multiplication is also very fast, usually one or two cycles on larger chips.

comment 5y ago · link · parent

Isn’t this changing the subject? Or are you implying a connection? There are many major cities in the US that are socially fairly liberal and nowhere near as dysfunctional as SF.

Actually most urban areas in the US are pretty accepting even in areas like the Midwest and the South. If you are in a city you are generally fine.

Poland could become much more tolerant and accepting of differences without becoming an open air psychiatric ward with absurdly unaffordable housing and feces on the steeet.

1
249250251
596