Blogs / Personal blogs

Peter Norvig

norvig.com

Popular posts
23
Total points
3,843
HN comments
3,591
Rank
#338 personal

Visit norvig.com → On Hacker News May 2008 – Jan 2024

Software Engineering 12Life, Learning & Writing 6Programming Languages 6Science & Space 5Math & Algorithms 3AI & Machine Learning 3

1

Teach Yourself Programming in Ten Years (1998)

Why is everyone in such a rush? Walk into any bookstore, and you'll see how to Teach Yourself Java in 24 Hours alongside endless variations offering to teach C, SQL, Ruby, Algorithms, and so on in a few days or hours. The Amazon advanced search for [ title: teach, yourself, hours, since: 2000 and found 512 such books…

2

How to Write a Spelling Corrector

I figured they, and others, could benefit from an explanation. The full details of an industrial-strength spell corrector are quite complex (you can read a little about it here or here ). But I figured that in the course of a transcontinental plane ride I could write and explain a toy spelling corrector that achieves…

8

Lisp as an alternative to Java (2000)

It turns out my hopes were answered. First, Prechelt published another article that covers Tcl, Python, Perl, and Rexx. Also, Ron Garret (nee Erann Gat) did a follow-up study in which he asked programmers to write Prechelt's test program in Lisp. His results show that the resulting Lisp programs ran faster on average…

10

(An ((Even Better) Lisp) Interpreter (in Python))

The tokens #t and #f are the True and False literals, respectively. The single quote mark serves to quote the following expression. The syntax ' exp is completely equivalent to (quote exp ) . The backquote character ` is called quasiquote in Scheme; it is similar to ' except that within a quasiquoted expression, the…

12

Norvig's Law (2002)

In July 1999, there was a news article stating that PC usage had doubled yet again, reaching penetration of 50% of homes. People were hailing this as yet another sign of the inevitable climb of technology, but I saw it as a warning sign that the glass was half empty, and coined the following:

15

All we want are the facts, ma'am.

I've never been involved in a detective interview, but occasionally I'm interviewed by a journalist. Some publications use a quaint procedure known as fact checking ; for example, the New Yorker had a wonderful piece by John McPhee in their Feb. 9th issue on their fact-checking process. (My favorite part was about…

16

Evaluating Extraordinary Claims

To demonstrate the problem, I did a simulation where I generated 480 random numbers per subject, representing the 480 time slices in the experiment. I repeated this generation of random numbers 20 times. I compared the send and no-send intervals of random numbers using a T-test; none of the 20 trials found a…

17

The Python IAQ: Infrequently Answered Questions

A question is infrequently answered either because few people know the answer or because it concerns an obscure, subtle point (but a point that may be crucial to you). I thought I had invented the term for my Java IAQ , but it also shows up at the very informative About.com Urban Legends site. There are lots of Python…

18

Peter Norvig's Election 2008 FAQ

This is an FAQ (Frequently Asked Questions list) for the 2008 United States Presidential Election. I need to disclose up front that I am an Obama supporter. However, with the exception of the very last question, this FAQ is designed as a collection of factual information (such as the latest poll results) and of…

21

The Gettysburg PowerPoint Presentation (2000)

Good morning. Just a second while I get this connection to work. Do I press this button here? Function-F7? No, that's not right. Hmmm. Maybe I'll have to reboot. Hold on a minute. Um, my name is Abe Lincoln and I'm your president. While we're waiting, I want to thank Judge David Wills, chairman of the committee…

22

Teach Yourself Programming in Ten Years

Why is everyone in such a rush? Walk into any bookstore, and you'll see how to Teach Yourself Java in 24 Hours alongside endless variations offering to teach C, SQL, Ruby, Algorithms, and so on in a few days or hours. The Amazon advanced search for [ title: teach, yourself, hours, since: 2000 and found 512 such books…