Slashdot Mirror


Donald Knuth Turns 80, Seeks Problem-Solvers For TAOCP (stanford.edu)

An anonymous reader writes: When 24-year-old Donald Knuth began writing The Art of Computer Programming, he had no idea that he'd still be working on it 56 years later. This month he also celebrated his 80th birthday in Sweden with the world premier of Knuth's Fantasia Apocalyptica, a multimedia work for pipe organ and video based on the bible's Book of Revelations, which Knuth describes as "50 years in the making."

But Knuth also points to the recent publication of "one of the most important sections of The Art of Computer Programming" in preliminary paperback form: Volume 4, Fascicle 6: Satisfiability. ("Given a Boolean function, can its variables be set to at least one pattern of 0s and 1 that will make the function true?")

Here's an excerpt from its back cover: Revolutionary methods for solving such problems emerged at the beginning of the twenty-first century, and they've led to game-changing applications in industry. These so-called "SAT solvers" can now routinely find solutions to practical problems that involve millions of variables and were thought until very recently to be hopelessly difficult.
"in several noteworthy cases, nobody has yet pointed out any errors..." Knuth writes on his site, adding "I fear that the most probable hypothesis is that nobody has been sufficiently motivated to check these things out carefully as yet." He's uncomfortable printing a hardcover edition that hasn't been fully vetted, and "I would like to enter here a plea for some readers to tell me explicitly, 'Dear Don, I have read exercise N and its answer very carefully, and I believe that it is 100% correct,'" where N is one of the exercises listed on his web site.

Elsewhere he writes that two "pre-fascicles" -- 5a and 5B -- are also available for alpha-testing. "I've put them online primarily so that experts in the field can check the contents before I inflict them on a wider audience. But if you want to help debug them, please go right ahead."

71 comments

  1. Is slashcode broken? by Anonymous Coward · · Score: 0

    Why are all stories showing zero comments? Perhaps someone could learn the art of programming slashcode?

  2. Knuth, what? by Anonymous Coward · · Score: 5, Funny

    Didn't he just get arrested for buying an iPhone X?!

    1. Re:Knuth, what? by Anonymous Coward · · Score: 0

      Didn't he just get arrested for buying an iPhone X?!

      Yep. And it was Trump's fault, somehow.

    2. Re:Knuth, what? by Anonymous Coward · · Score: 0

      He was detained on false suspicion of committing a crime, unlike Trump who for now only remains suspected of treason by way of evidence and incriminating statements. Totally different, pay attention.

    3. Re:Knuth, what? by Anonymous Coward · · Score: 0

      Sweden is not as fascist as USA, despite they try to keep up...

    4. Re:Knuth, what? by K.+S.+Kyosuke · · Score: 1

      That was Shannon, silly. The information theory guy.

      --
      Ezekiel 23:20
    5. Re:Knuth, what? by slashrio · · Score: 1

      No, you didn't read the article carefully enough: It was a 'she', and she wasn't arrested, just sat down on the couch.

      --
      "Trump!!", the new Godwin.
    6. Re:Knuth, what? by Anonymous Coward · · Score: 0

      Please oh wise one of the AC crowd enlighten us all with the evidence of which you speak as we have all been waiting breathlessly for almost 2 years and have been given nary a glimpse.

  3. Gentlemen, we have a candidate by Anonymous Coward · · Score: 1

    For the title of "Last Great Work of Computer Science Written By a Single Human Without Intentional AI Assistance".

    1. Re: Gentlemen, we have a candidate by careysub · · Score: 5, Funny

      Have you ever read any of TAOCP? Years ago I kept hearing how great it supposedly is, so I read all of the volumes that were available at that time. I have to say, I was very underwhelmed. It wasn't a bad work, but I don't think it was deserving of the praise that's heaped on it so often. I've since found that Wikipedia articles are often more comprehensive, more comprehensible, have better examples, and are more practical.

      This is akin to someone saying "I don't know why everyone says Shakespeare is so great. His writing is just a bunch of famous quotations strung together."

      --
      Starships were meant to fly, Hands up and touch the sky - Nicky Minaj
    2. Re: Gentlemen, we have a candidate by 50000BTU_barbecue · · Score: 1

      I feel the same way about "The Art of Electronics" on the hardware side. Useless book, except as a symbol, or if you enjoy reading two old men wool-gathering about obsolete technologies.

      --
      Mostly random stuff.
    3. Re: Gentlemen, we have a candidate by Darinbob · · Score: 2

      Because it's theory, and far too few programmers bother with that. They're more interested in tying frameworks together with programming glue. And yes, it's a difficult book to read; it requires thinking and practice and is the opposite of "Learn a Popular Language in 21 days".

    4. Re: Gentlemen, we have a candidate by Paradise+Pete · · Score: 1

      "I don't know why everyone says Shakespeare is so great. His writing is just a bunch of famous quotations strung together."

      Perfect response. And you made me laugh, too.

    5. Re: Gentlemen, we have a candidate by nowwith25percentmore · · Score: 1

      An updated third edition of "The Art of Electronics" was published in 2015. https://www.amazon.com/gp/aw/d...

    6. Re: Gentlemen, we have a candidate by TheRaven64 · · Score: 2, Insightful

      It's not just that it's theory, it's theory presented in a pretty unapproachable way. People read TAOCP for the same reason that they join Mensa: so that they can look down on people that didn't. If you actually want to learn the theory, then you can pick up pretty much any undergraduate computer science textbook and see a far more approachable presentation.

      Remember, this is the same Knuth whose TeX system started with a Turing machine and thought 'that's a really approachable programming model. Scoping and constraining side effects are for n00bs'.

      If you feel the need to read something written by one of the computer science greats, then read pretty much anything Dijkstra wrote (even his review of the IBM 1620).

      --
      I am TheRaven on Soylent News
    7. Re: Gentlemen, we have a candidate by Anonymous Coward · · Score: 0

      Maybe because is not a reference book or technical book, is a real book, like a text book or an artistic book, it's massive volume of chapters and particular organization makes it really hard to read it the first time, but I guess is the author's intention.

    8. Re: Gentlemen, we have a candidate by Anonymous Coward · · Score: 0

      Then might I suggest a career as a janitor?

    9. Re: Gentlemen, we have a candidate by Darinbob · · Score: 1

      This is true in a way. I think the book was much more approachable back in the late 70s, early 80s, because there was so much more code written in assembler. Thus the MIX language. If it had been written a decade later I suspect there might have been a higher level language used. Although at a higher level, it's easy to fall into a trap of ignoring the low level details - ie, only worrying about how many compare operations there are and not counting the overhead of the loop itself.

  4. Will he cover Rust's algorithmic discoveries? by Anonymous Coward · · Score: 5, Funny

    Will he be covering the numerous algorithmic and data structure discoveries made by the Rust programming language's creators? For example they have discovered new algorithms for tracking ownership of resources. Knuth's work couldn't be considered anywhere near comprehensive as long as it is missing coverage of what the Rust programming language has given us.

    1. Re:Will he cover Rust's algorithmic discoveries? by Darinbob · · Score: 1

      I'm tempted to mod this +1 funny.

    2. Re: Will he cover Rust's algorithmic discoveries? by Anonymous Coward · · Score: 0

      Translate the algorithms into MMIX and he very well might include them.

    3. Re:Will he cover Rust's algorithmic discoveries? by Anonymous Coward · · Score: 0

      I couldn't resist the temptation to do so (hence, I'm temporarily AC).

    4. Re:Will he cover Rust's algorithmic discoveries? by Anonymous Coward · · Score: 0

      You're an imbecile, aren't you? (rhetorical question)

    5. Re:Will he cover Rust's algorithmic discoveries? by serviscope_minor · · Score: 2

      It's supposed to be a joke, but it's not really funny. Merely referencing things isn't actually funny, no matter how current.

      Knuth's work couldn't be considered anywhere near comprehensive as long as it is missing coverage of what the Rust programming language has given us.

      I take it you don't like Rust very much. But no, Knuth's work is about algorithms and as far as I can tell doesn't cover any aspect of type theory. And no, his book isn't comprehensive to the world of programming: it's a book on algorithms, not a book on the languages in which you implement algorithms.

      --
      SJW n. One who posts facts.
    6. Re:Will he cover Rust's algorithmic discoveries? by Anonymous Coward · · Score: 0

      Merely referencing things isn't actually funny, no matter how current.

      Did you know that humor is subjective? Considering the braindamaged chuds who enjoy Family Guy, Rick and Morty, etc., I'd say that there are plenty of people who get a laugh out of pure reference. It's comforting to be included.

    7. Re:Will he cover Rust's algorithmic discoveries? by Megol · · Score: 1

      Do you really not understand that type systems have associated algorithms?

      Type inference?
      Type checking?

  5. The obligatory XKCD by Ecuador · · Score: 4, Funny

    One of my favorite XKCD strips is Knuth-related: https://xkcd.com/163/

    --
    Violence is the last refuge of the incompetent. Polar Scope Align for iOS
    1. Re: The obligatory XKCD by mapkinase · · Score: 2

      The previous one, the classic 162, that has been in footer pantheon of 5 best panels for ages, is the best romantic work ever with a touch of STEM.

      --
      I do not believe in karma. "Funny"=-6. Do good and forbid evil. Yours, Oft-Offtopic Flamebaiting Troll.
    2. Re: The obligatory XKCD by careysub · · Score: 1

      I have loved XKCD 162 ever since he published it. It is a marvelous fusion of romance and physics.

      --
      Starships were meant to fly, Hands up and touch the sky - Nicky Minaj
    3. Re: The obligatory XKCD by TeknoHog · · Score: 1

      Too bad you can't actually live longer that way. In fact, by making the day longer, you'll have fewer of them left.

      --
      Escher was the first MC and Giger invented the HR department.
    4. Re: The obligatory XKCD by Anonymous Coward · · Score: 0

      Did you actually read it. Because "is it worth it if she throws up?" is so romantic.

    5. Re: The obligatory XKCD by Anonymous Coward · · Score: 0

      Unfortunately, it's wrong. Its not every turn but only the turning in general that borrows from the earth. Once she stops spinning, earth gets its momentum back. Same could be achieved by starting to spin at the end of the nigh and stopping to spin at the beginning of the day.

    6. Re: The obligatory XKCD by Anonymous Coward · · Score: 0

      I had a friend once who was sure that you only were allotted a fixed number of heartbeats, so he refused to exercise in hopes of living longer. I was never quite sure if he was kidding.

  6. Just one revelation by Anonymous Coward · · Score: 0

    Why do people persist in calling it the "Book of Revelations" or "Revelations"?

    There is one revelation. The name of the book is "The Revelation of John", or just "Revelation".

  7. Here, open problems. by Anonymous Coward · · Score: 0

    For solving some hard problems (e.g. combinatorial problems), i recommend
    1. ECLiPSe.
    2. Prolog with CLP(FD) support.
    3. Java with frameworks Choco and JaCoP (Scala too).

    Can Knuth to test these above solvers?

  8. If he wants someone to look over his work... by blahplusplus · · Score: 1

    ... he should just hire some people to do so.

    1. Re:If he wants someone to look over his work... by Anonymous Coward · · Score: 0

      He's paying bug-bounty at least.

  9. Happy Birthday! by joh · · Score: 3, Informative

    'nuff said.

  10. Which Volume 4 first? by Flexagon · · Score: 1

    I used to make jokes about which Volume 4 would publish first: Knuth's, or Star Wars (i.e., episode 1). Of course, even with all of the LucasFilm soap opera, it looks like episode 9 will beat it.

    1. Re:Which Volume 4 first? by Anonymous Coward · · Score: 0

      4a is already at the local library.

  11. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  12. Re:Who? by Paradise+Pete · · Score: 2

    Some rando? omfg.

  13. Re: Who? by Anonymous Coward · · Score: 0

    I'd suggest googling it.

  14. Isn't it true... by Anonymous Coward · · Score: 0

    ... that when an error was found in an earlier volume of Knuth's Art of Computer Programming that God relented and chose to change the underlying laws of the reality instead?

  15. Re:Who? by Anonymous Coward · · Score: 0

    Yep. This Donald Cuck guy is some rando that nearly 99% or more of the world has never heard of.

  16. rust equals AIDS by Anonymous Coward · · Score: 0

    Knuth's work couldn't be considered anywhere near comprehensive as long as it is missing coverage of what the Rust programming language has given us.

    That's because Knuth is known for his encyclopedic, foundational works in computer science and rather less for HIV transmission.

    1. Re:rust equals AIDS by Anonymous Coward · · Score: 0

      I thought rust transmitted tetanus?

  17. Most SAT solver spit out wrong answers by Anonymous Coward · · Score: 0

    Years ago I did a survey of solvers. Only one instance of one ever passed all of my test. The rest happily spit out invalid solutions. The most sophisticated open source solver cryptosatsolver was by far the absolute worst providing wrong answers right and left. Not too long after my testing discovered blog posts by the programmers basically outlining one of the problems with an embarrassingly simple circular dependency graph turned into a sat problem spitting out the wrong answer. Don't trust SAT solvers with anything important.

  18. Re: Who? by Paradise+Pete · · Score: 1

    I'd suggest re-reading the thread. Or perhaps reading it for the first time.

  19. He seems to like complex devices by thogard · · Score: 3, Interesting

    I would love to see a short story written by him about the connections between pipe organs and computers. Until the invention of the steam locomotive, organs were the most complex devices ever made. Many of the terms of CPU/ALU parts came from the pipe organ such as register, buffer and accumulator. There is a reference in one of his books that he was going to use the royalties from TAOCP to buy an organ.

    1. Re:He seems to like complex devices by Anonymous Coward · · Score: 0

      There is a reference in one of his books that he was going to use the royalties from TAOCP to buy an organ.

      And buy one he did...he actually had one designed and built to his own specifications:

      The Organ of Don and Jill Knuth
      https://www.cs.stanford.edu/~knuth/organ.html

    2. Re:He seems to like complex devices by divide+overflow · · Score: 1

      Oops, I forgot to log in before I the last post A.C. post, the one with the link to his webpage describing his organ. Eh, as Sterling Archer would probably say, *phrasing*....

      But seriously, Knuth also likes to solve puzzles. I met him at a gathering of puzzlers from the SF Bay Area and didn't even recognize him until someone introduced me to "Don" and it finally clicked. There was some serious brain power in that room....

    3. Re:He seems to like complex devices by WallyL · · Score: 1

      The Organ of Don and Jill Knuth
      https://www.cs.stanford.edu/~k...

      Wow, without Jill listed there, that would be interpreted very differently!

    4. Re:He seems to like complex devices by Anonymous Coward · · Score: 0

      While I can see the relation between a register being a set of pipes in an organ and a set of memory bits in a computer, I can't find any reference to buffers or accumulators in pipe organs.

      I've seen references to computers or their components as "organs", but only in the meaning of "instrument" or "tool" (the same way components of a human body are organs).

      The term "accumulator" as it relates to computers seems to have evolved independently, as many early devices used them to accumulate results instead of transferring intermediate results to/from memory. I couldn't find any reference to accumulators in pipe organs.

      The only references I could find to "buffer" as it relates to pipe organs are either the devices used to polish the pipes or are the computer artifacts used in simulating physical organs.

      dom

    5. Re:He seems to like complex devices by mcswell · · Score: 1

      I believe that Neal Stephenson's novel Cryptonomicon has a computer made in part out of a pipe organ. Or perhaps that's what you were referring to?

  20. Re: Who? by Anonymous Coward · · Score: 0

    Sick burn.

  21. Re: Who? by Anonymous Coward · · Score: 0

    You wouldn't be able to show what a cut you are on the internet if it wasn't for his work.

  22. Bach it isn't by Tough+Love · · Score: 2

    Heard the preview. I've heard worse, but that isn't saying much. Competently written, more than competently performed. Inspired? No. Cohesive? No. As tidily organized and precise in detail as any technical text he has published. Worth sitting through? Don't entirely know yet because the composition is not released, but at this point it seems safe to say, that would be more out of respect for the person who wrote it than the enjoyment of a masterpiece. On other fronts, I will be more than happy to attempt to wade through as much of the new AOCP as I can possibly manage, when available. I hope it does become available, at least, more so than the 6th volume of Ice and Fire.

    --
    When all you have is a hammer, every problem starts to look like a thumb.
  23. Re:Enough with the Knuth stories! by Tough+Love · · Score: 1

    Just how many Knuth stories does Slashdot need?

    As many as there are.

    --
    When all you have is a hammer, every problem starts to look like a thumb.
  24. Re:Who? by RackinFrackin · · Score: 1

    Rather than explaining who he is, I'll point you to a comment from a previous story on Donald Knuth.

    https://developers.slashdot.org/comments.pl?sid=35651&cid=3849091

  25. Why? by Anonymous Coward · · Score: 0

    A lot of people would pay for this kind of privilege. Why should someone who would only do it for money get the privilege?

    1. Re:Why? by blahplusplus · · Score: 1

      You're not taking reality into account, most people of intelligence have lives and just asking people to do it for free means there was already intellectual interest it would have been done long ago. The reality is if the problem is hard or non trivial then it's genuinely work.

  26. best wishes, Don! by NikeHerc · · Score: 1

    I used Don's insertion sort from TAOCP, Sorting and Searching, to fix a knotty programming problem I had years ago. I've always been a fan of TAOCP, what a treasure trove of info!

    --
    Circle the wagons and fire inward. Entropy increases without bounds.
  27. Poe's Law by mcswell · · Score: 1

    or perhaps Alan Morgan's Law: "Any sufficiently advanced troll is indistinguishable from a genuine kook."