Тёмный

The Terrible Mistake of Choosing 'Null' as a License Plate 

Half as Interesting
Подписаться 2,6 млн
Просмотров 3,6 млн
50% 1

Subscribe to Nebula at go.nebula.tv/hai
Get a Half as Interesting t-shirt: standard.tv/collections/half-...
Suggest a video and get a free t-shirt if we use it: halfasinteresting.com/suggest
Follow Sam from Half as Interesting on Instagram: / sam.from.wendover
Follow Half as Interesting on Twitter: / halfinteresting
Discuss this video on Reddit: / halfasinteresting
Check out my other channel: / wendoverproductions
Musicbed SyncID:
MB01EHQP09PJEZF

Опубликовано:

 

8 июн 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 6 тыс.   
@halfasinteresting
@halfasinteresting 4 года назад
inb4 everyone puts their name as "null" in the HAI suggestions form. But if you do, just make sure to include a quality topic suggestion along with that, because not only do these suggestions help fuel the channel, they also get you "the viewer" a free HAI t-shirt if we use your suggestion. Submit here: docs.google.com/forms/d/e/1FAIpQLSfUdlvw6YgU44J8AnM2U_ZvRMyvh_CUM51LYSqF5nYJB9d1-w/viewform?usp=sf_link
@leakd
@leakd 4 года назад
hi
@thenickstrikebetter
@thenickstrikebetter 4 года назад
Llun is Null but backwards
@VincentFarides1776
@VincentFarides1776 4 года назад
I predict that Sam will respond to this.
@nikhii
@nikhii 4 года назад
.
@chedidkamal837
@chedidkamal837 4 года назад
Email address *null@null.null Name null Suggested topic *null Websites/articles to learn more about this topic null
@zuccx99
@zuccx99 4 года назад
You know ur database is bad when null (the value) is confused with "null" (the string).
@dailygtyler
@dailygtyler 4 года назад
lol if you could try using an escape sequence or comment that would be so much worse
@onradioactivewaves
@onradioactivewaves 4 года назад
But.... what about the bull ascii character? 🤔 0x00 vs not entering a value, may not not yield the same results.
@maxm745
@maxm745 4 года назад
I literally just started learning about databases in my coding school yesterday, and we already covered how to differentiate between a protected word like "null" or "sum" or "select" or anything like that, and the string version of that word smh
@spambot7110
@spambot7110 4 года назад
strictly speaking, "null (the value)" is a meaningless statement, since both the things we're talking about are values. a string is a type of value. you could say "null (the type)" and be correct for most languages
@Symbiatch
@Symbiatch 4 года назад
Exactly. The video is hugely false saying things wrong. A bad programmer wrote bad code. Databases don’t usually confuse these things at all. Nor does location come up as “null, null” from GPS or anything else. Only if you don’t know what you’re doing it may be converted to such thing.
@dfined3630
@dfined3630 4 года назад
If your system confuses `null` and `"null"` it's pretty trash to be honest
@michaelmoses8745
@michaelmoses8745 4 года назад
It's good enough for government work though. What else were you expecting.
@nicholas_scott
@nicholas_scott 4 года назад
You would be surprised. I see this all the time. Plus, there is a whole section of hacking devoted to text injection, where programs expect ordinary text, but actually get code that is tricked into running. Bad programming is the cause, and there is no easy fix for bad programmers.
@denny-lp1qb
@denny-lp1qb 4 года назад
if(value == null) then value = "NULL"; probably they did this LOL
@krozareq
@krozareq 4 года назад
ASCII 00 = null This is an issue of not sanitizing input to a database which could open it up for other exploits such as SQL injection attacks.
@KuK137
@KuK137 4 года назад
@Jonathan Williams You mean corporate scumbags hiring interns to pocket all the profits they can to buy tenth Ferrari because morons like you bought 'gubmint is bad' propaganda and let the IT systems be outsourced to incompetent private parasites instead of having proper in house IT workers? Because it works in countries who actually let government to do it instead of drinking 1% kool aid that private is da best and it will trickle down...
@lilacdoe7945
@lilacdoe7945 3 года назад
"You can't change your last name Mr. John Null." "Why not?" "I have to enter your current name before you can choose a new one." "But it's Null." "Sorry, my computer won't let me enter that. You can always try calling our central office. It's the one that puts you on hold for hours before randomly disconnecting."
@Sonicbro-xx6sg
@Sonicbro-xx6sg 3 года назад
Bruh I spent all day working on this name and all week getting the money for it, please let me change it! Null isn't the same as "null" . Null is a value, "null" is a string! Lemme change it!
@LRM12o8
@LRM12o8 2 года назад
_"can't change because current name does not exist"_ Ah gotta love these errors only a computer can make. The fact they can't deal with paradoxa gives me confidence that us humans are still the masters.
@traildoggy
@traildoggy Год назад
My brother told me of a co worker at his store named J B Jones. Literally that was his entire legal name. He needed to get a name tag and somehow the computer terminal submission form kept rejecting the single letters as valid names so he wrote J (only) B (only) on there thinking someone would figure it out. Next week he received a name tag for Jonly Bonly Jones which he proudly wore. Somehow it messed up his payroll and he did not get paid for several weeks before they figured it all out. 😀
@Thebiggestgordon
@Thebiggestgordon Год назад
Jonly Bonly Bones is a hilarious ID lol. I used to know a kid just called H, pronounced “haich”. No idea what happened to him.
@quillclock
@quillclock Год назад
that's a Henry Cho joke... "Jonly Bonly from boldly go" probably a common thing to happen
@tashaedwards
@tashaedwards Год назад
My Great great grandfathers name was JT. When he went to join the Army, they told him he needed a real name. He made up John Thomas on the spot.
@kylemichaels3373
@kylemichaels3373 3 месяца назад
Under federal law your employer is required to get you paid on time. At my last job I accidentally filled out my direct deposit info wrong. I didn't get my first check deposited. I went into work and was told payroll was in another state and I'd have to wait until the following payday. I stood right in the HR office and called an attorney. That attorney contacted my state attorniey general. A private courier brought me my check before noon the next day from half the country away.
@TheBestYTPer
@TheBestYTPer 3 года назад
People with the surname "Null": *Exist* Computer databases: I'm gonna pretend I didn't see that.
@stepha7102
@stepha7102 3 года назад
Off topic, but I really like your profile picture.
@ballkicker931
@ballkicker931 3 года назад
Imagine spawning at 0,0
@costin88boss74
@costin88boss74 3 года назад
You guys are wrong. Variables are used. So a String can hold anything, even null. Just that unicode normaly is not supported.
@bertie9653
@bertie9653 3 года назад
Johnetta Erty morgana in this comment section, ** i never saw that comiiiiiing**
@sleepyinnuendo
@sleepyinnuendo 3 года назад
my science teachers last name is null🗿
@kalenmeisner9966
@kalenmeisner9966 4 года назад
"Coordinates 0,0" Ah yes in the oldest anarchy server on minecraft
@stefangog2852
@stefangog2852 4 года назад
2B2T
@bradendolphinsfan1960
@bradendolphinsfan1960 3 года назад
THE OLDEST ANARCHY SERVER IN MINECRAFT
@KaNoot_
@KaNoot_ 3 года назад
WHAT IF I TOLD YOU THAT ON THE OLDEST ANARCHY SERVER IN MINECRAFT
@InvalidOS
@InvalidOS 3 года назад
what if we are on the oldest anarchy server in minecraft 😳😳
@buchitomilx474
@buchitomilx474 3 года назад
fitMC will throw a fit over this comment
@MYJ61
@MYJ61 3 года назад
I knew a man who had “NO TAG” as his plates some 30years age. At that time Virginia Police used that phrase for ANY vehicle not displaying a valid state license plate. He as well changed it after receiving thousands of parking tickets and fines.
@43Cubes
@43Cubes 3 года назад
lol
@melkiorwiseman5234
@melkiorwiseman5234 3 года назад
That sounds like the man who got a "NO PLATE" set of plates. Story in my comment above.
@RandyA7
@RandyA7 Год назад
Same with NA or N/A
@FerriitDev
@FerriitDev 4 месяца назад
@@RandyA7 You know that "NA" or "N/A" will be stored as a string and not a value, right?
@0raj0
@0raj0 3 года назад
As a programmer myself, I can't imagine how one can write an application in such a stupid way that it doesn't distinguish a TEXT STRING with the value "NULL" from an actual NULL value. While it is relatively easy to mistake an EMPTY text string (one that does not contain any character) with the NULL value, as under some circumstances they can be both evaluated as "nothing", I can't imagine how one can mistake the "NULL" string, which consists of four characters and certainly doesn't look like an empty string, with the NULL value which is actually nothing and NEVER converts to the text "NULL".
@Keldor314
@Keldor314 Год назад
I guess you haven't encountered Javascript implicit conversion. See, in their infinite genious, the developers of the language decided that it would be a *good* idea to automatically convert between textual strings and numbers, so if you, for instance, try to add the number 7 to the string "13", it will automatically convert the string to a number, add 7, and give you a final answer of 20. It can be supposed that this was convenient for developers of spreadsheet websites that would otherwise have to explicitly call a conversion method for every single binding, but this has nasty potential consequences. The one relavent to the video is what happens if you try to use a NULL to look up an entry in a string dictionary, the interpreter will detect that there's a type mismatch and try to implicitly convert NULL to a string to match the types. This results in the NULL turning into the string "NULL", and if an entry in the dictionary happens to have "NULL" as its key, well, congratulations, you have reproduced the circumstances leading to the bug in the video.
@BPlank64
@BPlank64 Год назад
Any software engineer who confuses a null (ASCII(0)) with an empty string needs to rethink their career choices.
@PauxloE
@PauxloE Год назад
That can happen when exporting data to a format which doesn't have an explicit NULL value (e.g. CSV), and then importing it again. Of course, it shouldn't happen if you are careful, but it can happen without actual ill intent.
@rollanddev
@rollanddev Год назад
Here's a simple answer for ya... The software was most likely written in COBOL. :D
@tyaty
@tyaty Год назад
@The Mystic Savages ORM-s are much slower than native SQL queries.
@alexwolfeboy
@alexwolfeboy 4 года назад
If your database can’t handle “null”, the string, you need to seriously reconsider your hiring choices. Like, sanitising inputs to prevent the string “null” from becoming null, is like, a must know for working on a database. Makes me laugh, thinking you could preform something like a SQL Injection, through something as silly as a license plate.
@joemck85
@joemck85 4 года назад
Sanitizing inputs is important, but it isn't even needed to prevent this sort of screw-up. In SQL, NULL is the value, "NULL" is the string, and they aren't equal. When searching for values, == "NULL" will find the string "NULL", while to find actual null values, you have to say IS NULL. I'm guessing what they've done is read a bunch of values, feed them through some processing that destroys the distinction between strings and null values, then scanned through it. The problem isn't something they've forgotten to do, it's something stupid they're adding.
@molly3237
@molly3237 4 года назад
@@joemck85 as it said before, they are filing everything the cops missed under something called "NULL". My guess is instead of actually assigning it a null value they made a fake registration called NULL for all their filing errors. Now instead of editing that fake registration's values, they were accidentally editing this real persons record.
@anotheraggieburneraccount
@anotheraggieburneraccount 4 года назад
just wait until they hear about bobby tables
@niravko
@niravko 4 года назад
They're probably still using COBOL...
@crazedvidmaker
@crazedvidmaker 4 года назад
Or, since somehow the only evidence we have is apparently that he went to talk shows and said this happened, he just lied because that doesn't make any sense. Even if there was a careless cast to string, I'm certain most languages, assuming they didn't just error, would turn a Null/None into an empty string ""
@toto_feather8732
@toto_feather8732 3 года назад
"The requested human does not exist" I want that line on my gravestone...
@Akira_fujimaru
@Akira_fujimaru 3 года назад
Lmao same
@azain9470
@azain9470 3 года назад
That was on my grandpas no joke lmao
@cowboy_levi6283
@cowboy_levi6283 3 года назад
Thats fucking genius
@textbooktunic5
@textbooktunic5 3 года назад
Not if I beat you to it.
@palmberry5576
@palmberry5576 3 года назад
Textbook Tunic5 👀
@h-0058
@h-0058 3 года назад
Why would a police database consider "null" the same thing as null...? Like, wtf?
@h-0058
@h-0058 3 года назад
@@mymo_in_Bb Yeah, but it's a police database, not your average shitty project that you do on your own and get bored of it in 2 weeks...
@fluxx2875
@fluxx2875 3 года назад
@@h-0058 When you get bored of a project after 2 weeks, then you've definitely done a wrong project ...
@richardlarge9181
@richardlarge9181 2 года назад
Government software is usually contracted out to cheap firms I believe
@Julianna.Domina
@Julianna.Domina 2 года назад
@@h-0058 Every government contract goes to the lowest bidder. Including that bridge you drive over to get to work every day. Sleep well!
@LRM12o8
@LRM12o8 2 года назад
The question isn't so much _why,_ it's _how._ To my knowledge any database management program these days, be it Microsoft SQL, MySQL, Maria DB, etc., would treat the user input "Null" different from an actual Null, so seriously: *_HOW?_*
@dynpallomah5918
@dynpallomah5918 3 года назад
null is not the same as "null" null is a value, "null" is a string
@tehalexy
@tehalexy 3 года назад
you're wrong, "null" is a value, null isnt ... knowledge throws nullpointer :D
@Aidiakapi
@Aidiakapi 3 года назад
They're both values, just of different types, depending on the language, null can be untyped (like in C#), a special type (like in JS), or just a special value (like in C). Whereas "null" is of some string type.
@InsomniaCast
@InsomniaCast 3 года назад
Null is a data type of NULL and "null" is a data type of string :P They are both values.
@nullnull3517
@nullnull3517 3 года назад
i am but null as a human
@lorenzo42p
@lorenzo42p 2 года назад
@@Aidiakapi "null" is a string of values, hence the name string. it's more than one value, which can itself contain a null value or use null as the ending marker.
@hoangtran4736
@hoangtran4736 4 года назад
"there is no easy fix" the fix is called not being lazy and actually treating literal string "null" as a literal string. this is the stuff they teach within the first month of a cs program.
@howardbaxter2514
@howardbaxter2514 4 года назад
And is a two second fix
@samuelmellars7855
@samuelmellars7855 4 года назад
Yeah, but you now need to fix that lazy mistake in... well, almost everywhere. Without bricking whatever systems are running on the code you are fixing. That's the tricky part, not "not making the mistake"
@Ian-bt8dz
@Ian-bt8dz 4 года назад
Just like the self retweeting tweet lol, lazy programming
@dmartk
@dmartk 4 года назад
Amen
@photonicpizza1466
@photonicpizza1466 4 года назад
@@samuelmellars7855 Or you could just, y'know, keep it in mind when building a database like any half-decent programmer, as opposed to fixing it with a bodge a decade or two down the line. Always sanitise your inputs, people. *Especially* when dealing with SQL and/or PHP.
@unclestarwarssatchmo9848
@unclestarwarssatchmo9848 4 года назад
"I bless the rains down in [NULL ISLAND]"
@pqbdwmnu
@pqbdwmnu 3 года назад
My stand 「Null Island」is undefeated!
@sandeater1133
@sandeater1133 3 года назад
Someone, get the anti weeb spray!
@Incognito_Blazer
@Incognito_Blazer 3 года назад
@@sandeater1133 Nah, too lazy being a resident of Null Island
@Jc27uhh4h4h4
@Jc27uhh4h4h4 3 года назад
I live in [redacted] road
@Blank55600
@Blank55600 3 года назад
How the fuck is this funny? Oh right... We now laugh at stock images of chairs..
@whateverrandomnumber
@whateverrandomnumber 3 года назад
Even better would a license plate saying '); DROP TABLE *;
@j0code
@j0code 3 года назад
outplayed the mysql system
@InsomniaCast
@InsomniaCast 3 года назад
I prefer TRUNCATE TABLE. See then all the data is gone and they wont know right away. With DROP TABLE someone will know right away from query errors and they can run a quick backup :P
@Ikebot
@Ikebot 3 года назад
"Oh yes, little Bobby Tables we call him."
@shaunavalon843
@shaunavalon843 3 года назад
EXEC sp_MSForEachTable 'TRUNCATE TABLE ?'
@edwardsmith7131
@edwardsmith7131 3 года назад
@guilherme mauricio - thank you for the xkcd reference
@ktheveg
@ktheveg Год назад
There's a pretty big difference between writing "6E 75 6C 6C" in your database than to write "00" in your database
@BusinessWolf1
@BusinessWolf1 Год назад
javascript.
@keiyakins
@keiyakins 4 месяца назад
00 is a valid string. You need to record the difference in *type*.
@benjaminclehmann
@benjaminclehmann 4 года назад
"There is no easy fix" Yeah there is. Everytime this issue shows up it is a mistake. QA should always test true null input (i.e. nothing) and string null (i.e. the string literal "null"). They should never be confused unless you have impressively stupid type coercion or you are using query strings instead of parameterized queries, which is bad practice, as without proper sanitization you have security issues far larger than this one.
@pitaya4151
@pitaya4151 4 года назад
Or, use string literals, but make the string something that can never be on a plate - "NULLNULLNULLNULL" for example!
@lm1338
@lm1338 4 года назад
@@pitaya4151 No, the correct solution is definitely to have a strong type system. A lot of people are blaming the programmers / QA testers, but I don't know if that's really right if languages have such implicit type systems where you have to be on your toes all the time
@dismiggo
@dismiggo 4 года назад
Thinking of it, that would be a great way of doing SQL injection on police servers
@toasterr4238
@toasterr4238 4 года назад
@@pitaya4151 yeah, what could go wrong?
@camiscooked
@camiscooked 4 года назад
@@pitaya4151 What?
@Araitik
@Araitik 4 года назад
To be fair, the string value "NULL" and the *_actual real true_* NULL are two very different things. A well-built database and software can handle "NULL" just as fine as things like "1 = 1" or " ';--" But that would imply competent programming and data management which is a fairy tale given the reality of software in the world. The silver lining is at least we get videos with terrible jokes thanks to them !
@johngaltline9933
@johngaltline9933 4 года назад
agree mostly, but it's just lazy not to check the data type. ex: if you wanna be real lazy about it, if null: check data type.
@prithvirajb1953
@prithvirajb1953 4 года назад
What is it with 1=1
@pxolqopt3597
@pxolqopt3597 4 года назад
@@prithvirajb1953 destruction and death
@fredyy
@fredyy 4 года назад
came here to add this comment but, you were faster than me. null
@bersl2
@bersl2 4 года назад
"true NULL" Whoa there! This got unnecessarily kinky quickly...
@teunjojo
@teunjojo 3 года назад
“They run the risk of breaking every modern database” No they don’t
@melkiorwiseman5234
@melkiorwiseman5234 3 года назад
Correct. Idiot is just quoting an urban legend, possibly based on a real case which I outlined in my comment.
@jonathanzimmer8143
@jonathanzimmer8143 3 года назад
Remember Y2-K? Yeah. Me neither.
@meowdudefr
@meowdudefr 3 года назад
Hacking without hacking
@NickRoman
@NickRoman 3 года назад
@@jonathanzimmer8143 , Y2K, yeah I remember. We weren't sure what would happen. And I had to update firmware on some computers to prevent the otherwise inevitable problem.
@troodon1096
@troodon1096 3 года назад
@@NickRoman The money to solve the problem wasn't wasted, because the computers would have to be updated anyway. Fire insurance is not a waste of money just because your house didn't burn down.
@nn26376
@nn26376 2 года назад
I recall reading a news article some years ago about someone who had the one-digit vanity license plate "0" in Illinois, which law enforcement from around the state (not thinking it could be a real plate) had routinely used as a dummy plate when testing systems. As I recall, the actual owner lived in Chicago and found out about the problem when his car was booted for tens of thousands of dollars in unpaid citations (which obviously weren't his).
@hydrochloricacid2146
@hydrochloricacid2146 4 года назад
Database programming 101: ALWAYS sanitize your inputs
@neeneko
@neeneko 4 года назад
Sanitizing inputs does not really help this class of problem. DBs can handle nulls. If the string 'null' is making its way it, that means something upstream in the workflow is sanitizing its inputs, maybe even passing through some intermediate format that doesn't have an explicit null. But by the time it is hitting the DB, it is already a string.
@benson3955
@benson3955 4 года назад
neeneko What he said
@undefinedchannel9916
@undefinedchannel9916 4 года назад
you dont want your inputs to catch COVID!
@colin-campbell
@colin-campbell 4 года назад
neeneko That could potentially lead to problems down the road. Best to sanitise inputs/use whitelisting in line with best security practice.
@DavidAbyssal
@DavidAbyssal 4 года назад
Dear mister/miss HCl, thank you...
@taguetrash
@taguetrash 4 года назад
The string "NULL" is distinct from the actual value "NULL" in any well-designed system. These are the consequence of poor design, not an innocent mistake.
@sumbuddy4088
@sumbuddy4088 4 года назад
Either that or some sort of sick prank.
@BladeOfLight16
@BladeOfLight16 4 года назад
In fact, it's the default in virtually every database and programming language. Someone would have to actively write code to treat them the same in any system I know of, even if the developer is incompetent enough to be creating SQL injections.
@Chrischi3TutorialLPs
@Chrischi3TutorialLPs 4 года назад
Just wait until you learn how many websites regularily fall victim to SQL Injections even though SQL has a command specifically dedicated to preventing that.
@taguetrash
@taguetrash 4 года назад
@@Chrischi3TutorialLPs I'm well aware of that, believe me. That, as well, is a consequence of poor design and/or dumbassery
@HDTomo
@HDTomo 2 года назад
Thanks Sam! This actually seriously helped. I nearly did it and couldve been cost thousands! I'll choose NaN now after my grand mother!
@duffontherun381
@duffontherun381 Год назад
This joke is underrated as hell.
@Viper-dz2kw
@Viper-dz2kw 2 года назад
Interesting that you can’t put “Samsucks” but I’ve literally seen a “cops suck” plate, it was over 10 years ago, but I remember it strikingly because of how dumb of an idea for a plate it was
@LRM12o8
@LRM12o8 2 года назад
lol! The best thing about this story is the thought that because of that anti cop plate, the cops won't be all that nice to him, which reinforces his anti cop attitude with each traffic stop! 🤣
@hoghuhaghu8506
@hoghuhaghu8506 Год назад
@@LRM12o8 Time to get a pro-cop license plate
@juanin200
@juanin200 9 месяцев назад
Cops do suck though
@dominykaszakrys3373
@dominykaszakrys3373 3 года назад
-programmer sees a "NULL" plate while driving -brains: *null.pointer.exception* -proceeds to crash into a tree
@JohnMarkIsaacMadison
@JohnMarkIsaacMadison 3 года назад
You'll be okay. Just don't de-reference it. Okay. Maybe dereference it. But definitely don't try to invoke it after you de-reference.
@maknyc1539
@maknyc1539 3 года назад
rip tree
@iMonZ00
@iMonZ00 3 года назад
@@jan-olemichael4967 yep
@Kevin-ht1st
@Kevin-ht1st 3 года назад
My Asian girlfriend must have ‘Null’ embedded in her eyes lol
@baconboy486
@baconboy486 3 года назад
@@maknyc1539 yeah lol
@stephenwaldron2748
@stephenwaldron2748 3 года назад
RU-vid: Here's why you can't have NULL as a licence number. Me who lives in a country where the plate format makes NULL impossible: Sure, why not.
@veryinactiveukmapping
@veryinactiveukmapping 3 года назад
the UK?
@georgiykireev9678
@georgiykireev9678 3 года назад
@@veryinactiveukmapping Most of the world, really. For example, the Russian license plates follow this pattern: 1 letter, 3 numbers, 2 letters. The city code is added at the end in the form of 2 slightly smaller numbers. While you can still pick the letters and numbers for your plate if you pay the price, you can't just use a word.
@abhishekanil99
@abhishekanil99 3 года назад
In my country it's SS xx ABC xxxx where ss is state code, xx two digit regn office code within the said state, ABC any no of alphabets in a sequence that increases after xxxx the 4 digit number reaches 9999 for eg: KA 56 AA 5623... And the only thing you can get is the last 4 nos that you can pre book before you register your vehicle. Once a registration is assigned, that vehicle carries it till it's end
@stephenwaldron2748
@stephenwaldron2748 3 года назад
@@veryinactiveukmapping Caribbean. It's different by island state but here it's PAA xxxx, where P represents the parish/function, AA is 1-2 optional letters added for larger parishes where there are not enough numbers for the population, or for extra function info (e.g. Z means "taxi", ZR means "route taxi"), then a 1 - 4 digit registration number. e.g. O 357, MA 1027, XM 4
@nq2c
@nq2c 3 года назад
Pretty sure you can get it anywhere when you get a private plate, you can choose
@stumiles86
@stumiles86 3 года назад
There's an identical story to this where the plate was "No Tag" so every time there was a car parked with no plates the cop wrote no tag on the ticket
@randolpho-
@randolpho- 2 года назад
In another state (I forget which)some had '0000000' as their license plate number and that's their unknown plate default and this person also had tens of thousands of dollars in fines.
@maotingdew
@maotingdew 4 года назад
Requests for the “Null” license plate has increased dramatically.
@safebox36
@safebox36 4 года назад
As a software developer, I would apologise but this is testing 101 nowadays. Someone fucked up, and it made it's way from development to signoff without anyone checking.
@ashtenlastname4045
@ashtenlastname4045 4 года назад
null
@its_chris_cross
@its_chris_cross 4 года назад
' or 1=1 --
@hermit7290
@hermit7290 4 года назад
As a software developer, do you really thing the dmv pays a competitive wage or do they just get software developers who couldn't get a high paying job? Or if they use a third party company on a contract, do you think that third party is trying to make the most rock solid software, or just trying to finish it as quick as possible to move on to the next contract and make $$$?
@clark523
@clark523 4 года назад
Yeah I sorta hate the implication that this is a universal issue that hasn't been widely solved by sanitizing inputs, etc
@myownsite
@myownsite 4 года назад
These systems are very much legacy, though.
@michaelmorris4515
@michaelmorris4515 3 года назад
I've worked on software that handles and issues license plates in Tennessee, so I have some insight into how this might happen. These days clerk's offices are using web apps on county and state intranets built to purpose. These use browsers, and the datatype of all inputs from a browser is a string. So what you have is a programmer who made a wrong assumption about people choosing the word "null" as a vanity plate name - or rather they likely didn't give it any thought until the bug came up. I had a similar snafu crop up where I was working where the original programming team assumed no 2 plates could ever have the same value. A reasonable assumption until someone let a vanity plate expire, then successfully appealed to the state to have the name opened back up for them for the second plate from 2 years ago. Our system wasn't having any part of it - until I backdoored the system and deleted the original expired plate because I didn't have the time to do a proper fix of altering the system to use a true primary key on auto-increment as it should have been doing in the first place. Besides, I was only altering the county's local copy of the record - the state official record still had the original expired plate's existence on file in the unlikely event anyone ever needs to know about it.
@BusinessWolf1
@BusinessWolf1 Год назад
That is the longest way of saying "javascript" I've ever seen.
@FireyDeath4
@FireyDeath4 2 года назад
This is why it's very important to distinguish strings and senselessly labelled values such as true, false, null and undefined. In fact, as I was typing this, I just put quote marks around them to label them, and then I realised they were strings and removed them. Be careful out there, programmers
@PHCuber
@PHCuber 4 года назад
*Simple: differentiate “null” and null value.*
@xwtek3505
@xwtek3505 4 года назад
I see you're not a programmer, then.
@gg-sr6ju
@gg-sr6ju 4 года назад
"null" = string null = Null If you all using c++ don't use null as a pointer
@raptorm8242
@raptorm8242 4 года назад
permanent and can't be changed later The comma placement in your comment really pisses me off.
@Monk-E
@Monk-E 4 года назад
@@raptorm8242 bruh, moment
@rx7241
@rx7241 4 года назад
@@Monk-E But that would ruin the lives of atleast hundreds of extra megabytes
@wantedbonbon6443
@wantedbonbon6443 4 года назад
Last name: Null Computers: I have never met this man in my life
@charleswesthoff5954
@charleswesthoff5954 4 года назад
True
@mi.janLuna
@mi.janLuna 3 года назад
@@charleswesthoff5954 false, any well-built database/program can differenciate the string "Null" and the actual Null type, they just had shit devs
@vinceramcesoliveros6739
@vinceramcesoliveros6739 2 года назад
This happens to Ms. True where she can't access her apple account due to her last name.
@ShaneNull
@ShaneNull 3 года назад
Lol, my name's been breaking code since the 80's sometimes I'd have to enter a fake last name to register on banking websites. Before Irish people were established in the US they had to remove the Mc from names like McNull etc. I still deal issues with some government software to this day they have trouble with my accounts.
@Baddino45
@Baddino45 3 года назад
People now: Null is scary. People before: What are you gonna do? Hack my free minecraft acount?
@torquetheprisoner
@torquetheprisoner 3 года назад
im not scared of any thing but null that scares me
@miauthe1
@miauthe1 3 года назад
Lmao
@karlturner5678
@karlturner5678 3 года назад
@Shakhbulat Gazgireev yes, just because you don't get it doesn't mean it isn't a joke.
@eyks8562
@eyks8562 3 года назад
Good times.
@tornadomash00
@tornadomash00 3 года назад
null the Minecraft creepypasta: allow me to introduce myself
@s0lati
@s0lati 4 года назад
Now, someone needs to put ' ' as their license plate.
@CoderShare
@CoderShare 4 года назад
yEeT'; DROP ALL TABLES; --
@miraflynn8935
@miraflynn8935 4 года назад
CooCooWizard You say that as if that exact vulnerability isn’t all over the place...
@CoderShare
@CoderShare 4 года назад
@CooCooWizard Especially on government programs designed specifically for bureaucracy.
@franchufranchu119
@franchufranchu119 4 года назад
@@CoderShare Little table-yeeter, we call him
@melody_florum
@melody_florum 4 года назад
CooCooWizard honestly seems more likely to break things than ‘null’ as a string, and null did break things
@anybudz
@anybudz 3 года назад
0:46 "suggestions that you're a cop" I'm from New Zealand, but a friend of my parents has a license plate that is literally "IMACOP" (*His reason for the plate is because he drives a Holden Commodore which cops in our country use as cop cars*)
@ahotdj07
@ahotdj07 2 года назад
I had “OMYPUSE” as plates in Dallas TX for years until they caught on what it sounds like when pronounced.
@Operative13
@Operative13 4 года назад
People who didn't even pass basic programming 101 getting jobs to code entire police databases meanwhile I'm out working minimum wage as an intern doing mundane tasks with a college degree and years of crippling debt. Economic efficiency at its finest.
@klexfire4384
@klexfire4384 4 года назад
@Cant think of a name Well in Switzerland you get a start wage of 9,5k CHF as a web dev
@wandererreece9540
@wandererreece9540 4 года назад
Tell me about it. I once tried to get a minimum wage job at kohls. I was told I couldn't have it because I had no BS degree. Meanwhile, the greeter literally can't talk, the sales person is making everyone mad, and the cashier is literally yelling, "I CAN HELP YOU OVER HERE!" to literally no one. Once I accidentally agreed to an interview at a gas station. I wasn't interested in the job, so I basically did the opposite of what they teach you to do in an interview. I was hired on the spot! The truth is, companies don't want to hire smart people. They want to hire dum people.
@TheNapalmFTW
@TheNapalmFTW 4 года назад
@@wandererreece9540 that's literally the plot of Ted.
@anthony64924
@anthony64924 4 года назад
Don't make yourself a victim to this world. There's a reason that some people are successful and some aren't, and it isn't how well you can follow orders 😉
@Chrischi3TutorialLPs
@Chrischi3TutorialLPs 4 года назад
And for that matter, the countless SQL Injections that still happen every year even though SQL comes with a command built specifically to make those ineffective.
@MetalDeviltv
@MetalDeviltv 4 года назад
"no easy fix" NULL "NULL" Tadaaa.. Who is going to wire me millions of dollars now?
@imadrifter
@imadrifter 4 года назад
✌Null✌
@matta6011
@matta6011 4 года назад
@@alessandrohidalgo25 I was too, one means it is undefined while the other is the string "null".
@howardbaxter2514
@howardbaxter2514 4 года назад
What are they storing these names in? If it's anything other than a String or char array, then there are more underlying problems than simply mishandling null.
@blackwersus
@blackwersus 4 года назад
It's amazing how many bad programmers there are out there
@blackasthesky
@blackasthesky 4 года назад
Still not easy to change each and every system out there. Many database systems out there are old. I mean, ooooooold. At least over here where I live.
@sircompliments5380
@sircompliments5380 3 года назад
I'm making my license plate "your" because I think it would be funny.
@dr.jamesolack8504
@dr.jamesolack8504 2 года назад
How so?
@pi_xi
@pi_xi Год назад
In Germany there is house in the Reinhardswald forest called Tillyschanze. The problem is that this area does not belong to a municipality and has no ZIP code. For all administrative acts, like registration office, driving license office, electoral office and so on for the two residents, the responsible authority is the forest office of Münden, Lower Saxony.
@raccooncafe5689
@raccooncafe5689 4 года назад
Great, now I HAVE to try it out.
@raccooncafe5689
@raccooncafe5689 4 года назад
@Not Bob watch me
@isaaccool3183
@isaaccool3183 4 года назад
Same
@idklol2566
@idklol2566 4 года назад
Voltaic had a good idea
@Justin-ee1mv
@Justin-ee1mv 4 года назад
Me too fellow commenter
@Source_of_Sanctuary
@Source_of_Sanctuary 4 года назад
No, don't do it!
@PhilDaw
@PhilDaw 4 года назад
"There is no easy fix" As if database engineers haven't been sanitising inputs since injection was discovered
@denny-lp1qb
@denny-lp1qb 4 года назад
Yeah but then there's people that code in php...
@NovemberOrWhatever
@NovemberOrWhatever 4 года назад
*As if database engineers haven't been told to sanitise inputs since injection was discovered
@yerdude
@yerdude 4 года назад
ikr, had they sanitized the input data, this wouldn't have happened, It's so sad that the world is full of stupid people. real engineers know how to use nulls in their code.
@polyhistorphilomath
@polyhistorphilomath 4 года назад
If you hook your database straight to the inter webs without anything in between... that’s a problem already.
@adamlabus9979
@adamlabus9979 3 года назад
Ok so next we will try out undefined, false, true, and all the HTML tags
@KimmoVirtanen
@KimmoVirtanen 2 года назад
1:27 Love how in the background stock video our G-Man is dealing with a screen he mistakenly thinks is touch-enabled.
@ShadowGamer507
@ShadowGamer507 4 года назад
Some wannabe tough guy: "Don't mess with me, I'm pretty good in a fight" Some dude whose last name is Null: "oh yeah? My very existence destroys every database known to man."
@ihateloudbitches
@ihateloudbitches 3 года назад
He is the chosen one
@Kutchy7765
@Kutchy7765 3 года назад
@Haley Fucking Halcyon - Gaming Channel 90% databases known to man
@HECKproductions
@HECKproductions 2 года назад
*every database constructed by a mentally challenged 5 year old who knows literally nothing about computers
@cubbyrubenstein945
@cubbyrubenstein945 4 года назад
"Ah, yes, we call him little Bobby Drop Tables."
@FurryWrecker911
@FurryWrecker911 4 года назад
That is such a wonderful comic.
@BladeOfLight16
@BladeOfLight16 4 года назад
Actually, as useful as that comic is, the code that allows those injections wouldn't cause this behavior.
@daryfitrady7590
@daryfitrady7590 4 года назад
I bet Bobby Tables' mother has that Null license plate as well.
@hyearwood1
@hyearwood1 3 года назад
I used to work for an organization that did a large amount of our business by US mail. We had clients that lived on Nonesuch Road in Abilene, Texas. It was almost impossible to get them stuff by mail. It would be returned as undeliverable even though the address is in the USPS database when you do an address search on the USPS Zip Code site and we used the Zip+4 zip code. There are multiple towns throughout the US with the name Nonesuch or None Such.
@josephiroth89
@josephiroth89 Год назад
I heard about someone doing something similar with their license plate but theirs was “NO TAGS.”
@LyricWulf
@LyricWulf 4 года назад
_It might not be a vulnerability._ The dmv violation submitter might put the literal string "NULL" as a default plate# if the input is empty. Literally anything is possible, considering *the system let them submit empty license plates for traffic violations* in the first place… *Edit: When I say "submitter" I mean the machine that submits it to the database, sorry for any confusion on that.*
@atk05003
@atk05003 4 года назад
Most vulnerabilities are caused directly by human error (as opposed to software bugs). If you're training people to enter "NULL" for an empty plate# and then you allow someone to get a plate that says "NULL", then you have a problem. It may not be caused by the developers, but poorly trained employees (or bad business processes) are the most commonly exploited vulnerabilities. That's why phishing scams work.
@SecuR0M
@SecuR0M 4 года назад
The system should be flexible so you can enter whatever. You can exclude bad inputs by not letting people buy those plates and fining ones who have them, before taking them to court with a wad of traffic tickets thicker than a New York City phone book. This is much more efficient than trying to use some non-existent crystal ball wizardry to determine what stupid novelty plates someone will acquire 10-20 years down the road as part of a self-congratulatory TED talk or whatever.
@phillipsusi1791
@phillipsusi1791 4 года назад
@@atk05003 You don't train people to enter "NULL" for an empty plate. You leave the field empty. i.e. you don't type anything at all. It is a bug if the program confuses the two.
@branfreeze720
@branfreeze720 3 года назад
Alright furry.
@blakedurston
@blakedurston 3 года назад
Yooo LyricWulf! Funny seeing you here. I remember you from sheet music boss’s 1 million subscriber special Was incredible
@dankthefranktank1926
@dankthefranktank1926 4 года назад
When you name your son "Robert'); Drop TABLE Students;--"
@d9zirable
@d9zirable 4 года назад
xkcd moment
@madelinejester633
@madelinejester633 4 года назад
little Bobby Tables, we call him
@adamsfusion
@adamsfusion 4 года назад
He's going to grow up to destroy great things.
@jeffkinney2852
@jeffkinney2852 4 года назад
Omg ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-nXrvWCkgVdA.html
@Bryan-qd4fk
@Bryan-qd4fk 4 года назад
I was talking to my coworker today about that comic
@chompythebeast
@chompythebeast 3 года назад
"I mean, it's *one* bag of Totino's Pizza Rolls, Michael, what could it cost? Twenty dollars?"
@DrZaius3141
@DrZaius3141 3 года назад
Prime example of a video where you could predict every single bit of it just by the title. 1. Someone wanted to do something semi-legal, because of course. 2. Databases read "null" as NULL, because of course. 3. The person got charged for everyone with a blank entry, because of course. Doesn't make the video superfluous, it just makes me a smug bastard.
@DoUrden09
@DoUrden09 3 года назад
HAI: NULL breaks everything All programmer and database admin: Badly managed DB or bad code.
@HirokaAkita
@HirokaAkita 3 года назад
Default option: A third-world country where they won't pay their programmers enough.
@M1mer
@M1mer 2 года назад
@@bbunk22 comparing his plate, 'null', to null, and returning equal is bad code
@random8149
@random8149 4 года назад
Fun fact: Null is also a german word and means zero.
@dasaleks6480
@dasaleks6480 4 года назад
Der Grund warum ich das Video angeklickt habe. 😂
@admiralradish
@admiralradish 4 года назад
only a millenial wouldnt know that.
@bangtanza4208
@bangtanza4208 4 года назад
Random Vids it’s also zero in dutch
@dudewtfyoudoin6522
@dudewtfyoudoin6522 4 года назад
Das Raddiche and people that don’t speak German
@Kylora2112
@Kylora2112 4 года назад
In American English, we use "null" to mean a piece of data that doesn't exist rather than a value of zero.
@melkiorwiseman5234
@melkiorwiseman5234 3 года назад
This sounds like a variant of a story I read a while back. A guy wanted a personalised plate and there were three options on the form; first choice, second choice and third choice (in descending order of priority, in case the first or second choice weren't available). He entered his first and second choices but instead of leaving the third choice blank, he filled it in with "NO PLATE" intending that he would get no plate if the first two choices weren't available. (He should have just left that part blank if he didn't want a third choice). As it turned out, his first two choices weren't available so he received number plates with NO PLATE on them. At first annoyed at the mistake, the man soon decided to roll with it and use the plates. He then started to receive fines from all over the country; from places he'd never visited, with vehicle descriptions which were nothing like his own vehicle. It turned out that when a ticket was issued to a vehicle without a number plate, the issuing officer would write "NO PLATE" on the ticket and that was what would be entered into the database to record the ticket. Since it matched this man's plate, the fine was automatically issued to him. I don't know what the result was, but I assume some arrangement was made so that he didn't have to pay the fines since the issuing of the fines to him was obviously an error and could never hold up in court. The point though, is that this is a case of bad programming caused by a lack of forethought. The correct way to design the system would have been to have a box to mark on the paper ticket for "vehicle does not have a number plate" and a corresponding check-box in the ticket database program to signal that the car didn't have a number plate and therefore not to even try to search for a match with any issued plate numbers. And here's a bonus Fun Fact for anyone who has read this far: The whole idea that entering the word "NULL" as input would somehow cause an error in a computer database is nonsense. Ordinary programming practices would ensure that this just doesn't happen. What programmers call NULL is represented inside the computer by an "out of range" value and not by the word itself. E.g.: The storage area is supposed to contain only letters or digits but instead contains spaces. A good programmer makes their program look for "out of range" values and has the program do something sensible with that value (such as not even attempting to match the non-existent plate number with any existing plate).
@dr.jamesolack8504
@dr.jamesolack8504 2 года назад
A valid point.
@paveladamek3502
@paveladamek3502 2 года назад
As for the people named Null, they also have first names, DOB and address, and the last name fields have long been updated to accommodate any string of characters because some people have apostrophes and other unsual characters in their (last) name(s), and the system just takes the string as it is and does not try to analyze it.
@ScottMaday
@ScottMaday 4 года назад
Me, a Computer Science student clicking on this video: *oh no*
@dominic64tblightning24
@dominic64tblightning24 4 года назад
Same
@lapapar1174
@lapapar1174 4 года назад
Dominic64 TBLightning get a load of this guy
@JJCUBER
@JJCUBER 4 года назад
Why the hell would null map to the string “null” and vis versa? This makes little to no sense and whoever programmed this wasn’t thinking straight.
@paskky913
@paskky913 3 года назад
They probably programmed it in a way that if no license plate was found, it automatically put the string "NULL" to fill the void.
@JJCUBER
@JJCUBER 3 года назад
Paskky Pask which is a horrible idea, considering people could choose that name
@scrabblehandforaname
@scrabblehandforaname 3 года назад
Type conversions most likely.
@paskky913
@paskky913 3 года назад
@@JJCUBER But it's way more understandeable than just randomly casting null to a string.
@user-lk2vo8fo2q
@user-lk2vo8fo2q 3 года назад
this is so batshit i can only assume it's somehow php's fault.
@OptimusPhillip
@OptimusPhillip 2 года назад
It sounds like there's a simple solution: strings. If you store name and license plate inputs as strings, then inputting "null" would set the input term as 'null' (i.e., the string of text characters n-u-l-l), not 0.
@vallemuller5594
@vallemuller5594 2 года назад
How else would you store name and license plate?
@PepperMarioYT
@PepperMarioYT 2 месяца назад
the matpatify extension made the perfect text (who's the killer) with GTLIVE on the opposite side of the HAI logo
@Nchinnam
@Nchinnam 4 года назад
There goes my plans to change my name to null
@Prajwal.K
@Prajwal.K 4 года назад
was Ur name null before or u change it?
@spiderthecat
@spiderthecat 4 года назад
@@Prajwal.K ???
@haoqw
@haoqw 4 года назад
Prajwal Kumar ?????
@maskettaman1488
@maskettaman1488 4 года назад
It'd be better than that absolute disaster you have right now
@integralboi2900
@integralboi2900 4 года назад
Prajwal Kumar ???????
@BlueOvals24
@BlueOvals24 3 года назад
I guess this explains how the character "Null" came to be in No Mans Sky.
@Blue_JayC
@Blue_JayC 3 года назад
A comment about no man's sky was the last thing I expected to see here and that's why I love it
@angelparkley2716
@angelparkley2716 3 года назад
Blue_ JayC Frl you know how much I had to hyperjump to look for shit
@musicalspoon7219
@musicalspoon7219 3 года назад
@fireballdick I don't know about him, but I once found a system made entirely out of pink temperate planets. water was pink, clouds and sky were pink, the grass was either blue or green, but the majority was ocean anyways.
@BlueOvals24
@BlueOvals24 3 года назад
@Austin David Holy shit, I never even realized that!
@stellarsealin9561
@stellarsealin9561 3 года назад
MusicalSpoon Bro that literally sounds like the perfect system. Blue grass planets ftw
@hai1touch
@hai1touch Год назад
Sam: “There is no easy fix.” literally everyone who knows one (1) thing about computers: “If you’re *_STUPID.”_*
@andrewwerner5992
@andrewwerner5992 Год назад
I'm sure there isn't someone looking through every picture that was tagged at null island, but I like to envision a tiny, cramped cubicle at NSA with someone sifting through thousands of photos and comes across a selfie of a guy on a buoy and getting a little chuckle to themselves that someone is just as nerdy as they are.
@maggie12md18
@maggie12md18 3 года назад
So let’s say that someone called “Noah Body” punches you at school. Then when you have to tell who punched you, you say “Noah Body” but it sounds like “nobody”, so Noah Body gets off scott free for punching you. ^ the whole video in a nutshell
@octogonSmuggler
@octogonSmuggler 3 года назад
You could have just used the Cyclops bit from the odessy... That's where this comes from..
@dogmechanix
@dogmechanix 3 года назад
Uh huh...
@IceBlueLugia
@IceBlueLugia 3 года назад
Octogon Smuggler That’s exactly what I was thinking lmao
@maggie12md18
@maggie12md18 3 года назад
Octogon Smuggler that’s what I was going at. In English I had to read up on the Epic poems by Homer and this was one of the short stories within. Poor guy got blinded as a result :(
@Andres183_
@Andres183_ 3 года назад
Or that's what Joseph Tartaro expected, but rather anytime nobody knew who punched someone, it got tracked to him. So he gets charged for punching several people.
@imassassinn
@imassassinn 4 года назад
I like how the video shifted from a romantic gift to a bouy in the ocean.
@roryschussler
@roryschussler Год назад
There was a record once in Ireland of a person named "Prawo Jazdy" who committed over 50 different random traffic violations all over the country. It turned out "prawo jazdy" is just the Polish word for "Driver's license" and police were misreading it as a name.
@lassenrregaardjohansen2981
@lassenrregaardjohansen2981 2 года назад
Same thing happened in Denmark. A guy had the plate “Ukendt” (unknown in danish) He got tickets as well, but he won in court and the ticket company had to pay him for their mistake full tickets.
@ONW4V3R
@ONW4V3R 3 года назад
To be fair it's just laziness from the developpers. "NULL", "Null" or "null" as caracter chains (or strings) are not the same as the NULL marker of databases. Even the C from the late 70's knows how to manage strings and markers.
@peterbonnema8913
@peterbonnema8913 3 года назад
Yes of course. That's a given... Kinda the whole premise of the story
@NathanVoge
@NathanVoge 3 года назад
You're assuming the database was the issue and not cops manually (or their software automatically) entering "Null" as the license plate string into the database.
@ONW4V3R
@ONW4V3R 3 года назад
@@NathanVoge none of what I said fault the database tho? Everything I said put blame on lazy devs, being the ones in charge of the DB or the application. And it's more likely the app team's fault. Even if a DB isn't made to support null fields you can work around it just fine and still avoid problems like that.
@Richybabes
@Richybabes 3 года назад
Yeah any system that falls prey to this error is just poorly designed. It's not difficult to avoid. That said, it doesn't surprise me that there's poorly written code doing this in plenty of places.
@naphackDT
@naphackDT 3 года назад
A lot of scripting languages don't... And you don't know what the police's system runs on.
@DeltaJim
@DeltaJim 3 года назад
Fun fact: Illinois apparently doesn't ban Russian curse words on vanity plates. I used to have a neighbor who had "Blyat" as his plate and no one seemed to know what that word meant.
@ashathlok829
@ashathlok829 3 года назад
That's the only good thing about Illinois tbh
@melkiorwiseman5234
@melkiorwiseman5234 3 года назад
"Cyka Blyat" is the Russian god of bad driving. The Russians invoke her name every time they have a crash. ;)
@denyraw
@denyraw 3 года назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Qb3DkYZvzjU.html
@fordprefect1587
@fordprefect1587 3 года назад
@@melkiorwiseman5234 that is... oddly specific.
@melkiorwiseman5234
@melkiorwiseman5234 3 года назад
@@fordprefect1587 Just in case you (or anyone else) doesn't get it, it's a joke. A rough (very) translation of Cyka Blyat is actually closer to "dirty whore" (putting it politely).
@nulcheck
@nulcheck 3 года назад
Thanks for the heads up on this, sounds like something i'd try too lol
@myotiswii
@myotiswii 2 года назад
I know a guy who has that as a last name. Very often when he fills out forms online, there is some kind of problem. He thinks about getting it changed.
@alexlandherr
@alexlandherr 4 года назад
“You should learn to sanitize your database inputs.” Read xkcd’s “Exploits of a Mom”.
@creativewanderer9577
@creativewanderer9577 3 года назад
😂
@JMcAfreak
@JMcAfreak 3 года назад
Oh, little Bobby Tables
@decline6561
@decline6561 3 года назад
My mom named me ";DROP TABLE Students" i've been having so much trouble getting a school to accept me into their program :(
@TheMinecraftMan757
@TheMinecraftMan757 3 года назад
Things may brighten up for you, Bobby.
@MarksterC
@MarksterC 3 года назад
Haha
@psychsteeves4577
@psychsteeves4577 3 года назад
Im confused
@ovenlemon6079
@ovenlemon6079 3 года назад
That's an xkcd
@decline6561
@decline6561 3 года назад
@@TheMinecraftMan757 Yeah, when they learn to sanatize their damn database inputs!
@Alec9821
@Alec9821 5 месяцев назад
piping straight into the query language leaves so many options for injection. Major security threat
@St0nek
@St0nek 3 года назад
The whole null island situation kinda reminds me of another like it. There is this site, MSPaint FanAdventures (MSPFA) that houses fancomic based on homestuck in varying degrees. When you reach a 404 error, the site redirects you to a fanadventure called "404quest" Although this time its more for the lolz than out f necessarity
@kjartannn
@kjartannn 4 года назад
Programmers be clicking on this like "oh no i know exactly what happened here"
@danieltabrizian
@danieltabrizian 4 года назад
How did you know, like this was exactly what i tought
@pitaya4151
@pitaya4151 4 года назад
I don't get it though. Why is the Californian police DB storing "null" as a string, a string that can be matched against the plate "null"? Couldn't they use something like "PLATE-NA" - that is 8 characters, so that means it will never be a valid plate in the entire state (with the limit being 7). Or even better, just have the word null multiple times, as in "NULL-NULL-NULL-NULL"?
@CodeKujo
@CodeKujo 4 года назад
Good 'ol Bobby Tables.
@WombatSteve
@WombatSteve 4 года назад
reddit
@pitaya4151
@pitaya4151 4 года назад
@@CodeKujo what
@DarkSolidity
@DarkSolidity 3 года назад
But “Null” and dbnull.value are completely different things. Someone isn’t sanitizing their queries.
@ecamiran4004
@ecamiran4004 3 года назад
The problem (not for maps or automated contact systems, but for license plate issues) is not that they are confusing the two. The problem is that it would be manually written in as "NULL". And because of how the process is simplified, not even a car make and model os verified against the system's database (done for a variety of reasons), meaning every time a PO would write "NULL", then it would be redirected to the existing plate with that name, meaning it was redirected to the guy who thought it would be smart to try and use that license plate name. This comment's section is full of people assuming the database is holding 0=value:null="NULL" to be a true statement or something similar. When all it is doing, because of how it gets input, is going "NULL"="NULL".
@Stoner_Jesus
@Stoner_Jesus 3 года назад
Ecamiran you clearly understand this more than me
@drakemorin5727
@drakemorin5727 3 года назад
@@ecamiran4004 I must say I didn't consider that. I was likewise confused that it must be a pretty poorly written piece of software to convert "Null" to the SQL representation of a null value.Thank you for pointing out a much more logical reason this would be difficult to fix. Cheers to you!
@Shyuthrosnaevin
@Shyuthrosnaevin 3 года назад
.
@vindalowd1107
@vindalowd1107 3 года назад
@@ecamiran4004 I was confused why everyone was talking about programming.
@momoniji6439
@momoniji6439 2 месяца назад
Imagine trying to break the system and getting mad when you break the system.
@steve5975
@steve5975 Год назад
I’m glad you brought up Null Island! I first came across that island when I worked with data extraction at a government position I held.
@cat-.-
@cat-.- 3 года назад
I know how to configure my database to not confuse "null" the string with null the empty value in my freshman year in college for computer science :/
@nullnull3517
@nullnull3517 3 года назад
good
@xn85d2
@xn85d2 3 года назад
I mean, in MSSQL you literally cannot use "null" as null the value. You need to use == "null" as a comparator for the string and is null as a comparator for the value. My guess is that the reason this happened in that the police database was defaulting to putting in "null" as a string as something the programmers added intentionally as a placeholder when the license plate was unknown.
@CodeKujo
@CodeKujo 2 года назад
The only thing that makes sense to me is if there's a step in-between (like in javascript or something) that is blindly coercing the result to a string and then using it in subsequent queries. Nit: Also, "null" would be an object name in most DBs, like `select null from "null" where "null" = 'null'`
@joshua43214
@joshua43214 2 года назад
R enters the chat: > null null+null [1] 10 R is stupid
@cat-.-
@cat-.- 2 года назад
@@joshua43214 R's null is NULL so... and you definitely can't NULL
@Pellbort
@Pellbort 4 года назад
Wendover: Says "days" when it's really years Confirmed- Sam runs AliExpress shipping
@halfasinteresting
@halfasinteresting 4 года назад
shh
@richardlighthouse5328
@richardlighthouse5328 4 года назад
@@halfasinteresting null
@andrade4630
@andrade4630 4 года назад
@@halfasinteresting null
@akhilbaker4157
@akhilbaker4157 4 года назад
@@andrade4630 null
@wellesradio
@wellesradio 4 года назад
Null is the new lol 😆
@ghostnike901
@ghostnike901 3 года назад
This doesn't surprise me at all. A lot of people think I don't have a middle name because I put an X on forms that ask for a middle initial. I have to explain to them that X is the letter it starts with and not an indication that I don't have one.
@pekarna
@pekarna 2 года назад
"they run the risk of breaking nearly every modern database" - if you consider 30 years old Microsoft Access to be modern. Otherwise, every database nowadays does not care what strings you put in it.
@ccityplanner1217
@ccityplanner1217 4 года назад
The fines should not be his liability. Police officers should be diligent & note down the numberplate.
@Oridemic
@Oridemic 3 года назад
ccityplanner12 : The government doesn’t care. More money for them.
@petersansgaming8783
@petersansgaming8783 3 года назад
@@odysseyguyperson something like that won't be done because null is a wide spread programming convention. Their database is just poorly written when 'null' can be confused with ' "null" '.
@odysseyguyperson
@odysseyguyperson 3 года назад
DuesenJeff ok.
@TeemoQuinton
@TeemoQuinton 3 года назад
@@petersansgaming8783 Which shouldn't happen, period.
@99xara99
@99xara99 3 года назад
Police officers are only humans too. Their database system needs the fixing.
@theblasko
@theblasko 4 года назад
And that's why my license plate reads "ILUVHAX'); DROP TABLE tag;--"
@J_E_N_T
@J_E_N_T 4 года назад
Gottem
@gooball2005
@gooball2005 4 года назад
the ol' bobby tables
@hydrochloricacid2146
@hydrochloricacid2146 4 года назад
A fellow man of culture I see
@juhotuho10
@juhotuho10 4 года назад
^ xkcd in question xkcd.com/327/
@falk2009
@falk2009 4 года назад
What would that function do?
@MattisProbably
@MattisProbably Год назад
Here in Germany we have a guy called "Max Mustermann". Max Mustermann happens to be a placeholder name for pretty much everything. If you see something like an example for a credit card or passport somewhere it probably says Max Mustermann on it, "Muster" literally meaning pattern or exemplary. So the poor bastard who was named Max Mustermann by his asshole parents basically can't do anything. Any application, like for contracts, accounts of any kind and so on, gets automatically rejected by any database because "Max Mustermann" automatically triggers fraud detection systems...
@Dirigo244
@Dirigo244 3 года назад
In Maine you can put anything on your license plate, I’ve found some good ones including the one on my profile picture
@billylardner
@billylardner 3 года назад
Ima call my son “Charlie DROP TABLE users;” and watch the havoc unfold.
@tirtagttech512
@tirtagttech512 3 года назад
@Gustav 123 DROP [database name] is used to delete a database. Usually its used for deleting database on server by using the vulnerability on some SQL databases (the newest version has a patch to prevent this)
@EternalDensity
@EternalDensity 3 года назад
2012 called. It wants bobby-tables.com back
@Zantreful
@Zantreful 3 года назад
You forgot two important details... What you mean to input into the user field is " Charlie' union drop table users /* "
@timerertim
@timerertim 3 года назад
@@Zantreful Union is used to fuse the output of two Select Statements together. Correct me if I'm wrong, but you should replace Union with ;
@iLikeTheUDK
@iLikeTheUDK 3 года назад
Imagine the reactions when first registering that at the national registry - it'd be the bureaucratic equivalent of a blue shell
@Zeytrixx
@Zeytrixx 4 года назад
I remember when “Null” used to be a Minecraft creepy-pasta. It was like Herobrine, because people did sighting videos about it.
@HeenaPatel253
@HeenaPatel253 4 года назад
Me too
@thedoublessymbol
@thedoublessymbol 4 года назад
wasnt it alongcamejosh who made the thing?
@bagged_milk67
@bagged_milk67 4 года назад
lmao they're seeing nothing
@DustyFixes
@DustyFixes 3 года назад
This is a retelling of a story that dates back to the early 80'S. Before computers were doing the processing. Someone wanted a personalized license plate and the application form gave the person 3 choices. He picked 2, but for his 3rd choice he wrote NONE because he couldn't think of a 3rd choice. From here, the story goes on as in this video, but it wasn't in 2016. More like 1982.
@fbiagentmiyakohoshino8223
@fbiagentmiyakohoshino8223 Год назад
null isnt the only keyword that can be parsed as “no value”, theres also “nil” from lua which is the exact same thing but typed differently
@ttomasarias3719
@ttomasarias3719 3 года назад
Good morning, yes, I'd like to request the droptables license plate. Why would I like that license plate? It was... Umm... My grandfather's nickname, yes, Bob Droptables...
@michaeledmunds7266
@michaeledmunds7266 3 года назад
When he was younger, they would call him "little Bobby tables"
@UmbraMG
@UmbraMG 3 года назад
@Gustav 123 @Gustav 123 DROP [database name] is used to delete a database.
@maheepsingh3612
@maheepsingh3612 3 года назад
Ah, xkcd :)
@ixinfamous1412
@ixinfamous1412 3 года назад
You can't choose null as yours. Me, a bigbrain: uses i's instead of L's
@KilosFoxo
@KilosFoxo 3 года назад
Nuii
@masterzillagaming2963
@masterzillagaming2963 3 года назад
NuII
@dannyp204
@dannyp204 3 года назад
Fun fact. They don't let you do that. If there's a plate NULL you can't to NUII or NUIL. Or other things that replace it. So if PENIS is taken which it never can be, you can't take P3N1S
@benjaminrobledo5466
@benjaminrobledo5466 3 года назад
NuII
@mhrn.1309
@mhrn.1309 3 года назад
Its NULL, not Null. License plates are always capitalized.
@klikkolee
@klikkolee 3 года назад
Even if it was made today, a system which keels over when someone is named "Null" does not deserve to be called "modern". The system is using its database in a highly improper manner. For decades, databases have had tools to easily use them properly in just about any reasonable usage, and separate tools for using the database properly in those few-brain-cells-harder cases are readily available. It's common to use those separate tools anyway since they're a huge quality of life improvement and a huge benefit to development time. Gotta love how literal government systems are more delicate (which is a security issue unto itself and which indicates a likelihood of vulnerabilities for other security outcomes) than joe shmoe's thrown-together website.
Далее
The Most Deadly Job in America
10:29
Просмотров 10 млн
КИТАЕЦ ЗА 24 МИЛЛИОНА / РАЗГОН
1:10:06
Why Automakers Are Invading Your Privacy
14:23
Просмотров 219 тыс.
Why UPS Trucks Almost Never Turn Left
6:07
Просмотров 2,3 млн
"Null" Licence Plates Wreaks Havoc
14:03
Просмотров 153 тыс.
The Mathematical Loophole that Broke the Lottery
6:57
$50 Trillion Was Just Found Under Antarctica
17:41
Просмотров 858 тыс.
The Man Who Time Travelled 0.2 Seconds
5:54
Просмотров 4,3 млн
Death & Dynasties
5:39
Просмотров 6 млн