this post was submitted on 07 Jun 2024
749 points (97.2% liked)

Greentext

4470 readers
1256 users here now

This is a place to share greentexts and witness the confounding life of Anon. If you're new to the Greentext community, think of it as a sort of zoo with Anon as the main attraction.

Be warned:

If you find yourself getting angry (or god forbid, agreeing) with something Anon has said, you might be doing it wrong.

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] kylie_kraft@lemmy.world 30 points 5 months ago (4 children)

I'm still stuck on how you get from "switch go on, switch go off" to, well, anything

[–] bamboo@lemmy.blahaj.zone 57 points 5 months ago* (last edited 5 months ago) (1 children)

One Switch can have two states. Switch on is a 1 and switch off is a 0. Group 8 switches together and you get a byte. Miniaturize the switches and put 8 trillion of them into the size of a fingernail, and ta-da you have a 1TB micro SD card.

Wire up two switches so that a light bulb only will go on when both switches are on (1). This wiring creates an AND gate. Adjusting the wiring so that if either of the switches are on, the light turns on. This wiring is an OR gate.

Channing the output of the lightbulb and treating it like a new switch allows you to combine enough AND and OR gates to make other logic blocks, NOT, NAND, XOR, etc.

Combine enough logic blocks and you can wire up a circuit so that you can add the value of two switches together, and now you can start to perform addition.

This all naturally evolves to the point where you can play Skyrim with the most degenerate porn mods.

[–] feelbetterdude@lemmy.world 23 points 5 months ago (2 children)

I like your explanation, but i dont understand it. Keep up the good work.

[–] Gutek8134@lemmy.world 9 points 5 months ago

This game may help, but I didn't play it myself (yet)

[–] LazerFX@sh.itjust.works 6 points 5 months ago

In addition to Turing Complete, which is really good, Code: The Hidden Language of Computer Hardware and Software is a fantastic book that literally goes from two kids trying to talk to each other at night with flashlights, to a fully working Z80 clone, while not being hard to understand and using a really good conversational teaching method. It's how I figured out a lot about CPU design, microarchitectures, assembly and machine langauge and a lot of other things.

[–] pigup@lemmy.world 7 points 5 months ago* (last edited 5 months ago)

Simply put, the switching doesn't do anything by itself. It's the meaning we assign to the arrangement of on-off switches. Much like flag signals, the flags don't do anything besides be visible and locatable. Yet, we can establish a communication protocol with flags, lights, fingers on a hand, etc. this signaling is done electronically with many layers of meaning and complexity, and nowadays at unfathomable scale and speed.

[–] HonoraryMancunian@lemmy.world 3 points 5 months ago

Watch this. It's a guy who shows how computers work using dominoes. It really helps explain how calculating something works at its most fundamental level

[–] captainlezbian@lemmy.world 2 points 5 months ago

Transistors (electrically activated diodes) allow for logic gates. Logic gates allow for wild bullshit