Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Programmer Humor
  3. Everyone knows what an email address is, right? (Quiz)

Everyone knows what an email address is, right? (Quiz)

Scheduled Pinned Locked Moved Programmer Humor
programmerhumor
140 Posts 105 Posters 3 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T [email protected]
    This post did not contain any content.
    hellfire103@lemmy.caH This user is from outside of this forum
    hellfire103@lemmy.caH This user is from outside of this forum
    [email protected]
    wrote last edited by
    #28

    I scored 13/21 on https://e-mail.wtf/ and all I got was this lousy text to share on social media.

    B 1 Reply Last reply
    22
    • T [email protected]
      This post did not contain any content.
      F This user is from outside of this forum
      F This user is from outside of this forum
      [email protected]
      wrote last edited by [email protected]
      #29

      Two of my "favorite" features it didn't even touch on. You can have nested comments:

      foo(one(two(three(four(five(six(seven)))))))@example.com
      

      This will actually fail on that big email regex that gets copied around (originally from Mastering Regular Expressions in 1997), because it can only handle comment nesting to a depth of six. It is actually possible to do indefinite nesting now with recursive regex, but it was developed before that feature existed.

      RFC822 also allows routing addresses through multiple servers:

      <@[email protected]:[email protected]>
      

      But this is almost always denied on modern email servers because it was abused by spammers.

      T 1 Reply Last reply
      34
      • nessd@lemmy.worldN [email protected]

        14 / 21

        This is the score you get when you answer "valid" for every question. Good job.

        tostiman@sh.itjust.worksT This user is from outside of this forum
        tostiman@sh.itjust.worksT This user is from outside of this forum
        [email protected]
        wrote last edited by
        #30

        My score was lower 💀

        1 Reply Last reply
        13
        • bjoern_tantau@swg-empire.deB [email protected]

          I had to make an email address just for paypal because those idiots don't accept subdomains in email addresses.

          F This user is from outside of this forum
          F This user is from outside of this forum
          [email protected]
          wrote last edited by
          #31

          Pizza Hut doesn't allow dashes in the domain. This prevents me from ordering Pizza Hut with the email under my personal domain. This can be considered a feature.

          1 Reply Last reply
          16
          • johnedwa@sopuli.xyzJ [email protected]

            But they will work, and according to the spec, you have to build your system so that it can handle those cases. Obsolete doesn't mean incorrect or invalid, just a "you shouldn't do this any more".

            Obsolete Syntax
            Earlier versions of this standard allowed for different (usually more
            liberal) syntax than is allowed in this version. Also, there have
            been syntactic elements used in messages on the Internet whose
            interpretation have never been documented. Though some of these
            syntactic forms MUST NOT be generated according to the grammar in
            section 3, they MUST be accepted and parsed by a conformant receiver.

            https://datatracker.ietf.org/doc/html/rfc2822#section-4

            F This user is from outside of this forum
            F This user is from outside of this forum
            [email protected]
            wrote last edited by
            #32

            Some of those "obsolete" things are outright blocked for specific reasons. For example, routing addresses through multiple servers. It was abused by spammers, so it's almost always denied these days.

            Looks like this:

            <@[email protected]:[email protected]>
            
            1 Reply Last reply
            6
            • N [email protected]

              Yeah I feel like the correct answer for anything obsoleted by a more recent RFC should be "Invalid".

              E This user is from outside of this forum
              E This user is from outside of this forum
              [email protected]
              wrote last edited by
              #33

              Complaints about the quiz? Send them to 💩@💩

              1 Reply Last reply
              39
              • C [email protected]

                Question 5 is incorrect, name@example is a fully valid email address, even after RFC 2822

                The spec of RFC 2822 defines an address (3.4.1) as:

                local-part "@" domain
                

                domain is defined (3.4.1) as:

                domain = dot-atom / domain-literal / obs-domain
                

                dot-atom is defined (3.2.4) as:

                dot-atom = [CFWS] dot-atom-text [CFWS]
                dot-atom-text = 1*atext *("." 1*atext)
                

                1*atext meaning at least 1 alphanumeric character, followed by *("." 1*atext) meaning at least 0 "." 1*atext


                If tomorrow, google decided to use its google top-level domain as an email domain, it would be perfectly valid, as could any other company owning top-level domains

                Google even owns a gmail TLD so I wouldn't even be surprised if they decided to use it

                H This user is from outside of this forum
                H This user is from outside of this forum
                [email protected]
                wrote last edited by
                #34

                I don't know if they changes the answer to the question, but it now says name@example is valid.

                spankmonkey@lemmy.worldS C 2 Replies Last reply
                18
                • H [email protected]

                  I don't know if they changes the answer to the question, but it now says name@example is valid.

                  spankmonkey@lemmy.worldS This user is from outside of this forum
                  spankmonkey@lemmy.worldS This user is from outside of this forum
                  [email protected]
                  wrote last edited by
                  #35

                  It says valid but obsolete, which sounds like a contradiction to me.

                  This is technically valid but considered obsolete. RFC 822 allowed domains without dots, but RFC 2822 made this obsolete.

                  Do email suffix not indicate a different domain like .org and .com for websites?

                  1 Reply Last reply
                  4
                  • hellfire103@lemmy.caH [email protected]

                    I scored 13/21 on https://e-mail.wtf/ and all I got was this lousy text to share on social media.

                    B This user is from outside of this forum
                    B This user is from outside of this forum
                    [email protected]
                    wrote last edited by
                    #36

                    5/21 for me LoL 😂

                    1 Reply Last reply
                    1
                    • blackmist@feddit.ukB [email protected]

                      I didn't do that but got 14 anyway.

                      A This user is from outside of this forum
                      A This user is from outside of this forum
                      [email protected]
                      wrote last edited by
                      #37

                      Same. I answered what i thought was correct and got 14!

                      dabster291@lemmy.zipD 1 Reply Last reply
                      4
                      • H [email protected]

                        I don't know if they changes the answer to the question, but it now says name@example is valid.

                        C This user is from outside of this forum
                        C This user is from outside of this forum
                        [email protected]
                        wrote last edited by
                        #38

                        It does say it's valid, but also that it's obsolete, and while the RFC does define valid but obsolete specs, there is nothing defining domains without a dot as obsolete, and it is in fact defined in the regular spec, not the obsolete section

                        H 1 Reply Last reply
                        25
                        • dumnezero@piefed.socialD [email protected]

                          Thanks to RFC 6532, Zalgo text is a-okay.

                          hmmm...

                          Yay! You're average! Time to start making plans for what you'll do when an LLM takes your job.

                          I already have plans.

                          T This user is from outside of this forum
                          T This user is from outside of this forum
                          [email protected]
                          wrote last edited by
                          #39

                          And they are ...

                          1 Reply Last reply
                          0
                          • M [email protected]

                            ::: spoiler My top five from this (all valid):

                            • ":(){␣:|:&␣};:"@example.com # fork bomb
                            • 👉@👈 and poop@[💩]
                            • "@"@[@]
                            • c̷̨̈́i̵̮̅l̶̠̐͊͝ȁ̷̠̗̆̍̍n̷͖̘̯̍̈͒̅t̶͍͂͋ř̵̞͈̓ȯ̷̯̠-̸͚̖̟͋s̴͉̦̭̔̆̃͒û̵̥̪͆̒̕c̸̨̨̧̺̎k̵̼͗̀s̸̖̜͍̲̈́͋̂͠@example.com
                            • fed-up-yet@␣example.com␣ # ␣ = whitespace
                              :::
                            T This user is from outside of this forum
                            T This user is from outside of this forum
                            [email protected]
                            wrote last edited by
                            #40

                            TIL that emoji transcend spoilers.

                            Emoji showing through spoilers

                            1 Reply Last reply
                            15
                            • T [email protected]
                              This post did not contain any content.
                              S This user is from outside of this forum
                              S This user is from outside of this forum
                              [email protected]
                              wrote last edited by
                              #41

                              Pretty much everything I've seen in e-mail is needlessly complicated and weird. So of course addresses are as well.

                              1 Reply Last reply
                              12
                              • C [email protected]

                                It does say it's valid, but also that it's obsolete, and while the RFC does define valid but obsolete specs, there is nothing defining domains without a dot as obsolete, and it is in fact defined in the regular spec, not the obsolete section

                                H This user is from outside of this forum
                                H This user is from outside of this forum
                                [email protected]
                                wrote last edited by
                                #42

                                I see what you mean, I'm with you now.

                                1 Reply Last reply
                                8
                                • F [email protected]

                                  Two of my "favorite" features it didn't even touch on. You can have nested comments:

                                  foo(one(two(three(four(five(six(seven)))))))@example.com
                                  

                                  This will actually fail on that big email regex that gets copied around (originally from Mastering Regular Expressions in 1997), because it can only handle comment nesting to a depth of six. It is actually possible to do indefinite nesting now with recursive regex, but it was developed before that feature existed.

                                  RFC822 also allows routing addresses through multiple servers:

                                  <@[email protected]:[email protected]>
                                  

                                  But this is almost always denied on modern email servers because it was abused by spammers.

                                  T This user is from outside of this forum
                                  T This user is from outside of this forum
                                  [email protected]
                                  wrote last edited by
                                  #43

                                  The routing feature is so cursed XD

                                  E 1 Reply Last reply
                                  2
                                  • T [email protected]
                                    This post did not contain any content.
                                    blackmist@feddit.ukB This user is from outside of this forum
                                    blackmist@feddit.ukB This user is from outside of this forum
                                    [email protected]
                                    wrote last edited by
                                    #44

                                    I don't think it really matters what the standard is, because you'll be completely limited by some 25 year old bit of Regex from Stack Overflow that every web developer ever has implemented into their form sanity checks.

                                    F 1 Reply Last reply
                                    58
                                    • blackmist@feddit.ukB [email protected]

                                      I don't think it really matters what the standard is, because you'll be completely limited by some 25 year old bit of Regex from Stack Overflow that every web developer ever has implemented into their form sanity checks.

                                      F This user is from outside of this forum
                                      F This user is from outside of this forum
                                      [email protected]
                                      wrote last edited by
                                      #45

                                      The main one that gets passed around will match the weirdness fine. In fact, it probably matches things you don't want, anyway.

                                      A signin/registration form really only needs to do sanity checks to get rid of obviously bad addresses. You'll have to send a round-trip email confirmation message to make sure the email is real, anyway, so why bother going into great detail? Just check that there's an '@' symbol and a dot in the domain. Most of the rest is wanking off.

                                      dremor@lemmy.worldD 1 Reply Last reply
                                      18
                                      • B [email protected]

                                        ::: spoiler Tap for spoiler
                                        Email addresses can have comments?!
                                        :::

                                        F This user is from outside of this forum
                                        F This user is from outside of this forum
                                        [email protected]
                                        wrote last edited by [email protected]
                                        #46

                                        Nested comments. RFC822 had a whole bunch of bad ideas in it, but nobody thought much of it at the time. Most programming languages don't even do nested comments, because they want to filter them out with a simple lexer before the grammar ever sees it.

                                        1 Reply Last reply
                                        6
                                        • F [email protected]

                                          The main one that gets passed around will match the weirdness fine. In fact, it probably matches things you don't want, anyway.

                                          A signin/registration form really only needs to do sanity checks to get rid of obviously bad addresses. You'll have to send a round-trip email confirmation message to make sure the email is real, anyway, so why bother going into great detail? Just check that there's an '@' symbol and a dot in the domain. Most of the rest is wanking off.

                                          dremor@lemmy.worldD This user is from outside of this forum
                                          dremor@lemmy.worldD This user is from outside of this forum
                                          [email protected]
                                          wrote last edited by
                                          #47

                                          A domaine without tld (me@home) is a valide address.
                                          I saw an email server being used as a mqtt-like server this way (it is very old and predate those software).

                                          F 1 Reply Last reply
                                          8
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups