RSSAmplifier

Blog

Jeremiah's Code Site

jl2.github.ioRSS feed ↗5 posts

Latest posts

Bluetooth Tools

About I recently created a small Common Lisp package for working with Bluetooth devices on Linux. For a project I was working on, I needed to read GPS messages being broadcast by a RaceBox Mini . After a bit of research I learned that Bluetooth on Linux uses BlueZ , and it provides a D-Bus API. Common Lisp has a library for using D-Bus, so I was able to create this bluetooth-tools package. Right…

Luajit And Common Lisp Benchmark

LuaJIT and SBCL Benchmark Overview This is a quick benchmark comparing LuaJit and SBCL using the Mandelbrot set program from Debian’s benchmark site. Software Versions For this comparison I built both compilers from source using the tip of their Git repos as of this past Tuesday night. For SBCL I’m using commit 92951c6f4 and for LuaJIT I’m using b025b01c5b. I’m not familiar with the LuaJIT build…

Static Gists With Lisp

Here’s a Common Lisp function to generate static HTML and CSS from a GitHub Gist URL. The results are printed to standard out, and can be copy/pasted into an HTML document. This is really useful when working in Emacs with a Slime REPL open. ( defun make-static-gist ( gist-url ) "Retrieve a Gist from GitHub and format it as static CSS and HTML." ( let* (( nl-string ( format nil "~c" #\newline )) ;;…

New Github Pages Site

I haven’t really done anything with my GitHub pages site, except setup Octopress and publish one blog post. Every time I’ve wanted to add a new entry I’ve got distracted fucking with Octopress and Ruby and Jekyll and a bunch of other stuff I don’t care to learn, and ended up losing my motivation. This time it happened again, and I’ve decided to just get rid of Octopress and Jekyll entirely and go…

Gpx Library

I recently wrote a small library, called gpxtools , for processing GPX track files in Common Lisp. It doesn’t have many features yet, but right now it can read a GPX file and compute elevation gain, elevation loss, and the total distance of all the tracks in the file. Here is a sample usage from the REPL: * ( ql:quickload 'gpxtools ) To load "gpxtools" : Load 1 ASDF system: gpxtools ; Loading…