Pricefield | Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@[email protected] to Programmer [email protected] • 1 year ago

http tutorial

lemmy.ml

message-square
34
fedilink
958

http tutorial

lemmy.ml

@[email protected] to Programmer [email protected] • 1 year ago
message-square
34
fedilink
alert-triangle
You must log in or register to comment.
  • lemmyreader
    link
    fedilink
    English
    7•1 year ago

    🤣

  • @[email protected]
    link
    fedilink
    16•1 year ago

    200: Here you go (secretly still an error)

  • asudox
    link
    fedilink
    12•
    edit-2
    1 year ago

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

  • @[email protected]
    link
    fedilink
    23•1 year ago

    200 OK

    { “error”: 404 }

    • The Ramen Dutchman
      link
      fedilink
      1•1 year ago

      MS Teams does this unironically

  • @[email protected]
    link
    fedilink
    63•1 year 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.”

    • The Ramen Dutchman
      link
      fedilink
      1•1 year ago

      401 is more like “Tell me who tf you are or get lost”, while 403 means “You’re not on the list, get lost”

    • @[email protected]
      link
      fedilink
      16•1 year 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”

    • @[email protected]
      link
      fedilink
      15•1 year ago

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

    • @[email protected]
      link
      fedilink
      6•1 year ago

      451: “The law says get lost.”

    • Dwemthy (he/him)
      link
      fedilink
      English
      23•1 year ago

      429: “Please stop trying”

    • davel [he/him]
      link
      fedilink
      English
      34•1 year ago

      418: 🫖

      • @[email protected]
        link
        fedilink
        14•1 year ago

        I love the whimsy of developers.

      • @[email protected]
        link
        fedilink
        19•
        edit-2
        1 year ago

        Serving multiple data streams

        • @[email protected]
          link
          fedilink
          English
          3•1 year ago

          Thread safe pouring

  • A Basil Plant
    link
    fedilink
    33•1 year 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"

  • ferret
    link
    fedilink
    English
    118•1 year ago

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

    • @[email protected]
      link
      fedilink
      85•1 year 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.

      • @[email protected]
        link
        fedilink
        27•1 year ago

        I’m glad that error exists.

        • @[email protected]
          link
          fedilink
          10•
          edit-2
          1 year ago

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

          • @[email protected]
            link
            fedilink
            10•1 year 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.

            • @[email protected]
              link
              fedilink
              2•1 year 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

              • @[email protected]
                link
                fedilink
                1•1 year 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!

            • @[email protected]
              link
              fedilink
              8•1 year ago

              Technically, all video is a series of updating stills.

              • @[email protected]
                link
                fedilink
                1•1 year ago

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

                • @[email protected]
                  link
                  fedilink
                  1•
                  edit-2
                  1 year ago

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

            • @[email protected]
              link
              fedilink
              English
              1•1 year ago

              Necessity is the mother of invention

      • Nougat
        link
        fedilink
        25•1 year ago

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

        • @[email protected]
          link
          fedilink
          24•1 year ago

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

        • Bahnd Rollard
          link
          fedilink
          8•1 year 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
            link
            fedilink
            8•1 year 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.

        • @[email protected]
          link
          fedilink
          36•1 year ago

          HTTP 418 is the “I’m a teapot” code

  • @[email protected]
    link
    fedilink
    27•1 year ago

    Why do these feel like the 5 stages of grief 🤔

  • @[email protected]
    link
    fedilink
    English
    21•1 year ago

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

Programmer [email protected]

[email protected]
Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

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

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 35 users / day
  • 117 users / week
  • 436 users / month
  • 1.57K users / 6 months
  • 4 subscribers
  • 1.82K Posts
  • 38.5K Comments
  • Modlog
  • mods:
  • @[email protected]
  • @[email protected]
  • UI: 0.18.4
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org