this post was submitted on 26 Jun 2023
89 points (92.4% liked)

Programmer Humor

32483 readers
354 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 18 comments
sorted by: hot top controversial new old
[–] akariii@lemmy.blahaj.zone 30 points 1 year ago

teapot. its used when the server refuses to brew coffee for the client because it's a teapot, not a coffee pot

[–] Kolossos@lemmy.world 19 points 1 year ago* (last edited 1 year ago) (1 children)
[–] owenfromcanada@lemmy.world 6 points 1 year ago

The "data" for most coffee URIs contain no caffeine.

Haven't read through that in a long time. Still hoping to get a HTCPCP-compliant coffee pot some day.

[–] Randy_Bobandy@lemmy.ml 11 points 1 year ago* (last edited 1 year ago)

Here is my handle, here is my censored

[–] Yorokobii@lemmy.fmhy.ml 5 points 1 year ago

looks like a brodie enjoyer to me~

[–] inspxtr@lemmy.world 5 points 1 year ago (3 children)

lol what’s the context here?

[–] Zeus@lemmy.world 14 points 1 year ago (3 children)
[–] Dandroid@lemmy.world 5 points 1 year ago (1 children)

I learned about this http response code too late. About 4 years ago I was working at a startup and I was the "lead engineer" (aka only engineer) on a project where I had to design and implement an entire REST API. I really wish I would have put this in somewhere, since we weren't doing code review (because it was literally only me).

[–] sedawk@sh.itjust.works 2 points 1 year ago

Definitely GET /

*unofficial but may as well be official at this point

[–] spike@discuss.tchncs.de 1 points 1 year ago

It's a HTCPCP Response Code.

[–] waspentalive@lemmy.one 6 points 1 year ago

It is what your internet connected Tea kettle responds with when receiving a coffee information request.

[–] MajinBlayze@lemmy.world 2 points 1 year ago

Joke built into the http standard

[–] cupcakezealot@lemmy.blahaj.zone 4 points 1 year ago (1 children)

This is just step one of the British path to world programmer domination. Next up. All references to color will now be spelled in the proper colour

[–] saluki@discuss.tchncs.de 1 points 1 year ago

How did you find out about this? It was meant to be top secret.

[–] darknavi@vlemmy.net 3 points 1 year ago

Teapot. Can't you ~pour tea~ read?

[–] epyon22@sh.itjust.works 2 points 1 year ago* (last edited 1 year ago)

Bit disappointed that this is not built into the c# http status codes. Was building a mock service and wanted to return something that would never occur in production for things I didn't have definitions for. This seemed like a perfect response but it's not part of the statues enum.

load more comments
view more: next ›