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 2 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.
    dumnezero@piefed.socialD This user is from outside of this forum
    dumnezero@piefed.socialD This user is from outside of this forum
    [email protected]
    wrote last edited by
    #14

    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 1 Reply Last reply
    16
    • T [email protected]
      This post did not contain any content.
      scoopta@programming.devS This user is from outside of this forum
      scoopta@programming.devS This user is from outside of this forum
      [email protected]
      wrote last edited by
      #15

      I can't even view it...I get a TLS error

      L nailbar@sopuli.xyzN 2 Replies Last reply
      3
      • T [email protected]
        This post did not contain any content.
        nessd@lemmy.worldN This user is from outside of this forum
        nessd@lemmy.worldN This user is from outside of this forum
        [email protected]
        wrote last edited by
        #16

        14 / 21

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

        blackmist@feddit.ukB tostiman@sh.itjust.worksT 2 Replies Last reply
        16
        • nighed@feddit.ukN [email protected]

          15

          Going to have to try some of those.... Can you actually register emojis as a domain, or is that just the email validation that allows them?

          Edit: most TLDs don't. Smaller ones do sometimes.

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

          Emoji domains can be registered using punycode, and you're right that it's up to the TLD whether they're allowed or not.

          For example: http://📙.la/🐶

          📙.la is encoded using punycode to http://📙.la/

          🐶 is URL-encoded to %F0%9F%90%B6

          Giving the 'true' URL http://📙.la/🐶 which then redirects to https://emojipedia.org/dog-face

          Emails should generally use @xn--yt8h.la instead of @📙.la for maximum compatibility. I'm not sure if the email spec allows punycode.

          1 Reply Last reply
          4
          • N [email protected]

            #18 seems really bad, like no-one-has-ever-sanity-checked-this bad.

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

            Im still trying to figure out what that means. How does @ resolve to an IP address?

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

              Relevant talk from FOSDEM 2018 (warning: poor audio quality): https://youtu.be/xxX81WmXjPg

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

                ::: 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
                  :::
                L T 2 Replies Last reply
                30
                • T [email protected]
                  This post did not contain any content.
                  bjoern_tantau@swg-empire.deB This user is from outside of this forum
                  bjoern_tantau@swg-empire.deB This user is from outside of this forum
                  [email protected]
                  wrote last edited by
                  #21

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

                  F 1 Reply Last reply
                  21
                  • N [email protected]

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

                    johnedwa@sopuli.xyzJ This user is from outside of this forum
                    johnedwa@sopuli.xyzJ This user is from outside of this forum
                    [email protected]
                    wrote last edited by [email protected]
                    #22

                    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 N 2 Replies Last reply
                    22
                    • T [email protected]
                      This post did not contain any content.
                      B This user is from outside of this forum
                      B This user is from outside of this forum
                      [email protected]
                      wrote last edited by
                      #23

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

                      F 1 Reply Last reply
                      13
                      • nessd@lemmy.worldN [email protected]

                        14 / 21

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

                        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
                        #24

                        I didn't do that but got 14 anyway.

                        nessd@lemmy.worldN A 2 Replies Last reply
                        6
                        • blackmist@feddit.ukB [email protected]

                          I didn't do that but got 14 anyway.

                          nessd@lemmy.worldN This user is from outside of this forum
                          nessd@lemmy.worldN This user is from outside of this forum
                          [email protected]
                          wrote last edited by
                          #25

                          Also didn't do that, but that was the text

                          1 Reply Last reply
                          2
                          • 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
                              :::
                            L This user is from outside of this forum
                            L This user is from outside of this forum
                            [email protected]
                            wrote last edited by
                            #26

                            Spoilers!

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

                              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 P 2 Replies Last reply
                              52
                              • 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
                                          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