141 points · by dhruvbird · 14y ago · 47 comments
Seeing Knuth talk about tweets feels weird.
On another note, anyone actually run into a random k-SAT problem in "real life"?
Because there's a lot of research into solving SAT "pretty quickly", one of the half-reasonable ways to approach an NP-complete problem is to find an efficient reduction and use a premade SAT solver/heuristic. I don't think nearly as much work has gone into that sort of thing as, say, integer programming (http://en.wikipedia.org/wiki/Integer_programming), but I remember reading something about it a couple of years ago.
Of course, when people realise their problem is NP-complete they tend to go a different way with things. The usual answers are:
1. Problems in practice are small enough for brute-force (or a simple backtracking search)
2. We probably don't need optimality, just use some kind of heuristic or metaheuristic.
3. Too hard, let's do something else.
From what I've heard, researchers are actually rejoicing, once they are proven a problem is in NP (instead of something worse or unknown status): because that's means it's quite likely that most of it's instances are tractable and we know lots about how to solve NP problems.
Granted, I haven't mustered the courage to begin reading TAOCP, but my impression is it's a timelessly relevant masterwork for the man.
I don't think Knuth is under any illusions about staying relevant: The original editions had code examples for a machine having 6-bit bytes and used self-modifying code to store the return address of subroutines rather than a stack.
In later editions he updated the examples, but even with respect to algorithms the new fascicles make references to quite recent papers and results. The books as timeless as they are, are products of their time more so than most books on mathematical topics.
First example from this new section about satisfiability, the epigraphs:
> “He reaps no satisfaction but from low and sensual objects, or from the indulgence of malignant passions.” – David Hume, The Skeptic (1742)
> “I can’t get no ...” — Mick Jagger & Keith Richards, “Satisfaction” (1965)
Or an example from the text, from a few pages later on:
> “Start with any truth assignment. While there are unsatisfied clauses, pick any one, and flip a random literal in it.”
> Some programmers are known to debug their code in a haphazard manner, somewhat like this approach, and we know that such “blind” changes are foolish because they usually introduce new bugs....
I'm betting "social" and "network" will still be recognizable words in 50 years too.
It might just give the whole work a nice and quaint touch.
Does it make you feel better that he released the book as a .ps?
[1] https://twitter.com/pervognsen/status/230892091188846592
I would have to google pretty much all of that, which is inconvenient. It should have linked to a page describing what it is, even if OP had to make it himself. Its only blogspam if you put ads on your blog... which I'd hope anyone here doesn't.
Reading the TeX source online?
I'd make it public, but that would be a copyright violation.
I wonder if Google hashes and caches the result. If they do the next upload should be much faster for anyone.
$ curl -s http://www-cs-faculty.stanford.edu/~knuth/fasc6a.ps.gz | dd bs=16 count=1 | xxd
0000000: 1f8b 0808 689e 1150 0203 6661 7363 3661 ....h..P..fasc6aNot only prevalent, but also the right thing to do. PDF was an attempt to (among other aims) achieve smaller filesizes than PS. But that was premature optimization: While a PS file is usually bigger than a PDF, gzipped PS beats PDF.