this post was submitted on 21 Nov 2023
262 points (93.4% liked)

Programmer Humor

32045 readers
1474 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
all 42 comments
sorted by: hot top controversial new old
[–] [email protected] 108 points 10 months ago* (last edited 10 months ago) (5 children)
[–] [email protected] 115 points 10 months ago (1 children)
[–] [email protected] 34 points 10 months ago (3 children)

So... UTF-8 interpreted as ISO-8859-1? You have failed Unicode college >:(

[–] [email protected] 35 points 10 months ago (1 children)

If only you knew how many huge companies have no fucking clue...

[–] [email protected] 23 points 10 months ago (1 children)

Their employees have failed Unicode college >:(

[–] [email protected] 9 points 10 months ago

I agree! There really should be no excuses at this point... you'd think. Even in 2008 I already felt we were behind the loop, but apparently I was vastly underestimating how bigger companies just dgaf.

[–] [email protected] 12 points 10 months ago (1 children)

¯\_(ã )_/¯

print('¯\_(ツ)_/¯'.encode('u8').decode('l1'))
[–] [email protected] 8 points 10 months ago

And here I was typing out iso-8859-1 like a scrub to make sure I wasn't misremembering the encoding when doing the analogous thing in python...

[–] [email protected] 16 points 10 months ago

Sorry, no, but I can support it in UTF-16.

[–] [email protected] 12 points 10 months ago (1 children)

Maybe she was sick of trying to get a terminal displaying utf correctly.

[–] [email protected] 5 points 10 months ago

So... she's running DD-WRT :P

[–] [email protected] 5 points 10 months ago

UTF-8 Random anyone?

[–] [email protected] 53 points 10 months ago (1 children)
[–] [email protected] 29 points 10 months ago (1 children)

Yeah I think I'm OOTL, can someone explain?

[–] [email protected] 17 points 10 months ago

I think the simulation is broken again.

[–] [email protected] 44 points 10 months ago (1 children)

Wait Beyonce is a blonde white woman now? Is this what they mean when they say “it’s a different kind of white?”

[–] [email protected] 1 points 10 months ago

It's just skin tone, with the right lighting and color grading we all just look like people

[–] [email protected] 34 points 10 months ago (2 children)

0-255 was good enough for me an my grandpappy.

[–] [email protected] 27 points 10 months ago (2 children)

0-127, top bit is always 0.

[–] [email protected] 6 points 10 months ago (1 children)

i thought the top bit was originally 0 or 1 depending on the evilness/odiousness of the rest of the number, as a parity check.

[–] [email protected] 9 points 10 months ago* (last edited 10 months ago)

The standard itself is 7-bit, since wires were deemed more valuable than endpoint logic for the teletype machines way back then. If you're running it on an 8-bit byte machine you could do it either way, although I'm not sure what the point in parity checking individual characters is. Modern software uses 0.

[–] [email protected] 4 points 10 months ago

Damn big-endians always looking down on the rest of us.

[–] [email protected] 4 points 10 months ago

Just like pokemon

[–] [email protected] 16 points 10 months ago* (last edited 10 months ago) (2 children)

Good ol' Alt+1``3``0.

I guess Beyonce has no love for Extended ASCII.

[–] [email protected] 2 points 10 months ago

Compose e

[–] [email protected] 2 points 10 months ago

or AltGr + ' + e I love this shortcut

[–] [email protected] 15 points 10 months ago

She must be running out of ideas.

[–] [email protected] 11 points 10 months ago (1 children)

You've been able to do diacritical marks with ASCII for over thirty years. It's already standard. alt+0233

[–] [email protected] 3 points 10 months ago* (last edited 10 months ago)

dunno if it's the same character but alt+130 has been firmly drilled into my brain from my entire Pokémon childhood.

[–] [email protected] 6 points 10 months ago

Yeah let's drop wide characters, it was a bad idea. Let's simplify.. also let's convert all porn back to ASCII art.

[–] [email protected] 5 points 10 months ago
[–] [email protected] 3 points 10 months ago (1 children)
[–] [email protected] 2 points 10 months ago

I want to join the C-hive

[–] [email protected] -1 points 10 months ago* (last edited 10 months ago) (1 children)
[–] [email protected] 4 points 10 months ago

right wing?