1. 24
  1.  

  2. 17

    I know intellectually how this happens (MySQL! Javascript! PHP!), but it is so deeply offensive to my sensibilities that I refuse to accept it.

    1. 14

      I marvel at the apparent decision to use beginsWith instead of equality. Dedication.

      1. 2

        And then apparently going even further and using contains. Seriously, how bad does your backend have to be to not handle “null” in any part of the string.

      2. 8

        I am sometimes surprised that my name (gwozdziewycz) doesn’t cause more trouble on the web; the assumption being that there is some validation on whether or not you are providing a “real” name. But, given that we can’t get “null” vs null right, I think it’s probably tautalogical that no one tries to check that a name isn’t a name and instead a bunch of random letters.

        1. 6

          My last name (D'souza) wreaks havoc on seemingly a third of systems that encounter it. I’m so sick of seeing “please enter a valid last name” that I didn’t even give my child my last name. Just today, for instance, I received mail addressed to “Antonio D'souza”.

          1. 2

            I’ve definitely heard of ’s causing hige problems. Spaces, too. Sorry that its so frustrating.

          2. 4

            I can’t even bring myself to write the thing I was going to about Facebook, here. I’m glad it’s worked for you. :)

            1. 2

              I have an account, havent tried to modify things, and dont use it, or pay attention. Does facebook attempt to validate names in some way? Maybe Ill experiment later…

              1. 11

                In addition to validating names, they encourage users to report each other for not having sufficiently-real names. There’s absolutely no way that could go wrong…

                My name is only real enough to work at Facebook, not to use on the site

                Disclosure: The author of that article is a personal friend.

                1. 7

                  Yeah they do, some American Indian names are rejected as not authentic.

              2. 2

                Out of sheer curiosity, how is that pronounced approximately?

                1. 4

                  Guh-shev-itz.

                  Doesn’t really make any sense.

              3. 4

                I wonder if he is Little Bobby Table’s father…

                1. 2

                  I surprised to learn that the string “Null” poses so much problem to programs. I can’t understand why people would not use an empty string (“”) to indicate a missing value, if their framework does not afford them a true No Value. When being passed to queries I can believe folks not escaping strings properly, but the string “Null” seems innocuous, except for SQL queries where the name is not quoted. For those programs I’m surprised that only Mr. Null had a problem - there are so many other problems with that.

                  1. 8

                    In many a language tostring(null) will return “null”, not “”. (or “nil”, in the case of tostring(nil) in Lua, etc., etc.).

                    People aren’t necessarily choosing to use “null” to indicate a missing value. The problem is rather the opposite that somebody didn’t check for a missing value, fed it into some code that turned it into a string, and now here they are, five years later with “null” stored in their database. (This doesn’t imply they didn’t call sqlquote or bind the variable; no correlation with sql injection.)

                    It looks unprofessional to send a letter addressed to:

                    NULL John NULL Smith NULL
                    c/o NULL
                    123 Main St Apt. NULL
                    NULL
                    Town, XX 12345-NULL
                    

                    So the fix is to turn all the null back into blank.