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

Programmer Humor

33603 readers
12 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
[–] TCB13@lemmy.world 108 points 1 year ago* (last edited 1 year ago) (5 children)
[–] plistig@feddit.de 115 points 1 year ago (1 children)
[–] FishFace@lemmy.world 34 points 1 year ago (3 children)

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

[–] fibojoly@sh.itjust.works 35 points 1 year ago (1 children)

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

[–] FishFace@lemmy.world 23 points 1 year ago (1 children)

Their employees have failed Unicode college >:(

[–] fibojoly@sh.itjust.works 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.

[–] plistig@feddit.de 12 points 1 year ago (1 children)

¯\_(ã )_/¯

print('¯\_(ツ)_/¯'.encode('u8').decode('l1'))
[–] FishFace@lemmy.world 8 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@sh.itjust.works 16 points 1 year ago

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

[–] clearleaf@lemmy.world 12 points 1 year ago (1 children)

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

[–] TCB13@lemmy.world 5 points 1 year ago

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

[–] Bear_with_a_hammer@lemmy.ml 5 points 1 year ago

UTF-8 Random anyone?

[–] lesnout27@feddit.de 53 points 1 year ago (1 children)
[–] CareHare@sh.itjust.works 29 points 1 year ago (1 children)

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

[–] ElBarto@sh.itjust.works 17 points 1 year ago

I think the simulation is broken again.

[–] Binthinkin@kbin.social 44 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?”

[–] macaroni1556@lemmy.ca 1 points 1 year ago

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

[–] SocialMediaRefugee@lemmy.ml 34 points 1 year ago (2 children)

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

[–] gens@programming.dev 27 points 1 year ago (2 children)

0-127, top bit is always 0.

[–] juliebean@lemm.ee 6 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.

[–] CanadaPlus@futurology.today 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.

[–] ikidd@lemmy.world 4 points 1 year ago

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

[–] Agent641@lemmy.world 4 points 1 year ago

Just like pokemon

[–] ShortFuse@lemmy.world 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.

[–] itslilith@lemmy.blahaj.zone 2 points 1 year ago

Compose e

[–] writeblankspace@lemm.ee 2 points 1 year ago

or AltGr + ' + e I love this shortcut

[–] willya@lemmyf.uk 15 points 1 year ago

She must be running out of ideas.

[–] EssentialCoffee@midwest.social 11 points 1 year ago (1 children)

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

[–] Rom@hexbear.net 3 points 1 year ago* (last edited 1 year ago)

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

[–] shiveyarbles@beehaw.org 6 points 1 year 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.

[–] Saeculum@hexbear.net 5 points 1 year ago
[–] Scrollone@feddit.it 3 points 1 year ago (1 children)
[–] BilboBargains@lemmy.world 2 points 1 year ago

I want to join the C-hive

[–] MonkderZweite@feddit.ch -1 points 1 year ago* (last edited 1 year ago) (1 children)
[–] jackpot@lemmy.ml 4 points 1 year ago

right wing?