Yep. Open your browser’s console and do .1 + .2
and you get 0.30000000000000004
.
One of the reasons not to use floating point when working with money.
Yep. Open your browser’s console and do .1 + .2
and you get 0.30000000000000004
.
One of the reasons not to use floating point when working with money.
If right wing people were smart they wouldn’t be right wing. Of course they’re going to believe and share AI slop video. They’re emotional driven fools.
I went back to windows for a few months on the newer desktop. I installed mint and discovered it had a lot of problems with the hardware. HDMI, Ethernet, WiFi, and various downstream things didn’t work. I fixed some of it with help from forums and such, but eventually I went back to windows.
But a couple months later, I tried Pop!_OS and that has worked perfectly out of the box. No regrets.
I decided I was done with reddit. I never used apps so I just signed out of my account and never went back.
Fed up with Microsoft. I had a windows 10 computer they said couldn’t update to windows 11, and they said Recall was coming, so I said fuck it. Switched to mint, and now I’m trying pop!_os.
Way back like 10+ years ago I ran Ubuntu for a while, but I play a lot of video games and support was lacking. Wine, proton, and other tools have come a long way since then.
My old desktop couldnt update to 11. But for my newer computer, Windows recall was a deciding factor. Fuck that shit. Also fuck their “ai” nonsense.
It’s nice that it’s free and doing little to nothing contrary to my interests.
I only buy drm free music and then back it up somewhere myself. Bandcamp at least is drm free, but who knows if they’ll turn to shit after being bought and sold.
Buying music on Bandcamp and similar has been good for me. When I got laid off I kept all the music I owned and didn’t have to pay anymore. All these subscription services suck.
If you set a minimum vacation time, it’s not bad. But most places don’t do that, because they know you’ll take less time if they say unlimited.
I used to try to explain to management that some debt is high interest.
One of the guys at my old job submitted a PR with tests that basically just mocked everything, tested nothing. Like,
with patch("something.whatever", return_value=True):
assert whatever(0) is True
assert whatever(1) is True
Except for a few dozen lines, with names that made it look like they were doing useful.
He used AI to generate them, of course. Pretty useless.
Do you actually do work or are you one of those middle-men that add dubious value?
And, like, do you think I can read my coworker’s screen from across the room and be like “Ah yes, that is TransferProjectView.py
. I should tell him that I am also planning on touching that file”?
And adults can learn to explicitly communicate. It’s not impossible. You just type into the box.
I don’t think microsoft understands shit. I think their leaders are out of touch, lying, idiots. They continue to exist based on inertia and past success.
It’s frustrating because management are so colossally, transparently, stupid but they get the big paychecks and the workers get fucked. And then like half the workers sit there going “Well this is just and fair. this is a good world. If the people actually doing the work had more of a say, that’s communism and thus axiomatically bad”
I will admit when doing something like buying from an evil corporation that I’m making a trade off. I won’t pretend it’s fine. I try to acknowledge it.
It’s impossible to live in the modern world without participating in exploitation. This phone was probably made in ways that hurt the environment and labor. But I need a phone to participate in modern life. So I got one, and try to hold onto it as long as possible.
I think there’s a big difference between trying, and acknowledging tradeoffs and shortcomings, and just refusing to engage. “But I like it” is refusing to engage. I would respect “I know this milk comes from cruelty to cows, but I don’t care about cows” more. At least it’s honest.
I imagine most people who are rewilding their lawn are doing so for environmental reasons, which I consider more valid than mere personal preference. If someone was doing so for mere aesthetics, maybe.
With respect to murdering, there is a social contract or a legal “contract” that says you absolutely can’t, so this argument obviously doesn’t work.
That’s kind of the point. The reason why you don’t murder isn’t merely because you like it. There are actual reasons. Personal preference alone is not sufficient to override reasons like social contracts and laws and stuff. So if one side of the argument is “this is good for the environment”, the other side saying “but I like it” should not be compelling.
It is compelling to some people when they consider stuff like the environment non-issues on the same level as personal preferences. Those people are assholes.
“Oh my god having a lawn isn’t murder you’re being dramatic!” - some small-minded buffoon who doesn’t understand analogies.
So many people seem to really struggle with analogies. Sometimes I think they’re just responding to the emotional content, and not following the reasoning at all
One of the things that bothers me more than it should is people responding to actual problems with “but i like it”.
You say something like “a ‘basic’ lawn like that is bad for the environment in many ways, in addition to being labor intensive.”
They respond with something that amounts to, “But I like it.”
That wasn’t the question! If someone likes murder that doesn’t justify it, right? Because if so this conversation would take a very abrupt turn. So we can infer that there must be some other justification. Probably, “I don’t care about other people”, which remains an insufficient justification for murdering a whining selfish prick.
The damage to trust in the US’ institutions and government is tremendous, and will not likely be repaired in our lifetimes.
Use a dedicated data type or library. Some languages also have something like python’s Decimal type
>>> .1 + .2 0.30000000000000004 >>> Decimal(".1") + Decimal(".2") Decimal('0.3')