this post was submitted on 16 Nov 2024
753 points (99.5% liked)

Programmer Humor

19564 readers
1478 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 10 points 58 minutes ago* (last edited 37 minutes ago)

No, cause "John\nDoe" messes up my regex. Sorry, out of the question. I'm not good with regex.

[–] [email protected] 19 points 1 hour ago (1 children)

Can I kill someone who wants to do this? How do I legally get away with it?

[–] [email protected] 6 points 41 minutes ago (1 children)

Plead permanent sanity. If I was the judge I would let you go.

[–] [email protected] 2 points 6 minutes ago (1 children)
[–] [email protected] 1 points 5 minutes ago
[–] [email protected] 8 points 1 hour ago (4 children)

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.

[–] [email protected] 1 points 9 minutes ago

Just pronounce \n as a glottal stop.

[–] [email protected] 2 points 34 minutes ago

But differently spelled names are legally distinct.

[–] [email protected] 6 points 1 hour ago

John
(long pause)
Doe

[–] [email protected] 2 points 1 hour ago

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

[–] [email protected] 40 points 3 hours ago (1 children)

Sibling of Bobby Drop Tables

[–] [email protected] 8 points 3 hours ago

Y'all need to learn how to sanitize your inputs!

[–] [email protected] 15 points 3 hours ago* (last edited 3 hours ago)

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.

[–] [email protected] 2 points 1 hour ago

Be funny as fuck if Canada started extradition procedures when he landed

[–] [email protected] 34 points 4 hours ago (2 children)

Not legal in Sweden. Our "IRS" must also accept the name and deem it legal.

I for one like this. As it stops some very stupid people to name their children some very stupid names. Such as "Adolf Hitler".

And yes. Someone did try to name their child this and they were appropriately stoped from doing it.

[–] [email protected] 10 points 4 hours ago (2 children)

If only Sweden invaded the rest of the world instead of Russia... *le sigh*

[–] [email protected] 1 points 40 minutes ago

I accept our new Scandinavian overlords. But I would rather have it be Finland.

[–] [email protected] 4 points 2 hours ago (1 children)

Eh, if they went imperial they would be subject to imperial needs leading to all the usual imperial problems.

[–] [email protected] 3 points 1 hour ago

What, inconsistent units? /s

[–] [email protected] 3 points 3 hours ago

Should have went with Adolf Olivernipples

[–] [email protected] 58 points 6 hours ago* (last edited 6 hours ago) (5 children)

Not legal in Canada. Your legal name must use Latin characters only. This is a sore point for indigenous people.

[–] [email protected] 1 points 52 minutes ago

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...

[–] [email protected] 13 points 5 hours ago (5 children)

Hello my name is JohnDoe. My name only contains Latin characters, no spaces allowed.

[–] [email protected] 13 points 4 hours ago (2 children)

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.

[–] [email protected] 1 points 50 minutes ago

Could be..."Jondo" like, a mononym hahaha.

[–] [email protected] 10 points 4 hours ago (1 children)

"John Doe" vs ["John", "Doe"] vs {"firstName":"John", "lastName":"Doe"}

load more comments (1 replies)
load more comments (4 replies)
load more comments (3 replies)
[–] [email protected] 3 points 3 hours ago

Good luck with that.

Most computer nayetems will trim the crap out of that name, the white spaces like space, tab, \r and \n will be gone by the time it's in the database

[–] [email protected] 44 points 6 hours ago (4 children)

If elected president my first order of business will be to make all birth certificates fully unicode compatible.

[–] [email protected] 6 points 2 hours ago

(ノ-_-)ノ~┻━┻ Miller

[–] [email protected] 4 points 1 hour ago

Y̴̥͉͕͌̀ǫ̴̗̅̕u̵̱̾̋͐̚ ̷̡͕͈͛̇h̴̳̱̘̆ä̶̼́̕ṽ̷̬͕è̷͓̰̔̌ ̸̪͋m̷͍͎͙̂́̔ͅy̷̰̘̎́̉ͅ ̷̳͒v̷̭̕o̷̢͚̟͇͒̃͐̕t̴̪̙͗̐͆́ë̶̦͗ ̵̗͌̅p̶̰̫͛̑r̷̨͛̏̈́͝e̷͇͍̋̚͜s̸̳͙̒͘î̶̞̍̍̋͜ͅd̴̰̭͚̞͗ě̶̯̖n̶̩̿̕t̶͎͉̂ ̵̦͂̍̀Z̵̧̲̦̹̾͋a̴̒̑ͅl̷͇̘̝̬͒̊͝ǵ̴̹̣͖'̷͂͜o̴̢͔̱̔ò̷̧͛!̷̦̎͑͆͘ ̵̺̼̜̃̑

[–] [email protected] 13 points 4 hours ago (2 children)

How is your son X Æ A-12?

[–] [email protected] 4 points 3 hours ago

Screw everything about Elon musk

load more comments (1 replies)
[–] [email protected] 3 points 2 hours ago

I govenment site I visited recenly made a point of how it accepts emojis in passwords!

load more comments
view more: next ›