HNHacker News
TopNewBestAskShowJobs

streetfighter64

213 karma · joined February 4, 2026

submissionscomments
streetfighter64··on Who owns the code Claude Code wrote?
Seems like way more effort reading the linux code, copying and adapting it to windows, and actively "hiding" it, than just writing code that fits your situation from the get go.

In my experience, reading and understanding code takes a lot more time than writing from scratch, so I don't really see what windows developers (assuming they are somewhat competent coders, this assumption may not hold after around 2010 or so) would have to gain by coping from linux.

streetfighter64··on Bugs Rust won't catch
> That means, even if the tools were (and probably still are) buggy, they never had a bug that could be exploited to read arbitrary memory.

Well, that begs the question, is it worse to read arbitrary memory (which would probably in most cases be prevented by various dynamic protections [0] anyway), or failing to prevent rm -rf /./ and killing every process in the system, etc.?

This is still a good case study of the value of the much-touted rust rewrites. Usually they are performed by people who are domain experts in rust, but (as seen here) lack basic domain knowledge of the tool's environment.

[0] https://en.wikipedia.org/wiki/Buffer_overflow_protection

streetfighter64··on Who owns the code Claude Code wrote?
Free water but not electricity? I'll just hook up a generator to the shower...

These sorts of simplistic loopholes rarely work. Imagine if you could get copyright for the linux kernel by just rearranging it and renaming a few variables.

streetfighter64··on All phones sold in the EU to have replaceable batteries from 2027
The actual cost breakdown for a battery replacement is:

  45 EUR for a new battery
  10 EUR for new display adhesive
  20 EUR for screwdrivers and a spudger (unless you have them already)
  a suction cup and tweezers you probably have at home already
https://www.ifixit.com/Guide/iPhone+11+Battery+Replacement/1...

Ignore the 25 EUR clamp and 20 EUR heat pack, I did and they weren't needed at all. So all in all, around 910 USD less than you claimed.

The heat gun discussion in the sibling comments is also completely ridiculous. There must be 100 ways to do it without a heat gun. Put it on the radiator, use a heat pack for muscle soreness, or just borrow a hairdryer.

If somebody's unable to replace their iphone battery because they can't come up with a source of heat, I doubt they'd even be able to replace the batteries in their TV remote.

streetfighter64··on All phones sold in the EU to have replaceable batteries from 2027
Replacing the battery on my iphone takes 30 minutes and the only tools needed are a couple of screwdrivers and a new display adhesive. In exchange, the phone is a lot more waterproof. For me, it's a good tradeoff.

What's next? Mandating that the screens be "replaceable" as well? Having used a fairphone before, I can tell from experience that easily replaceable parts are more prone to breaking from dust and moisture etc.

streetfighter64··on It's OK to compare floating-points for equality
Because of the representation of floats, couldn't you just bitwise cast to uints and see if the (abs) difference was less than or equal to one? But practically you probably should check if it's less than or equal to say ten, depending on your tolerance.
streetfighter64··on Show HN: I made a calculator that works over disjoint sets of intervals
Is there any reasonable situation where you'd be confusing a vector with an interval? Having done mathematical writing and grading of tests using both styles of notation (simply adapting to what was used at the institution), I can't say that I ever noticed any practical difference between them.
streetfighter64··on AI assistance when contributing to the Linux kernel
Now who's insane? ;)

> Why would you care about the "origin" of the [diagnosis] as long as there is a human accountable?

streetfighter64··on AI assistance when contributing to the Linux kernel
Sorry, what's that got to do with anything? Who's the uncle supposed to be here in your analogy? The copyright owner? And so your hypothesis is that somebody's pushing AI in order to sneak copyrighted code into linux in order to sue them later? Seems very far fetched, and besides, why would I care about their incentives? Why would the linux foundation be interested in allowing that to happen?
streetfighter64··on How to make buffet breakfasts less wasteful
I doubt it's millions of years of behavior, rather it's just a culture of overconsumption in the present day. If you want to blame something other than the people making the decisions, then blame advertising, not stone age biology.

> The worldwide prevalence of obesity has more than tripled between 1975 and 2022.

Anyway, what's bacteria in the food got to do with anything? Shouldn't that make you less inclined to take too much food, or what? I'm aware I'm better at hygiene than the average person, but I also eat from breakfast buffets without worrying because I think all of the germaphobia is way overrated in most cases.

streetfighter64··on How to make buffet breakfasts less wasteful
Doesn't make any sense since most people have eyes and a nose. I've never been so surprised about the quality of the food that I felt inclined to leave it on the plate. But if you're a picky eater and unsure whether you'll like something, perhaps start with a small amount to try it?
streetfighter64··on How to make buffet breakfasts less wasteful
What? It's a buffet, of course you can eat as much as you want. The point is stopping people from wasting food though. Surely you don't mean you'll fill two plates just out of spite and not eat everything you took?

Honestly I'm very confused why this is even a problem. If people in general had even a modicum of rationality buffets would be the least wasteful way of serving food, compared to fixed-size portions.

streetfighter64··on AI assistance when contributing to the Linux kernel
If your doctor told you he used an ouija board to find your diagnosis, would you care about the origin of the diagnosis or just trust that he'll be accountable for it?
streetfighter64··on AI assistance when contributing to the Linux kernel
Yeah, but that's not a useful thing to do because not everybody thinks about that or considers it a problem. If somebody's careless and contributes copyrighted code, that's a problem for linux too, not only the author.

For comparison, you wouldn't say, "you're free to use a pair of dice to decide what material to build the bridge out of, as long as you take responsibility if it falls down", because then of course somebody would be careless enough to build a bridge that falls down.

Preventing the problem from the beginning is better than ensuring you have somebody to blame for the problem when it happens.

streetfighter64··on AI assistance when contributing to the Linux kernel
It isn't?

> AI agents MUST NOT add Signed-off-by tags. Only humans can legally certify the Developer Certificate of Origin (DCO).

They mention an Assisted-by tag, but that also contains stuff like "clang-tidy". Surely you're not interpreting that as people "attributing" the work to the linter?

streetfighter64··on Bluesky April 2026 Outage Post-Mortem
> They represent real user-facing downtime

Off-topic, but "real" feels like the new "delve". Is there such a thing as "fake" or "virtual" downtime, or why do people feel the need to specify that all manner of things are "real" nowadays?

streetfighter64··on You can't trust macOS Privacy and Security settings
I don't understand why OSX needs to restart the app to grant it permissions. The most annoying is video chat apps such as Teams and Zoom, having to close everything and reconnect if you want to share the screen or such. Perhaps there's a technical reason but it just feels like a lazy implementation.

But about the unix permissions model, is it really useful? During all my years of using linux on my personal machine, I've always had everything owned by my own user. Setting up specific users for programs would be a pain, and I don't think anybody does that? Servers is a different question, because then you're not actively using the system in the same way, which makes managing user accounts and their permissions on an app-level doable.

For normal users I think what's done on iphones and such works fairly well, and there they actually seem to have implemented it properly so that it doesn't require a restart to grant permissions.

streetfighter64··on The Clock
Math is pretty culturally neutral though, and 24 has a high number of divisors, which makes it convenient. I'd argue that hours and minutes being easy to divide up into equal blocks is more important and natural than having the same ratio as year:day.
streetfighter64··on Meta removes ads for social media addiction litigation
The idea that a company can override laws via its TOS is a bit strange.
streetfighter64··on Nvim-treesitter (13K+ Stars) is Archived
Not really. If there are other maintainers who have ownership of the project they can just unarchive it themselves. If not, then he'd have to appoint a successor first, which would mean doing more work for free. So the best solution is just to archive it and let the community fork it if they're interested in continuing development.

Also your phrasing of "would be fine" implies that there are things that are not "fine" to do when doing work for free for the public benefit, which is exactly the sort of entitled attitude that makes many (myself included) uninterested in open sourcing their own projects.

streetfighter64··on Nvim-treesitter (13K+ Stars) is Archived
Very strange attitude towards open source. One guy decides to stop working for free, leaving all of his work publicly accessible for anyone to continue to build upon, and the response is "well, I guess that's the end of that project".

I'm guessing the attitude of "users and supporters" of the project such as shushtain complaining and wanting clason to do all the work instead of just doing it themselves, was a factor in him deciding to step away from the project.

streetfighter64··on Nvim-treesitter (13K+ Stars) is Archived
Getting free stuff is good for the user of the stuff, yes. Giving away stuff for free might not feel good if you don't like the people you're giving the stuff away to, yes.

People aren't "taking advantage" of you by benefiting from the free work that you voluntarily do. They may be rude towards you, but it's your choice to work for them or not.

If you release your work to the world, there's no license agreement in existence that will prevent "undesirables" from benefiting from your work. See: all of the AIs being trained on publicly accessible code (regardless of its license).

The answer is just, do write open source code if you think it's fun, and you're okay with the worst people you can imagine using your code. If you write a geodata library, it might be used in a targeting module for a bomb, which might in turn be launched towards civilians. That's just a consequence you'll have to accept.

streetfighter64··on A whole boss fight in 256 bytes
Optimizing away one byte of this, given the source code? Yeah, could happen. Making a good 256 byte demo from scratch? No way.
streetfighter64··on Samsung Magician disk utility takes 18 steps and two reboots to uninstall
Not to enter another OS ** measuring contest, but on linux systems you can both install and remove programs with a single command line. No need to search the web for the installer, no need to install the MSVC runtime (dependencies are handled automatically), no reboots needed pretty much ever, etc.

And no, on windows not "everything" is removed by most uninstallers. At least it wasn't back when I was using windows 7. Though I doubt it's really changed, unless you count those "windows store apps", but that's also equivalently available on mac. Both are a poor imitation of a proper linux package manager.

streetfighter64··on Proton Meet isn't what they told you it was
Please quote where in that document the answer to my question is:

> Is there anything preventing Proton from disclosing the email content or metadata?

Also please link me to the source code of Proton's server-side code, so I can audit their scanning of all incoming and outgoing mail, to verify it's not logging them. What you linked above is just the clients.

streetfighter64··on Proton meet isn't what they told you it was
Yeah, if you trust that they will never push a backdoor to your client on the request of Swiss law enforcement. It's a web app "fgs".

They also admit to scanning all mail to and from non-Proton accounts "for spam". So what's stopping them from one day adding a small if statement that just writes that data to disk, for specific "interesting" users?

Regarding metadata, I sure hope you have nothing to hide in the below emphasized:

> Account Activity: Due to limitations of the SMTP protocol, we have access to the following email metadata: *sender and recipient email addresses, the IP address incoming messages originated from, attachment name, message subject, and message sent and received times*. We do NOT have access to encrypted message content, but unencrypted messages sent from external providers to your Account, or from Proton Mail to external unencrypted email services, are scanned for spam and viruses to pursue the legitimate interest of protecting the integrity of our Services and users. Such inbound messages are scanned for spam in memory, and then encrypted and written to disk. We do not possess the technical ability to scan the content of the messages after they have been encrypted. We also have access to the following records of Account activity: number of messages sent, amount of storage space used, total number of messages, last login time. User data is never used for advertising purposes.

streetfighter64··on Proton meet isn't what they told you it was
Yes they do (the storage of your emails on their servers, that is). See this comment for a summary of their claims and reality https://news.ycombinator.com/item?id=47625229

Edit: A reply to your misunderstanding and accusation below:

What do you mean? By "provide your emails to others" I obviously mean the email *contents*, not the email *address*. (Which I also clarified with "the storage of your emails on their servers"). You know, the very thing that is almost the whole selling point of Proton: that they keep the contents of your emails encrypted so "only you" can access them.

> Proton Mail protects the contents of all your messages with zero-access encryption, meaning no one can read them except you and your recipients. Messages you send to other Proton Mail accounts are always end-to-end encrypted, as are emails sent to non-Proton Mail accounts when you use Password-protected Emails.

https://proton.me/security/end-to-end-encryption

Also, what in the SMTP protocol requires Proton to *store* that metadata? Could they not simply delete it after using it (or, crazy idea, encrypt it in the same way the message contents are encrypted in storage), so they would be unable to respond to law enforcement requests the next week, say? They did also previously claim that they didn't log user's IP addresses. Why would they claim something like that, if it's "obvious to anyone who knows" that it's a false claim? Marketing aimed towards their not so technically savvy userbase?

https://www.theregister.com/2021/09/07/protonmail_hands_user...

Let me also remind you that I was replying to a question about "how would it technically even be possible" to "offer loads of your private data when ordered". My reply was, it's easily possible for them to offer your metadata, and you still need to trust their claims about heir implementation of E2EE to believe they won't offer your message contents.

You're very quick to accuse people of spreading misinformation. Let me hit back with an accusation of my own, which is that Proton's PR team have a habit of regularly trying to discredit any critique as "misinformation". Perhaps you've just read too many of their rebuttals?

streetfighter64··on Proton Meet Isn't What They Told You It Was
Well, Proton themselves say they will provide information about who has contacted a randsomware attacker to law enforcement. https://proton.me/legal/law-enforcement

So that probably has happened. Whether they've even provided other private data I don't know, but

> how would it technically even be possible

Well, it's not possible if you trust their claims about E2EE, but that is just a claim. How's that any different from a non-encrypted email provider saying they won't provide your emails to others? It all comes down to trust in the end.

streetfighter64··on Proton meet isn't what they told you it was
Sorry, perhaps the takeaway is clearer when you see the full quote [0]. I omitted it for space, here's the relevant part

> Third, let's talk about what was actually disclosed. No emails were handed over. No message content. No metadata about who the user communicated with. The only information Proton could provide [...]

Yes, paying by crypto prevents Proton from disclosing your identity that way. Is there anything preventing Proton from disclosing the email content or metadata? Do they claim they won't disclose that? Clearly they do allow themselves to disclose metadata [1]

> For example, in ransomware cases, we can preserve information about which victims contacted the suspect, so that victims can be notified.

So, "just don't pay with a credit card" comes with the additional caveat of "don't email somebody you don't want the FBI to know you emailed". Whether you also need to "don't write anything you don't want the FBI to know", I haven't investigated further, but you could perhaps look that up yourself. I will just assume that to be the case based on what I've seen.

[0] https://www.reddit.com/r/privacy/comments/1rltej7/comment/o8... [1] https://proton.me/legal/law-enforcement

streetfighter64··on Proton meet isn't what they told you it was
"Controlled" is a bit hyperbolic, but there's a collaboration agreement between the USA government and the Swiss government, so Proton has to comply with requests from for example the FBI. Quoting a comment by Proton staff on Reddit

> First, let's correct the headline: Proton did not provide information to the FBI. What happened is that the FBI submitted a Mutual Legal Assistance Treaty (MLAT) request, which was processed by the Swiss Federal Department of Justice and Police. Proton operates exclusively under Swiss law, and we only respond to legally binding orders from Swiss authorities, after all Swiss legal checks have been passed. This is an important distinction.

> [...]

> The only information Proton could provide was a payment identifier because the user chose to pay with a credit card. This is information the user themselves provided to us through their choice of payment method. Proton also accepts cryptocurrency and cash payments, which would not have been linkable to an identity.

So basically, don't trust Proton with information unless you want the FBI to know it.

← PreviousPage 9 of 13Next →