

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.
It goes into your subconscious.


Oh, that’s an idea. Unfortunately my work has no union. Tech is full of rugged individuals.
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??”


Is it better to skip work entirely or go and just goof off? Probably the former?


know your rights! All three of them!
You have the right not to be killed
Murder is a crime!
Unless it was done by a police man…
The clash from 1982 still timely


Justin Humphrey should be removed from office.


It could maybe be useful information if the questions, answers, and test taking process are all public and non-binding.
Like, they get a pen and paper and a quiz appropriate for high school seniors. They’re filmed taking it in a classroom, and the results are all public. Different institutions can grade each test.
If you want to vote for the guy who says “the president writes laws” then that’s on you.
If conservatives try to make it like old timey literacy tests, it’s non binding so it can’t so much harm. Might even make them look bad, since it’s all public.
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”
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