Category Archives: Programming

Generating Random Trees

I've mentioned Atabey Kaygun's blog before. He mostly writes short posts on some mathematical algorithm, which he illustrates with Lisp. One such post was about generating random trees of nodes in such a way that every possible tree having nodes … Continue reading

Posted in Programming | Tagged , | Leave a comment

Emacs Idioms

Learning to configure and extend Emacs is pretty easy for those with a modicum of Lisp experience. Much has been written about the shortcomings of Elisp and while those criticisms have merit, it's easy for a Lisper to become comfortable … Continue reading

Posted in Programming | Tagged , | Leave a comment

SBCL 1.2.4 Released

Steel Bank Common Lisp 1.2.4 has been released and is available at the usual place. Check the NEWS page for what's new in this release (mostly some improvements in how certain sequence functions are implemented). As usual, there were no … Continue reading

Posted in Programming | Tagged , | Leave a comment

Wilfred Hughes on Macro Systems

Wilfred Hughes has an interesting post, Comparitive Macrology, in which he looks at the macro systems of various languages. For each, he implements two macros: A swap macro to exercise hygiene An anaphoric macro to exercise (intentional) variable capture He … Continue reading

Posted in Programming | Tagged | 3 Comments

BSD Unix Repository

As I've written before, I believe that one of the best ways of becoming a master programmer is to study the work of the masters. One of the best sources for this that I know of is the BSD Unix … Continue reading

Posted in Programming | Tagged , | 1 Comment

The Java Virtual Machine Tax

Via Wilfred Hughes Much-needed straight talk about the "JVM tax" in Clojure and Scala, among other new language issues. RT @AidyLewis https://t.co/OpS1kuafTa — Alex Chamberlain (@dodgethestmrlr) September 23, 2014 I've often been tempted by Clojure but the JVM tax that … Continue reading

Posted in Programming | Tagged , | Leave a comment

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