Admitting defeat on my website

Posted on 2023-08-11 08:44 +0100 in Coding • Tagged with php, html, web • 2 min read

I've had davep.org since very late 1999. Initially it started as a domain used just for email; while I did have a website, around that time it was still hosted on my then-ISPs hosting service, with a mirror on a friend's web server.

A year or so later I finally did a proper revamp of my website and finally settled on www.davep.org as the place to point people to. I think, when I made that move, that's when I decided to write my own website engine in php. It was fun. It worked. I didn't want to code backend stuff (I don't think the backend vs frontend distinction was even a thing we were talking about then) so hacking it together in an unholy mix of ruby to generate various static files that live in the filesystem and then php to turn them into actual HTML made sense.

And it worked.

The earliest version of davep.org I can find

I heavily maintained the site for many years; keeping the same engine, tweaking the styles, adding features and content. I figure some time around 2013 or 2014 I probably stopped being quite so active in messing with it, and then in the last 5 or 6 years I've pretty much neglected it.

The neglect shows.

Meanwhile... php has changed. Quiet a lot. It's one of those languages I used back in the day and pay no attention to. Then earlier this week I noticed that there must have been an update on the host and huge parts of my site broke, lots of content missing, pretty much useless and dead in the water.

I did briefly think about breaking out the latest and greatest php locally, setting things up to investigate what's going on, and seeing if I could breathe some more life into it; but really what's the point?

So after all these years I'm finally admitting defeat.

Right now, on the home page, I've just got a placeholder saying that bitrot finally ate my website and that I'm going to start again from scratch. That's my plan: given that I had a good experience moving this blog over to Pelican I think I'm going to build a new www.davep.org with Pelican. Where possible I'll try and drag some of the old content over, but I'm also going to use this opportunity to have a proper digital spring clean.

There's no planned timescale for this, but this morning I've spent an hour or so over coffee, branching the repo for the site and pruning out all the stuff I know I won't need and don't want.

I'll try and drop the odd update in here as things progress.


Off to see Little Shop of Horrors

Posted on 2023-08-10 20:30 +0100 in Life • Tagged with Music, Gig, Fringe • 1 min read

I almost feel bad admitting this. For someone my age it feels like a thing you should not really admit, but here goes... I only saw Little Shop of Horrors for the first time back in 2020. Don't ask me why. I just... never got round to it. I've known plenty of people who have seen it and loved it. I had a girlfriend for a while in the late 80s who was obsessed with it. She, like plenty of people I know, would quote all the quotes from it.

And yet... yeah, I never got round to seeing it.

Until 2020. On first viewing it became really bloody obvious why so many people seem to love it.

So you can imagine my delight when, earlier this week, I was fighting through the Edinburgh crowds to get to my bus home and I saw this:

Poser for Little Shop of Horrors

Oh yes please! Oh so yes please! Given my desire to try and take in a few more Fringe shows that I normally would, this year, this seemed like a perfect fit. It also solved the choice paralysis problem for at least one week (really, have you seen how much there is on offer?).

So today I booked some tickets for myself and a couple of friends. Next week's "try and see at least one Fringe show" problem is solved: I'm going to go and see a performance of Little Shop of Horrors.


I turned it off and on again

Posted on 2023-08-10 18:17 +0100 in Tech • Tagged with Obsidian, Apple, iCloud, iPhone, Mac • 1 min read

Following on from the previous entry, where I outlined a weird problem I'd started having with syncing Obsidian via iCloud, I finally decided to sit down and try and work out the exact flow of the problem. Today, for example, I'd created an entry in two different vaults on my phone while on the bus into work, and when I got to my desk the vault I use on my work machine had updated.

However, when I got home this evening, the vault for my personal stuff hadn't updated on my home Mac Mini. I tried a few edits, in both vaults, on the iPhone, and nothing came through to the Mac.

So... before I started really diving into things I decided to "turn it off and on again" -- the iPhone that is -- and when it came back I ran up Obsidian, which told me it wasn't allowed to access my iCloud drive!

I took a moment to go into the settings to try and figure it out, didn't find what I wanted right away, then got to thinking that perhaps some of the phone's services were still spinning up, so I ran Obsidian up again (after killing it).

Sure enough, this time, it saw my vaults. With both vaults open on my Mac I made edits to open entries and the edits started to flow.

So, yup, looks like it was a simple case of "turn it off and on again".

Apple: #ItJustWorks.


Strange Obsidian sync issue

Posted on 2023-08-08 20:55 +0100 in Tech • Tagged with Obsidian, Apple, iCloud, iPhone, Mac • 2 min read

Since October last year I've been getting into using Obsidian. Not that heavily, not to the extent some people do, but just as a way to keep a daily journal of work-related things. Each day at Textual HQ we finish off with a chat about how our day has gone, stuff we're wondering about, etc, etc... So I don't lose tack of what I've been up to I keep notes and Obsidian is how I do that.

One of the things I really like about it is how I can have iPhone, iPad and macOS versions on the go and have it all sync via iCloud. It generally works well.

But in the last couple of days I've noted the oddest problem, and I've yet to pin down the exact flow. But it seems to be this:

  • If I create or edit a note on my iPhone, it doesn't turn up on my Mac.
  • If I create or edit a note on my Mac, it turns up on my iPhone.

I think I might have seen variations on that theme but I've not made careful note -- normally I'm made aware of it when I'm trying to get something done.

What's super weird is this: on the iPhone, if I create a note, and then go into the Files app and look at the iCloud folders for Obsidian, the file isn't there! It's there in Obsidian itself, I can move it about, edit it, etc, etc... but it's not in the "vault" as seen from the Files app.

It's the last part that has be really puzzled.

If I get to the bottom of this I'll try and remember to write up what I find. I suspect I'm going to need some proper clear time, without other distractions, and experiment with all the edit and sync options and see what works and what fails.


Off to see Nick Harper

Posted on 2023-08-07 21:56 +0100 in Life • Tagged with Music, Gig, Fringe, Nick Harper • 2 min read

Poster from likely the last time I saw Nick

I've lived near Edinburgh for getting on well over 6 years now and, aside form the odd show here and there, I've never really done the Fringe. As in, really dived in. Since moving up here my life situation didn't quite allow for it and then the pandemic hit and... well, you can imagine. Every year I've been up here I've managed one show, at least, but this year I want to try and make myself get to a few.

Maybe one per week. Possibly.

Might not happen, but I'm going to try. What can I say? I don't live in Edinburgh, I'm not a big "be out amongst people" kind of person, and the activation energy to get on a bus into town vs what I can do in my little part of Scotland is a constant battle.

But this year I'm going to try my best.

This evening I've booked a ticket for an artist I've been a fan of since the 1990s: Nick Harper. I saw Nick quite a few times in the 200xs (see the image above, I think 2009 might be the last time I saw him!) and then my going to gigs tailed off somewhat (again, life stuff). So seeing that he's playing here for a few days was something I could not ignore.

This weekend me can thank Monday me for committing him to doing something kinda sociable. I'm sure he'll be mad at me most of the day it's happening, but once it all kicks off and the music is flowing he'll be thankful.

Right now, at this moment... I'm rather looking forward to it.


HomePod Stuck Installing Update

Posted on 2023-07-29 07:56 +0100 in Tech • Tagged with Apple • 2 min read

I have three HomePods. I have a Mini in the kitchen and one in the bedroom. I then have one of the newer-gen "big" HomePods in the living room, which amongst other things is the speaker for my Apple TV device (yeah, I'm kinda Apple all over the place these days).

This week there was an update to the software, updating to 16.6. The two Minis updated just fine. The big one, however, days later...

HomePod stuck installing the update

It's been like this all the time since the update turned up. I've tried a reboot from the Home app. I've tried pulling the plug and plugging it in again. Nope. It just keeps sitting there like this.

Meanwhile... it's working (more or less) fine. It's still playing music. It's still being the speaker for the Apple TV. It still answers most questions and performs most commands (most of the commands I give it are to add stuff to my Reminders).

On occasion if I ask it questions about other devices in the apartment ("hey siri, what's the temperature in the bedroom?") it'll do the "working on it" thing and then give up saying the thing wasn't responding. That seems to be about the worst of it.

Having checked this online it looks like, annoyingly, the one option I have left is to do a full reset, removing it from my Home, doing a factory reset, and then setting it up again. I'm sure it's something that'll take 10 minutes or so; but it's an annoyance.

Apple: #ItJustWorks.


Quiche Reader

Posted on 2023-07-27 08:42 +0100 in Tech • Tagged with software, reading, recommendation, iOS, macOS, iCloud • 2 min read

I can't quite remember where I found this this week, I think it might have been via a comment on some article on the orange site1, but I stumbled on a really handy bit of free (as in beer) software called Quiche Reader.

It's really simple and I feel exactly the sort of thing I need. Over the years I've tried all sorts of "save to read later" tools and systems; be it things like Pocket, or tools now built into the browser these days, even adding URLs to Remember the Milk (back when I used that) or (these days) Apple Reminders.

Nothing ever quite stuck. Normally I'd end up slapping stuff to read into these systems and then never reading them.

Quiche Reader, so far, feels like the perfect approach.

Quiche Reader in action

It's quite simple: if I see something I want to read a bit later I save it into the application (which will sync to my other devices via iCloud). Then, when I go to Quiche Reader, I have to read the article or delete it and move on. This is sort of what I'd do anyway, saving stuff up for months on end until one day I'd declare saved reading bankruptcy and then start the whole cycle again.

Now I can look at the saved article stack and I'm forced to either read the thing, or be honest with myself that if I'm not gonna read it now, I'm probably never going to.

It does have a "pause" facility (or something like that, I forget the name) where you can throw an article to the back of the queue; but even then that means it'll keep popping back to the top again.

I'll see how it goes; but so far I feel like this is the best "I'll save this to read later" tool I've found yet.


  1. I know, I KNOW! But there's so few places left to aimlessly scroll on the bus now! 


Encouragement, I guess?

Posted on 2023-07-21 08:20 +0100 in Life • Tagged with UI, UX, health, fitness • 1 min read

Anyone who was (un)lucky enough to follow me on Twitter back in 2020 will know that, starting January 1st that year, I set about losing weight. At the time I was very overweight and wanted to get into some sort of healthy state. By August that year I'd managed to drop 30kg and hit and then went a wee way under my goal.

These days I'm back up a wee bit. Not much: generally about 5kg or so above that goal, most of that having turned up on the last 7 or 8 months (not exactly coincidental that it's happened in conjunction with the new job, the new work location, and the new commute). While it's no real cause for concern -- I'm still generally careful and still get plenty of exercise (normally walk around 35km a week, run 20km, get my 10k steps in every day)

About a week back I decided that it was time to give myself a bit of breathing room, to try and at least drop a couple or kg; so with that in mind I set a lower daily calorie goal in my tacking app.

When recording my weight first thing this morning (yes, I'm one of those people who records it every day and have for a few years -- it makes for interesting data!), this is what my calorie/stats tracker had to say:

Screenshot of my calorie and weight tracking app

I guess it's putting a positive spin in things? (for the record, I'm 5.3kg above my absolute goal).


textual-canvas v0.2.0

Posted on 2023-07-16 09:00 +0100 in Python • Tagged with Python, Textual, coding, PyPi • 1 min read

Demo of textual-canvas

Given that for a good chunk of this year I've been a bit lax about writing here, there's a couple or so coding projects I've not written about (well, not on here anyway -- I have spoken lots about them over on Fosstodon). One such project is textual-canvas.

As the name might suggest, it's a "canvas" for Textual applications, which provides a pretty basic interface for drawing pixels, lines and circles -- and of course any other shape you are able to build up from those basics.

I've just released a quick update after it was requested that I add a clear method to the Canvas widget; a request that makes perfect sense.


Cmd-Tab switcher on all screens

Posted on 2023-07-14 07:56 +0100 in TIL • Tagged with Apple, Mac, macOS, Work • 2 min read

This week, on Monday gone in fact, we moved office. We've now got a bigger space and, as part of that, bigger desks. Somewhat (but not entirely) coincidentally the work desk will also convert into a standing desk1. Also also... I inherited a second screen for the desk too. Ever since the days of CRTs and video cards that supported it, I've been a fan of having at least a couple of screens in front of me, and now at my work desk I've got 3 (two external displays and the display of the MacBook Pro itself).

This caused a slight problem though: horizontally there's quite the spread of things to look at. This is fine, mostly I'm looking at the screen that's in front of me; the MacBook is to the left and the "second" screen is to the right, both with "other" stuff on them. In front of me is Emacs and my browser, which I flip between lots.

The problem is this: the MacBook needs to go to the left (because of physical layout), which means that despite me setting the screen in front of me as the "main" screen, the Cmd-Tab display (you know the thing: when you hit Cmd-Tab you see the icons of all your active applications) appears on the left-most display, which is the MacBook.

Not great. If I'm looking at the right-most display, and want to switch using the keyboard, I've got to look over to the left, as a worst case. That makes for a lot of unnecessary head-swivelling.

One quick Google later and Today I Learnt that the following pretty much solves the problem:

$ defaults write com.apple.Dock appswitcher-all-displays -bool true
$ killall Dock

As the name of the setting would suggest: once done, the switcher appears on all displays.

That's perfect.


  1. Although the work one is manual hand-cranked, not electronic button-push goodness like my new one at home