Why Clojure?

This is going to be the first post in a series about Clojure and how to get started with it. In this post, I'll talk about what Clojure is, why it's interesting to learn, and how to get a Clojure environment set up on your system. In subsequent posts, I'll dive into the basics of Clojure and give you some pointers for how to get started with it.

What is Clojure?


Continue reading →

The Fibonacci Sequence in Clojure

I was playing around this morning, and I decided to see what I could find about implementing the Fibonacci sequence in Clojure. For those unfamiliar with the Fibonacci sequence, which is named for a 13th-century Italian mathematician, it is a deceptively simple mathematical sequence where each term is constructed by the following rules:


Continue reading →

A Simple Portable Prototyping Station

On twitter recently, I posted some photos of a little portable prototyping station I threw together.

Henry Moore asked for some details and a parts list, so I thought I'd throw together a quick blog post about it.


Continue reading →

Literate Emacs Configuration in org-mode

If you use emacs at all, you'll quickly discover that it's much more than just a text editor. Emacs is a software development platform, too, and as such it's nearly endlessly customizable. One result of this extensibility is that, if you use emacs very much, your customization file (named .emacs.d/init.el) tends to grow and quickly becomes hard to manage.

Enter org-mode. Originally begun as an outlining tool, org-mode has acquired a ton of additional functionality, including the capability for literate programming. In a nutshell, literate programming allows you to combine code and documentation into a single file. With emacs and org-mode, you can combine snippets of code and documentation into a single .org file, and then tangle that file to produce the code which emacs actually runs and documentation (in HTML, LaTeX, or other formats).


Continue reading →

Everything Old Is New Again

I've been doing some retooling of my blog (while I've been on furlough from my day job because of COVID-19). I'm now using cryogen, a Clojure-based static site generator, rather than the Python-based Pelican site generator that previously powered it.

I'll be honest -- the switch was more motivated by my desire to learn Clojure than by any limitation or dislike of Pelican. And, predictably (because, after all, it's me we're talking about), I've spent the past couple of days hacking on the cryogen code to make it work the way I want to. I can now run the command lein new-post in my blog tree to make a new post (and be prompted for some parameters), for example. Like I said, my hacking was about 3% motivated by workflow and 97% by the desire to learn some Clojure.


Continue reading →

Copyright © 2020 Tammy Cravit
Powered by Cryogen
Theme by KingMob