this post was submitted on 21 Nov 2023
259 points (93.6% liked)

Programmer Humor

33293 readers
60 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
all 37 comments
sorted by: hot top controversial new old
[–] [email protected] 107 points 1 year ago* (last edited 1 year ago) (5 children)
[–] [email protected] 114 points 1 year ago (1 children)
[–] [email protected] 35 points 1 year ago (3 children)

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

[–] fibojoly 35 points 1 year ago (1 children)

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

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

Their employees have failed Unicode college >:(

[–] fibojoly 9 points 1 year 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] 11 points 1 year ago (1 children)

¯\_(ã )_/¯

print('¯\_(ツ)_/¯'.encode('u8').decode('l1'))
[–] [email protected] 7 points 1 year 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...

[–] xmunk 15 points 1 year ago

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

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

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

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

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

[–] [email protected] 5 points 1 year ago

UTF-8 Random anyone?

[–] [email protected] 52 points 1 year ago (1 children)
[–] CareHare 29 points 1 year ago (1 children)

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

[–] ElBarto 18 points 1 year ago

I think the simulation is broken again.

[–] [email protected] 43 points 1 year 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 1 year ago

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

[–] [email protected] 33 points 1 year ago (2 children)

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

[–] [email protected] 27 points 1 year ago (2 children)

0-127, top bit is always 0.

[–] [email protected] 7 points 1 year 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 1 year ago* (last edited 1 year 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] 5 points 1 year ago

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

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

Just like pokemon

[–] [email protected] 16 points 1 year ago* (last edited 1 year ago) (2 children)

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

I guess Beyonce has no love for Extended ASCII.

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

Compose e

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

or AltGr + ' + e I love this shortcut

[–] [email protected] 15 points 1 year ago

She must be running out of ideas.

[–] [email protected] 11 points 1 year ago

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

[–] [email protected] 4 points 1 year ago
[–] [email protected] 3 points 1 year ago

She's like the opposite of Prince

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

I want to join the C-hive

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

right wing?