Calling Java code from Clojure

I’ve been writing a lot of Java in the last 8 months, and only two weeks ago discovered the joy of Clojure. It is such a pleasant and well-designed language. It is a Lisp, but it runs natively o

Read More…

Making a Go Game for the Web

I’ve been feeling productive in the last few weeks. I just finished two Coursera classes, one in machine learning and one in Swift programming. I also finished my minimum viable go game: goga.me

Read More…

Word frequencies after removing common words

In taking the Coursera class on Mining Massive Datasets, the problem of computing word frequency for very large documents came up. I wanted some convenient tools for breaking documents into streams of

Read More…

Tip calculation using Bison grammar

As long as I’ve been able to do arithmetic, I’ve been able to figure out calculating taxes and tips, it’s easy. Given a dollar value $17.91 we can figure out the total with a tip of

Read More…

Counting bits in integers

While working on the code to count the number of fifteens I had in a hand in cribbage, I found it would be useful to count the number of bits in an integer. The comment below explains why it is useful

Read More…

Bootstrapping most of a C dev environment

I’ve taken a break from SICP and TAOCP in order to get a good foundation in the C programming language, I’m familiar with it, but that is not good enough. The reason is because C exposes a

Read More…

All Posts by Category or Tags.