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

Earlier comments
mablopoule1 reply#
"The road to hell is paved with good intentions.", "Perfect is the enemy of good", and more generally idioms that sound like either paradoxical assertions or obvious platitudes.

It wasn't until late teens/early twenties that lots of those piece of wisdom went from "cliché phrases you've heard all your life", to (often) deeply impactful aspect of human conditions.
The "road to hell" idiom explicitly didn't click until I had enough experience with counter-productive efforts who looks good on the outside, but actually fail to take into account a more nuanced reality.
It also kinda works with the distinction between "values I believe in" and "arguments articulated around shared values". Being able to disagree on something even when (especially when) it's invoking values I believe in is one of the most important thing I've gained as I matured, and yet it needs experience to 'click'.

jrockway#
I never remember the right "direction" for these platitudes. I feel like "good is the enemy of perfect" is just as valid as "perfect is the enemy of good". Meanwhile, the road to heaven is also paved with good intentions. Good paving material, it turns out, but asphalt is cheaper.
em-bee#
object oriented programming.

i must have encountered it during my computer science classes and i certainly did some form of oo programming with LPC in MUDs, but only when i was programming modules in Pike for the Roxen webserver, it really clicked how oo programming worked.
in Roxen each http request causes a request object to be instantiated which lives for the lifetime of the request. further, each Roxen module gets instantiated as an object for the lifetime of the server process. the request object would call module objects to process the request. the modules would make changes to the request object which would produce the response to the http request, whereas storing data in a module object caused it to be persistent.
i have been working on this for a while when one morning i woke up with a literal eureka moment as i realized how objects and encapsulation worked.
this happened a few decades ago and it was the most clear moment of this kind that i can still remember.

skatanski1 reply#
I think I've read about git multiple times before I started using it. And even then at first it was with a dash of scepticism. I can't put my finger on that moment, the moment of clarity but it had to be quite glorious. Before, I was "what else do you need we have svn". Sounds horrible now that I think about it.
rubberband1 reply#
Pfft. I believe that anyone who read about git, and responded "yeah, duh, it's so obvious" is a dirty, dirty liar.

An explanation of "interactive rebasing" to me might as well been an explanation of quantum entanglement to a learning-disabled ant.
Sometimes it still trips me up. I have an embarrassingly large number of copies of source folders, despite git's safety net of "don't worry, you can always restore it; pinky swear..."

quickthrower2#
I would never rebase at the command line and avoid rebasing generally to the chagrin of team mates. A merge retains the information to reconstruct the rebase anyway so might as well use the simpler option. Unless there are a lot of commits such that in aggregate they conflict but individually they apply smoothly.
jefftime#
For me it was pointers. I used C throughout college and I never really grokked the "address to a value" description, but one day it finally just clicked and now I love pointers

Load more comments