Boxy Numbers

April 16, 2008 by Stephen Denne

My previous post “Basic Primes in Scala” ended with some ideas of how to salvage some use out of the algorithm. I mentioned representing the numbers as concentric circles. Playing around with a text editor, I converted some of the numbers to arrangements of concentric squares.

Read the rest of this entry »

Basic Primes in Scala

April 16, 2008 by Stephen Denne

I’ve started learning Scala. One way I learn is by reading and experimenting, so I looked for a simple program I could write in the right problem space to make use of language features expressed more succinctly in Scala than in Java.

Read the rest of this entry »

What is a good title for a first blog post?

September 20, 2007 by Stephen Denne

This is my first post. It was created automatically by WordPress, but I’ve edited it.

When starting to edit it, I was trying to decide whether to change the title. WordPress had given it the title “Hello world!”, which I had used as the title for the first entry in my son’s blog, announcing his birth. I think that blog post deserved such a title, but this one doesn’t. Such a title doesn’t convey any details about the contents of what I’m writing here. No one is going to have their curiosity piqued by a WordPress blog post titled “Hello world!”. So I changed it.