My wife isn’t the woman I married

A couple that lives near me has been having problems, and yesterday the husband asked if he and I could talk privately. After we found a quiet place he said, “My wife isn’t the woman I married ... I don’t like this new version of her, and I don’t know what to do.”

(Sorry, there’s no moral to this story, only that.)

Truck drivers may need a new trade

When I saw this map after the election I didn’t think about politics. I thought, “Wow, in ten years almost all of those truck drivers can be replaced by self-driving vehicles.”

I’m all for reducing congestion on the interstates — the U.S. population has probably doubled since the interstates were built — but that looks like a lot of people who are going to need to learn a new trade.

How to create an Array whose size can change (ArrayBuffer)

This is an excerpt from the Scala Cookbook (partially modified for the internet). This is one the shortest recipes in the book, Recipe 11.8, “How to Create an Array Whose Size Can Change (ArrayBuffer)”


You want to create an array whose size can change, i.e., a completely mutable array.


An Array is mutable in that its elements can change, but its size can’t change. To create a mutable, indexed sequence whose size can change, use the ArrayBuffer class.

Drupal front page customization options

Drupal front page FAQ: How can I customize my Drupal front page?

In a previous blog entry I described how to make a Drupal node the front page of your wesbite. This is very often a nice, simple approach, but if the theme or format of your Drupal front page is significantly different than your interior pages, you may have to do something more than the simple approach I described in that earlier entry.