The unpopularity and inherent goofiness of literate programming, and the way Knuth always mentions it in interviews, feels like a sort of elephant in the room whenever a new interview appears.
Questions for Donald Knuth
31–40 of 61 posts
Re: Questions for Donald Knuth
#32The unpopularity and inherent goofiness of literate programming, and the way Knuth always mentions it in interviews, feels like a sort of elephant in the room whenever a new interview appears.
The closest thing I've seen to literate programming "in the wild" is the ipython notebook concept, which encourages you to intersperse your code with explanatory text to give it context and structure (eg http://nbviewer.ipython.org/github/corbt/city-weather/blob/m... ). I don't think it's the right fit for all (or even most) programming, but I like it for that class of programming because often a reader is more inter…
Re: Questions for Donald Knuth
#33The unpopularity and inherent goofiness of literate programming, and the way Knuth always mentions it in interviews, feels like a sort of elephant in the room whenever a new interview appears.
The closest thing I've seen to literate programming "in the wild" is the ipython notebook concept, which encourages you to intersperse your code with explanatory text to give it context and structure (eg http://nbviewer.ipython.org/github/corbt/city-weather/blob/m... ). I don't think it's the right fit for all (or even most) programming, but I like it for that class of programming because often a reader is more inter…
As I've written more and more about code I wrote, I've found myself inventing weird ways of making sure the code samples are compilable, runnable and correct. I've done it enough that now I'm considering using a literate programming tool next time.
(To be clear, I'm not referring to traditional API documentation with examples. There exist good tools for testing examples without resorting full-hog to literate programming. I am referring to more general prose whose aim is less specific than documenting an API.)
Re: Questions for Donald Knuth
#34The unpopularity and inherent goofiness of literate programming, and the way Knuth always mentions it in interviews, feels like a sort of elephant in the room whenever a new interview appears.
The closest thing I've seen to literate programming "in the wild" is the ipython notebook concept, which encourages you to intersperse your code with explanatory text to give it context and structure (eg http://nbviewer.ipython.org/github/corbt/city-weather/blob/m... ). I don't think it's the right fit for all (or even most) programming, but I like it for that class of programming because often a reader is more inter…
I haven't really used either, but they seem to go a bit in that direction. Although they are strictly sequential, I guess, so maybe not.
Re: Questions for Donald Knuth
#35In the Q&A Knuth mentions TAOCP conversion to ebook several times - I did a quick search and found only millions of pirate sites. Does anyone know the legitimate source where the ebook can be bought? Informit seemed likely but there are only two digital volumes available there. (edit: there is a note saying "as they become available". I guess TAOCP is only partially portable so far, more to come.) (brag: I got a deci…
I got $2.56 for an error in content in one of his books. Actually the very first word in the very first sentence on the very first page (well, Arabic 1) was wrong. At least nobody can claim that he didn't get that far!
I got another $0.32 for a bug report which he actually demonstrated to be invalid, though he counted it as some kind of input or improvement. Oh, and he threw in a T-Shirt with the MMIX instruction set!
The third bug report was turned down without explanation (I think he actually replied "sorry, but no cigar").
The fourth bug report was also turned down and I even felt a bit insulted: his MMIX book says on the back cover that all programs are in the public domain, even though they all carry copyright notices with restrictions.
Knuth accused me quite harshly (IMO) to be some kind of Stallman fan talking nonsense about licenses and did not acknowledge the bug.
Re: Questions for Donald Knuth
#36I've been to couple of Donald Knuth's Christmas Tree Lectures. While he was signing my copy of 'TAOCP Volume 1', I asked him if he thought anyone in the world had read all of TAOCP, himself excluded. I didn't clarify, but he seemed to assume (correctly) that by 'read' I meant 'read and comprehended.' His reply was yes, but not many. He mentioned a guy in Germany who goes over his books again and again looking for err…
Re: Questions for Donald Knuth
#37This part confused me: "My job is to go beyond correctness, to an analysis of such things as the program's running time: I write down a recurrence, say, which is supposed to represent the average number of comparisons made by that program on random input data. I'm 100% sure that my recurrence correctly describes the program's performance, and all of my colleagues agree with me that the recurrence is "obviously" valid…
Re: Questions for Donald Knuth
#38In the Q&A Knuth mentions TAOCP conversion to ebook several times - I did a quick search and found only millions of pirate sites. Does anyone know the legitimate source where the ebook can be bought? Informit seemed likely but there are only two digital volumes available there. (edit: there is a note saying "as they become available". I guess TAOCP is only partially portable so far, more to come.) (brag: I got a deci…
My experience with bug reports to Knuth were mixed, although number one obviously was most important to me. I got $2.56 for an error in content in one of his books. Actually the very first word in the very first sentence on the very first page (well, Arabic 1) was wrong. At least nobody can claim that he didn't get that far! I got another $0.32 for a bug report which he actually demonstrated to be invalid, though he…
Strange. Knuth appears to be a significant GNU supporter: http://www.gnu.org/thankgnus/2014supporters.html
Re: Questions for Donald Knuth
#39The unpopularity and inherent goofiness of literate programming, and the way Knuth always mentions it in interviews, feels like a sort of elephant in the room whenever a new interview appears.
The book can be compiled into the production-quality renderer http://pbrt.org/
Re: Questions for Donald Knuth
#40Earlier quoted context omitted.
My experience with bug reports to Knuth were mixed, although number one obviously was most important to me. I got $2.56 for an error in content in one of his books. Actually the very first word in the very first sentence on the very first page (well, Arabic 1) was wrong. At least nobody can claim that he didn't get that far! I got another $0.32 for a bug report which he actually demonstrated to be invalid, though he…
> Knuth accused me quite harshly (IMO) to be some kind of Stallman fan talking nonsense about licenses and did not acknowledge the bug. Strange. Knuth appears to be a significant GNU supporter: http://www.gnu.org/thankgnus/2014supporters.html