Lurker News
I'm curious to see some examples of what people consider good visual illustrations of CS concepts, from both usefulness and aesthetics perspectives.

Comments (312) 127 threads

Phemist5 replies#
I, unfortunately, cannot find an online copy currently.

Knuth's TAOCP's latest published part, Volume 4 Fascicle 6, on Satisfiability contains a number of visualizations that really are amazing and worth just buying a copy of the book for, just to ponder over these images.
The satisfiability problem of whether there exists an assignment of boolean values that makes a given boolean formula evaluate to TRUE is, IMO, truly a fundamental problem in computer science.
Any piece of code with some inputs and outputs can be transformed into a boolean formula (albeit a huge one). This process feels akin to expressing molecules, from simple ones like H2O, to the highly complex proteins that make up much of our Cells, in their constituent atoms and more importantly the atom interactions.
Knuth (EDIT: Actually, Carsten Sinz) takes this concept one step further and produces visualizations of non-trivial boolean formulas that clearly show the regular, both symmetrical and asymmetrical, sometimes fractal-like nature of these formulas.
In my mind, these visualizations are quite powerful and strikingly show the fundamental building blocks of (digital) computation.

varjag1 reply#
The spread on page 300 (iirc) is really stunning.
LeonM1 reply#
Page 116/117, to be precise ;-)
eurasiantiger#
These seem to have structural parallels to Wolfram’s classification of cellular automata.
sacnoradhq#
Also 4B (1st ed) pp. 300-301.

ProTip: Order the 5 vol set directly from Addison-Wesley, it's much cheaper than anywhere else.

Eduard2 replies#
> Knuth takes this concept one step further and produces visualizations of non-trivial boolean formulas that clearly show the regular, both symmetrical and asymmetrical, sometimes fractal-like nature of these formulas.

The visualizations were done by Carsten Sinz.
This is his paper describing the technique:
Carsten Sinz. Visualizing SAT Instances and Runs of the DPLL Algorithm. J. Automated Reasoning, 39(2):219-243, 2007.
https://www.carstensinz.de/papers/JAR-2007-Visualization.pdf
https://doi.org/10.1007/s10817-007-9074-1

Phemist#
Aha! I have edited my post. Thanks for the correction! Beautiful work, looks like something I'd like to play around with as well :)
piyush_soni#
And that's why I love HN! (sorry for a non-contributing post).
k0k0r01 reply#
I am lucky to be paid to work on SAT. I wouldn't yet say I am an expert, yet, but it is really a pleasure to do so. Trying to improve on algorithms to solve these problems is truly humbling.

Edit: Fixed a typo.

Phemist#
Im jealous! To me, from the sidelines, people working on SAT are like the experimentally-focused particle physicists of computer science.
puglr#
Wow, you weren't kidding about those images.

What I found particularly striking about them was how much they reminded me of both neurons and larger brain structures, as well as some of those newer, ML-assisted FMRI imagery.
Probably just coincidence and wishful thinking, but it instills a sense of daydream-like wonder all the same.

niceworkbuddy1 reply#
Never forget :')
m4jor#
Eternal September
Dalewyn5 replies#
I pity the youngsters who will never be able to mentally playback the dialup sound.
matematico#
Same here! I played it in my mind while looking at the picture. Wow, we're so old school!
atoav#
I grew up after that sound, but I can mentally play back a dialup sound purely because it is used in every second show, podcast, documentary on computers.
piyush_soni2 replies#
I still remember the small adrenaline rush we had as soon as we would detect the tone for a successful connection.
lapama#
That instant was unique for human-tech interaction. Perhaps comparable with becoming positively viral, but at small scale.
noisy_boy#
I remember installing Mandrake Linux on my PC (via CD ordered online as magazines still hadn't started to include the CDs). I had the dial-up line and the modem but didn't know how to set it up as I was new to both Linux and dial-up. So I used to print the steps from websites/mail groups at office to try them at home. Initially I couldn't make it work and had no choice but to wait to get to office the next day to start again.

Finally I read a bunch of docs about how to talk to the modem and eventually I managed to do the correct steps and the modem produced its sweet handshake tone and the indicator lights started to blink - it was such a pure joy to finally be online from Linux!

rjh293 replies#
I wonder what the equivalent sound is now?
capableweb#
The opposite, connections that drop or slow down, the sound of music that is buffering or got automatically downgraded to the worst available quality.
bargle01 reply#
Not sound, but visual: The moment the video stream goes from blurry to crisp.

Continue this thread — 1 reply

luxcem#
There is still a lot of emblematic sounds, the skype calling sound, netflix loud bang bang, the iMessage or messenger notification pop sound, etc.

But there are all from company sound design and the same experience as the dial up sound.

ramblerman7 replies#
On that topic. I never understood why the initiation needed to be audible, but afterwards the connection was silent.
tlb#
It kept the speaker on at first so you could hear if a human answered the phone, or got some network message like "all circuits are busy". It muted once it had a confirmed modem on the other end.
Lammy#
You can hear all the post-handshake data sounds by adding &M2 to your modem script, or &M0 to mute the handshake too.
keithnz#
it doesn't have to be, ATM you could turn it off, or ATL you could control how loud it was
gsich#
There is no need. Speakers could be disabled.
einr#
It used to be useful to me back when my ISP had 28800 bps and 33600 bps capable modems in their pool, and I had a 33600 -- I learned to hear from the handshake when I hit one of the slower modems and would then immediately hang up and try again until I got one of the fast ones ;)
dahart#
It was pretty useful in my experience because sometimes the line you called was busy, sometimes a human answered instead of a computer, and sometimes a computer modem just didn’t pick up for whatever reason. Hearing the dial & handshake was a way to know what exactly went wrong when you weren’t able to connect. BBSs didn’t have this problem so much, but it happened often enough when modeming with friends or with small businesses that didn’t have a large modem bank and a lot of lines. Typing the wrong number was common. I also remember experimenting with robo-dialing with my childhood friends, calling through a list of numbers, like in War Games, looking for unknown computers to connect to.
jk_i_am_a_robot#
You could turn it on by sending the correct Hayes command before connecting. It's really annoying! And it can't be turned back off again until you disconnect.
bobsmooth2 replies#
That would make a good poster.

Continue this thread — 2 replies

Continue this thread — 3 more replies

Continue this thread — 11 replies

Continue this thread — 17 replies

Load more comments