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
alexmolas1 reply#
Social constructs aren't less real than other tangible concepts. For instance, I used to complain a lot about the non-sense that's to wear a tuxedo in weddings. I was the typical kid saying that I would like to go wearing my best sweatpants to weddings, and that probably my sweatpants are more expensive than some of the tuxedos there. Then, I matured and realized that what we wear have a meaning, wether we like it or not. It's like words, maybe you don't like the definition of the word "car", but using an alternative word would be useles since nobody else would understand you. So if you care about the people getting married and you want to communicate it you need to wear the damn tuxedo.
dgwight1 reply#
What kind of sweatpants are more expensive than a tuxedo??
parasti5 replies#
One of the biggest realizations recently for me was realizing that a nearly all of software development is basically about turning a slow, manual process into a faster, automated process. Modern CI/CD stems from a bunch of shell commands that somebody wrote and manually executed to test an app and upload it to a server. Modern automated software testing stems from humans writing small test apps and running them to confirm correct behavior. Many modern development practices stem from allowing small test apps to be written easier and faster. It's all just a giant manual process-to-automated process time-saving machine.
jstummbillig#
To add on to this, when you think in term of software development, that's already pretty meta because you skipped level 1: Formalizing any type of process. Something that is the entry level requirement to get, well, anything done via programming, is actually only done sporadicly in a lot of not-software fields.
tantalor1 reply#
This is a great way to understand complex, new-fangled technologies. Ask "what manual process does this speed up"?
metadat4 replies#
Okay, I'll bite:

What manual process does ChatGPT speed up?

derwiki#
Writing peer reviews at work
celeritascelery#
Googling
RajSinghLA#
Interpreting search results
Swiffy0#
The process of aggregating and formatting searchable information from many sources.

When you simply Google something, you're presented with blogs, articles, stackoverflow pages, github repositories, documentation, ... you're still left with the manual process of parsing all of the results, e.g. turning what you've read into runnable code, summarising and taking notes in a format that is easy for you to follow.
Furthermore ChatGPT allows you to have a dialog about the results. Maybe you have two equally interesting results and don't know which one to go with? Usually you'd have to do "sub-googling" in cases like this and once again parse, aggregate and format those results. With ChatGPT you can basically just ask it to expand on the previous results and help you figure out what to do.

urthor#
Save humans time with a workflow.

Save humans time.
Save humans time.

__s#
In fact a well designed system I work on (database service) is built to give people sufficient monitoring & control that operators handle anything out of the ordinary until they get annoyed enough to automate it
deafpolygon#
C is basically a faster way to write ASM. And so on.
nkrisc1 reply#
Two concepts that I never really understood until I encountered them together: functional programming and recursion.

When I first encountered recursive functions when I began learning programming I had a really hard time understanding what the function would do and how it would play out as it called itself. I couldn't think through the recursion and imagine what would happen. Nor did I really understand how to usefully apply one to a situation. I would either use a loop or a recursive function that utilized lots of external state to work.
When I later encountered functional programming, having learned programming with OOP languages, it was a real mind-bender. I finally started to understand it but when I encountered the need for recursion in FP, it really threw me for a loop. How the hell was I supposed to do this without external state? So it was that restriction that really let me understand how to create a recursive function that could return something useful with nothing more than the initial input. This new understanding also gave me a better appreciation of functional programming and the idea of pure functions.

sokoloff#
I had a similar experience with tail recursion that I only fully grokked much later when I had to implement some stack-trickery in C for a computer game. I realized then that tail recursion was typically optimized as a jump to code within the same stack frame rather than creating a new stack frame.
viburnum#
I had the same experience (and then I had to unlearn it all because it only applies to trivially narrow examples. MF’s trick is to hide the assumptions well the same way a magician diverts your attention).

Load more comments