Better HN
topnewbestaskshowjobs
Log inSign up

array_key_first

2,281 karma · joined Sep 23, 2025 (1y ago) · 1,791 submissions

Submissions

comment 1y ago · link · parent

SSR can be a tactic to avoid complexity. Basically, let's not duplication state on the frontend and then create synchronization. Just say the backend owns it.

comment 1y ago · link · parent

Rewriting apps is a huge money maker. You need pretty much constant UI churn and product churn or consumers move on. This isn't the case necessarily with B2B, which is why we see a lot more "legacy" (aka stable) applications.

comment 1y ago · link · parent

I didn't downvote, but if I did downvote, I might do it because: middle ground is a fallacy. Or, rather, middle ground being more correct than extremes is a fallacy.

The idea that, on every issue, there are two extremes and the "right" answer is somewhere in the middle is just sort of made up. It makes a lot of sense, though.

If I say China is 1 mile away from the US and you say it's 1 billion miles away, then the answer is probably somewhere in the middle. It makes sense. Except, the middle is not constant. The middle is constantly moving. What was middle 10 years ago is no longer so. What was middle in Confucius' time is no longer so.

If you take a look at history, you'll notice the people in the middle are almost always wrong. The 3/5ths compromise is the perfect example of this middle ground fallacy. Well... that turned out to be wrong, very wrong.

It's possible NPR hasn't changed their positioning at all, but rather, the window has shifted and now what was previously middling is now "extreme". But they could have been right all along. It happens sometimes. There were people around during the 3/5ths compromise who wanted no slavery at all. They were right!

comment 1y ago · link · parent

The monetization behind AI is on shakey grounds. Nobody is actually making any money off of it, and when they propose how to make money, we all get very scared.

It's either world-ending hard to believe conjecture, like the death of scarcity, or it's... ads. Ads. You know, the thing we're already doing?

So, it's not looking great. Maybe we will find monetization strategies, but they're certainly not present now, even by the largest players with the most to lose.

comment 1y ago · link · parent

Social Security is not really relevant to the deficit, that's just a thing some politicians say because they want to dismantle the pie to take their piece. Every time someone points to SS as the source of our fiscal woes, we should be immediately skeptical.

comment 1y ago · link · parent

Free money has fuck all to do with it. This is about freedom and the perseverance of humanity.

If it makes you feel better, I do pay many hundreds of dollars a year for open source software. All donations.

I'm not saying that to brag or anything, but since we want to start making moral arguments, I think it's likely I'm much less of a freeloader than you. Um, ouch.

comment 1y ago · link · parent

Proton is not an emulator. Games running on Proton typically have slightly better GPU performance than native DX. It's mostly a compiler.

It's sort of like saying that C++ is inherently a performance hit over C because you have to do more translation. Well, no, the translation happens ahead of time, and the result of the translation might be better suited to run on the hardware. For example, C++ has semantics that allow optimizations that are impossible in C. Rust ALSO has semantics that allow optimizations that are impossible in C.

But, I'm being sloppy here. Proton is many tools, and DXVK is just one of them, WINE is another.

But, of the modern graphics APIs, Metal is the most unique. And it does have good reason - the M series chips do have some unique GPU hardware that allows them to do certain things faster.

It's just that those things aren't generally useful or automatic, WE have to set it up. But we can't do that if we use automatic translation.

comment 1y ago · link · parent

With software the collusion is both automatic and near impossible to detect. Nobody has to hush-hush have dinners to decide to set similar prices. The app can just use an optimization algorithm and they both set similar prices, which is what will happen if enough players use the app.

comment 1y ago · link · parent

Usually those people are literally quoting representatives of those parties. They are, wait for it, representative of their respective parties.

I don't need to go find loonies. I can get on Twitter or Truth Social and get it from the horse's mouth.

comment 1y ago · link · parent

I disagree, federation is still useful, it's just not as a competitor to bluesky. It exists as a subset of bluesky, and you can have your own little subset.

It's like stack overflow for teams. Isn't that useless? Why not post on stack overflow? Because this is your stack overflow, for your organization. Stack overflow for teams isn't a competitor or alternative to stack overflow, it's a different use case.

comment 1y ago · link · parent

IMO no, because with a SPA everything has to be a SPA, which is incredibly inconvenient.

The benefit of the island is only the island has to be a SPA. The rest can be SSR.

comment 1y ago · link · parent

The reason HTMX lacks the concept of components is because you already have components.

Components are backend logic in an SSR application. If we have some component and the associated HTML BS JS, we're good to go. Virtually all backend frameworks have components.

Whats the advantage of this? We have one component. When we use react or vue, we now have two. The backend one and the frontend one, and they're not the same component. We can kind of force them to talk together over JSON and an API.

comment 1y ago · link · parent

My main issue with putting state in the frontend is that you introduced sync points, which is where, like, 90% of the bugs happen.

Take form input and validation. Great, let's write out the validation on the frontend. But that doesn't mean much. We need to sync it.

Okay... So let's just write the validation, again, on the backend. Hope it's the same validation. It never is, so we just introduced a whole class of bugs around that.

Or just take a look at routing. Okay, let's route on the frontend. But what about access control? Okay, let's do a little routing logic on the backend too. Oh and now we've run into the same problem.

When you do rich frontend and backend, you always have a minimum of two application states. You have two apps. You cannot get rid of the backend state, it's non-negotiable.

So you have to keep them in sync, or more accurately, try to keep them in sync.

comment 1y ago · link · parent

It's not that people are JS haters, it's that JS is an incredibly unsafe and overly complex language.

It's the C++ of scripting languages. I love C++.

But would I use C++ to write a modern application? Uh, no. Not unless I'm forced to.

comment 1y ago · link · parent

No, it's a functional one.

The unix approach works because the tools themselves almost never change and the platform doesn't change either.

Web tooling changes, and the web platform changes. The more tools you use, the greater your risk. If something changes and you coupled 100 things together, you have to do a lot of changes. If you control it and delegate stuff to standard browser functionality, you have to do less changes.

There's also the issue of tools going out of date and being deprecated. Again, that's risk.

comment 1y ago · link · parent

Sigh. We already have a mechanism to get the data off the devices.

If the servers don't have it, what do you do? You go to the end points, you issue a warrant, and there's your unencrypted data.

What if they don't wanna do that? I don't know, that's out of scope.

People refuse warrants all the time. You know what we DON'T do? Say, "fuck it" and no longer require warrants.

Again, let's look at good old mail. I can encrypt mail. I can write in ciphers.

Okay, now FedEx gets a warrant. They give me the mail. I can't read it. Uh oh. What do I do? I go to the sender and recipient, and I issue warrants. Problem solved.

That's how we do things, that's how weve always done things, and that's the only reasonable way to do things. We don't say "hey post office, open up every letter and read it. And if it sounds suspicious, tell us". We don't do that.

Okay, so everyone understands that and there's no confusion. When we go online, suddenly there's confusion. Is it confusion, or is the confusion a viel for authoritarian?

comment 1y ago · link · parent

> Every single one of them is better described as Socialist or Marxist.

I mean, this is just delusional.

Most liberal politicians in the US are slightly center right. And the US is not alone in that.

There's very, very, VERY few marxists out there. What happens is that someone is neoliberal in 99% of circumstances. And then they take a slightly more communal approach to one problem. And now, they're Marxist.

Uh, no. They're neoliberal, they're just not stubborn.

If you're on the US and you advocate, say, single payer healthcare, you're not a Marxist. You can listen to these people. They're staunch capitalists, and they're arguing we should make an exception for this one thing.

That's not Marxism.

comment 1y ago · link · parent

> I think countries with division and low social trust and cohesion necessarily require increasingly authoritarian measures from the government to hold them together.

This sounds like it makes sense, but in reality, the most authoritarian countries throughout history and presently are highly nationalist.

A strong and cohesive national identity does not reduce authoritarianism. If anything, it seems to be one of the primary and most reliable indicators of authoritarianism.

comment 1y ago · link · parent

Ahh, accountability engineering! The hidden engineering discipline!

comment 1y ago · link · parent

At this point just save the compute and buy a big Price is Right wheel.

comment 1y ago · link · parent

From what I know this basic tool already exists. In the US, the government can just ask any old company for their data and they have to give it up, just like they would their mail or their physical locations. I'm assuming the rest of the West has similar tools, warrants of some kind.

The problem is nobody uses them to combat crime on the internet. They use them for stupid shit usually or stuff that involves lots and lots of money.

We're jumping the gun here. We already have a fire bomb, and we're not using it, but we're going ahead to developing the nuke. Makes no sense.

comment 1y ago · link · parent

Literally almost everyone does this.

If you start talking about competition or consumer choice, surprise! You have made an extremely bold assumption: that healthcare is currently operating as a free market.

That assumption is actually, like, 1000 assumptions. Do people prove even one of those? No. They just move on and hope nobody notices.

And, well, we don't. We're so used to these economy falacies that they're practically invisible.

comment 1y ago · link · parent

> Isnt that being a little entitled?

Yes, I am entitled. No, I don't really care that Google has to put in more effort.

If it were up to me, we would enforce it by law. The consequences of a completely locked down mobile ecosystem are dire for humanity.

Yes, thats the level of things were talking about here. There's those who take the threat seriously, and those who don't. As each year passes by, it becomes more difficult to justify a state of apathy.

comment 1y ago · link · parent

Because we're pouring trillions of dollars into that.

This isn't me making a cute little website in my free time. This is thousands of developers, super computers out the wazoo, and a huge chunk of the western economy.

Like, a snowglobe is cute. They don't do much, but they're cute. I'd buy one for ten dollars.

I would not buy a snowglobe for 10 million dollars.

comment 1y ago · link · parent

It's because AI is just software, and like most software, it's shit. Almost a net negative for people. Obviously you can't sell a neutral or net negative product, so you just do what software always does, offset it with ads, i.e. consuming human time instead of money.

If a service has real value people actually want, then it doesn't require ads. If the service needs ads to be viable as a business, that's a strong indicator the product or service isn't very good or useful.

comment 1y ago · link · parent

If you change it to 30-50 years then nothing changes for Sora.

Most of the (obviously infringing) video I've seen is stuff well within the past 30-50 years.

Also, no copyright doesn't mean information free for all.

I still can't generate a fake video, pretend it's real, and then claim you're a criminal or you eat babies or something. Because that's libel.

Why do we have libel laws? Because the alternative is that you piss off Walmart or something and then they go and tell all employers that you're a pedophile and then you starve to death, with the cherry on top of having a tainted legacy. So we definitely need the libel laws.

But that's a problem. The whole premise of Sora is that it generates fake video with the intention of making it as real as possible.

No matter how you cut it, Sora's business model, and moral model, is on shakey grounds.

comment 1y ago · link · parent

Not very much at runtime. The main problem with metal is that it's not really compatible with DX12 or vulkan. DX12 and Vulkan are very similar, metal is not. I'm sure the conversion isn't as 1-1 and you lose some performance by doing stuff esoterically.

comment 1y ago · link · parent

Those are equivalent. You can just open your settings and change the font to whatever you like.

Also, if were really going off the argument of design - your font choice is almost certainly worse than whatever the OS does by default.

The OS, most likely developed by a multi trillion dollar corporation, probably chose a font that's highly legible and simple in a broad array of contexts.

Your font might be cooler, but is it better? Fat chance.

1
545556
60