Slashdot Mirror


'I'm a Teapot' Error Code Saved From Extinction By Public Outcry (gizmodo.com.au)

An anonymous reader quotes Gizmodo: It started back in 1998 as an April Fool's Day gag. Written up by Larry Masinter of the Internet Engineering Task Force (IETF), error code 418 -- "I'm a teapot" -- was nothing more than a poke at the "many bad HTTP extensions that had been proposed". Despite its existence as a joke, a number of major software projects, including Node.js, ASP.NET and Google's Go language, implemented it as an Easter egg. A recent attempt to excise the fictitious code from these projects ended up doing the opposite, cementing it as a "reserved" error by the IETF...

Mark Nottingham, IETF chair for the HTTP and QUIC working groups, flagged the code's removal as an "issue" for Google's Go language, the Node.js Javascript runtime and Microsoft's ASP.NET... Nottingham's argument was that 418 was "polluting [the] core protocol" of these projects... It didn't take long for a "Save 418" website to go live and through the efforts of interested internet historians (and jokers), all three of the aforementioned projects have decided to keep the code as it is, though Google will "revisit" the situation with the next major version of Go.

The Save 418 site argued that "the application of such an status code is boundless. Its utility, quite simply, is astonishingly unparalleled. It's a reminder that the underlying processes of computers are still made by humans. It'd be a real shame to see 418 go."

19 of 111 comments (clear)

  1. Perfect for the latest IoT by Zero__Kelvin · · Score: 5, Funny

    This was just very forward thinking in preparation for IoT. Now, when your teapot can't connect to cloud it can tell you what the problem is ... "I am trying to connect to the internet and E418"

    --
    Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
    1. Re:Perfect for the latest IoT by shanen · · Score: 3, Interesting

      "It appears that you are trying to get mod points. Would you like help in writing a funny or insightful comment?"

      Thank gawd Clippy is dead, eh?

      Seriously, your basic premise was good, but you got it backwards. Your IOT teapot is supposed to have a built in webserver for configuration and comments. The 418 error is for cases when you try to send it commands that are not appropriate for an IOT teapot. Easy to understand how the 418 mistake will occur, because the commodity chips that include the webserver will be used in all kinds of things, not just teapots.

      --
      Freedom = (Meaningful - Coerced) Choice != (Speech | Beer^2), and sad sock puppets' bad mods avail them naught.
  2. Re:It's official by Anonymous Coward · · Score: 5, Informative

    To be fair, Nottingham also wrote the draft that's now reserving the error code.

    He recognized there was popular support for the error code, and revised his position to remove the error code only if every other three-digit error code starting with 4 is taken.

  3. Let us have our fun. by Daltorak · · Score: 5, Insightful

    The work that software developers do is extremely mentally challenging. We're often under pressure to not only create a product that is good enough to be profitable (or at least helpful), but also to not make extremely subtle mistakes that results in security vulnerabilities, information exposure, or denial of service.

    That's why we like putting little jokes in our software. It helps us cope with the pressure. It's why song lyrics, movie quotes and ASCII art find their way into code comments. It's why JIRA's about page is presented as an 8-bit video game. It's why we have an RFC describing an "evil bit". It's why error pages for popular source code repository have anthropomorphic robots. Hell, even MS Excel had a freakin' flight simulator built into it at one point!

    The world is bad enough as it is without the misery-mongers demanding we excise all forms of fun from our line of work. Leave us alone. Let us have our fun. We know what we're doing.

    1. Re: Let us have our fun. by 93+Escort+Wagon · · Score: 4, Interesting

      2000 wasted bytes in every Rust executable disagree with you, millennial.

      His Slashdot UID indicates he joined this site significantly earlier than me - and I was here in 2003. Are you suggesting he signed up in utero?

      --
      #DeleteChrome
    2. Re:Let us have our fun. by The+Evil+Atheist · · Score: 3, Insightful

      Given that 418's purpose was to make fun of the sheer amount of bad proposals, it's actually a good idea for it to remain to remind people to actually think more about their crappy proposals. Those crappy proposals, because they weren't jokes, would have actually needed to be supported with development effort. Sometimes shame and ridicule goes a long way than some rule book no one reads.

      --
      Those who do not learn from commit history are doomed to regress it.
    3. Re:Let us have our fun. by JaredOfEuropa · · Score: 3, Funny

      We're posting about it instead of doing something useful...

      --
      If construction was anything like programming, an incorrectly fitted lock would bring down the entire building...
    4. Re: Let us have our fun. by TheFinn · · Score: 2

      Some people believe the millennials are to blame for a great many things. Those people typically live in fear of everything, including how much corduroy they wear. Sad state of affairs really...

      --
      ---- fnord
    5. Re:Let us have our fun. by Anonymous Coward · · Score: 2, Insightful

      Are you a psychopath with delusions of grandeur who owns a company, or are you the line worker with no self esteem who believes themselves powerless and fungible?

      Protip: If an owner is hiring people for his company, there are things that he or she can't do, either due to lack of training, lack of interest or (most likely) lack of time. Smart owners appreciate that fact.

    6. Re:Let us have our fun. by Cinnamon+Beige · · Score: 2

      It also seems like actually a pretty useful error code to implement for use as a fallback for when the problem is roughly "Request was nonsense," on the general theory that the person should know if, in fact, the machine in question is a teapot or at all likely to be a teapot...

    7. Re:Let us have our fun. by thegarbz · · Score: 4, Funny

      Maybe we should rename it:

      418 - Software written by millenial as part of an agile team in a startup made entirely of UX designers has operated as expected.

    8. Re:Let us have our fun. by Cinnamon+Beige · · Score: 2

      "I'm a teapot" for such errors has being very great benefit of ensuring that such individuals will be kept busy trying to figure out why their program is talking to an actual teapot. People who will know this is a non sequitur will understand that whatever went wrong, it went quite horribly wrong.

  4. The Early Web Needed It by Roger+W+Moore · · Score: 2

    Actually, it could have been used almost from the start of the web. As a grad student at CERN, I was introduced to the web very early on in its history and what was possibly the worlds first webcam was used to monitor the coffee pot in the Cambridge Computer Science department. I even surprised one of my friends when I got back to the UK by asking to see it - he was amazed anyone over in physics had heard of it!.

    1. Re:The Early Web Needed It by Zero__Kelvin · · Score: 2

      Yes, and there have been other similar projects like the CMU coke machine. I omitted the full disclosure that I am actually pro thing connectivity just so long as it is done right. That why I threw in the part about the cloud. Teapots on a LAN is fine, as is controlling it securely, but let's not get carried away and let corporations gather data on our tea habits, and by logical extension, everything else.

      --
      Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
  5. On a related note of having sense of humor by seoras · · Score: 2

    Seeing ICBM in a web page header, giving the geolocation of the website/server, always made me chuckle.

  6. Re:GET A LIFE by Anonymous Coward · · Score: 3, Funny

    Starving kids in Africa could be eating these error codes.

  7. Re:It's official by dohzer · · Score: 2

    We're talking Russell's teapot, right?!

  8. Re:It's official by RDW · · Score: 2

    To be fair, Nottingham also wrote the draft that's now reserving the error code.

    He recognized there was popular support for the error code, and revised his position to remove the error code only if every other three-digit error code starting with 4 is taken.

    Yes, a classy response to the issue, unlike the humourless maintainer who removed the ddate (Discordian Date) tool from util-linux: https://bugzilla.redhat.com/sh...

  9. Re:It's official by Anonymous Coward · · Score: 2, Funny

    Yes, a classy response to the issue, unlike the humourless maintainer who removed the ddate (Discordian Date) tool from util-linux: https://bugzilla.redhat.com/sh...

    Eh? (checks.....)
    WTF man?, no ddate? ok, so the last time I used it in anger was in a server added header on the MTAs I used to look after many, many years ago...
    them: we got spam from your servers..
    me: No worries, got an example in front of you?, good, tell me the contents of the X-MTA-FNORD header...
    them:(typie typity type....)Errr, what X-MTA-FNORD header?
    me: there's your problem, not my circus, monkeys etc. etc..

    Really, again, WTF?, you know I'm now in the crazy position that the only machines that have ddate on them here in my house are the windows boxes and not one of my Linux boxes has it now by default?

    Time to dig out the sources...fucking Greyfaces...GOBBLE, GOBBLE, GOBBLE, GOBBLE, GOBBLE!