Category Archives: Programming

A Math & Lisp Blog

If, like me, you're interested in Mathematics and Lisp and like doing math experiments on a computer, you should check out Atabey Kaygun's Blog. Kaygun is a Mathematician at Bahçeşehir University in Istanbul. On his blog he considers various problems … Continue reading

Posted in Programming | Tagged , | 2 Comments

A Quick Introduction to Generic Functions & CLOS

Zach Beane points to a nice post by Nicolas Hafner on Generic Functions and CLOS. CLOS is often considered a hideously complicated system but the basics are easy to understand and use and most people will never need to explore … Continue reading

Posted in Programming | Tagged , | 1 Comment

Shamir's Secret Sharing Implementation

Yesterday, I discussed Shamir's secret sharing and how it works. The TL;DR was a method to give people a secret number so that any of the recipients can reveal the secret. The method works by defining a -degree polynomial with … Continue reading

Posted in Programming | Tagged , | Leave a comment

Shamir's Secret Sharing

References to Jeremy Kun's The Mathematics of Secret Sharing keep popping up in my feed so it appears there's some interest in it. The problem is to entrust shares in a secret to people in such a way that the … Continue reading

Posted in Programming | Tagged , | Leave a comment

An Emacs Style Guide

Bozhidar Batsov, proprietor of Emacs Redux, is starting an interesting new project: The Emacs Lisp Style Guide. The idea is to create a community contributed set of rules for “good Elisp form.” Normally, I'd hate that sort of thing. Almost … Continue reading

Posted in Programming | Tagged , | Leave a comment

Memory Reallocation Revisited

Back in January I wrote about a charming result concerning how much memory should be increased when reallocating. Via Artur Malabarba, I came across a tweet by Wilfred Hughes Learnt a fascinating, non-obvious (to me) fact that resizing a vector's … Continue reading

Posted in Programming | Tagged | Leave a comment

Temporary Syntax Tables Revisited

The other day, I wrote about Xah Lee's post on temporary syntax tables and the with-syntax-table macro. Subsequently, Lee discovered a nasty side effect that he wrote about on the G+ Emacs Community site. The problem was that his code … Continue reading

Posted in Programming | Tagged | Leave a comment

SBCL 1.2.3

The latest version of Steel Bank Common Lisp, 1.2.3, is available at the usual place. As always, it built without problem and successfully ran the test suite. ASDF has been upgraded to 3.1.3 and there are a couple more enhancements … Continue reading

Posted in Programming | Tagged , | Leave a comment

Version Control

Everybody agrees that version control (VC) is the right thing but, sadly, too often it's ignored anyway. I use version control—Git via Magit—in two ways. First, it's the primary way that I keep my machines synchronized. I could, of course, … Continue reading

Posted in Programming | Tagged | 1 Comment

Building a Dynamic Menu

John Kitchin, whom I've written about many times, has another post up on a nice little utility. He describes how to build a dynamic menu in Emacs that gets rebuilt as things change. He gives the example of a menu … Continue reading

Posted in Programming | Tagged | 2 Comments