https://www.youtube.com/watch?v=58nSgVvXVbo
so any "intuition" one might hope to gain from these two pipes will be wrong.
Therefore "explain logic gates" is an incorrect title. It can be used to explain the truth table for AND, but not the gates.
https://www.youtube.com/watch?v=58nSgVvXVbo
so any "intuition" one might hope to gain from these two pipes will be wrong.
Therefore "explain logic gates" is an incorrect title. It can be used to explain the truth table for AND, but not the gates.
https://en.m.wikipedia.org/wiki/Logic_gate
Why wouldn’t the intuition here be helpful? You can, in fact, build an actual computer out of water based logic gates.
You refer to one of the transistor-based implementations of logic gates. Yes, it works differently.
https://courses.cs.washington.edu/courses/cse370/03au/lectur...
"There are 16 possible functions of 2 input variables: in general, there are 2^(2^n) functions of n inputs"
"And" from the original tweet is just one of them.
One of my favorites is the Digi-Comp II, which uses (in this modern version) laser cut wood, steel balls, and gravity:
https://www.evilmadscientist.com/2012/dcii-first/
There can be real value in explaining logic gates using things you can see and touch and observe in action.
Does that fact (which I never denied) in any way provide the original "pipes" picture any explanatory power, helping somebody to more understand the how the logic gates actually used in our devices function?
I still don't see that any answer here up to now disproved my original claim: "what is happening in the actual logic gates [meaning the gates that are actually used in our devices] has no similarity with that [the pipes thing] at all -- so any "intuition" one might hope to gain from these two pipes will be wrong."
I still claim that.
The "pipes" don't "explain" anything but demonstrate their own functioning.
TTL or CMOS aspects are also not relevant for this discussion, contrary to what "neuralRiot" writes.
Also see what user "zemnmez" wrote here.
You never know when one kind of explanation may give someone an "aha" moment that they didn't get somewhere else. And sometimes it's good to do things like this just for fun.
For example, my very favorite visualizations of sorting algorithms are the Hungarian dancers:
https://www.youtube.com/watch?v=ywWBy6J5gz8
(Turn the sound up to enjoy the music!)
Maybe this is just me, and it feels stupid to admit it, but I felt a definite shift of perspective on really seeing logic gates as inanimate. I had a related shift about F=ma around the same time, which is hard to articulate without sounding even stupider. You want to think of it like "you push, and the object accelerates" when from this nonanimate point of view there is no you causing things, there's only a network of constraints.