this post was submitted on 02 Aug 2025
304 points (99.4% liked)

Programmer Humor

26166 readers
1125 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 

API for HTTP Cats

top 19 comments
sorted by: hot top controversial new old
[–] drkt@scribe.disroot.org 58 points 1 month ago* (last edited 1 month ago) (2 children)

http cat
look inside
https

[–] CanadaPlus@lemmy.sdf.org 21 points 1 month ago (2 children)

Has anybody else noticed that in practice, shit tons of stuff uses a subtly wrong code?

[–] lena@gregtech.eu 10 points 1 month ago

Yeah, I always make sure to use the relevant code in my projects. I've been using 422 a lot for missing data.

[–] Blackmist@feddit.uk 4 points 1 month ago

Like every crappy REST API that gives a 200 with an error message in it.

[–] AngryCommieKender@lemmy.world 7 points 1 month ago (3 children)

Why would 418 ever be used?

Also 425, mood.

[–] Dekkia@this.doesnotcut.it 23 points 1 month ago (1 children)

418 comes from an April fools' joke published as RFC7168.

I've used it for debugging before because it stands out and is generally suported.

[–] boonhet@sopuli.xyz 9 points 1 month ago

I once returned it in a home assignment in case true == false and added a comment that it's cosmic radiation induced bit flip detection.

I got the job.

[–] floquant@lemmy.dbzer0.com 10 points 1 month ago

As per RFC, when an internet-connected teapot is asked to brew coffee.

[–] fubarx@lemmy.world 5 points 1 month ago* (last edited 1 month ago)

418: catchall API response when all else fails. Easy to filter in logs.

[–] boonhet@sopuli.xyz 6 points 1 month ago* (last edited 1 month ago) (1 children)
[–] xia@lemmy.sdf.org 4 points 1 month ago

That thumbnail image reminds me of hovercat: https://youtu.be/p1u-R4RVL70

[–] yggstyle@lemmy.world 3 points 1 month ago* (last edited 1 month ago) (1 children)
[–] lena@gregtech.eu 3 points 1 month ago (1 children)

This is great, DEFCON talks are always amazing :D

The one about email is also great.

[–] yggstyle@lemmy.world 4 points 1 month ago

It's a fun look at a dry topic. It gives some really interesting insights too. All good things :)

DEFCON in general is an outstanding conference.

[–] shalafi@lemmy.world 2 points 1 month ago (1 children)

Is the API new? LOL, never seen that and now I need a project for an excuse to implement it.

[–] lena@gregtech.eu 3 points 1 month ago

I already use it in Lemvotes and it's quite funny