





Yep, it was Inbox for me. Fuckers.
Seriously, I came to post this exact comment. Damn.
That’s because it’s already so old, it can’t get older.
with your fingers


if it’s self hosted, just replace the image with your company logo, problem solved.
The comment:
# This code does exactly what you asked: Never change state, only fetch the state and return the difference
the code: hallucinated database table drops


Many Linii (and even BSDeez and various Archaeums) are more “download to a USB stick and use” now, you don’t even need to install them!


If you don’t care you can pass in default=str (I think) but if you do care you can define a function for what the string representation should look like and pass that in, but that’s a happy path case to be honest. I usually only run into this problem when something is logging unknown data (otherwise I prefer to model data like this so the IDE is happy) so I pass in the default=str just to get it functional.
Duck typing usually works but, datetime man, datetime is the warp from Warhammer 40K, it will drive you mad.


Yeah there’s other edge cases too, like Decimal, but as long as you have those things imported when you send it through dumps it should work.


I once had a candidate give the join link to the meeting out to several people (there were 3 unknown people in the call in addition to me and him). I immediately explained we can’t do the interview with all these other people on the call and he proceeded to try and gaslight me that there were no other people in the call, like he honestly thought he had jedi mind truck powers.
I called over several coworkers to witness the clusterfuck, many lols were had.


I would have accepted this answer.
I was hoping for json.dumps, but that’ll work.


Ugh, terrible memory unlocked.
I asked someone a similar question in an interview once. They weren’t doing well and I wanted to end on a positive at least. I asked them to make a dict in python and for extra credit, turn it into a string using whatever library or method they want.
This was not for a junior position.
5 minutes of for loop insanity later they disconnected crying. I always felt bad for that guy.
That’s like wanting to try vaping to help you stop smoking but never doing it because you can’t find nicotine vapes that taste that specific burning shit flavor you’re used to.
They can keep that shit on windows. The anti cheat will probably evolve to include AI bullshit like nanny assistants to make sure you’re using your computer like a human is supposed to and live facial identify verification to make sure you’re watching the anti cheat ads they’ll start playing when you die.