Colin's Journal

Colin's Journal: A place for thoughts about politics, software, and daily life.

September 25th, 2004

Site maintenance

Some of yesterday had to be spent doing website and system maintenance. The first change to my website is that double spaces after a full-stop are now preserved using non-breaking space characters. Currently this only applies to those pages that I created in a text editor, but I hope to implement this for OpenOffice pages in the future.

Peggy's Cove, Nova Scotia.A small number of people have recently started using my images in their websites and using my webserver to serve them. While I can’t do much to stop people copying the images, I can at least use Apache’s mod-rewrite to block my webserver from being used to host them. There are two downsides to this: direct links to my images from other sites will no longer work, and image search sites such as Yahoo and Google will not display my images correctly in their search results page. To link to one of my images from a website the link must now go to the HTML page that contains the image rather than the image directly.

On my home computer I’ve added a white-list of users that are allowed to SSH in. This means that I can give guests weak, easy to remember, passwords on my computer without it being vulnerable to a dictionary attack on the network. For the technically curious this was done by using the PAM listfile module in /etc/pam.d/sshd.

September 24th, 2004


The BBC is usually reasonably accurate when it comes to reporting on immigration issues in the UK. Their current piece on “Beating the sham wedding cheats” however starts with a significant inaccuracy:

Fungi growing in the woods.

The number of bogus weddings has increased dramatically in recent years according to Home Office records.

The scam exploits a legal loophole meaning that foreigners can stay in the UK if they marry an EU citizen working in the country.

My understanding of a legal loophole is that the effect of the law concerned is unintentional. The freedom to bring your spouse into the EU country where you work is a fundamental one agreed at the EU level, not something accidentally granted through legislative incompetence.

Sham marriages are a problem whether the participant is a UK national or from another EU country. Restricting the ability of EU nationals to bring their families into the country would hurt a significant number of people, and make little dent in the problem.

I wonder whether the BBC piece is even original work, rather than being taken off a wire, as almost identical wording can be found in the corresponding Guardian article.

Photo: Fungi growing in Mount Pleasant Park, Nova Scotia.

September 21st, 2004

Harbord Fall Fair

Drummer at the Halifax Busker Festival.On Sunday we stopped by the tail end of the Harbord Fall Fair. We knew about the fair from Shana’s monthly music night, the organisers of which perform in, and run, the fair.

I’ve taken pictures of musicians before, and I’m slowly getting better at it. I had previously met some of the people involved, and so I was comfortable with taking their pictures. Even with a 70-200mm lens I need to be close to my subject, and so it is important that we are comfortable with each other.

I only arrived at the fair towards the end of the day, and during the final act the light failed completely. As a result, I don’t have a good sampling of the whole festival, but I did take enough pictures to justify putting together a public album “Harbord Village Fall Fair”.

The photograph here was taken at the Halifax busker festival.

September 14th, 2004

Firefox Preview Release

The 1.0 Preview Release of Firefox is now available. I recommend that anyone using Internet Explorer download Firefox and give it a try. You can use IE and Firefox side by side, and easily remove Firefox if you don’t like it.

Cannon at Halifax citadel.Only when I use IE at work do I notice the significant improvements to web browsing that Firefox includes. The first thing I miss is tabbed browsing (the ability to have multiple pages displayed in tabs in one window), something I use all the time in Firefox. The lack of pop-up blocking in IE is another major pain.

Another Firefox convenience is the dedicated web search box. This allows in-browser searching across a variety of sites. I find myself using the Google, Amazon and searches the most, but keep a few others in the drop-down selection.

Type ahead find is a great way to navigate online manuals – press the single-quote key (‘) and type in the name of the link that you are looking for. Similarly finding non-link text is as easy as tapping forward-slash (/) followed by the text you are looking for.

Live Bookmarks provide RSS aggregation in the browser, which is a great idea. Unfortunately Firefox doesn’t yet flag new links, so you have to remember which was the last article that you read in a particular feed (something I’ve filed a enhancement bug

The check that Firefox performs to look for new releases is less useful on Linux (where most distributions already do this for all applications), but should be very useful for Windows users. As well as delivering timely security patches this should also encourage rapid rollout of new features. This significantly increases the odds of an improved HTML being available to web developers sooner rather than later.

(Photo taken at the Halifax Citadel)

September 13th, 2004

Halifax harbour

Most towns that have an ocean, sea, lake or river in the vicinity provide some means for a tourist to float on water. Row boats are a lot of fun, while tour boats and ferries are restrictive but can give you a different perspective on a place.

Sunset over Halifax harbour.In Halifax there are a plethora of different boating opportunities ranging from deep sea fishing to the humble Dartmouth ferry. The tour that we went on, arranged by the conference that Shana was attending, was a simple trip around the harbour.

Sunsets seen from water are often more interesting than when seen on land, and on our trip we where rewarded with an interesting sky. The container port’s large cranes added an industrial silhouette, which unfortunately loses something in the small format that I have to use on the web.

September 7th, 2004

Another week

Recently I’ve not given myself enough time for journal updates, managing at best only weekly posts. I hope that this will change shortly, but sometimes, like now, I can think of nothing interesting to say that the world doesn’t already know. In lieu of real news, insight or opinion this post will consist of nothing more than odds and ends.

Snowbirds in formation.Over the long weekend the annual air show was held here in Toronto. Usually we get a reasonable view of the show from our deck, but the visibility was pretty poor this year until the end of the final show on Monday. When the Snowbirds had finished their various tricks they flew right past our deck, allowing me to take one of the best pictures of that afternoon.

Over the last week I’ve been hacking together a small image database application to capture information about scans of images. The requirements are specialised enough that using an existing image database wouldn’t work too well, so I’m putting something together using SQLObject, MySQL (yuck), ModPython, and SimpleTAL.

SQLObject is working out very well, and SimpleTAL is at this point pretty much bug free. ModPython on the other hand is a great idea, but is currently full of bugs. Defects found so far include: Old versions of modules being used (despite the PythonAutoReload directive), name-space problems when two modules with the same name are in different directories, and the Session implementation always timing out (use session.__accessed = time.time() after session.load() as a work around).

While ModPython will suffice for my uses I would avoid it for critical development at this point (version 3.1.3).

Copyright 2015 Colin Stewart

Email: colin at