thewayne: (Default)
[personal profile] thewayne
A private company assigns license plates to violations, and guess what happens when they can't match the violation - it gets assigned to NULL!

This is a database bug. Null is the concept of absence of value. It is not zero, zero is a value. It is not an empty string. It is an absence of value. It means "this license plate field does not exist". And you cannot compare nulls to nulls - does not compute. Null does not equal Null.

Now, in the case of this guy, his license plate is a string of the letters "NULL". Perfectly valid word. In fact, at a previous job I found someone who had the name of Null! It was their actual family name!

So whoever designed the database is doing a string match where they're doing something like
IF LookupFails 'can't find a match for the plate in the MVD database
  IF [LicensePlate]="NULL" THEN 'we have a match!
    'send the fine to the owner of this license plate

not realizing that some joker might register the license plate NULL.

It's an illustration of bad programming technique that any first year programmer should have gotten an F on their assignment for.

He's gotten the fines dismissed, but continues to receive them.

https://www.schneier.com/blog/archives/2019/08/license_plate_n.html
The comments are amusing - if you're a programmer.
This account has disabled anonymous posting.
(will be screened if not validated)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

January 2026

S M T W T F S
    1 23
45678910
11121314151617
18192021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 3rd, 2026 11:33 pm
Powered by Dreamwidth Studios