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

Show all comments

Showing thread 1 of 127

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.