This page is part of the archives of my blog.
·1998 · 1999 · 2000 · 2001 · 2002 · 2003 · 2004 · 2005 · 2006 · 2007 · 2008 · 2009 · 2010 · 2011 · 2012 · 2013 · 2014 · 2015 · 2016 · 2017 · 2018 · 2019 · 2020 · 2021 · 2022 · 2023 · 2024 ·
This is the full archive for 2022
Sharing locations
I wish there were a good way to share locations from OsmAnd, akin to what3words. It doesn't seem to support copy or paste of Open Location Code (aka plus-codes), for instance. Maybe it doesn't matter and no one will ever know what any of these systems are, but W3W does seem like it's a bit known and it's totally proprietary and the people behind it hate anyone using it. I often share locations from OsmAnd and the most useful part of it is usually the link to osmand.net/go, which is a shame because it requires internet access (even when the map is already downloaded).
New bar tape
Fremantle
· cycling ·
I put some new bar tape on my handlebars. It's stuff that doesn't have an adhesive backing, so can easily be removed and adjusted.
-
Materials
-
-
-
Done
Changing gears
· cycling ·
It seems to be Thursday morning again. The list of things for the week doesn't seem to be any shorter, but there's only one day of proper-work left! (Tomorrow begins the Wikimedia Hackathon.)
The dramas I've been having with my rear gear shifting have been resolved, so at least that's good news. It seems my gut feeling was right: it felt like there was something preventing the derailleur from springing outwards, but I couldn't figure it out. I lubed all cable sheaths, cleaned springs, pulled everything apart and put it back together clean and lubricated. But I'd underestimated the simplicity of the shifters (Microshift BS-A09 I think they are), and hadn't realised that it's actually perfectly correct to just *loosen* the bolt a bit. This frees up the mechanism, and allows the derailleur full control. Everything is nice again now.
GitLab → Packagist
· Symfony · Wikimedia · tools · Toolforge ·
I've been wondering for a while how it'd be setting up a package on Packagist from Wikimedia's GitLab… turns out it's incredibly simple, and we now have wikimedia/toolforge-skeleton added and working! There's still more to be done on it, but hopefully it'll make it super quick to bootstrap the development of new PHP tools.
KOReader for my Kobo
· Wikisource · Kobo · ereaders ·
I finally installed Koreader!
Here's some notes of what I did:
Downloaded koreader-kobo-v2022.03.1.zip
from https://github.com/koreader/koreader/releases and extracted to the root of the device.
Add the following to `.kobo/Kobo/Kobo eReader.conf`:
[FeatureSettings]
ExcludeSyncFolders=(\\.(?!kobo|adobe).+|([^.][^/]*/)+\\..+)
Restarted, and it ended up back in the normal system. Oh, I didn't follow the instructions… try again with downloading OCP-KOReader-v2022.03.1.zip
from that forum post, and extracting that to the root. Unmounted the device, and it did much more flashing and gurgling this time. When it restarted, there was a new Koreader item in the main menu! Wonderful.
To enable OPDS, go to the search menu (the magnifying glass icon) and down to "OPDS". Then add a catalogue URL. Wikisource is https://ws-export.wmcloud.org/opds/en/Ready_for_export.xml — unfortunately, it seems the only way to get it in there is to type it in by hand, and I kept making mistakes. I tried three times before I realised that it was possible to *long-press on a catalogue name to get to an edit dialogue*.
Then, I had access to 45 pages of Wikisource's works. Unfortunately, they're in alphabetical order by title so it's a bit weird to browse them in this way. But, still, it's a terrific start and much easier than copying epubs from my laptop.
All in all, Koreader seems much much faster, and has many more features… and why didn't I do this ages ago?!
Hackathon day 2
· Wikimedia · Wikimedia Hackathon 2022 · Wikimedia Hackathons ·
It's Hackathon day 2, and I've nearly wrapped up my first draft of a pretty hacky system for editing documentation pages in ToolDocs. It's fun learning the GitLab API, although that's also making me question a bunch of assumptions I made about this project in the beginning! It's seeming more like it'd be better to just build the whole thing as effectively a custom UI to GitLab. But we'll see…
Repacked front wheel bearings
· cycling · Fuji Tourer ·
Today I repacked the bearings in my front wheel. They were not completely dry, but I feel bad that I left them this long! It's been a few years.
I'm trying to build a list of all tools I need to work on this bike, so now I add the following: 13 mm cone spanner; adjustable spanner; and a bit of bent wire to hook bearings out with. Also some grease and a few clean rags.
Thought I might want a magnetic pick, and tweezers, but actually it was fine without. I used to replace the balls whenever I did the bearings, but I've since read that that's overkill, and certainly they looked fine on close inspection. Far better than the cones and cups anyway, which had some small pitting in a couple of spots (inspecting the cups was a bit tricky, because I didn't remove the metal dust covers). The rubber dust covers are fine, although I don't know how many times they'll take being stretched off and on, they do have that sort of dusty old-rubber look to them now.
P26131
· MediaWiki · Diagrams · extensions ·
I have updated the MediaWiki Diagrams extension to support Mermaid diagrams. Actually I wrote the code a while ago, but today got around to merging and releasing it.
MediaWiki things
· MediaWiki ·
It's only 10 o'clock on Monday morning, and I'm already three bugs deep in a queue of "oh, I'll just have a quick look at why that thing isn't working." I wanted to confirm the way in which WikiEditor loads the CSS that disables the resize: none
on the main edit form textarea. But of course I'm doing so with PHP 8.1 (for a laugh) and so hit a deprecation notice, so fixed that, and now am getting Error: Class "FormatJson" not found
… everywhere. I think it's a weirdness with LocalisationCache. The question is whether I'll remember what I was trying to do an hour ago, after I've figured this one out. Probably not, but a feint feeling of enqueued context will persist for the rest of the day, making sure I keep feeling worried. Oh well.
Geogeeks, June 2022
Fremantle
Geogeeks evening in Fremantle.
-
Door sign
-
Plan of Robert Harper building
-
-
-
-
Newly-printed map of Fremantle:
P26138
· Fremantle ·
It looks like they had to demolish the end wall of the power station for some reason:
I guess to get equipment in or something? But it seems like rather a large oversight when it's a brand new building!
Looking for accesskey in MediaWiki
· MediaWiki ·
I'm trying to automate some more of MediaWiki's accesskey documentation, and in doing so found these four errors with qqq.json
:
- ListTransclusions: https://github.com/poke/mediawiki-ListTransclusions/pull/3
- SuggestedTitles: https://gitlab.com/hexmode1/SuggestedTitles/-/merge_requests/1
- PHPEditor: https://github.com/MWStake/mediawiki-extensions-PHPEditor/pull/3
- DonationInterface: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/DonationInterface/+/813191
Wikimania 2022 is coming
· Wikimania 2022 · Wikimania ·
I've just registered for this year's Wikimania (11–14 August). It's going to be online, on a thing called Pheedloop (which sounds like yet another Phabricator component, but isn't).
Last year we had a great Wikimania meetup at Riff. Probably won't be anything this year, because there's already going to be a meetup on the 21st.
New MediaWiki extension: MultiPurge
· MediaWiki · extensions · Wikimedia ·
Another new MediaWiki extension this week, by Octfx:
The MultiPurge extension allows the purging of pages from multiple caches in a defined order. It was developed to allow the use-case of first purging data from a varnish cache, and then from CloudFlare.
Migrating to FreeOTP+ from Google Authenticator
· authentication · Android ·
For some reason, the Google Authenticator app has in the last year or so gone from bad to worse. It has always been annoying, with no ability to search or automatically sort the list of websites, but recently it's started going extremely slowly. It takes something like ten seconds to start, and every interaction is similarly slow. They have at least reverted the annoying feature of hiding the codes (although if it worked faster, that would've been a good feature).
Anyway, enough is enough, and I'm migrating to FreeOTP+, an "enhanced fork of FreeOTP-Android providing a feature-rich 2FA authenticator". So far, it's brilliant. Does what it says, quickly and easily.
Of course, Google Authenticator's frustrations don't end here, because there's no easy way to migrate from one to the other. (Which is another reason to use a good open source app for this, because FreeOTP+ has multiple export and import options.) So I'm reduced to doing it site by site, in most cases having to remove 2FA from a site and re-add add it with the new app. Quite silly. I'm not doing them all at once, but will keep both apps running for a while; the sites I use most often I've done first.
5th Wikisource Triage Meeting
· Wikisource ·
The 5th Wikisource Triage Meeting is coming up soon. There's a poll up now to try to figure out when to hold it.
LinkCards 0.4.0 (perrow parameter)
· MediaWiki · LinkCards · extensions ·
I added a new parameter to the LinkCards extension this evening, so that it can show multiple cards on multiple lines — an image gallery, if you will. I like the built-in <gallery>
syntax, but it's nice to be able to link to something other than the image, and people usually seem to expect to be able to click on any part of a gallery item: the image, title, or description, and that's how LinkCards does it.
It might seem weird to make an extension to do what can pretty much be done with templates on their own, but it's nice to be able to test locally and deploy to multiple wikis. I'm sure there's better ways to do it, but why think too hard when there's code waiting to be written! :-P
WSContest 2.2.0
· Wikisource · Wikimedia ·
Wikisource Contest tool version 2.2.0 is released now. It fixes up the wikitext-export feature, which makes it easy to post contest results on a wiki. Thanks to Bodhisattwa for prompting this fix.
East Perth
East Perth
· genealogy · cemeteries · Perth ·
A Sunday arvo exploration of the East Perth Cemeteries, including to finally get some more pics of my rellies' grave there (archiveswiki:HHH et al).
EIIR
Fremantle
· royal family ·
The Queen has died. Long live the king? The news coverage is massive of course, but there's quite a few of them with little to say yet. The BBC has just informed us that "Aberdeen airport is 45 miles from Balmoral", and there are many articles full of phrases like "traditionally x has happened" and "we can expect to see y".
Still, it's something of a meaningful moment, I think. Hopefully it's the start of the process for Australia to become a republic. Hopefully someone's hanging out with the corgis in their time of sadness. I don't think I'll extract her maj's portrait from its storage.
Merredin
Merredin, Western Australia
· travel · genealogy · exploring ·
This week my dad and I went to Merredin on a FamilyHistoryWA excursion. It was a very interesting trip, and made me more keen to figure out better ways to link family history and Wikimedia.
Day One
We left East Perth just after 7AM on Thursday, which meant getting the first buses into Fremantle a bit before 6. It was almost drizzling, but not quite. We were both rather quiet and still waking up by the time we got to East Perth and sat down for a cup of tea in the café there — the worst cup of tea, possibly ever. It tasted as though it'd be infused with coal smoke!
The train journey was very comfortable, and I dozed because I'd barely slept the night before. The new wifi service worked well (when it had an outward signal), and I read the news on my phone ("never complain; never explain") because I couldn't be bothered fetching my book down from the luggage rack. Bringing a flask of fresh coffee was a terrific idea, and the sun came out after we'd passed Toodyay. The OSM maps on the Prospector showed their normal red dot which didn't quite keep up — and then failed to move at all after about Doodlakine. (I wonder if Leaflet has a "stick to line" plugin?) As well as wifi, the train has 240v sockets, but of course I managed to forget my USB adapter and so was reduced to relying on my external battery.
The buffet closes a bit before Merredin, and so despite the red dot on the map not moving for half an hour we knew we were close to Merredin. Upon arriving, we headed straight off to the motel to dump our bags and then head off to find firstly lunch and secondly the WAGS group. We walked around the place, unknowingly following in reverse pretty much the same route that the tour was to take later in the day. We peered at the theatre:
The old town hall:
The ('replica' of the) Bills water trough:
And a few other things around the place:
-
Communications tower and satellite dish for tracking marine traffic.
-
One of the two dog parks, replete with jumping-through hoops.
-
Flags at half-mast.
-
More flags.
-
Interesting brick facade on a building in Queen Street.
The light wasn't great for photos, but I was in the mood for filing in blanks on the Commons and Wikidata maps. The place we ended up at for lunch was nice: a cafe in the old postmaster's residence, with tables on the verandah and built of much finer bricks than many we'd noticed around (pressed not wire cut; there seems to have been a brickworks in the wheatbelt when this place was built, but there was also lots imported from Midland). After lunch, it was off to the library (the regional library, in the old north-side primary school). Got there early, and so got to check out the memorabilia room.
The military historian Bob presented first, talking about his family history in Merredin and the districts (we met him again the following day at the military museum). Then Mal spoke about the natural history of the area — followed by a tour of the Merredin Wildflower Society's herbarium (also located in a classroom of the old primary school).
A knowledgeable local (with a terrific tour-guide voice that had no trouble carrying over the wind and traffic) took us on a tour of Bates Street and elsewhere.
Unfortunately, we were both rather kaput and so gave up after an hour or two and went back to check in to our room and relax for a while before dinner. The news of Patagonia being sold to a non-profit was all over the feeds. I was attempting to catch up on my diary by typing on my phone (in a Nextcloud app), and it was all rather frustrating — but still better than handing over data to the usual companies.
Dinner was at the Grandstand Bar at the sports ground. All fairly much as expected, but one nice thing was that the acoustics were actually not terrible, and so we could talk to each other. The WAGS membership is mostly rather older, and so there's an element of needing to speak clearly!
Sleeping was easy, and the motel was pretty comfortable. The train sounds were fine; the air-con of the next door room was less so.
Day Two
Things dawned quiet, cold, and reasonably satisfied by breakfast in the motel dining room. It's weird that decent toast is such a hard thing to come by while travelling, but I always find it very comforting when it is.
We ambled down the road, sticking to the sunny side of the street, to the military museum where the WAGS group was assembling in the car park. To get there we skirted the landscaping works happening around the base of the water tower.
We explored the military museum for a while, and then got the call that it was morning tea time at the refreshments' room at the railway museum — so off we went (circumnavigating the old train station, because the eastern pedestrian crossing was closed for the landscaping works). A grand morning tea put on by (the vice-president? president? something like that) of the Heritage Society. Followed by a climb up into the signal cabin and a great explanation of much of its workings by an ex-WAGR technician.
After that, everyone explored that museum for a bit, and then dispersed to drive off to see wildflowers or head home, and we walked south to the old cemetery. That was a lovely place, full of flowers and bush that feels pretty untouched (no idea if that's the case).
Day Three
The motel dining room wasn't open when it said it would be, so we gave up on it and thought Saturday morning would be a good time to try one of the other cafes in town. However, none of the others were open so we ended up back at Dimensions. It had a lovely sunny courtyard, and was close to the railway station, so all was good. It did mean that we had to walk back to the motel to get our stuff though.
The train was half an hour late. It did come though, and it did take us back to Perth. The royal funeral was still top of the news: "…these processes that have been in place for a very long period of time. They began tragically on Friday morning…" — it it really 'tragic' though? Sad, sure, but hardly tragic.
Anyway, all up, Merredin is a lovely town, and there's still lots more that I want to explore!
Pumping stations of Fremantle
Fremantle
· Wikimedia Commons · photos ·
I clicked this photo the other day, thinking that it'd be added to an existing set of photos of this fairly prominent building in Fremantle. But there were no photos already on Commons! So I've created a new category and it's very bare so far — but I'll be sure to get back and take some more photos soon. When the rain goes away.
Deep sea research centre
Nedlands
I've been at a Wikimedia editathon all afternoon at the Deep Sea Research Centre at UWA. Such interesting stuff and so far outside anything that I know! We showed them a few bits of how to get going editing Wikipedia and Commons and they all seemed to just get it. Most satisfying.
Hopefully they'll go on and upload lots of photos and improve lots of articles.Wikispore meeting
Fremantle
· Wikispore · Wikimedia · MediaWiki · system administration ·
On Friday evening I attended an online meeting about Wikispore, the new-ish project that's aiming to find a place in the wikiverse for content that isn't suitable for existing Wikimedia projects. I really like the idea, although I know it's hardly a new one and that people have been working on various things like this for decades now. Like any nascent project, the important parts of it aren't really the technical ones (although they're crucial too in lots of ways) but rather it's the people involved and the communication that's most interesting. I feel like the community around Wikispore is friendly, knowledgeable, and sensible — and so I'm hopeful that it can be a success.
My main involvement so far as been to try to help upgrade the test instance at wikispore-test.wmflabs.org, to help get some new extensions installed (including my own new one, UnlinkedWikibase). Thus far, I've been a bit of a failure at the upgrade! The system is on a Cloud Services VPS, and runs the wiki via Vagrant. I know it outs me as a deviant WMF developer (perhaps less so these days now that all the cool kids are moving to Docker), but I've never used Vagrant very much for development or deployment. So I don't really know what I'm doing. The current issue is that Vagrant is still on PHP 7.3 and needs to be updated to 7.4.
For the time being I think I'll retreat to trying to get my own wiki back up and running in the way I want it (it's looking likely that I'll dump Twyne, sadly).Commons app failure
White Gum Valley
Cameras vs phones
Fremantle
· photography ·
Interesting post this morning on r/photography about the demoralising effect of smartphone photo-processing:
The comments seem to boil down to: shoot in raw, process stuff yourself, buy a prime lens, and (sometimes) give up and just use a phone.To make a long story short, I'm feeling a little frustrated with my experience with my DSLR camera. It is just an entry-level Nikon D3200, an older camera (though from what I understand quite capable for an amateur) with the original kit lens. Thing is, I have taken a lot of time over the last year to get to know the camera and how to make use of the F stops, ISO settings and exposure times, I got myself a tripod and learned about a lot of fundamentals of taking photos and yet.. its still usually outclassed by a google Pixel 2 smartphone with HDR+ enabled. The phone can generally eek out more detail and clarity and does better with avoiding over and under exposing. I don't get it - it's a basic camera but the APS-C sensor is much larger, the optics (even though entry level) should be better than whats on an old smartphone, I'm making sure not to over or underexpose, I'm dialing in my focus as much as I can. Is this an optics thing, a user skill problem, or just.. how good modern image processing has become and is it making cameras a bad deal for beginners? Kinda sad that I've invested time and energy and interest into learning how to use these functions only to be easily out-shot by myself using auto / photo on an old smartphone :(
New painting in the Robert Harper stairwell
Fremantle
Organising templates in MediaWiki
Fremantle
I think Scribunto makes template editing completely different, redundant even. All things can happen in proper code, and we no longer need to worry about weird workarounds for finnicky whitespace. We do have frustrations with creating wikitext/HTML with Lua but I feel like that's less of a drama and often actually much easier.
I'm trying out an idea of making every template:
- nothing but a call to a matching module,
- have a
/doc
subpage, - a
/style.css
styles heat, and - storing (almost) all its info in TemplateData.
The module architecture will be equally simple, with modules either being for a single template (with the same name), or designed for use by other modules.
It's probably all too simple—but if it gets me away from wrapping newlines in HTML comments, and deeply nested triples of braces, then I'm happy enough.Being a lone volunteer sysadmin
Fremantle
· mastodon · fediverse · system administration ·
mastodon.technology is shutting down:
This is why I only host things for myself and friends and family! Anything that's depended upon by a wider group needs to have a bigger group running it, I think. It's one of the strange things about open source software — it is easy to get things running, and so easy to end up running things in all too fragile a way.I am exhausted.
This made me realize how little joy I’ve been getting from being an admin. How I’ve come to resent the work I have volunteered to do. I’ve donated countless hours to running the instance, solving both technical and moderation problems, and I’ve always put the instance above my own needs. But I can’t put the instance above the needs of my family.
The server has also gotten too large and too complex for me to administer. I’ve always been keen to learn the next new skill I need to be an effective admin. But I just don’t have it in me anymore. The monitoring that I have in place is insufficient to solve the current problems and I have zero bandwidth to invest in learning the skills to diagnose and fix the issue.
Wikidata's tenth birthday
Fremantle
· Wikimedia Commons · Wikidata · birthdays ·
A nice little gathering this morning in Freo, for Wikidata's 10th birthday. We had cake, a fascinating presentation from Margaret about how to sort out taxa authors in Wikidata, and even people dialling in from interstate. I didn't get many photos, but I think a few others did and hopefully they'll all end up together in the category on Commons.
Ninthfloor is closing
Fremantle
The shared hosting service NinthFloor is closing at the end of the year:
I first noticed it in 2012, but never actually signed up in the end.We have been considering Ninthfloor somewhat in deep maintenance mode, but the reality is that the project is unmantained and it has been for a long time.
Thirteen years is a long time and what Ninthfloor offers was way more useful, interesting and challenging back then: there were no cheap VPSs, no Letsencrypt, GitHub was one(!) year old. As of today there are better and more reliable ways to do basically everything Ninthfloor provides.
The Black Swan, July 1969
Fremantle
· scanning ·
I've just uploaded a 1969 edition of The Black Swan, the Swan Brewery's magazine. The main reason is that it has an article about Cossack. It also has this article about Anzac Day in Bermuda, showing off the terrific knees that come with a case of Swan Larger.
Grave plots in Wikidata
Fremantle
· cemeteries · Wikidata ·
I've been looking at places of burial in Wikidata. It's easy to look at a single cemetery, and who's buried there and whether there's a photo of the grave and details of its location and plot-reference. It's not so useful though, because there isn't enough data yet (at least for Western Australian cemeteries).
The results look like this, for Fremantle Cemetery: https://w.wiki/5oQuWhere and when a post is written
I have this idea that if my photo albums are connected to my GPS tracks, then for the many thousands of photos I've got that don't have locations I'll be able to get likely locations based on their temporal proximity to others that do have known locations. No, hang on, that's doable without the tracks even… but whatever, it's still nice to have all in the same database because then I can get exact locations! Or something. (Possibly I just like stuffing around with code.)
I'm just excited to have Twyne working again, after spending most of this year feeling like it's all too hard. The GPS/time thing that I am interested in getting working is the one where I can give a location to a post, and it'll tell me what the local time is for the post. Because post times are all in UTC, but I want to display their times in whatever local timezone they were written in, it's necessary to convert a combination of date/time and coordinates into a UTC offset. It seems that the easiest way to do that might be with Overpass, because timezone relations are all in OSM now. If I knew anything about what I'm talking about, there might well be an easier way. But I'm a programmer, not someone who knows stuff.
P26509
· Geogeeks · events · Perth · OSM ·
Perth #Geogeeks are having an end-of-year social catch-up on Thursday 8th December. We've had a good year of regular meetups and mapping parties. Maybe we can map all the tables at the pub? https://events.humanitix.com/geogeeks-end-of-year-geo-social #OpenStreetMap #Perth
Automattic is a great model
Fremantle
· Automattic · WordPress · hosting ·
Very interesting thread this morning from Chris Trottier about why Automattic (the company that makes WordPress) is such an interesting model to look at when thinking about financial sustainability of social media.
Read the rest of the thread…Most questions about the Fediverse's long term sustainability and survivability can be answered by looking at Automattic.
1. Does it scale? Yes. 2. Can it be extended and customized? Yes. 3. Can the non-technical average Joe be comfortable enough to self-host? Yes. 4. Can institutions embrace it? Yes. 5. Can an ecosystem be built around it? Yes.
The operating model has already been built and been proven long ago.
P26523
· Twyne ·
I think I might have fixed one of the things that's been stopping me using my website much lately: I kept being logged out. I'd thought I'd fixed that ages ago, and in fact I had, but then I (of course) broke it again. That's the usual way of bodgy homebrew things I guess.
2022 IndieWeb Gift Calendar
The indieweb gift calendar is happening again now. It's an annual thing in which people working on indieweb stuff (software, documentation, whatever) get something *done* on a day in December, and put it on the calendar for others to enjoy. The definitely of 'done' is pretty flexible.
I'm going to try to get the new location-estimation feature of Twyne done and dusted. It needs a bit more work, including better documentation, and then a bit more testing. But hopefully before xmas I'll get there.