

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.


“There must be in-groups that the law protects but does not bind, and out-groups that the law binds but does not protect.” That’s all it is. That’s all it’s ever been.
They are worse than villains from a child’s story.
On the one hand, better late than never.
On the other, the Republican party has been the party of maximum scumbag since like Nixon.


…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 was hoping step 2 was going to be “and then they don’t leave”, but your plan is pretty good too.


I am a few steps removed from his social circle. I’ve never met him, but a few friends of mine have. They all have said he’s a sincerely good person.
Now, that’s just a second hand story from the Internet, but for my part that’s helping me be optimistic about him.


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.


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.


If the legal system concludes that he cannot be charged for murder, then the legal system is in error and should be amended.
The legal system is not a sacred, immutable, thing. It’s a bunch of agreements.
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.
I was going to say diablo4 as well. Diablo1 and 2 were some of my favorite games in my youth, but I just don’t want to give blizzard any more money. Path of exile 1 and 2 are good for the same itch.
Also any console exclusives. Bloodborne? Would love to play. Not buying a console. New Zelda and Mario? Same.