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.
Musk is scum and I’m eagerly awaiting the day he’s no longer shitting up the world.
I don’t think Microsoft makes great decisions. They’re not as bad as Google, but it doesn’t seem like they deliver what users want.
They’ll probably spend billions on AI when users would rather just have a cheaper longer lasting device. But they gotta make maximum money, I guess.
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 keep forgetting borderlands 4 even came out. I guess I block most ads, but none of my friends have even talked about it.
You can turn that one on desktop off, btw
I know plenty of adults who are really bad at money and paying bills.
I feel like the average video game player has really poor media and political literacy, but maybe it’s just the ones who make noise online who fit that profile.
I used to try to explain to management that some debt is high interest.
One of the many things that’s infuriating about this is that these people are so profoundly stupid, but they keep getting all the money and power. If there was any justice in the world, people like the decision makers in your stories would be living a very spartan life somewhere, reflecting on how they are so fucking senseless.
And yet people continue to worship these “job creators” and “visionaries”.
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”
Some people need an out-group to hate. That’s it. Everything else is a justification for the good chemical feels they get for subjugating the outsiders.
Is he showing any of his work, or is he just making stuff up? Seems like he’s just making stuff up.
Also, everyone should look at the “wealth to scale” webpage: https://dbkrupp.github.io/1-pixel-wealth/ . Humans are not good at scale, and this helps visualize it.
It’s not a set, so you can have duplicate values. So no, probably not.
Like you have a list and the range of its values is [0 … 1]. You can have a whole lot of 1s, but none of them are the sole biggest value.
Good version control hygiene is important. My most recent job we were pretty good about commit messages for the PR, and then squashing that into a single commit when putting it on main. As you say, avoid unrelated things going together. You don’t want to have to revert a whole major feature because your “I’ll just fix it here” broke something.
There’s a guy one of my old coworkers has been complaining about who never writes anything useful in his commit messages. It makes the git log useless and the code reviews harder.
As for abstraction and such, sometimes it feels like it’s just coupling unrelated things together. It can be annoying when it’s like “I want to change this…and it’s used in 17 places for some reason. Guess I’ll check if all of those can handle this change, or this will be the one weird place that’s different…”
I also worked with a guy that was a big fan of having two dozen one line functions. Monster functions are often bad, but a whole separate function like get_last_item(stuff): return stuff[-1] can be excessive.
Switched to Linux. Don’t miss windows. Shit like this does not entice me.
No… no that’s impossible… fuck. 14 years, huh? I remember it was 11/11/11 and there were ads for it on city buses, and I thought “wow i guess video games are mainstream now”
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')