922
http tutorial (lemmy.ml)
top 32 comments
sorted by: hot top controversial new old
[-] aBundleOfFerrets@sh.itjust.works 119 points 3 weeks ago

Everyone give it up for the fella who ran a webserver on a teapot

[-] IHawkMike@lemmy.world 85 points 3 weeks ago

I like returning 418 instead of 404 or 403 on the files the script kiddies are hunting for on my web servers. I'm sure it does nothing but I'd like to think I've wasted some of their time at least once.

[-] Telorand@reddthat.com 26 points 3 weeks ago

I'm glad that error exists.

[-] psud@aussie.zone 9 points 3 weeks ago* (last edited 3 weeks ago)

I'm pretty sure it exists because of RFC2324 hyper text coffee pot control protocol

[-] JasonDJ@lemmy.zip 10 points 3 weeks ago

Fun fact, first webcam was a series of updating stills of an actual coffee pot so some engineers would know if there was coffee made.

[-] hperrin@lemmy.world 8 points 3 weeks ago

Technically, all video is a series of updating stills.

[-] JasonDJ@lemmy.zip 1 points 3 weeks ago

True, but most streaming media now is a bunch of stills with the changes for each individual frame between them.

[-] hperrin@lemmy.world 1 points 3 weeks ago* (last edited 3 weeks ago)

True, but webcams still just deliver raw frames (or compressed frames in the case of MJPEG).

[-] psud@aussie.zone 1 points 3 weeks ago

With that, plus image recognition, plus a control system, you could use rfc2324 to implement the digital control side

Though I think I'd use weight, temperature, and flow sensors for easier service implementation

[-] HereIAm@lemmy.world 1 points 3 weeks ago

And then plug those values into a image generation service to give users a visually intuitive way to see if there's cooffe or not!

[-] ArtVandelay@lemmy.world 1 points 3 weeks ago

Necessity is the mother of invention

[-] Nougat@fedia.io 23 points 3 weeks ago

You had one chance to use 420 and you squandered it.

[-] chuckleslord@lemmy.world 36 points 3 weeks ago

HTTP 418 is the "I'm a teapot" code

[-] IHawkMike@lemmy.world 25 points 3 weeks ago

Oh I get plenty of chances to use 420. But I think you might be missing the joke. 😁

[-] Bahnd@lemmy.world 7 points 3 weeks ago

420 is still avalable. Not sure what you would put there ("Server too high?") and given the controversy over 418 I think its best to leave that one blank instead of making a weed joke.

[-] aphlamingphoenix@lemm.ee 8 points 3 weeks ago

There was an attempt by Twitter at one point to use "420 Enhance Your Calm" as a code to indicate you're being rate limited.

[-] kryptonianCodeMonkey@lemmy.world 63 points 3 weeks ago

200: "I gotchu, bro. Here you go. Have a good day."

401: "You're not on the list. Get lost."

402: "Pay me or get lost."

403: "Everyone get lost."

404: "You are lost."

500: "Ooopsss."

501: "Knew I forgot something..."

504: "I can't do this shit all day."

[-] davel@lemmy.ml 34 points 3 weeks ago
[-] kryptonianCodeMonkey@lemmy.world 17 points 3 weeks ago* (last edited 3 weeks ago)

Serving multiple data streams

[-] ArtVandelay@lemmy.world 2 points 3 weeks ago

Thread safe pouring

[-] blackluster117@possumpat.io 13 points 3 weeks ago

I love the whimsy of developers.

[-] dwemthy@lemdro.id 22 points 3 weeks ago

429: "Please stop trying"

[-] jjjalljs@ttrpg.network 16 points 3 weeks ago

401 is "I don't know who you are. Get fucked"

403 is "I know who you are and you're not allowed here. Get fucked"

[-] xmunk@sh.itjust.works 14 points 3 weeks ago

502: "I'm fucked, you're fucked, but most of all the developer trying to solve this is super fucked."

[-] hperrin@lemmy.world 6 points 3 weeks ago

451: β€œThe law says get lost.”

[-] ABasilPlant@lemmy.world 31 points 3 weeks ago

Surprised no one's mentioned HTTP Cats yet:

https://http.cat/

Personally, HTTP 405 (Method not allowed) is my favorite:

An image of former US president George Bush eating a cat. The text below the image reads, "405. Method Not Allowed"

[-] casmael@lemm.ee 25 points 3 weeks ago

Why do these feel like the 5 stages of grief πŸ€”

[-] Gallardo994@sh.itjust.works 21 points 3 weeks ago

200 OK

{ "error": 404 }

[-] BradleyUffner@lemmy.world 20 points 3 weeks ago

As a software developer / network admin, all of these are almost always "I fucked up configuring the web server".

[-] MBM@lemmings.world 16 points 3 weeks ago

200: Here you go (secretly still an error)

[-] Asudox@lemmy.world 11 points 3 weeks ago* (last edited 3 weeks ago)

These are pretty good as an overview tbh. I like it when teachers have a sense of humour at least.

[-] lemmyreader@lemmy.ml 6 points 3 weeks ago
this post was submitted on 24 Apr 2024
922 points (99.3% liked)

Programmer Humor

30792 readers
257 users here now

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

Rules:

founded 4 years ago
MODERATORS