3 ms·
> "Online registrations are canceled within minutes, tables at restaurants are canceled and given to others (makes surprise dates for partners a hassle), and re
by pavel_lishin 9y ago
> "Online registrations are canceled within minutes, tables at restaurants are canceled and given to others (makes surprise dates for partners a hassle), and renting a car is even worse," Mann says. One time, "I reserved and rented a car through Enterprise online. Confirmation email and everything in hand. I thought going through Costco Travel would eliminate the usual rigmarole, but I was wrong. A few days before [my trip], I called Enterprise to verify the reservation. The woman on the other side was nice about it, but those familiar words stating that they had canceled the reservation because they thought it was a joke came."
Nice, he got the human-equivalent of "Null", the magic name that breaks certain reservation systems.
- maze-le 9y agoI just have to drop the obvious XKCD reference here: https://xkcd.com/327/ https://xkcd.com/327/
- ufmace 9y agoCan't forget the story of Mr. Null: https://www.wired.com/2015/11/null/ https://www.wired.com/2015/11/null/ Wow, even the URL looks funny.
- lb1lf 9y agoThe Norwegian DMV equivalent recently enabled us to order custom plates. I promptly ordered NULL as an experiment. With any luck, the parking ticket database throws a fit.
- qbrass 9y agoHope it doesn't backfire on you. http://www.snopes.com/autos/law/noplate.asp http://www.snopes.com/autos/law/noplate.asp
- userbinator 9y agoA classic, non-computer example of how "in-band signaling" can fail. If only they used some characters which would never be allowed on a license plate, to signify the absence of one...
- yongjik 9y agoOnly tangentially related, but reminds me of the worst Polish driver in Ireland: http://news.bbc.co.uk/2/hi/uk_news/northern_ireland/7899171.stm http://news.bbc.co.uk/2/hi/uk_news/northern_ireland/7899171....
- rootlocus 9y agoOff the top of my head, I can't think of any language where "null" == null
- maze-le 9y agoI can think of a badly designed database interface. All SQL databases handle NULL as a special value, that cannot be compared by equality. But if you want compare the return value of a sql prompt in some language you can make a fallacy like: sqlstring = "SELECT 1 = NULL;" returnValue = callDB(sqlstring) if returnValue == "NULL" // here you go... end A solution would be to let the database handle NULL-values: sqlstring = "SELECT 1 IS NULL;"
- mikeash 9y agoBut can you think of any programmers clueless enough not to realize that there's a built in null value, and use the string "null" instead?
- ygra 9y agoIn Java at least, appending a null reference to another string will append "null": "" + null == "null"
- wtracy 9y agoIt happens pretty quickly once you start producing database queries by manually concatenating strings, or manually parsing database response strings.
- amelius 9y ago> renting a car is even worse I can't blame them. Superheroes usually don't treat their cars well.