HNHacker News
TopNewBestAskShowJobs

const_cast

2,691 karma · joined February 3, 2025

submissionscomments
const_cast··on Rails on SQLite: new ways to cause outages
I would imagine most production rails applications don't use sqlite as the backing database.
const_cast··on KDE launches its own distribution
It just works on newer distros in my experience. There's no config or anything, including with containerization like flatpak.
const_cast··on Health Insurance Costs for Businesses to Rise by Most in 15 Years
Because of how risk pooling works.

The reason you have health insurance, and you don't just pay for healthcare, is because pooling together a lot of people and paying for all of them is cheaper than paying for each individually.

You've probably noticed that, the bigger the company, the better the health insurance plans. Why is that? Their risk pool is bigger.

Follow the logic. What's the biggest risk pool you can use? The entire US population. What would then provide the lowest per-capita cost? Spreading the cost across the entire US population. It's economies of scale.

Bonus: we can also eliminate much of the administrative aspect of healthcare because we are no longer coordinating thousands of separate insurance entities. You mentioned make-work - yes, we have that. Why does a hospital need 500 billing specialists? You tell me.

const_cast··on Health Insurance Costs for Businesses to Rise by Most in 15 Years
That's because health insurance in the US sucks major ass. It's just bad, period. More expensive for comparatively much worse care and worse outcomes on Average.

Americans (I'm an American) sometimes have a preconceived notion that, if something is really expensive, it must be good. No... no that's not necessarily the case.

The insurance companies would love for you to believe that, but in actuality, we're just getting fucked. It's just a worse system overall, in pretty much every metric you could possibly choose.

const_cast··on KDE launches its own distribution
This is true, but it's much less of a concern because:

1. You get way less faxes than emails.

2. Faxes can't steal credentials.

3. You should be auditing expenses anyway.

const_cast··on AirPods live translation blocked for EU users with EU Apple accounts
I agree, but IMO they should already have this done if the API is properly designed. It might not be, but if so they should change it anyway.
const_cast··on AirPods live translation blocked for EU users with EU Apple accounts
Its comparatively much more open, with interface and protocols specified and open source firmware implementations widely used in the wild. I'm also including BIOs/UEFI in this.

ARM and phone manufacturing is a hot mess in comparison. We're still trying to reverse engineer M series MacBooks and iPhones are off limits. Android is also not open source, no AOSP does not count.

There would be a lot more competition in the space if the hardware had proper specs, like x86 does.

const_cast··on How Palantir is mapping the nation’s data
The root-cause of all of this isn't evil government, or data analytics, or joins, or even evil company.

Its data collection. Its privacy. If were waiting around for the day people start acting ethically, we'll experience the heat death of the universe.

Governments can always turn evil. Companies can always be compelled. People can always turn evil.

We need to not give them the ammunition. We've cornered ourselves into a situation where we sacrifice our data and privacy, and we are forced to blindly trust it will not be used against us.

If we do not collect data, we cannot have data breaches. If we do not collect data, we cannot have mass surveillance. If we do not collect data, we cannot have wiretapping.

We've simply allowed and encouraged tech companies to collect as much data as humanly possible. That starts with Google, Meta, et al. We then trust they will not abuse it.

But they certainly can, and they certainly will. What is done now cannot be undone. We cannot take back data immortalized. But, what we can do is prevent new data collection.

Use private services. Run software locally when feasible. Deny analytics. Block advertisments. Use end to end ecryption. Etc.

const_cast··on AirPods live translation blocked for EU users with EU Apple accounts
But that's not even close to the argument you made.

Also, you're confusing markets here. We're not talking about the smartphone market. We're talking about the market of apple accessories.

Apple solely controls that market and also participates in it. Its a true monopoly.

const_cast··on AirPods live translation blocked for EU users with EU Apple accounts
> The standards are really bad and it’s not just about protocols but hardware.

Okay, if their hardware is esoteric, open the protocols for interacting with hardware.

> Should they give away every hardware design needed too?

Yeah probably. It would be a lot better, more like x86. We would actually get repairable phones instead of landfill fodder. But that's a different issue.

> Lighting was an incredible boon in an era of micro usb, people just seem to forget how shit everyone else was. Now we have usb-c where companies are required to supply the port but doesn’t have to follow any actual specification, yay for standards.

And then it became a cheap scam, whereby Apple made a few dollars off of every single lightning cable produced by anyone on Earth due to licensing.

Also, as for USB-C - doesnt matter, still better. My chargers work across multiple devices. Yes, there's some standards noncompliance, this is still a huge improvement over ZERO cross compatibility.

const_cast··on AirPods live translation blocked for EU users with EU Apple accounts
> Many of those standards are objectively poor.

Okay, fine, I already covered for this. If your new protocol is really the bees knees, then open it, problem solved.

> No one should be forced to comply with that garbage by regulatory fiat if they don’t want to.

They're not.

const_cast··on Why our website looks like an operating system
They don't even have to reply, just make a note on your footer or something or have a page you can link to that explains it. I've done this before
const_cast··on Why our website looks like an operating system
They would never do this willingly, because they don't want you to automatically opt out of tracking.

The annoyance of the cookie banners is the entire draw for companies. Its not a downside. They're user-hostile. You are their enemy. Their goal is to wear you down and trick you into opting-in, so they can both track with impunity and follow the law.

const_cast··on Why our website looks like an operating system
We don't need the functional/tracking cookie split - the law already thought of this.

If you're using functional cookies, you don't have to ask. If you're still asking, you're just wasting your time.

The reason every website asks is because:

1. They're stupid and don't even bother to preliminarily research the laws they comply with.

2. They actually are tracking you.

Ultimately if you're using something like Google Analytics, then yeah you probably do need a banner. Even if it's just a blog.

Great, so then don't do that.

const_cast··on Why our website looks like an operating system
Yes, this sounds good. This sounds like something desirable. I mean, this is the expectation literally everywhere else so... why not the web?

Also, data collection is fully a choice. You can always choose not to. I've built websites with logins and everything and guess what - no cookie banners necessary. Just don't collect data you don't need.

const_cast··on BCacheFS is being disabled in the openSUSE kernels 6.17+
The problem is every filesystem can experience data corruption. That doesn't tell us anything about how it relates to BTRFS.

Also, filesystems just work. Nobody is gonna say "oh I'm using fileystem X and it works!" because that's the default. So, naturally, 99% of the stuff you'll hear about filesystems is when they don't work.

Don't believe me? Look up NTFS and read through reddit or stackexchange or whatever. Not a lot of happy campers.

const_cast··on AirPods live translation blocked for EU users with EU Apple accounts
They should stop doing that then and use standards like everyone else. If their protocol is really the bees knees, then just open it.

But, they won't, because they rely on that moat to keep competitors out. It's exactly the same at the lightning cable.

const_cast··on AirPods live translation blocked for EU users with EU Apple accounts
It's not a monopoly because if this other theoretical company which does not exist existed then there would be more than one option and it wouldn't be a monopoly.

Not very convincing.

const_cast··on AirPods live translation blocked for EU users with EU Apple accounts
It's more complicated then this. Apple is a big company with a lot of money - they're absolutely willing to burn millions in the pursuit of principle.

The reality is that, if Apple conforms non-maliciously, they're proving that the law is reasonable and they can do it while remaining profit. Um, that's a huge problem.

They require the plausible deniability of "oh we can't do this, it's too expensive!" Otherwise, other governments (US) might look to implementing similar laws. So, it's a long con. They're burning lots of money, now, with the hope it allows them to continue their anti-competitive behavior for longer. If they're REALLY lucky, they might even stall out the EU and get the EU to backtrack on their laws. That's the golden scenario.

const_cast··on AirPods live translation blocked for EU users with EU Apple accounts
The API already exists, they just don't let other people use it because they're greedy. There's no additional maintenance burden.
const_cast··on Google will allow only apps from verified developers to be installed on Android
Granny can absolutely install a backdoor from the appstore, there's lots of backdoors on the app store. You can even install a backdoor just from the web browser, feel free to do some research into Pegasus.

But it doesn't even matter, because ultimately Granny can download the Apple Approved (tm) anydesk app and the hacker can remote control her phone. So.

The appstore is not secure, I don't know who lied to you and told you it is. You think Apple reads the code? Fuck no. They just ask the dev "is this secure?". The dev answers "yes", obviously, and that's the entire review process.

Meta was exfiltrating cookies from your browser to their app using an exploit in Safari. They could've taken your bank session and drained your accounts, if they wanted. Luckily they were very kind and only used their malware to sell you shit.

Facebook is a big app with lots of visibility. Now do the other 100,000 apps on the app store.

const_cast··on I ditched Docker for Podman
I never said it was applicable to them, in fact I said the opposite:

> Obviously that ship has sailed for you, but I mean in the general sense.

In the general sense, no, you don't need a distributed system. Even if you have billions of dollars worth of revenue - no, you don't need a distributed system. I know, because I've worked on monoliths that service hundreds of thousands of users and generate billions in revenue.

If you're making YouTube, maybe you need a distributed system. Are you making YouTube? Probably not.

You can, of course, choose to make a distributed system anyway. If you want to decrease your development velocity 1000x and introduce unbelievable amounts of complexity and risk.

const_cast··on KDE launches its own distribution
I put them on the same container, basically. I bundle my PHP binaries, modules, and tooling all together and then use it on container. It defeats the purpose a bit, but it keeps the system clean. No NPM packages cluttering everything, no composer packages leaking, etc. Cross container, I'm sure, is more complex.
const_cast··on GrapheneOS and forensic extraction of data (2024)
In practice, desktops and servers are quiet secure because you don't need to download random closed-source firmware and apps to use your device.

iOS and Android are a security nightmare. Downloading a random-ass executable to pay for parking is asking for trouble. Relying on millions of lines of proprietary Google code that you-don't-know-what-it-does is asking for trouble.

This code could have, and almost certainly does have, spyware, keyloggers, and various other forms of malware. You're simply trusting that it doesn't, because it's unverifiable.

And this doesn't even TOUCH on all the vulnerabilities associated with cellular networks, the baseband, SS7, etc. Good luck auditing that code.

At least on a server I can have some baseline guarantees about what software I'm running and what it's doing. Whereas on a phone, your location could constantly be triangulated, your phone identity spoofed, your cellular traffic sniffed, and on and on and you'd never know.

I mean, just this week we saw a post on here about ICE using fake cell towers to identify protestors. That shit is truly trivial to do, and people have been doing it for almost two decades. You wanna talk CVE? Start with that.

const_cast··on GrapheneOS and forensic extraction of data (2024)
The trouble with videos is you can just... choose not to include stuff that obviously refutes your argument.

The reality is that global warming is definitely happening, and also the Earth is definitely not flat. But it's pretty easy to make a super convincing argument that the Earth is flat - you just don't mention any of the math behind why the Earth is round and then you can have a 5 hour long video filled to the brim with evidence the Earth is flat.

And it's not even lying. We're not saying anything that's not true. We're just choosing to omit data and evidence that proves us wrong. We can even include fake data and evidence, if we want, and refute that - ie build a strawman.

const_cast··on KDE launches its own distribution
The window manager in windows is horribly buggy and extremely slow. Lots of animation flickering and snapping for seemingly no reason. Try maximizing Firefox while a video is playing and watch the animation - or, usually, lack thereof.

Wayland is, by far, the best windowing system I've ever used. No dropped frames, ever. Its actually kind of uncanny, it feels like you're using an iPhone.

const_cast··on KDE launches its own distribution
This is my reality too and the taskbar takes some stuff down with it.

Also the taskbar is just broken in general. It'll pull tons of apps behind the '...' button even though there's plenty of room on the taskbar and it'll also put fake apps that aren't actually open on the taskbar.

Also no vertical task bar. Come on Microsoft.

const_cast··on KDE launches its own distribution
None of this is a problem on Debian stable. I even run discord as a Flatpak - screen share works fine. I believe there's systems for that now (way pipe? xdg stuff?)

Ubuntu 24.04 is older than Debian stable currently.

const_cast··on KDE launches its own distribution
Is this true? I was under the impression windows wasn't able to decompress zip files natively till very recently, like windows 11. I could be remembering wrong.
const_cast··on KDE launches its own distribution
That's the entire draw of Flatpak - I can have applications with out of sync libraries and they just work. That's a big big headache with system provided packages.
← PreviousPage 2 of 34Next →