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.
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.
I used to try to explain to management that some debt is high interest.
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”
Workers should unite and tell management to get fucked.
Capriciously applied rules is a terrible system. We hold up ideals like “rule of law” and “democracy” but as soon as capital is involved it’s right back to “I am the law” and tyranny.
Oh that’s a neat library. Type annotations in python are really nice, and you don’t have to add tooling like when you switch from JS to TS.
Yeah, that would help. There’s also the smaller risk of “I was going to click on something else, and this new window popped in under the mouse”
I think some applications also don’t accept input for the first couple seconds to prevent this. I vaguely remember something that had the dialogue boxes count down from 5 before you could click or keyboard-interact them.
Feels like the kind of problem with a lot of edge cases, but even catching 70% of the problems would be a big improvement
I hate focus stealing so I might set mine to strict, now that I know that’s an option.
It’s an absolute nightmare to be typing, some dialogue box pops up, and I accidentally accept it by hitting spacebar without even seeing what it was.
I think most computer users now don’t know that file systems exist
Well, yes. Capitalism and friends don’t care about a healthy society. They care about the owners having all the riches. This is inevitable without intervention.
I had a bad time with mint on my desktop. HDMI, wifi, Ethernet, none of that worked.
I’m currently on pop_os and it’s been fine so far.
I did see a job post for a role that was just reviewing AI code. This is all terrible
Social media was always kind of garbage, and the modern algorithmically sorted stuff is worse.
I’d rather just text my friends
Code reviews are important. Unfortunately, no-test-text guy convinced his whole team that he was right, and I wasn’t able to block it. I’d scheduled a meeting to try to get the wider org to adopt a more sensible standard, but then there was a mass layoff 🤷
The other guy with the bad messages is at a tiny startup where they’ve laid off almost everyone, and the other 2 guys don’t want to make waves. The CEO is big on “just ship it” (and also “why are there bugs in production? this is unacceptable!!”)
Half of US adults can’t read at a 6th grade level. I think speed and accuracy of reading is also pretty low (I read like 80 wpm and 80% accuracy somewhere, but i couldn’t immediately find a good source for that).
If you’re on a text forum like this you’re probably well above the average person, and your experiences are not universal.
That said, I don’t have any data on hand about readability so you could be right. I’m sure people have studied it.
I think it’s partly because many people are only semi literate, and breaking the text up helps people read it. A larger block of text is "intimidating’
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')