Monday, September 15, 2014

Installing NPM Command-Line Applications at the User Level on Ubuntu

Recently, I’ve started to see more command-line applications written in JavaScript and meant to run on Node.js. Here are some notes on my preferred way to install them.

Thursday, February 6, 2014

Refusing to Code Golf

I’ve found a new way to keep programming fun: refusing to code golf.

I’ve never cared for code golfing (writing a program in as few characters as you can). It seems similar to writing a novel without the letter “E.” It can be impressive, but I’d be more impressed if you had your priorities straight.

Monday, October 14, 2013

Random Group Assignments

This small script randomly assigns members to groups of (as much as possible) equal size. I wrote it for Katie’s weekend “coffee talks” where her students practice English with a native speaker.

Sunday, March 3, 2013

So, You Want to Learn to Program?

Recently, more and more people I know have said they’d like to learn programming. Here are some resources for anyone who’s interested:

Tuesday, November 27, 2012

Listing Colors by Similarity

Have you ever wanted a program that re-orders a list of colors so that similar colors are near each other?

Saturday, August 18, 2012

Fly

At some point, the fly was doomed. The bag of cement powder fell broad side down on a clear path, and there was a point at which the fly no longer had enough time to leave that path before the bag touched down to earth so forcefully.

Sunday, April 15, 2012

Change of Plans

Change of Plans

When I bought a Kindle Fire, I intended to be a normal user. No rooting and no fiddling with operating systems or bootloaders.