Category Archives: Programming

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

SBCL 1.2.7 Is Out

It's the beginning of the month so there's a new version of Steel Bank Common Lisp available at the usual place. The nicest improvement, I think, is that you can now restart frames in the debugger. As usual, there are … Continue reading

Posted in Programming | Tagged , | Leave a comment

Welcome to Emacs Development

Back when Emacs moved from Bazzar to git, Lars Ingebrigtsen wrote a short introduction to Emacs development. I meant to write about it but lost track of the post. Happily, I've found it again and am posting about it to … Continue reading

Posted in Programming | Tagged | Leave a comment

Finite State Machine Parsers

Back when I was programming network code in C, one of my favorite strategies was to to implement protocol processing as a finite state machine. I found the design was always easier to understand and modify, often by simply changing … Continue reading

Posted in Programming | Tagged | Leave a comment