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

Greentext

4430 readers
1187 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
 
top 50 comments
sorted by: hot top controversial new old
[–] SlopppyEngineer@lemmy.world 106 points 5 months ago (1 children)

They didn't start it with rocks. The first calculators used gears. Those were hard to reprogram. So they started using relais. That worked but was very slow. Then they found out that lamps (vacuum tubes) could take the place of relais but these wore down too fast. Then someone figured out that rock stuff (silicium) could do the same as a vacuum tube. After that it became a race to make them as small as possible to cram more of them together.

[–] Pelicanen@sopuli.xyz 24 points 5 months ago (1 children)

I took a course in computing systems engineering which was basically going all the way from semiconductors up to operating systems and it was incredibly interesting.

One of the things that surprised me was how easy it was to abstract away the lower-level complexity as soon as you got one step up. It's kind of like recursive Lego pieces, you only have to design one piece then you can use a bunch of those to design another piece, then use a bunch of those to design another, and so on. By the end you have several orders of magnitude of the fundamental pieces but you don't really think about them anymore.

load more comments (1 replies)
[–] Alexstarfire@lemmy.world 78 points 5 months ago (3 children)

Dude doesn't even know about the magic smoke.

[–] Hupf@feddit.de 11 points 5 months ago

https://www.catb.org/jargon/html/M/magic-smoke.html

I wonder whether ESR will one day up his SSL game.

[–] archon@sh.itjust.works 4 points 5 months ago

Anon also forgot to infuse the lightning pixies after inscribing the runes, tsk tsk.

They're the ones who let the smoke out if you anger them!

[–] Aceticon@lemmy.world 3 points 5 months ago (3 children)

Generally it's only the wizards that deal with the physical side - such as rock shapping and rock combining - that get magic smoke, though if they did their part wrong the wizards that make rocks think might get it as can the people playing Skyrim using the thinking rocks.

load more comments (3 replies)
[–] BurnedDonut@ani.social 56 points 5 months ago (1 children)

When I learned about how they are making the new CPUs it blew my mind. Dropping a microscopic droplet of metal and blasting it with lasers to a stencil like thingy to create the nanometer circuitry. I was like how the fuck did you even thought about doing that?.. Technologies like these are really marvelous.

[–] cucumber_sandwich@lemmy.world 59 points 5 months ago (3 children)

You start with macroscopic photolithography, add material science of semiconductors and then iterate a million times. It didn't start at nanoscale.

[–] BurnedDonut@ani.social 17 points 5 months ago (1 children)

Give me a break... I'm still trying to wrap my head around how transistors work. For a layman this is like magic.

[–] cucumber_sandwich@lemmy.world 10 points 5 months ago (1 children)

Photolithography started as a printing technique and is pretty basic.

[–] Aceticon@lemmy.world 7 points 5 months ago (1 children)

It's essentially the same as somebody with a couple of cans of spray piant and a handfull of carboard sheets with cutouts spray paimting a muti-color tag on a wall.

As the logo kept getting smaller and smaller and the errors of the process of just putting that cardboard in front of the wall and spraying the whole thing had too much imperfection for tiny logos, they had to come up with more and more tricks to get it to still do tiny logos without those logos ending up too distorted.

[–] cucumber_sandwich@lemmy.world 5 points 5 months ago

Like glueing a cardboard to the wall and then dissolving it after spraying :)

load more comments (2 replies)
[–] 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

load more comments (1 replies)
[–] niktemadur@lemmy.world 27 points 5 months ago (1 children)

Well... since you put it that way, it is quite staggeringly improbable, isn't it?

"Through these terse, inter-connected runes, an invisible magic flows. You cannot change the rune, as then the spell will be broken."
"Where does the magic come from, mommy?"
"From the highest point in the invisible topology of this magic, Billy: the Hoover Dam/Niagara Falls".

load more comments (1 replies)
[–] Bytemeister@lemmy.world 22 points 5 months ago

sighs Okay, to start, you're going to need some amber and sheep's wool...

[–] halcyoncmdr@lemmy.world 17 points 5 months ago (1 children)

No it's even worse. We taught the rock how to think, and now force it to think what we want it to think. Millions of thoughts that we want, every second.

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

It's only time until the rock fights back.

[–] sxan@midwest.social 13 points 5 months ago (3 children)

I'm a little offended that this utterly skips over software, as if a CPU would do anything without the component that was invented before any CPU.

Software without a CPU is still useful. The reverse is not true.

[–] synapse1278@lemmy.world 40 points 5 months ago (2 children)

Isn't software the "trick rock into thinking" part?

[–] zaphod@sopuli.xyz 10 points 5 months ago (1 children)

Software is a list of instructions, you can execute it with pen and paper or just using your brain if you want.

[–] dodgy_bagel@lemmy.blahaj.zone 12 points 5 months ago (3 children)

Try doing that with my code.

[–] KISSmyOSFeddit@lemmy.world 10 points 5 months ago (1 children)
[–] Randelung@lemmy.world 6 points 5 months ago

Insert Matrix quote " All I see is blonde, brunette, redhead..."

load more comments (2 replies)
[–] sxan@midwest.social 4 points 5 months ago

Software is a necessary component, just like screws are a necessary component in an engine. Screws don't exist only in engines, have existed since long before engines, and can be used in other ways. Just like software.

[–] groet@infosec.pub 10 points 5 months ago (1 children)

How is software without a CPU useful? Its literally a list of instructions for a CPU.

Also a CPU can still calculate stuff if you just send electrical signals to the right connections. Software is just a way for the CPU to keep going and do more calculations with the results.

[–] sxan@midwest.social 7 points 5 months ago (2 children)

Software is algorithmic instructions. We wrote and executed algorithms by hand long before we had calculating machines; and when we did get computers that could run more complex algorithms, they didn't have CPUs. They had vacuum tubes (there were even simpler programmable purely mechanical computers before even vacuum tubes). CPUs didn't come along until much later; we'd been writing software and programming computers for decades before the first CPU.

And even if you try to argue that vacuum tubes computers had some collection of tubes that you could call a "CPU" - which would be a stretch - then it still wouldn't have been made from silicon (rocks) as in the OP post.

But before the first calculating mashing, people are writing algorithms - what software literally is - and executing them by hand long before we had calculating machines to do it for us. Look up how we calculated the ranging tables for artillery in WWII. Algorithms. Computed by hand.

The word "computer" literally comes from the word for the people (often women) who would execute algorithms using their brains to compute results.

[–] zalgotext@sh.itjust.works 4 points 5 months ago* (last edited 5 months ago) (3 children)

I think you're conflating "algorithm" with "software". You're right in saying that algorithms can be computed by hand, but I don't think anyone would refer to that as "running software". The word "software" implies that it's run on "hardware", and hardware usually implies some sort of electronic (or even mechanical*) circuit, not pen and paper and a human brain.

load more comments (3 replies)
[–] areyouevenreal@lemm.ee 3 points 5 months ago (1 children)

We also had machines and computers based on relays and other electro mechanical devices earlier than even vacuum tubes. If you follow Technology Connections he breaks down the inner workings of a pinball machine using that technology, but programmable machines have also been made with it.

load more comments (1 replies)
load more comments (1 replies)
[–] ColdWater@lemmy.ca 12 points 5 months ago

People who are coding Skyrim porn mods are smarter than the one who invented CPU /s

[–] zourn@lemmy.world 12 points 5 months ago

And the "inscribe ancient runes" step takes up to 4 months.

[–] Kolanaki@yiffit.net 11 points 5 months ago (3 children)

I'm lost on how a transistor can just stay 0 or 1 when it's just a super teeny tiny circle of wire, basically. Like, I know the typical explanation, but it doesn't really make it any clearer. Electricity moves in a magic shape, and stuff happens. 🤷🏻‍♂️

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

The thing is, it never stays in a constant state! It's more like a water dam with a steady water flow that you can open and close. You said you know the typical explanation already, so I won't cry to explain it again.

[–] bstix@feddit.dk 11 points 5 months ago (1 children)

I'm not sure what the typical explanation is, but a transistor is not a wire.

A wire is a conductor. It conducts electricity from end to the other.

A transistor is a semi-conductor device made from semi-conducting materials, so it conducts electricity between 2 ends with a variable electrical resistance. This variable can be controlled by putting voltage on the third leg. This way a transistor is basically a resistor with a variable resistance, which unlike a resistor is also controllable by a third input.

This ability is a property of the material. It cannot be constructed by a regular wire.

[–] Phoenix3875@lemmy.world 4 points 5 months ago

I think OP is referring to a typical SRAM bit.

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

The memory is generally done by something called a capacitor (though there are more techniques) which just can hold a little electrical charge - roughly having an electrical charge means it's a 1, otherwise it's a 0.

Get 8 of those things and you have a byte.

It's generally easier to think of it as water: electrical lines are tubes moving water, capacitors are little containers that can have water (meaning bit = 1) or be empty (bit = 0), transistors are one-way water valves which are controlled by water (imagine they have a pressure button that opens the gate if there is water running in the tube passimg by that button, putting pressure on it).

From this simple basis you can actually create a lot of complexity by having a LOT of these things combined in weird ways.

Further, there's also a lot of complexity due to the Physics of the real world being less than perfect (for example, the "capacitors" leak water, so not only do you have to say that bit=1 is "water above a certain level" rathe than "full" - since as soon as it's filled it starts losing water - but you even have to check them once in a while and top up the ones which are supposed to be full before so kuch water leaks that the level has fallen below that treated as a "1" - this is actually how DRAM memory works, though with electric charge rather than water).

[–] TehWorld@lemmy.world 10 points 5 months ago

The classic response is that you have to capture lightning first to apply to the rick that you want to do the thinking.

[–] dynamic_generals@lemmy.world 5 points 5 months ago (1 children)

What’s going on when it gets turned back into a rock?

[–] 1024_Kibibytes@lemm.ee 11 points 5 months ago

Probably the silicon being made into a wafer.

load more comments
view more: next ›