Better HN
topnewbestaskshowjobs
Log inSign up

otabdeveloper4

3,226 karma · joined Jun 14, 2019 (7y ago) · 4,043 submissions

Submissions

comment 1y ago · link · parent

It isn't true. Advertisers think in broad social groups. ("25-44 women with kids", "men with college education", etc.)

comment 1y ago · link · parent

> People still subscribe to cable TV even though it's full of ads.

Back in the day (yes, I'm that old) the selling point of cable was "TV without any ads". It was marketed as expensive and upscale TV, though. And people don't really want to pay for content, so this business model didn't work out in the end.

comment 1y ago · link · parent

> now they get confused

Sounds like a skill issue. Maybe they should go shopping.

Jokes aside though, yeah, move semantics is taught bad. Once you start using it (say, with a unique_ptr in a container) it will quickly start making sense.

comment 1y ago · link · parent

> So then under this model, what’s the difference between a string and a string_view?

string_view doesn't do any deep copying.

comment 1y ago · link · parent

I am serious. Have you ever done infrastructure work? The big and serious guys all use IP whitelists. Look at how email actually works, for example.

comment 2y ago · link · parent

> People aren't using static ips for authentication purposes

Lol. Of course they do. In fact, it's the only viable way to authenticate servers in Current Year. Unlike ssh host keys, of which literally nobody on this planet takes seriously, or https certificates which is just make-work security theater.

comment 2y ago · link · parent

> and the script was bad because it made the characters do idiotic, incompetent things that should only be seen in a B-grade horror movie

I took it as a meta-commentary on how humanity degrades with time. ("Idiocracy"-style.) Remember these clowns were supposed to be the cream of Earth's human crop.

comment 2y ago · link · parent

Seems like a huge waste of tin and silk.

comment 2y ago · link · parent

Literally never in the history of computing has a "big hack" ever happened because of out-of-bounds memory use.

It's always a misconfigured default.

comment 2y ago · link · parent

Modern C++ is a lot more "modern" than modern Rust.

comment 2y ago · link · parent

Sorry buddy, you're not allowed to dislike Rust on the internet. You will now be arrested by the internet police and banned.

comment 2y ago · link · parent

"Secure boot" is not actually meant to improve security.

It exists as a moat to make it harder to install Linux on your (Microsoft) PC.

comment 2y ago · link · parent

I'm not sure Tenochtitlan was technically a city.

The defining characteristic of a city is that it can't feed itself. (Hence the "urban" vs "rural" dichotomy.)

Correct me if I'm wrong, but Tenochtitlan was a closed system and used to have farms on the lake and the islands.

comment 2y ago · link · parent

It's a giant stretch to claim that China has a "less reliabe" legal system than the US.

comment 2y ago · link · parent

> couldn't get it working well enough, consistently enough across browsers

Google Docs literally doesn't work in Firefox. (Garbled text.)

For Google not working consistently across browsers is a feature, not a bug.

comment 2y ago · link · parent

A "city" is a specific type of "settlement" -- one that has walls and can't produce its own food.

comment 2y ago · link · parent

SQL is "Structured Query Language".

So yes, they get the QL without the S.

comment 2y ago · link · parent

> Containers are an implementation detail.

They really aren't.

Personally I have a big Nix derivation to deploy my (heterogeneous) cluster to bare metal.

None of the k8s concepts or ideas apply here.

comment 2y ago · link · parent

You didn't answer my question.

What is the threat model?

comment 2y ago · link · parent

There is no such thing as "auto-scaling".

You can only "auto-scale" something that is horizontally scalable and trivially depends on on the number of incoming requests. I.e., "a shitty web-app". (A well designed web-app doesn't need to be "auto-scaled" because you can serve the world from three modern servers. StackOverflow only uses nine and has done so for years.)

As an obvious example, no database can be "auto-scaled". Neither can numeric methods.

comment 2y ago · link · parent

> Changing 1% of code on top of that is probably not really that much compared

Changing 1% across all modules is a nightmare. Changing one module which is 1% of the code is nothing.

comment 2y ago · link · parent

Don't be so mean, it's definitely a step up from PHP.

comment 2y ago · link · parent

> there are other abstractions, but they are not portable

Not true. Unix itself is an API for your cluster too, like the original post implies.

Personally, as a "tech lead" I use NixOS. (Yes, I am that guy.)

The point is, k8s is a shitty API because it's built only for Google's "run a huge webapp built on shitty Python scripts" use case.

Most people don't need this, what they actually want is some way for dev to pass the buck to ops in some way that PM's can track on a Gantt chart.

comment 2y ago · link · parent

> has much more control over this than a typical non-container setup

Actually not true, k8s uses the exact same cgroups API for this under the hood that systemd does.

comment 2y ago · link · parent

Kubernetes is great example of the "second-system effect".

Kubernetes only works if you have a webapp written in a slow interpreted language. For anything else it is a huge impedance mismatch with what you're actually trying to do.

P.S. In the real world, Kubernetes isn't used to solve technical problems. It's used as a buffer between the dev team and the ops team, who usually have different schedules/budgets, and might even be different corporate entities. I'm sure there might be an easier way to solve that problem without dragging in Google's ridiculous and broken tech stack.

comment 2y ago · link · parent

> places users at risk

Help me out here, what's the threat model here while reading troll programming blogs?

comment 2y ago · link · parent

That's kinda his entire internet brand tho.

comment 2y ago · link · parent

> Worked on an X language codebase for two years. My advice is: choose a different language. It's just not a great dev experience in general.

I'm pretty sure it's "working on a codebase" that kills your soul, not the minutae of particular language choice.

comment 2y ago · link · parent

> Pray what kind of "environmental destruction" putting solar panels in the desert will cause that shadows actually digging the soil for coal?

Habitats of desert animals will be destroyed and they will go exinct. (But humans don't live in the desert and desert animals hold no cultural significance, so who cares, amirite?)

> The fact that a coal plant emits more radiation than a nuclear plant

Irrelevant. Chernobyl was the best thing to happen to Europe's biodiversity in centuries.

comment 2y ago · link · parent

> but there was a monumental improvement in economic relations after the Soviet Union collapsed, no?

No. None of the sanctions levied against the USSR were lifted and still technically apply to Russia. (Enforcing them is another matter.)

> I don’t think any leader of any country wants to end up like North Korea

North Korea is doing better than South Korea on every metric except "consumer goods availability" and "international relations". Not sure you're making your case here.

> ...or Iran

Iran is more modern, developed and free than any other middle eastern country. (That includes Israel.)

Your ideas are wildly out of sync with actual reality.

1
515253
135