959
http tutorial (lemmy.ml)
you are viewing a single comment's thread
view the rest of the comments
[-] aBundleOfFerrets@sh.itjust.works 120 points 7 months ago

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

[-] IHawkMike@lemmy.world 87 points 7 months 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 27 points 7 months ago
[-] psud@aussie.zone 9 points 7 months ago* (last edited 7 months ago)

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

[-] JasonDJ@lemmy.zip 9 points 7 months 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 7 months ago

Technically, all video is a series of updating stills.

[-] JasonDJ@lemmy.zip 1 points 7 months 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 7 months ago* (last edited 7 months ago)

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

[-] ArtVandelay@lemmy.world 1 points 7 months ago

Necessity is the mother of invention

[-] psud@aussie.zone 1 points 7 months 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 7 months 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!

[-] Nougat@fedia.io 22 points 7 months ago

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

[-] chuckleslord@lemmy.world 36 points 7 months ago

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

[-] IHawkMike@lemmy.world 25 points 7 months ago

Oh I get plenty of chances to use 420. But I think you might be missing the joke. ๐Ÿ˜

[-] Bahnd@lemmy.world 6 points 7 months 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 7 points 7 months 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.

this post was submitted on 24 Apr 2024
959 points (99.3% liked)

Programmer Humor

32601 readers
115 users here now

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

Rules:

founded 5 years ago
MODERATORS