

If there’s any justice, everyone who works for Palantir will be lined up next to everyone who worked for ICE.


If there’s any justice, everyone who works for Palantir will be lined up next to everyone who worked for ICE.
I vaguely remember Java also has mocking libraries, as does JavaScript. (Though JavaScript isn’t a language I’d hold up as the ideal.)
with patch("some_file.requests.get", side_effect=SomeException("oh no")):
result = func_using_requests()
Though not every language makes mocking as easy, and multiple responsibilities in a single function can quickly get messy.
I used to be better at math and coding. If I pulled up my old project euler solutions I’m not sure I’d understand them anymore.
It goes into your subconscious.
I broke a player’s brain in college playing DND where an NPC just lied to her.
She’d asked where so-and-so was. NPC didn’t like her or her faction, so he just lied and said he’d taken up boxing. This isn’t an especially credible lie because so-and-so was a lightweight nerd. But she says okay and goes tearing up the local boxing clubs, and can’t find the guy.
She’s like “where is he?”
Me: “you don’t see him, and no one’s even heard of him.”
Her: “but the guy said he was here”
Me: “he did”
Her: “so where is he”
Me: “doesn’t look like he’s here”
Her: “but he said he was”
Me: “he did say that”
Her: “so why isn’t he here?”
This went on for a while until one of the other players got impatient and said “the guy who doesn’t like you maybe lied to you! Or was wrong! Can we move on please??”
Do you think the people that send junk like “hi” or “quick chat?” get annoyed when they’re the recipient? Or they just think it’s normal?
I feel like this topic somehow aligns with the form of a 2017 Twitter screenshot posted on tiktok posted on Lemmy.


At one of the bigger groceries I’ve been to, the wheels would lock up if you got too far from the store. Well, we’d parked outside that range so the wheels locked up and I had to awkwardly drag the full cart to the car.
Being a good person, I went to drag it back to the return spot. The wheels did not unlock. Dragged it all the way back anyway.
But given this, I can see why someone might just abandon their cart if the wheels are locked.


Pretty much every time I go to one of the local grocery stores I see a crew of firefighters roll up in their truck buying food.


I just link people to good posts I find on here.
You’re not going to get a typical apathetic person to change anything.


…what? Go do something else instead of watching YouTube-style content then. Read a book. Take up knitting. Do crosswords.
You can live a full life without Internet videos.
I had a guy do this once when I was struggling to get my laundry bag into my cart. He just used his free hand to steady the cart for me, but didn’t stop his phone call.

I wonder if McCain is dishonest, stupid, or both. I think both, but stupid is the dominant mechanism here. I think she’s too idiotic to grasp that all things have a political context and subtext, even when it’s not an explicit “vote for XYZ”. But maybe she gets that and is just being dishonest for clout.
Either way I hope she goes away and never impacts the world again.
Turning off almost all notifications, running adblock , and ditching social media (except Lemmy, if that counts) , seems to really limit the damage.
I’ve read that conservatives model the world as “strict rules that have exceptions made on a case by case basis”. That maybe works if you’re in a small village. Smarter people realize that doesn’t scale and you should write better rules in the first place.


Installed Pop!_os maybe a year ago. It’s been fine.
I couldn’t quite figure out how to make the bg3 mod tools play nice. There’s probably some proton prefix stuff I’d have to do and I gave up before getting too deep.
I bet the next time I want to play a game with mods it’s going to be a bit of a headache.
Other than that, it’s fine. I ran mint for about a year before this, with an interlude of windows 11 that came with the desktop.


Oh man kids and making shit up.
There was a kid who told me he had all these new mortal Kombat games. Just complete fabrications.
I told another kid that if you got all the chaos emeralds in sonic 3 (I’m old) you could turn into super sonic. Imagine my shock when that turned out to be true.


Javascript has mocking with jest: https://jestjs.io/docs/mock-functions
There’s an example there of mocking our axios (a common library for network requests, a la python requests)
It’s been a long time since I’ve used java, but mockito exists: https://site.mockito.org/javadoc/current/org/mockito/Mockito.html#2
(Usage note for anyone unfamiliar, but despite the name java and JavaScript are radically different languages.)