Tag Archives: Lisp

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 , | Leave a 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

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

Computing the Inner Product with Common Lisp

Over at iqool, Patrick Krusenotto asks how you would compute the inner product of two vectors using Common Lisp. He gives a number of solutions, all of which are interesting. You can look at this problem two ways: What is … Continue reading

Posted in Programming | Tagged , | 1 Comment

SBCL 1.2.1

The monthly release of Steel Bank Common Lisp is out. As usual, it compiled and loaded without mishap. Unfortunately, Slime wouldn't compile due to a missing slot in the SBCL VM module. I can call it from the command line … Continue reading

Posted in Programming | Tagged , , | 1 Comment

Documentation on the Lisp Machine

As regular readers know, one of the things I love about Emacs is its recapitulation of the Lisp Machine. Like most developers, I never had the chance to work on a real Lisp Machine so Emacs is as close as … Continue reading

Posted in General | Tagged , | Leave a comment

SBCL 1.2.0

SBCL 1.2.0 has just been released. The big improvement in this release is support for ARM under Linux. As usual, it compiled and passed the test suite without problems on my OS X systems. As I say every month, if … Continue reading

Posted in Programming | Tagged , | Leave a comment

When To Use CLOS

Jean-Philippe Paradis retweeted a link Turns around that why I love CLOS has been written better than I ever will be able to, by Eric Naggum: http://t.co/UU6FhNMXfK — Dimitri Fontaine (@tapoueh) April 28, 2014 to this classic Erik Naggum post … Continue reading

Posted in Programming | Tagged , | 3 Comments

Lisp Types

There's been a lot of talk lately about static versus dynamic typing. The partisans on both sides are adamant in their positions and absolutely secure in their righteousness. It has, in other words, become a religious issue. Although I've used … Continue reading

Posted in Programming | Tagged , | Leave a comment