Category Archives: Programming

Literate Programming with R

Since I've been writing about literate programming lately, here's a nice talk by Don Knuth on Literate Programming in R. Knuth begins his talk with an overview of several books that have been written using literate programming and discussing why … Continue reading

Posted in Programming | Tagged | Leave a comment

SBCL 1.3.7 Released

The latest version of Steel Bank Common Lisp is out. This month's release fixed a bug and introduced several optimizations. See the NEWS file for details. As usual, the release compiled without incident on my MacBook Pro and the regressions … Continue reading

Posted in Programming | Tagged , | Leave a comment

Knuth's First Lecture

Back in November of 1969 a young Don Knuth gave his first lecture as a Stanford professor. The lecture was on a new field in Computer Science called Analysis of Algorithms, a field that Knuth invented and named. Recently, Knuth … Continue reading

Posted in Programming | Tagged | Leave a comment

Running Unit Test with Org Mode

Frédérick Giasson has a nice post in which he describes how he uses Org mode to run unit tests on his code. Actually, his goal is to combine the writing, documentation, and testing of his code in a single document … Continue reading

Posted in Programming | Tagged , | 1 Comment

Chez Scheme Open Sourced

Chez Scheme has always been an excellent Scheme implementation. It produces very fast object code and is a complete R6RS implementation with extensions. Chez Scheme was written by Kent Dybvig, who also wrote the excellent The SCHEME Programming Language (also … Continue reading

Posted in Programming | Tagged | Leave a comment

Multiple Dispatch in CLOS

Eli Bendersky has an outstanding post on multiple dispatch in Common Lisp. It's part of a series he's doing on multiple dispatch in various languages. Lisp has always looked at OOP differently from most languages and Lispers consider CLOS a … Continue reading

Posted in Programming | Tagged , | 1 Comment

SBCL 1.3.5

The new version of Steel Bank Common Lisp (SBCL 1.3.5) has been released. According to the NEWS file, this month's release fixes 3 bugs and introduces 4 enhancements. As usual, it built and installed without any problems on my Mac. … Continue reading

Posted in Programming | Tagged , | Leave a comment

Elisp Summary

Mitch Fincher has posted an excellent summary of Emacs lisp. If you're vaguely familiar with Lisp-like languages but don't know the particulars of Elisp this page will help you get up to speed. If you're already familiar with Elisp, you … Continue reading

Posted in Programming | Tagged , | 1 Comment

Premature Optimization and Bugs

All developers are aware of Knuth's warning about the dangers of premature optimization. Yesterday, I ran across two posts that nicely illustrate those dangers in the wild. The first is a tweet that explains why Unix files that begin with … Continue reading

Posted in Programming | Tagged | 2 Comments

Emacs pcase

Pattern matching is a powerful paradigm in programming. Recent versions of Emacs Lisp implement this paradigm with the pcase macro. Unfortunately, pcase can be a bit difficult to understand. Fortunately, our Emacs maintainer, John Wiegley, has published an excellent tutorial … Continue reading

Posted in Programming | Tagged | Leave a comment