Years ago, I lost my temper while arguing with my brother, and said, "Jeff, I could teach you everything I know and you'd still be an idiot." Please keep that in mind as you read this site.

Recent posts

Performance and Parallelism

Some topics for a lecture on parallel programming: how to measure/compare performance (raw speed, weak scaling, strong scaling, Amdahl's Law, response time ...
December 10, 2010

Where Are My Keys?

I was looking through some Python code a few days ago, and noticed that its author was using this: if something in dict.keys(): dict[something] += 1 inst...
December 09, 2010

How Do You Manage a Terabyte?

This question has come up a couple of times, and I'd welcome feedback from readers. Suppose you have a large, but not enormous, amount of scientific data to ...
December 08, 2010

Pins, Balls, and Arbitrary Decisions

We'd like to include more extended examples like invasion percolation in this course, but they're surprisingly hard to write. One that seems simple at first...
December 06, 2010