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.
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.
I keep forgetting borderlands 4 even came out. I guess I block most ads, but none of my friends have even talked about it.
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”
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.
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.
I’ve always refused to pay a subscription, so I relate to that. I’m a big fan of Guild Wars (1 and 2) for not having one, and not having a power treadmill. It’s nice to hop in after a while away and still be competitive.
I did get an old partner to play Path of Exile for a while. We still laugh about how that was kind of an anomaly - they don’t normally like that sort of game at all, but somehow we spent like 2 months hammering on it together.
Always looking for good couch co-op. My current person isn’t much of a video games person, but Cat Quest II has been good fun so far. The Binding of Isaac was a little too much for them.
(Unless she also likes MMOs, then you’re meant for each other)
My friend’s brother and brother’s wife play WoW together. They have their living room set up so they can play side by side. It’s nice they have a fun hobby they do together. (They also engage with real life, but they live far away so I rarely personally see them)
I read they’re using react, the JavaScript library, for the start menu. If true that strikes me as insane
I think most computer users now don’t know that file systems exist
Unless the conflict was like “someone close to me is giving birth” tier, he could have scheduled better.
Ah yes, the classic “these things share one property so they share all properties” argument.
Blinking closes your eyes. You can safely drive and blink. Thus, you can drive safely with your eyes closed.
Distracted driving is pretty irresponsible and dangerous.
Just this morning some guy blew through a stop sign and almost hit me. He had his cell phone in hand. Maybe he was on a meeting, too.
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.
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')