Let’s get the AMAs kicked off on Lemmy, shall we.

Almost ten years ago now, I wrote RFC 7168, “Hypertext Coffeepot Control Protocol for Tea Efflux Appliances” which extends HTCPCP to handle tea brewing. Both Coffeepot Control Protocol and the tea-brewing extension are joke Internet Standards, and were released on Apr 1st (1998 and 2014). You may be familiar with HTTP error 418, “I’m a teapot”; this comes from the 1998 standard.

I’m giving a talk on the history of HTTP and HTCPCP at the WeAreDevelopers World Congress in Berlin later this month, and I need an FAQ section; AMA about the Internet and HTTP. Let’s try this out!

  • Erk@cdda.social
    link
    fedilink
    English
    arrow-up
    29
    ·
    3 years ago

    I had been an advocate of getting just an ordinary person to do the first Lemmy ama but apparently we’ve got an absolute legend.

    Have you ever had a favourite reference to your joke come up?

    • Two9A@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      31
      ·
      3 years ago

      I did go to a conference once where they were handing out laptop stickers, and in the pack was a 418 teapot.

      Of course, a week after I stuck that to my machine, it died. Telling the laptop it was a teapot didn’t agree with it, I guess.

  • Kaboomi@lemmy.world
    link
    fedilink
    English
    arrow-up
    19
    ·
    3 years ago

    I’m actually going to that conference! What’s the title of your talk? I’ll be sure to attend it!

    • Two9A@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      21
      ·
      3 years ago

      Excellent. I’m on Stage 4 on the Thursday afternoon: “Brewing Tea Over The Internet”.

      Should be fun times, see you there.

    • Two9A@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      20
      ·
      3 years ago

      It’s great: the Internet should have a bit of that sense of whimsy, and knowing that there’s official support in many libraries for “you’re asking me for coffee, but I’m a teapot” is one of those things that gets me through the day.

    • Xylight (Photon dev)@lemmy.xylight.dev
      link
      fedilink
      English
      arrow-up
      40
      ·
      3 years ago

      You know sometimes you click on a link and it says “404 not found?” 404 is an HTTP status code. basically when you click on a website your browser makes an “HTTP request” to that website to get the web page, and it’ll respond with a code to tell the status. 2xx is ideal, since it means OK. 4xx means it’s an error on your end. (404, you requested a nonexistent link.) 5xx means it’s a server error.

      This person made 418, a status code for “I’m a teapot”. It was intended as an april fools joke but it’s used sometimes for when the server doesn’t want to handle a request from the client.

      • Flemmy@lemmy.world
        link
        fedilink
        English
        arrow-up
        22
        ·
        3 years ago

        As a late millennial and a programmer, I’ve got you.

        So when you request a web page, before anything else, the server gives you a 3 digit status code.

        100s means you asked for metadata

        200s mean it went ok

        300s means you need to go somewhere else (like for login, or because we moved things around)

        400s mean you messed up

        500s mean I messed up

        So this is in the 400s. Each specific code means something - you’ve probably seen 404, which means you asked for a page that isn’t there. And maybe 405, which means you’re not allowed to see this

        418 means you asked for coffee, but I’m a teapot

        • mmagod@lemmy.zip
          link
          fedilink
          English
          arrow-up
          4
          ·
          3 years ago

          I can’t say enough how amazing your explanation was. Im not a programmer but I have worked on websites (self taught) and I never knew this. Thank you!

  • boonhet@lemm.ee
    link
    fedilink
    English
    arrow-up
    15
    ·
    3 years ago

    I have no questions, but I want to let people here know that there are two excellent websites related to this: http.cat and http.dog, for looking up HTTP status codes.

    For an example, if http.cat/418 doesn’t brighten your day, I don’t think there’s much that can.

    • kevingranade@cdda.social
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 years ago

      http.cat was absolutely critical when I transitioned from general application development to web backend development. Not a joke, it was just a super readable site listing the codes with a short and memorable url.

      • boonhet@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 years ago

        You’re welcome! I try to share this with people whenever I can, hoping that it makes someone’s day better. It certainly gives me a lot of joy when I can respond to something with a relevant http cat, though the few people I do it to might be getting a little annoyed.

  • ColdPints@infosec.pub
    link
    fedilink
    English
    arrow-up
    11
    ·
    3 years ago

    What’s the process for submitting RFCs? And how do they pick which joke RFC they’ll publish? That’s a meeting I’d like to be a fly on the wall of

    • Two9A@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      19
      ·
      3 years ago

      For “real” RFCs that aren’t Apr 1st jokes, there’s an independent submissions track for the public to write Internet-Drafts and then submit them into the review process.

      With the joke RFCs, they get emailed straight to the editor at least two weeks beforehand. I’m not privy to the selection meeting, but I expect it’s fun.

    • Two9A@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      13
      ·
      3 years ago

      You’d have to catch up with Mr Masinter to get his opinion on adding error 418, I’m afraid; that piece of the business wasn’t my work.

      I’m happy it’s there though: it may have sparked flamewars, but at this point what hasn’t. It does bring somewhat of that sense of humanity to the whole enterprise of working on the Internet.

      • DangerBit@lemmy.world
        link
        fedilink
        English
        arrow-up
        7
        ·
        3 years ago

        I remember when I learned about this, I was working on an absurdly large project on my own. I was lost in all the details and losing hope of ever finishing. I was working on the backend API when I learned of this and took the time to implement the 418 response. It felt silly and brought the fun back to the project.

      • Commanderoptimism@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        3 years ago

        I remember when I first learned of error 418 and it did really help me understand that the Internet as we know it was made and shaped by regular people with senses of humor. Helped make it seem a bit less daunting/intimidating to understand.

        It reminds me of how the Network Port 666 is specifically reserved for doom, always love Easter eggs like that in officially used protocols.

      • RonSijm@programming.dev
        link
        fedilink
        English
        arrow-up
        7
        ·
        3 years ago

        Personally I don’t have any problems with it (if that was directed at me) - I’ve added 418 as “unhandled exception code” response to a bunch of applications, so I can easily differentiate whether my application is throwing an error, or whether it’s some middleware gateway AWS io-thing

        I was just curious what OP thought about it, since in the early days it wasn’t uncommon to add goofs or easter-eggs into software, but nowadays not done so much… and apparently the “HTTP Working Group” doesn’t like it either… So I was curious whether OP though in hindsight whether it should’ve been added or not

      • rekliner@lemmy.world
        link
        fedilink
        English
        arrow-up
        7
        ·
        3 years ago

        That’s a 419 when you surprise people with a coffee pot.

        Aren’t you worried about your citizenship being revoked?

        • Two9A@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          3
          ·
          3 years ago

          Coffee may be an offence worthy of the Tower, but I hope my Services To Tea offer mitigating circumstances when my case is brought before the King Prince.

    • Two9A@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      8
      ·
      3 years ago

      I’m not the type to go hunting for the Best Bean, self-grinding to a particular size, pour-over…

      The basic swill is plenty for me; my current choice is Kenco Instant.

    • Two9A@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      19
      ·
      3 years ago

      If anything, we’re into the “bust” part of the bubble: layoffs have been coming in waves all year, and are continuing. There were a whole bunch of posts over on Mastodon just a couple of weeks ago, at end of quarter, where people were laid off and looking for work.

    • Two9A@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      16
      ·
      3 years ago

      This is kinda the problem with widely deployed standards like TCP/IPv4: if you have even one device out there that’s on the “old” standard, it won’t be able to talk under a hypothetical new standard like IPv6 or TCP-with-huge-packets. And there are a lot more than one device out there that would be cut off.

      As I understand it, the big pipes have very large MTUs now, and the edge routers cut up the packets for further transport. That’s probably the only way we can realistically go forward.

      • ryannathans@lemmy.fmhy.ml
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 years ago

        I hope soon with ipv6 MTU discovery, as home connections get faster, the inefficiencies of a small MTU will drive offerings of dynamic/large MTUs.