Category Archives: Programming

Casting Spels in Emacs Lisp

Conrad Barski (with Jim Webb) has released an Elisp version of his entertaining introduction to Lisp. Perfect for the N00b but even experts may find it delightful.

Posted in Programming | Tagged , | Leave a comment

Garbage Collection and Your Refrigerator

Jonathan Magen has a nice introduction to garbage collection. In it he illustrates various garbage collection strategies by using the same algorithm to get rid of old food in the refrigerator. It's not a deep technical discussion but is perfect … Continue reading

Posted in Programming | Tagged | Leave a comment

Elisp and the Clojure Threading Macros

One set of Clojure features that its adherents are quite fond of is the threading macros ->, ->>, and -->. Unless you're familiar with Clojure, you probably don't know what they do. You might wonder why we should care. The … Continue reading

Posted in Programming | Tagged , | Leave a comment

Sharpening the Knife

SQLite, a C library that implements an SQL database engine, is the most widely deployed database engine in the world. The system is extraordinarily stable. One of the reasons is that although SQLite contains about 89.9 KSLOC it has 91493.0 … Continue reading

Posted in Programming | Tagged | 1 Comment

If Programming Languages Were Cars

I probably shouldn't but I love this sort of thing and find many of the entries hilarious.

Posted in Programming | Leave a comment

Burritos and Monads

Ahh, now I get it "A burrito? What's that? Sorry, I'm new to Mexican food." "Well, it's a bit complicated, but to start with, a burrito is like a monad..." — Fiora‮☄anreteA (@FioraAeterna) September 6, 2014

Posted in Programming | Tagged | Leave a comment

Debugging Emacs Lisp

Nic Ferrier has posted a nice video tutorial on debugging Elisp. Ferrier covers the basics of instrumenting your code, stepping through it, setting breakpoints, and other edebug functions. He also demonstrates macrostep, a package that allows you to expand and … Continue reading

Posted in Programming | Tagged , | Leave a comment

Atabey Kaygun on Common Lisp Memoization

Atabey Kaygun is a mathematician who likes to experiment with various (mostly mathematical) algorithms using Common Lisp. Many times, a function is most naturally implemented via recursion but this can lead to disastrously inefficient implementations. The canonical example is the … Continue reading

Posted in Programming | Tagged , | 1 Comment

Emacs Debugger Tip

Wilfred Hughes has a tip on debugging Elisp: Emacs tip of the day: if you can't reproduce a bug with edebug, use debug-on-entry instead! Yes, Emacs has multiple debuggers! — Wilfred Hughes (@_wilfredh) October 6, 2014

Posted in Programming | Tagged | Leave a comment

Common Lisp format Summary

The Common Lisp format function is a bit controversial among some Lispers1. The problem is that the language used by format to specify output strings is un-Lisp like. I'm not one of those people. I like format and feel comfortable … Continue reading

Posted in Programming | Tagged , | 1 Comment