Category Archives: Programming

Packing C Structures

I'm writing this on my MacBook Pro, a small, light-weight laptop that has 16 GB of memory. Nothing I do on it ever runs out of memory. It wasn't always that way, of course. Bill Gates famously quipped that he … Continue reading

Posted in Programming | Tagged | Leave a comment

The prin* Family

This is really a note to myself but I'll bet many of you are in the same boat. When I want to print something in Elisp, I usually use format but sometimes one of the prin* functions is really what … Continue reading

Posted in Programming | Tagged | Leave a comment

SBCL 1.2.9

Steel Bank Common Lisp is out and available at the usual place. This month's release has some optimizations and a bunch of bug fixes. You can get the details from SBCL's NEWS page. As I say every month, if you're … Continue reading

Posted in Programming | Tagged , | Leave a comment

Getting the Host Name of the Current Browser Page

A while ago I wrote about coding some Elisp to grab the URL of the current Web page and turn it into an Org link. It doesn't seem like it would reduce friction by that much but it really has … Continue reading

Posted in Programming | Tagged | 2 Comments

Inserting C++ Object Names

If you have the misfortune to be a C++ user, abo-abo over at (or emacs has a nifty bit of Elisp to make inserting code like some_object.method() much easier.

Posted in Programming | Tagged | Leave a comment

SBCL 1.2.8

Last night, I installed the latest version (1.2.8) of SBCL. As usual, the regression tests and installation executed without problem. You can get your copy at the usual place. This month's release fixes some bugs, has three enhancements, and two … Continue reading

Posted in Programming | Tagged , | Leave a comment

Streams in Common Lisp

One of nicest techniques from Scheme is the idea of streams. Streams1 let you create a virtually infinite list. For example, we can compute the square roots of the first 5 Fibonacci numbers with (mapcar #'sqrt '(0 1 1 2 … Continue reading

Posted in Programming | Tagged , | 1 Comment

A Cross Reference for the Figures in CLHS

Jean-Philippe Paradis has added a cross reference to the figures in the Common Lisp HyperSpec to his Common Lisp Notes & Tips.

Posted in Programming | Tagged , | Leave a comment

January Quicklisp

The January Quicklisp distribution is out. Upgrade as usual with (ql:update-dist "quicklisp") There are 21 new packages and a bunch of updates so you should upgrade the next time you have your Lisp open. It only takes a few seconds.

Posted in Programming | Tagged , | Leave a comment

Quote of the Day

Well, really it's from 2010 but still pithy and worth revisiting: I am currently working in Java to re-implement an algorithm I prototyped in lisp. If I replace all of the required curly-braces and semicolons in Java with parens it … Continue reading

Posted in Programming | Tagged , | Leave a comment