Lurker News
I'm reading Petzold's Code [1], and it dawned on me that I didn't understand logic gates intuitively until now. I took a Computer Architecture course back in college, and I understood what logic gates meant in boolean algebra but not empirically. Petzold clarified this for me by going from the empirical to the theoretical using a lightbulb, a battery, wires, and relays (which he introduces when he talks about the telegraph as a way to amplify a signal).

Another concept is the relationship between current, voltage, and resistance. For example, I always failed to understand why longer wires mean more resistance while thicker wires mean less resistance.
[1]: https://www.codehiddenlanguage.com/

Comments (913) 203 threads

Show all comments

Showing thread 32 of 203

darawk1 reply#
Tensors. Years ago, I would read the Wikipedia page about them every so often, and completely fail to understand what they were.

Then one day I was modeling something in a spreadsheet, and I thought to myself "you know, what I really need here, is 3rd axis to this spreadsheet". And for a few minutes, I thought I had invented a new form of spreadsheet/structure, and was considering trying to build a 3d spreadsheet program.
But, of course, suddenly everything I'd read about tensors and not understood before snapped into place, and I realized that this is exactly what they are (to be precise, this is a special case of a tensor, the contemplation of which caused me to understand what the general case is, and why e.g. a scalar is a rank 0 tensor, a vector is rank 1, a matrix is rank 2 my 3d spreadsheet idea is rank 3, etc).

ninthcat#
It sounds like you are describing a multidimensional array, which can be used to represent a tensor, but is not conceptually the same thing. A tensor is an element of a tensor product.