Hello World!

January 28, 2015

Perhaps I should try out this “blogging” thing that everyone’s talking about.

I needed to figure out a way to join the miscellaneous bits on my site together, so this seems like a reasonable start. In addition to long-form articles, I hope to turn this blog into a somewhat tumblr-like monstrosity, pointing to my various short side-projects that don’t necessarily deserve their own writeup.

Hipster Blogger Stereotype Checklist


Now using only the freshest, most organic ingredients.


Maintaining History

Of course if I fix some mistakes or make some improvements, I’d sill like to preserve history. Turns out there’s a great piece of technology for doing that called git, so that’s what I’m using.

Upon initial publication, I’m not posting this to GitHub, but once the code is presentable enough, I’ll put a link here.

Syntax Highlighting

Syntax highlighting is provided via Pygments, with some custom nanoc filtering logic to make pandoc’s generated html work with nanoc’s built-in :colorize_syntax filter.

quicksort :: Ord a => [a] -> [a]
quicksort []     = []
quicksort (p:xs) = (quicksort lesser) ++ [p] ++ (quicksort greater)
        lesser  = filter (< p) xs
        greater = filter (>= p) xs

Pandoc comes with built-in syntax highlighting support, but pygments typically does a better job.

Color schemes are taken from the base16 project, which should make it easy to experiment with a variety of styles.

Previous Site

For comparison, I’ve archived the previous version of the site. It wasn’t bad, but it depended on a poorly-written custom static site generator, and was difficult to maintain and update. Plus, the design was beginning to look a bit dated.

Version 1.0 of my Website

The views expressed on this site are my own and do not reflect those of my employer.