why settle for \n when you can go for the stylish carriage return
so
John\r Doe
? depending on the software, when it gets printed, the carriage return will move the cursor to the start of the line without moving a line down, becoming\x20Doe
.This is the ideal rendition, I would say. On a related note, I just love it when there are backspaces in my filenames
¿Porqué no los dos? A nice \r\n, Windows style.
Gotta band it Windows tho, it just feels right, I want to enjoy my fake typewriter
Apparently no-one did it yet, so I’ll name my child +++ATH0
C programmers would ask whether a null-terminated name would be acceptable
Sibling of Bobby Drop Tables
Y’all need to learn how to sanitize your inputs!
I want the char 8 that makes a beep.
“John $(tput bel) Doe”
“We call her Carrie, because of the carriage return.”
You can also try to give the child NULL as middle name for additional fun.
Ca\r\rie
Hey “java.lang.NullPointerException” can I borrow your pen?
someone tried that with their license plate, it turned out well: https://www.wired.com/story/null-license-plate-landed-one-hacker-ticket-hell/
edit: archive link
they should have just used rust smh
I just realized that the shitty software on the other side of the divide is casting
null
to ”null", which absolutely explains that issue. What a clusterYeah, I love to rag on languages with weak typing, because of the potential for a bug, but seeing it play out in reality, directly with user input, that’s certainly something else.
shudders in NodeJS
Yeah, this is his daughter
Oh no, it gets worse:
Prank or not, Tartaro was playing with fire by going with NULL in the first place. “He had it coming,” says Christopher Null, a journalist who has written previously for WIRED about the challenges his last name presents. “All you ever get is errors and crashes and headaches.”
Archive link: https://archive.ph/o/Foe1r/https://www.wired.com/2015/11/null/
He is being too nice. He needs to get a lawyer and sue that shitty company for harassment and whatever else.
ETA: The US isn’t overly litigious. We are under litigious if anything.
Large corporations are overly litigious. Individuals can’t afford to be litigious enough.
Not legal in Canada. Your legal name must use Latin characters only. This is a sore point for indigenous people.
Did the Romans not use line breaks?
Blank spaces arent characters by definition as they’re the space that allows the letters to exist
Deep. Is Python a form of Jazz?
Yes, and YAML is a war crime.
No, they didn’t even use the space to separate words. Take a look at any Roman inscription in Italy, there are no spaces between the words (just like there are no silent pauses between spoken words).
boustrophedon must make a comeback
Which is both entirely understandable, and also tragic because Canada’s indigenous written characters are so cool. :D
But also, it’s gotta be neat having a name among your people, that “the state” has nothing to do with…
deleted by creator
Ah, but you see, “John” and “Doe” are two names - first and last - and when you say “My name is”, you’re really listing out your names, with spaces inbetween!
But then there’s hyphenated names, and I have no idea how those are treated.
deleted by creator
console.log(Object.values(name).join("\n"));
Could be…“Jondo” like, a mononym hahaha.
The Romans also had spaces in between words
I was under the impression that that was actually a medieval invention
This comment made me learn. Thank you.
deleted by creator
Nothing but understanding of words and sentences. It was kind of a whole thing. The space character was revolutionary to increasing the spread of literacy. Relevant
Or for those that just want to read: https://en.wikipedia.org/wiki/Scriptio_continua
The inscription on the Pantheon has dots between the words.
M·AGRIPPA·L·F·COS·TERTIVM·FECIT
deleted by creator
But did they have
lowercaseenglish language?Salve! John Doe nomen meum est.
Only latin
charactersallowed(That’s all the latin I remember from school back then)
A line break is a non-printable character. So it would only work in the scope of electronic storage. The minute it hits other media, the line break character is subject to how that media handles it’s presence, and then it is lost permanently from that step forward.
Plus, many input forms make use of validation that will just trim anything that isn’t a character or number, removing the line break character.
A line break doesnt have to be electronic only. You just… start a new line on the paper.
If it were somehow legally allowed, the sanitization would be incorrect.
As someone with a very mildly unusual name, I can tell you that it doesn’t matter whether a system could or could not meaningfully represent the name. Often the people or systems just refuse to acknowledge any deviation from what’s expected. Sometimes databases are written to enforce arbitrary grammatical rules that make my name impossible to write, or the people using the systems will just “correct” the “error” without telling me. I don’t mind that much but our normative systems just love to homogenise us.
deleted by creator
No they’re not. They’re required for us to be catalogued and managed by a state, to our detriment and the enrichment of the ruling class.
“Normality” is a fucking scam that keeps your imagination in check, so you never look outside your assigned box and realise you don’t have to belong to anyone.
You have no idea how much genocidal violence has been done to condition our society to accept a dystopic phrase like “normal names are required for the functioning of society”.
Your mind has been caged.
You’re right.
I just want to say that my last name is three syllables and spelled exactly how it sounds. In fact it’s two common english words stuck together. It was Americanized/Anglicized from Germany.
Three syllables will break brains on people here. I state it clearly. They’re like haha what?
For the last 9 years I’ve just been handing over my work ID badge so they can type it.
I probably said it too dramatically, the kinds of people that need to hear it will just knee-jerk dismiss me, but seriously think about the phrase “normal names are required for the functioning of society”. What a wild-ass thing to say. Required why? Is society really that fragile? Sounds like maybe it should be replaced by something that can handle the occasional mildly spicy letter. Mine isn’t even that spicy, it’s like whole-egg-mayo levels of spice.
It’s hard to believe but it’s just a couple people being shitty. Many probably agree sadly, but damn, get with it people !
I understand all the crashes database, Bobby Tables arguments. But shit, just update your system to accept Unicode and we’ll live happily ever after. At least my child 🍆💦ヾ(⌐■_■)ノ♪ will be finally recognized. 🤙
That’s a beautiful name.
- People whose names break my system are weird outliers. They should have had solid, acceptable names, like 田中太郎.
https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-believe-about-names/
Na, names are about pronunciation (how you call someone). Written letters are an approximation of that. You can’t pronounce a newline, so there’s that.
John
(long pause)
DoeBut differently spelled names are legally distinct.
i think they mean that pronounciation matters for determing validity, not for the actual record or distinguishing between names
But that doesn’t really address the original question, does it? You don’t have to pronounce all the letters in a name, so the fact that you can’t pronounce a newline isn’t sufficient to demonstrate that it can’t be part of a name.
Try telling that to
.
But something has to be written on the birth certificate and social security card, and that’s what everything else will expect you to use. I think just due to technical limitations (e.g. of the printer/template for those things) it wouldn’t be allowed, but I dunno about legally
Just crouch down to simulate moving to a lower line.
John <crouch> Doe
How do you pronounce the hyphen in double barrelled names?
The hyphen can provide indicators on how to parse the letters on either side. “Pen-Island” would be pronounced differently from “Penisland.”
There’s a guy I follow on the internet called “penusbmic”, and he claims it’s supposed to mean “Pen, USB, Mic”.
Whatever you say, Penus B. Mic.
Just pronounce \n as a glottal stop.
Hawai
iHwhy e?
That’s easy, just call it Jhon\nDoe
John\0Doe will fuck with all C (and C based derivatives) software that touches it.
C and C derivatives will be fine unless they’re fucking up encoding.
Which rarely, if ever, happens. Especially with US software.
Nah, it will end up simply as “John” in the database. You need “John%sDoe” to crash C software with unsafe printf() calls, and even then it’s better to use several “%s”
With an address in 's-Hertogenbosch to help people who are lazy about escaping.
I’m not american and I’m glad I’m not but intended if someone could enter a bunch of zero width spaces
Am I allowed to include sql command words such as drop table in my child’s name?
Simmer down, Bobby
asking questions like this is how i found out that one of the allowed characters in names in my country is ÿ, which is fine in Latin-1 but in 7-bit ASCII is
DEL
.that’s amazing! Aren’t codecs fun
This sounds like it would create a whole list of fun and irritating edge conditions for some poor bugger to debug. Love it.
If someone else has to debug the problems caused by a parent naming their child with a special character, does that make the parent the bugger? 🤔
I can tell you that buggering is not how you become a parent.
How about featuring?
Unix or dos format?
Anyway, you probably need to put a backslash before it to indicate line continuation.
But wouldn’t it be better to use something more traditional, such as <br>?
HTML is more traditional than
\n
?True, poor choice of phrase.
But I was thnking of something like
#define my_macro does not fit\ on one line
Little Bobby Tables