Rsync-based incremental backups

I’ve been asked a few times recently about how I backup using rsync. I thought I would share the backup script I use at home for anyone interested.

It uses rsync to perform incremental backups – making use of hard links to save space. The script expects a mounted drive: I rotate external drives. It will cleanup old backups based on a threshold number to keep. It’s not very smart about ensuring there is sufficient disk space, but this works for my simple use case. I run it daily in a cron job redirecting stdout and stderr to a log file. I try to check this log file regularly to ensure the backup is working correctly.

SICP In Clojure

I have decided to complete the exercises in the Structure and Interpretation of Computer Programs, using Clojure. I completed the exercises back in school with Scheme. I thought it would be fun to revisit the book using a more modern lisp dialect. You can follow my progress and make use of the answers in the public repo.

A lot has been said about SICP in the past. If you haven’t read it, it’s an incredibly influential book and simply fantastic. It will dazzle you with the power, simplicity and beauty of Lisp and is worth it for that alone. I strongly recommend it.

I’m not the first to publish solutions and I almost certainly won’t be the last. Here are a few other resources that may be interesting:

Invent Outliner

Apple have just accepted my app, Invent Outliner, in to the App Store. It’s a simple outliner tool useful for jotting notes and ideas while on the move.

I wanted the app to be as streamlined to use as possible. As a result, nearly every control was written from scratch.

Check it out on the App Store or on this site.

Let me know what you think.

Muon

I’ve created a new Vim colour scheme, Muon, that I feel is ready to be introduced to the world. You can download it on GitHub.

At the time of writing, this is an alpha-release and will only work in a 256-color terminal. Once I’m completely satisfied with the colours it should be fairly trivial to add in the GUI colour-components.

Let me know what you think.

Vomodoro

I have created a small Vim plugin that facilitates planning, tracking and archiving Pomodoros.

I’ve found it surprisingly useful and thought I would release it.

You can find it on GitHub.