News for hackers. Stuff that matters.
Re:Username ending with MIME type format is not allowed by bierjunge on Wednesday September 15, 2021 @04:38AM (#28536705)
Yes, don't do that, name the kid "null" and see the world burning.
Re:Username ending with MIME type format is not allowed by nonameiguess on Wednesday September 15, 2021 @08:33AM (#28538250)
Need to be careful with that. There was a guy in California a few years back that decided the license plate "NULL" would be a fun joke, and he ended up being charged every ticket issued in the state where the license plate wasn't entered.
Re:Username ending with MIME type format is not allowed by hunter2_ on Wednesday September 15, 2021 @09:50AM (#28539002)
I recall pondering the mechanics of this back when I first read about it. Is some software actually replacing an input of "" (empty string) with "NULL"? Or is some comparison so loosely typed that a value of type null is considered equal enough to the string "NULL"?
Re:Username ending with MIME type format is not allowed by shrikant on Wednesday September 15, 2021 @10:54AM (#28539912)
Maybe they were using an Oracle database, where (shockingly) empty strings are treated as equivalent to NULLs.

Edited to add: A "famous" wtf-worthy explainer from Oracle: https://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUEST...

Relevant snippet:

  '' when assigned to a char(1) becomes ' ' (char types are blank padded strings).

  '' when assigned to a varchar2(1) becomes '' which is a zero length string and a zero length string is NULL in Oracle (it is no long '')
Re:Username ending with MIME type format is not allowed by hunter2_ on Wednesday September 15, 2021 @11:36AM (#28540462)
The conflation of empty string with a real null isn't great, but it doesn't also imply conflation of the string "NULL" which is what I'm trying to figure out. The four-character sequence shouldn't ever be considered something other than a four-character string, except for particular non-user-facing situations such as when actually writing code. Even spreadsheet software, which does all kinds of heuristics to find numbers in strings for example, doesn't treat the string "NULL" as anything other than a four-character string, to my knowledge.
Re:Username ending with MIME type format is not allowed by occamrazor on Wednesday September 15, 2021 @11:58AM (#28540728)
Somewhere some system depends on CSV files in Lotus 1-2-3 format transferred over a non 8-bit safe proprietary UUCP variant.
Re:Username ending with MIME type format is not allowed by nradov on Wednesday September 15, 2021 @11:39AM (#28540496)
A similar problem happened to a man with "NO PLATE".

https://www.latimes.com/archives/la-xpm-1986-06-23-vw-20054-...

Re:Username ending with MIME type format is not allowed by dolmen on Wednesday September 15, 2021 @10:23AM (#28539403)
Re:Username ending with MIME type format is not allowed by belter on Wednesday September 15, 2021 @06:52AM (#28537525)
Re:Username ending with MIME type format is not allowed by samhw on Wednesday September 15, 2021 @09:03AM (#28538568)
Relatedly, there's the classic of this woman with the surname 'True', whose iCloud didn't work as a result: https://appleinsider.com/articles/21/03/06/coding-error-lock...
Re:Username ending with MIME type format is not allowed by yellow_lead on Wednesday September 15, 2021 @04:47AM (#28536749)
See your kid have trouble getting any official documentation :/
Re:Username ending with MIME type format is not allowed by tomalpha on Wednesday September 15, 2021 @05:03AM (#28536853)
Or booking flights, filing taxes, signing up for shifts at work: https://www.bbc.com/future/article/20160325-the-names-that-b...
Re:Username ending with MIME type format is not allowed by rPlayer6554 on Wednesday September 15, 2021 @05:01AM (#28536839)
Poor Bobby tables....

https://xkcd.com/327/