this post was submitted on 24 Jul 2023
592 points (100.0% liked)

Programmer Humor

31816 readers
391 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] nothacking@discuss.tchncs.de 5 points 1 year ago* (last edited 1 year ago)

What's "space!" and "enter"?

For those that need help in deciphering the title text, there is a super easy trick: Take the last 5 bits of each byte, convert them from binary to decimal, and that letter of the alphabet (starting from one) is the letter represented by the ASCII code.

To convert binary numbers to decimal, just add the place values of a the 1s together. For 5 bits, the place values are 16, 8, 4, 2, 1. So 10110 becomes 16+4+2 which is equal to 22.

01001101: last 5 bits are 01101, in decimal, that is 8+4+1=13, and the 13th letter of the alphabet is "m"

01100101, becomes 00101, then 4+1=5, and the 5th letter of the alphabet is 'e'

The last 2 are just repeats of those, so the post body reads "meme" (if the third bit is zero, the letter is capital, so it should really be "Meme")