

Conservatives don’t care about truth or internal consistency. They just want to harm the out-group.


Conservatives don’t care about truth or internal consistency. They just want to harm the out-group.
It’s not really that different from like
my_get_mock = Mock(side_effect=Some exception("oh no"))
result = some_func(http_getter=my_get_mock)
There’s many ways of writing bad code and tests, but mocks and patches aren’t always a bad tool. But sure, you can definitely fuck things up with them.
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.)


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.


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.


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.


Oof. I’ve had places that the pipeline was getting long. At one of my previous jobs I made it so all the tests could run locally, and we were keeping the full build as slow as possible.
We also didn’t do any browser tests (eg: selenium) because those tend to be slow and most people are bad at making them stable.
It’s important to know whats worth testing.
That’s the plan. Unfortunately the market is kind of meh. Lots of AI slop. Lots of getting ghosted.
There’s a lot of fear at my job about changing code. I’ve been trying to tell them to start writing automated tests. Or at least a linter to check for syntax errors. They’re all like “ooh that sounds hard maybe next quarter”
Meanwhile, a trivial change requires a whole day because the developer has to manually test everything.
I just unilaterally added checks to code I have ownership over, but anything shared I’m getting “maybe in two quarters we can prioritize this” from management.
My job has a “scrum master”. She’s nice, I guess, but as far as I can tell her entire job is sharing her screen so we can look at tickets. Then people tell her what to click on and what text to change. It’s excruciating because it would just be faster for the person talking to change it, instead of being like “remove the second bullet point. No, not that one”
On top of that they have all these tasks for “unit testing” but they don’t actually do unit testing. Someone just said, in the distant past, we should do testing so it’s there.
Lol, yeah. If I saw an account labeled “American Nazi Party” with a blue check mark, I wouldn’t think “wow, Bluesky endorses Nazis” - I’d think “wow, this isn’t a satire account, these are actual Nazis, imma block them.”
I’d think “wow they let Nazis on here. Like they know about them and are cool with that. This place is trash”


Yep. I’ve been during linux as my main desktop for maybe a year or two now, and it’s been fine. I don’t tinker with it. Most things just work.
The only thing that’s been a little dicey is mods for games, but I think I just need to figure out how like wine and proton prefixes work. It’s probably not hard, I just haven’t had a need lately.




There’s not to my knowledge a good way to run/test GitHub actions locally. So if I want to verify my change uploads the coverage report after the end of the pipeline, I have to run the whole thing. And then I find an error because on the GitHub runner blah blah is different
I don’t understand how my coworkers are using windows. Like, they routinely have issues where it randomly reboots or gets sluggish. And it’s just flat out unfit for software development, unless you’re targeting windows specific stuff. They can’t even run our code locally.
Maybe some of the problems are janky security stuff to try to lock it down