3 ms·
The modern twist to that seems to be little miss Infinity https://www.reddit.com/r/javascript/comments/8f57i1/psa_there_are_over_1000_people_in_the_us_named/ ht
by dghughes 9y ago
The modern twist to that seems to be little miss Infinity https://www.reddit.com/r/javascript/comments/8f57i1/psa_there_are_over_1000_people_in_the_us_named/ https://www.reddit.com/r/javascript/comments/8f57i1/psa_ther...
- paultopia 9y agoNow I want to change my name to NaN
- make3 9y agoyou probably don't, if the story about the cars with plates on a variations of "NO PLATE" is any indication https://www.snopes.com/fact-check/licensed-to-bill/ https://www.snopes.com/fact-check/licensed-to-bill/
- oneeyedpigeon 9y agoWow. Problem one: applicant writes "no plate" instead of leaving it blank or writing in a crossed line. Problem two: so do the law enforcement officials! The former is a silly mistake; the latter should be a learning opportunity.
- Keloo 9y agoMaybe try car plate sql injection. :D http://1.bp.blogspot.com/-URBVGKEBRss/U0GgQetIwEI/AAAAAAAAC20/b0DEdUTSCwo/s1600/i.img.jpe http://1.bp.blogspot.com/-URBVGKEBRss/U0GgQetIwEI/AAAAAAAAC2...
- xg15 9y agoDo I get this right that jQuery, for developer convenience, content-sniffs the value of "data-" attributes? I.e., if the value looks like JSON, it will parse it and return the object tree, otherwise it will return the original value as a string? This sounds like a horrible idea in general - I'd say the authors of this forgetting that certain english words by themselves are valid JSON is a nice cherry on top but hardly the worst problem caused by this.
- Alexendoo 9y agoSort of - there's a jQuery API that does content sniffing called .data(), it's for storing and retrieving arbitrary data on elements. The problem was that they used this API to read from an element where they should have used .attr(), which returns a string.