My Profile Photo

code ninja . blog


where I show and discuss things I'm working on...


  1. Exploring Nim

    There are a few new programming languages right now vying for the new title of “C, but better.” One in particular that I’ve been watching for a while now is Nim. It has a couple rough edges, but now that it’s getting close to 1.0, I wanted to give it a closer look and actually try implementing something with it. …


  2. Configuration Scripting

    A particular go-to patterns of mine is an imperative, configuration scripting: a set of steps that can be used to to set properties and execute methods. …


  3. Scala Implicits Rescued Me!

    Recently I found myself faced with an interesting problem: …


  4. GitHub Finger

    I missed the finger protocol. …


  5. Teaching Evolution With Genetic Algorithms

    My 8 year-old daughter this year began asking me some of the important questions of life: who was the first person, was the first person a boy or girl (note: our family is not religious, so she’s never heard the story of Adam and Eve to my knowedge), were dogs or cats first, etc. …


  6. Common Lisp Code

    I was going through some of my old GitHub repositories and came across my set of Common Lisp libraries that I made over the course of a few years and have consistenly returned to, always found useful, and kept up-to-date. …


  7. Why Monads?

    Recently I had the unlucky experience of trying to explain to some friends over Slack what monads actually do. Trying to show how they are quite useful outside of “they allow Haskell to have side-effects” proved difficult. …


  8. Aggregating RSS Feeds in Scala

    My last post talked about how one of my recurring pet projects is an RSS reader. I consistently try and add little features that I would like, and I use it to learn new things (e.g. Bayesian filtering). …


  9. Twitter Client in Scala

    One of my favorite projects when learning a new language is an RSS reader. It tends to hit many of the major “can I get things done?” parts of a new language that interest me: …


  10. ScalaJS Facade for Mousetrap

    For a little side-project I’m building in ScalaJS (which I’ll post about in the near future) I wanted to use the Mousetrap library. …