Monthly Archives: September 2014

The Real Purpose of Operating Systems

An amusing anecdote from Perry Metzger’s The Editor of a Lifetime talk. I don't care what OS I use, it's just a boot loader for #Emacs anyway. –Some U. Penn PhD student — jandrusk (@jandrusk) August 21, 2014

Posted in General | Tagged | Leave a comment

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

And By the Way…

…Happy Programmers’ Day.

Posted in General | Tagged | Leave a comment

Things My Mom Taught Me

Suppose a distant relative sends you a sweater. It’s a perfectly good sweater but not a style you like or would ever wear. Instead of rolling your eyes and sending a pro forma thank you note, you take to twitter … Continue reading

Posted in General | Tagged | 2 Comments

Mathematics in a Blog Post

As some of you know, I was trained as a mathematician. It’s odd, then, that my posts don’t have more mathematics in them. The reason for that is that this blog is mostly about computers and development so there’s not … Continue reading

Posted in Blogging | Tagged , | 14 Comments

Shamir’s Secret Sharing Implementation

Yesterday, I discussed Shamir’s secret sharing and how it works. The TL;DR was a method to give \(n\) people a secret number so that any \(k\) of the recipients \((k\lt n)\) can reveal the secret. The method works by defining … Continue reading

Posted in Programming | Tagged , | 2 Comments

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 \(n\) people in such a way that … Continue reading

Posted in Programming | Tagged , | 1 Comment

Tips on Being Productive with Emacs

Back in 2009 Phil Sung taught a short course on being productive with Emacs. The slides from the course (1, 2) are still available and well worth a look. Often times, slides from a talk without the actual presentation aren’t … Continue reading

Posted in General | 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