Indeed, but there's no need to shit on people using floats because in almost all cases they are fine too.
That is default IEEE behaviour: https://en.wikipedia.org/wiki/Rounding#Rounding_half_to_even
This is the default rounding mode used in IEEE 754 operations for results in binary floating-point formats.
Though it's definitely a bad default because it's so surprising. Javascript and Rust do not do this.
Not really anything to do with determinism though.
That doesn't make any sense. As you say, in that case you have to "spread leftovers", but that isn't really any more difficult with floats than integers.
It's better to use integers, sure. But you're waaaay over-blowing the downsides of floats here. For 99% of uses f64 will be perfectly fine. Obviously don't run a stock exchange with them, but think about something like a shopping cart calculation or a personal finance app. Floats would be perfectly fine there.
"designed to" is in the text of the law. But it's not clearly written.
Eh you made me read it now. It's not super clearly written but it does sound to me like it is only services that are designed to circumvent the moralising that are prohibited. It's a little ambiguous though.
The more interesting thing I learned from reading it is that it isn't just about banning porn. It's also about banning the depiction of trans people - even descriptions! Insane. Come on America.
Yeah I've heard it's really annoying to use the web from VPS IPs though because Cloudflare etc. will block you. Dunno how true that is but it sounds plausible.
That's not how they'd implement it. They'd make it illegal to sell it advertise VPNs to the public. Then they'd impose fines on any American VPN companies that did it, and IP block and foreign VPN providers (their websites and apps) that didn't.
Corporate VPNs wouldn't be targeted. But you're probably not going to watch porn through your work's VPN right?
Corporate VPNs would be allowed presumably.
Yeah but that's mostly network effects and free CI, which must cost them a ton of money. I'd be surprised if they're even profitable just because of that. I mean it's worth it for Microsoft clearly, but if they ever decide it isn't and turn the screws, there are at least two good alternatives - Gitlab and Codeberg.
I would also jump ship immediately if there was a platform that properly handled stacked PRs. I literally just want to be able to say "this PR includes this other PR - don't show that one". Is that too much to ask?
Yeah I agree it's bad from a UX point of view. I think the likely reason is adding an LED in the key itself is more expensive.
Nobody touch types caps lock.