this post was submitted on 16 Nov 2024
1122 points (99.0% liked)

Programmer Humor

19623 readers
5 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
 
(page 2) 50 comments
sorted by: hot top controversial new old
[–] Andromxda@lemmy.dbzer0.com 33 points 1 week ago (4 children)
load more comments (4 replies)
[–] TGhost@lemm.ee 24 points 1 week ago* (last edited 1 week ago) (2 children)

NaN,
Not a Number, and now Not a Name

load more comments (2 replies)
[–] takeheart@lemmy.world 23 points 1 week ago (8 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.

[–] watersnipje@lemmy.blahaj.zone 23 points 1 week ago

John
(long pause)
Doe

[–] stringere@sh.itjust.works 21 points 1 week ago (2 children)

Just pronounce \n as a glottal stop.

load more comments (2 replies)
[–] BatmanAoD@lemmy.world 18 points 1 week ago (2 children)

But differently spelled names are legally distinct.

load more comments (2 replies)
load more comments (5 replies)
[–] ano_ba_to@sopuli.xyz 22 points 1 week ago* (last edited 1 week ago)

It's impossible to represent that on paper. It could be misrepresented as a specific number of spaces. Depending on the position on the paper, it may also be hard to tell if the carriage return comes with the line feed. Unless you want the document to be in ASCII or EBCDIC hex, it's like writing an ambiguous math problem where the answer is different depending on how you were taught about the order of operations. Don't do this to your kid, Abcde.

[–] iAvicenna@lemmy.world 21 points 1 week ago (4 children)

why settle for \n when you can go for the stylish carriage return

load more comments (4 replies)
[–] Blackmist@feddit.uk 21 points 1 week ago

This sounds like the start of another sovcit "loophole"

[–] rekabis@lemmy.ca 20 points 1 week ago* (last edited 1 week ago) (9 children)

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.

load more comments (9 replies)
[–] vordalack@lemm.ee 19 points 1 week ago

It's time to log off and get a vasectomy

[–] EtherWhack@lemmy.world 17 points 1 week ago (1 children)

What about an open bracket? (

[–] fsr1967@lemmy.world 14 points 1 week ago (5 children)
load more comments (5 replies)
[–] OhStopYellingAtMe@lemmy.world 15 points 1 week ago

Always sanitize your Data inputs.

[–] humanspiral@lemmy.ca 13 points 1 week ago (2 children)

Am I allowed to include sql command words such as drop table in my child's name?

[–] owenfromcanada@lemmy.world 13 points 1 week ago

Simmer down, Bobby

load more comments (1 replies)

Anyone remember when Chrome had that issue with validating nested URL-encoded characters? Anyone for John%%80%80 Doe?

load more comments
view more: ‹ prev next ›