↓ Skip to main content

MapRun League Results Generator

·2 mins

Southampton Orienteering Club has what is now an annual MapRun league. A few years ago, I wrote a tool to scrape the results for each event, allocate points (only your first attempt counts, and it must be in a specific time window), and publish some HTML results. For example, those from this year (which I might just happen to have won!). For some reason lost in the mists of time, it was written in Node, but I decided that I would rewrite it in Golang before sharing it with the world on GitHub.

When I say “I would rewrite it”, this is 2025, so what I really mean is that I would get some AI to rewrite it for me. In this case, Copilot. It did a pretty good job of it on the first attempt, including some new requirements I’d added about extracting configuration into a separate file. There was one logic error that I had to correct, and then for some reason, it had decided not to bother providing the code to generate the emojis for podium places. To be fair, it even told me it hadn’t done this, and offered to finish the job.

The only subsequent changes were to switch to Kong for CLI parsing (not that there is much) and then the addition of a GitHub workflow to publish release binaries (although how useful they are without signing is debateable). Will anyone else use it? Who knows. Did I manage to push to GitHub the password used to publish results to the SOC website? Perhaps. Have I now changed that password? Definitely!

Related

Updating the symbol set and magentic north with OpenOrienteering Mapper

·4 mins
I spend a couple of hours a week hanging around the leisure centre at Fleming Park while Emma swims. For the past month or so, I’ve been using that time to update the orienteering map of the area, ready for the SOC Summer Series event there in August. The fairways of the old golf course are becoming increasingly overgrown, aided by the planting of lots of new trees. I therefore wanted to update the map to the latest sprint specification, ISSprOM 2019-2, so that I could make use of the ‘rough open with scattered bushes’ symbol. Although it hasn’t shifted much since 2016, I thought it was also time to update magnetic north. The following directions for OpenOrienteering Mapper (OOM) are based on those I received from the club’s mapping officer, Mark Light.

New Popular Edition Maps

·1 min
Search to see what your area looked like in the 1940s on the New Popular Edition Maps. If you can locate somewhere you know, enter the postcode and update their free database. (Free The Postcode has a similar mission.) There’s not much hope of finding our house as, back then, Chandler’s Ford was pretty much restricted to the triangle between Hursley Road, Hiltingbury Road and Winchester Road.

Creating a Membership List in Drupal 11 with Aggregating Views

·4 mins
I’ve written before about our use of Drupal for the Southampton Orienteering Club website. We’re now on Drupal 11, and my opinions haven’t really changed. Upgrades are still painful, particularly the community modules that we have to leave behind each time. The user experience for creating content also lags behind newer alternatives. We have a significant amount of historical content on the site (not all of it publicly visible), making a move a daunting proposition. In the meantime, as this post demonstrates, we continue to utilise the powerful features that Drupal and its ecosystem offer.