this post was submitted on 15 May 2025
1158 points (98.6% liked)

Programmer Humor

23398 readers
1273 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 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] houseofleft@slrpnk.net 10 points 5 days ago (1 children)

Wait till you here about every ascii letter. . .

[–] answersplease77@lemmy.world 4 points 5 days ago (2 children)
[–] Iron_Lynx@lemmy.world 7 points 5 days ago* (last edited 3 days ago) (1 children)

ASCII was originally a 7-bit standard. If you type in ASCII on an 8-bit system, every leading bit is always 0.

(Edited to specify context)

At least ASCII is forward compatible with UTF-8

[–] Jankatarch@lemmy.world 1 points 5 days ago

Is ascii base-7 fandom's strongest argument...

[–] houseofleft@slrpnk.net 4 points 5 days ago (2 children)

Ascii needs seven bits, but is almost always encoded as bytes, so every ascii letter has a throwaway bit.

[–] Valmond@lemmy.world 10 points 5 days ago (1 children)

Let's store the boolean there then!!

[–] anton@lemmy.blahaj.zone 1 points 2 days ago

That boolean can indicate if it's a fancy character, that way all ASCII characters are themselves but if the boolean is set it's something else. We could take the other symbol from a page of codes to fit the users language.
Or we could let true mean that the character is larger, allowing us to transform all of unicode to a format consisting of 8 bits parts.

[–] FuckBigTech347@lemmygrad.ml 1 points 5 days ago

Some old software does use 8-Bit ASCII for special/locale specific characters. Also there is this Unicode hack where the last bit is used to determine if the byte is part of a multi-byte sequence.