Archives for Uncategorized

Clojure bowling problem

ObjectMentor’s Uncle Bob posted about learning Clojure via a bowling challenge. The challenge is to write a program to compute bowling scores. I decided to give it a go.
I’m not a bowler, so my first step was to try to understand how bowling scores are computed. Once I did that, it [...]

A problem I ran across

I was chasing links concerning the lack of tail recursion optimization in ruby and ran across a math problem:
Find the smallest positive integer n such that n % x = x-1 for x from 2 to 18
i.e. The remainder is one less than the divisor for all integral divisors from 2 to 18.

The [...]

An email tip

Many email clients share a user interface mis-feature. The user starts to compose an email, and the first thing the client does is put the user in the input area for the to: field. The user dutifully fills in the addressee, and most of the time things work out fine. Once in a while, the [...]

Pretty error pages

I have been trying out Django on my mac, working through the Djanjo Book tutorial. One thing that puzzled me is that I was not seeing the promised “pretty error pages”. Django is supposed to show very informative, nicely formatted error messages. Not happening for me.
I eventually discovered that the problem has something to do [...]

NearlyFreeSpeech.net: down but not out.

As I write this my hosting company, NearlyFreeSpeech.net, is down. They are experiencing some severe problems, and working to fix them.
Things sometimes go wrong, and I have no doubt NSF.net will fix the problems. What they are doing right is keeping users informed, via a status site which runs on separate hardware. I know it [...]

operations as a competitive advantage

Good article on operations as a competitive advantage. Here’s a quote:

The example above is the tale of two Web 2.0 startups scaling to 20 systems during their first three months. The first team starts writing software and installing systems as they go, waiting to deal with the “ops stuff” until they have an [...]