this post was submitted on 24 Jul 2023
530 points (96.7% liked)

Programmer Humor

32410 readers
1 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 20 comments
sorted by: hot top controversial new old
[–] AlexWIWA@lemmy.ml 81 points 2 years ago (4 children)

It was even worse, they manually flipped toggle switches to write the program

[–] IHeartBadCode@kbin.social 34 points 2 years ago (2 children)

For anyone interested. Here’s a video of programming an EEPROM with dip switches and using it to drive a seven segment display.

The guy’s channel also includes how to build a very simple computer using various ICs. If breadboard computers are your kind of thing.

[–] gvasco@discuss.tchncs.de 8 points 2 years ago

Love Ben Eater and his projects. Helped me understand lots about how a computer functions under the hood with his 8bit computer project.

[–] Duke_Nukem_1990@feddit.de 3 points 2 years ago

That was great, thanks for sharing:)

[–] akash_rawal@lemmy.world 15 points 2 years ago (1 children)
[–] Hikermick@lemmy.world 4 points 2 years ago

Yeah they looked like old timey telephone operators and the people who did it were called computers

[–] tias@discuss.tchncs.de 10 points 2 years ago

And there was no space or enter.

[–] Carighan@lemmy.world 8 points 2 years ago

I bet most people reading your comment will think it's a joke. 😩 And thanks for bringing back up those nightmares.

[–] MonkderZweite@feddit.ch 23 points 2 years ago

Nah. They punched cards.

(Too bad shittywatercolors is not on lemmy)

[–] Phoenix3875@lemmy.world 17 points 2 years ago

Yeah, with USB and chips. Sounds about right.

[–] sgtnasty@lemmy.ml 11 points 2 years ago

This picture is basically true. The old punch cards ...

Finally, a keyboard to program brainfuck

[–] Blackmist@feddit.uk 8 points 2 years ago (1 children)
[–] nothacking@discuss.tchncs.de 4 points 2 years ago* (last edited 2 years 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")

[–] Lowered_lifted@lemmy.world 3 points 2 years ago

This is a weird meme to me. Have you ever made something like a simple accumulator machine out of logic gates, OP? You literally just program them in binary, although usually the instructions are expressed in hexadecimal. You make your own instruction set. When we did ours in Compsci foundations I just decided that 0x06 was going to be my jump at negative instruction. I could have wired the logic so that instruction was at a different value, it's literally possible to make your own instruction set, then your own assembly language, and then your own compiler, and your own programming language. People, mostly women at first, did this for every new computer their institution built at first.

[–] aidan@lemmy.world 3 points 2 years ago

Having a space character makes it ternary. If enter is a character than quaternary

[–] sarmale@lemmy.zip 2 points 2 years ago

This is what I imagined programators did when i was a kid

[–] Leobm@feddit.de 1 points 2 years ago
load more comments
view more: next ›