>>> response.status_code
>>> response.content
b'{"error": "unhandled error: 404 Not Found"}

Dear programmers, please don't do this to the consumers of your APIs. I spent pretty much a day trying to get the response text of a mysterious 500 (the text wasn't logged). Would've been nice to know it was actually a 404, which made the error immediately obvious.

Don't hide HTTP codes. And don't mask original exceptions with "more user-friendly" messages either.

Hello Twitter refugees! Allow me to teach you about one of the things that makes Mastodon much chiller: the CONTENT WARNING. 

Here on Mastodon, we have a thing called a Content Warning, or a CW for short. It's a button at the bottom of the new toot box. When you hit it, it will add a new text box above the new toot box; whatever's in the main box will now be hidden behind whatever you type in the upper box, with a "SHOW MORE" button like this toot has.

We use this to hide anything we think will make our friends unhappy to read. So if you're posting about something that an American politician did that made you angry, you might give it a CW of "uspol". There's an additional subtlety that's evolved; a lot of the time we'll follow a CW with a +/- in parenthesis - "uspol (-)" would be bad news, "uspol (+)" would be good.

This lets Mastodon function as a place for more measured discussion; you can CHOOSE to engage with whatever bullshit the world is throwing at you this morning, instead of forcibly having your attempt to catch up with your friends interrupted by a million retweets of today's shitty news with a big photograph of that asshole who made that shitty news staring at you from the preview card. Not ready to deal with whatever bullshit's going on yet today? Don't click those "show more" buttons, keep scrolling, say something nice to your friends instead.

Different instances have different rules about what you MUST CW; the only requirement on my instance is politics. Check /about/more on your instance for their rules, see what they would like you to put this safety valve in front of.

> Once people ceased to understand how the machines around them actually functioned, the world they inhabited began to dissolve into an incomprehensible dreamscape.

Tretyakov Gallery should make an exhibition with only a single Vereshchagin painting.

There are some wall messages near the city center left for locals and invaders both.

If you are siding with Russia's government during this conflict, please block me.

Хуй войне.

И всем уёбам, которые к ней толкают.

#2582 Data Trap 

It's important to make sure your analysis destroys as much information as it produces.

Appealing moderation decisions against your account without having to go directly over e-mail will be possible soon

Meanwhile, add gemini endpoints to your services or something

Show thread

Been reading on HTTP User-Agent a little... Fuuuuck the web is broken.

Please make a no-web instead of webN+1. Enough of this crap.

> And people are complaining that the dog isn’t a very eloquent orator, that it often makes grammatical errors and has to start again, that it took heroic effort to train it, and that it’s unclear how much the dog really understands.

Show thread

> Judged against where AI was 20-25 years ago, when I was a student, a dog is now holding meaningful conversations in English.


Show older

l'empathie mécanique's choices:


The original server operated by the Mastodon gGmbH non-profit