• IHawkMike
      link
      fedilink
      arrow-up
      88
      ·
      11 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.

        • psud@aussie.zone
          link
          fedilink
          arrow-up
          10
          ·
          edit-2
          11 months ago

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

          • JasonDJ@lemmy.zip
            link
            fedilink
            arrow-up
            10
            ·
            11 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
              link
              fedilink
              arrow-up
              8
              ·
              11 months ago

              Technically, all video is a series of updating stills.

              • JasonDJ@lemmy.zip
                link
                fedilink
                arrow-up
                1
                ·
                11 months ago

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

                • hperrin
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  edit-2
                  11 months ago

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

            • psud@aussie.zone
              link
              fedilink
              arrow-up
              2
              arrow-down
              1
              ·
              11 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
                link
                fedilink
                arrow-up
                1
                ·
                11 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!

        • IHawkMike
          link
          fedilink
          arrow-up
          25
          ·
          11 months ago

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

        • Bahnd Rollard
          link
          fedilink
          arrow-up
          8
          arrow-down
          1
          ·
          11 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.

          • A Phlaming Phoenix@lemm.ee
            link
            fedilink
            arrow-up
            8
            ·
            11 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.

  • kryptonianCodeMonkey
    link
    fedilink
    arrow-up
    64
    arrow-down
    1
    ·
    11 months 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.”

  • BradleyUffner
    link
    fedilink
    English
    arrow-up
    21
    arrow-down
    1
    ·
    11 months ago

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

  • asudox
    link
    fedilink
    arrow-up
    12
    ·
    edit-2
    11 months ago

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