š§ Brian Sunter Newsletter - Gauss Integer Sum, Donald Knuth vs Email, and BraināComputer Interfaces
I'm continuing to work on theĀ algorithms-boot-campĀ section of this site.
I'm working through a few courses, including theĀ Abdul bari algorithmsĀ course andĀ Stanford's algorithms course. See my notes onĀ Abdul bari algorithms part-1
I'm reviewing some math in Volume 1 of The Art of Computer Programming by Donald Knuth. I included a funny anecdote about his approach to email and how he stays focused on writing his book.
I also am interested in Werner Herzog's new movie about consciousness and brain-computer interfaces called "Theatre of Thought'. Herzog is fascinating, and I wrote some notes on his unconventional approach to filmmakingĀ here.
Updates ā¬ļø
Integer Sum Formula 1ļøā£+2ļøā£+3ļøā£+4ļøā£+...
How do you find the sum of the numbers 1 through 100?
Thereās aĀ legend about the mathematician Carl GaussĀ coming up with theĀ integer-sum-formulaĀ as a child in school. Supposedly the teacher asked the class to do a tedious assignment of adding numbers 1 through 100, and gauss was able to come up with the answer instantly, whereas the other students took 30 minutes to find the answer.
You can use the formula sum = n(n+1)/2 to find the sum of 1 to n numbers.
The integer sum formula is a good problem for studying math proofs because this equation has so many different proofs and variations. I linked a video in the note that includes 12+ explanations.
Itās also an excellent example of recursion, a fundamental computer science concept.
For more, see my note onĀ integer-sum-formula.
Productivity Toolkit š ļø
We live in an age where the world constantly bombards us with messages and interruptions.
We are more connected and have more information than ever, but itās almost impossible to do deep, focused work.
Iāve always thought it was interesting how some of the most outstanding computer scientists, like Donald Knuth and Edsger W. Dijkstra, were cautious about certain technology trends like email.
Donald Knuth vs Email š«āļø
Donald Knuth is a computer scientist who has been writing a book series called āThe Art of Computer Programmingā for over 50 years. The book is a comprehensive treatise on the subject of computer programming.
He has famously stayed very focused on writing the book and careful when communicating with his fans.
Donald Knuth doesnāt have a personal email address. To reach him directly for questions or comments you have toĀ mail him a letter.
Hereās what he thinks about email:
I have been a happy man ever since January 1, 1990, when I no longer had an email address.
Email is a wonderful thing for people whose role in life is to be on top of things. But not for me; my role is to be on the bottom of things. What I do takes long hours of studying and uninterruptible concentration.
I need to communicate with thousands of people all over the world as I write my books. I also want to be responsive to the people who read those books and have questions or comments. My goal is to do this communication efficiently, in batch mode ā like, one day every six months
I DO NOT ANSWER UNSOLICITED EMAILS, nor do I respond to emails that were sent to my colleagues with a bothersome request for them to communicate with me. Email is a no-no EXCEPT for reporting errors in books.
I hope you can understand why I am almost always unhappy to receive unsolicited email myself. Thank you for your patience and cooperation as I try to finishĀ The Art of Computer ProgrammingĀ (TAOCP), a work that I began in 1962 and that I will need many years to complete.
See Knuthās post on email, for more.
Knuth Reward Checks šµ
There is an email address for reporting errors in his books, but his secretary filters and prints the messages for him. The email address is strictly for reporting his book's technical, typographical, or historical errors.
If you are the first to find an error, Donald Knuth will personally write you a check for $2.56 (a hexadecimal "dollar"). These checks are considered one of the most prized trophies in computer science.
For more info onĀ Knuth Checks, see here.
Brain Food š§ Herzog's Theatre of Thought
Werner Herzog is a german filmmaker who has produced, written, and directed more than sixty feature and documentary films. I appreciate his unconventional creativity and also the sound of his voice.
He just released a new movie about consciousness and brain-computer interfaces called āTheatre of Thought.ā
He interviews people working on technology that lets your brain communicate directly with computers. The Matrix is one of my favorite movies of all time, and Iām interested in this area of research.
Iām excited to check out this film when itās released. I still canāt find a place to watch it online yet.
Werner Herzog sets his sights on yet another mysterious landscape ā the human brain ā for clues as to why a hunk of tissue can produce profound thoughts and feelings while considering the philosophical, ethical, and social implications of fast-advancing neural technology.
Iāve taken some notes on Herzogās creative approach to filmmaking Herzog Rules for Filmmaking.
Outro ā”ļø
Check out theĀ newsletter-roadmapĀ to see what I have in mind for future issues. Get in touch with me onĀ twitter @bsunterĀ if you have any questions or comments!