Disclaimer

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

Building a Recommendation Engine with NumPy

Tommy Guy's explanation of how to build a recommendation engine in NumPy, based on an example from Toby Segaran's excellent book Programming Collective Intel...
December 15, 2010

Presents for the Holidays

Some of the best presents I have ever received have been recommendations: "Oh, you'd like this author," or, "You really should listen to this album." So, in...
December 14, 2010

Blinkered, Not Graceful

I wasn’t particularly hopeful when I first heard about Grace, a new programming language being developed for teaching purposes. Having followed their blog fo...
December 13, 2010

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