Categories
Weeknotes

Weeknotes 2023-14

Almost forgot that today was Sunday, on account of tomorrow being a notional Sunday too.

I’ve finished #12in23, a little early – the dozen I ended up with were 8th, AWK, COBOL, Crystal, Go, Lua, Pharo, Rust, Scheme, Standard ML, Vim script and Zig. I also did a few more exercises from the Ruby and Elixir tracks, so with the abandoned Ballerina my tally currently stands at 14.4/12. It’s kind of tempting to aim for five exercises from each of the 67 available tracks by the end of the year, but I suspect that way madness lies.

Still on the tech side of things, I spent Friday adding Absinthe to my work project (A Phoenix web app), and building an API around a specific (non-database) tool which was previously only exposed via a LiveView GUI. It was all in all a very pleasant experience, and I’m very grateful to past me for building the original feature as a UI-agnostic core component returning trees of well-defined structs, which were very simple to map onto a GraphQL schema. The only remaining snag once I thought I’d finished was that the bundled GraphiQL client doesn’t seem to work on the deployed application, which I assume is something to do with it being behind an NGinX proxy.

A gentle start to the week, running-wise, then a busy weekend, starting with the Sudbury Fun Run (which despite the name is definitely a proper race) on Good Friday. I’d never done it before, but enjoyed it (if you leave aside the usual discomfort of running as fast as you can for five miles). It featured one of those sneaky elevation profiles where you feel like you’re going uphill for ages, then lose all the height gained on a short steep downhill where you don’t really get the benefit. Also an amusing feature where the route went slightly out past a turning in order for us to cross at a zebra crossing and come back on the other side of the road, no doubt much to the bafflement of people trying to drive past in the gaps between runners.

Saturday featured a change of parkrun, with a bunch of us running at Alton Water, then back to some friends in Holbrook for coffee and bacon rolls. The course featured some big muddy puddles – in fact more than a lot of this year’s cross country venues – but I managed to finish in tenth place with a time just outside 22 minutes.

Sunday saw a third day of leg abuse with the annual charity “beat the bunny” event in Chantry Park (basically everyone sets off at staggered times based on their recent form, and tries not to get overtaken by the fastest runner, who is wearing a rabbit onesie). It should have been 5k, but ended up more like four thanks to parts of the park being cordoned off behind police tape after an incident.

I made my “hot cross buns” joke for the nth year, and fortunately managed to offload most of them on Saturday to supplement the bacon rolls, although I still ate more myself than is entirely healthy.

Hot, cross buns
Categories
Weeknotes

Weeknotes 2023-13

April already.

I think my car has now finally used up its last last chance, and is going to have to go. After behaving itself for a couple of weeks to lull me in to a false sense of security, it decided to go back to its old tricks from months ago, and refuse to start to come home from Felixstowe on Tuesday. Various attempts to push-, jump- and tow-start it failed, and I finally decided to just ask Peter to tow it over the road into a side street so I could park it somewhere other than the sports centre car park and scrounge a lift back with one of the Ipswich folk who’d hung around to help. Unfortunately, being an idiot, I forgot to communicate the plan to said folk, and once I’d locked the car up and Peter had driven off I walked back over the road to find that everyone had (understandably) gone home. This left me having to resort to the train, after a bit of a walk and a chilly half hour wait. To make matters worse, I woke up in the middle of the night with a sudden suspicion that I’d got the magic sequence to allow the daft Smart auto gearbox to bump start slightly wrong, a fact that a quick Google confirmed. If only I’d thought to do that while I was with the car and had a bunch of people around to help push. Sigh.

On Wednesday a bunch of us went to an 80s quiz in the local Wetherspoon’s. Unfortunately after waiting a while for it to start and decided it was clearly not happening, it eventually turned out to be taking place in a different side of the pub (where there hadn’t been any available tables anyway), so it ended up just being a few pints and no quiz. An enjoyable evening nonetheless.

Only one language to go to complete #12in23 now. I started 8th (a dialect of forth), but it’s weird and frustratingly unfamiliar and I haven’t made much progress.

The weather still seems to be all over the place. Properly warm on Thursday, then pouring with rain on Friday. I got soaked walking back into the office after lunch, then soaked again cycling home. I expected a third soaking at the club track session in the evening, but the torrential downpour stopped just as I headed out and didn’t return, and it turned out I’d overdressed with a base layer and long sleeves and was far too warm. The threat of rain must have put people off, as only eight of us turned up.

On Saturday I went to see Pet Needs again, this time in Bury St Edmunds. It was an acoustic show in an art gallery, with only Johnny and George with no drummer or bassist, and with Ben Brown co-headlining and support from Slughouse. The evening got off to a bad start when I left home to cycle to the station and found a flat tyre, and had to quickly switch some lights over to my dodgy old mountain bike (and then it started raining again), but after that small glitch I got there in plenty of time and really enjoyed it. Having gone on my own again I even ended up randomly chatting with a couple I’d never met before, which is most unlike me. We fairly quickly established that we’d been to a variety of the same gigs over the past few years, so I wouldn’t be surprised to bump in to them again another time. The show was sold out with only 60 tickets, although it felt like they could easily have fitted a couple of hundred in there. Some nice idiosyncrasies of a small venue: being able to just hang your coat on a stanchion of the barrier fencing off the cake counter and trust it would be safe; a bar that served beer from those mini kegs you get in the supermarket; and going to the toilet to find myself queuing behind the singer of the band I’d come to see. Oh, and I managed to grab a set list from the stage at the end as a souvenir!

Slughorn
Ben’s noodles arrive during his set (note previous band now in audience)
Pet Needs
Ben joins the boys on stage

On Sunday (after a ten mile run first thing) I cycled to the supermarket because my car’s (a) still not working and (b) (related) still in Felixstowe. Limited by what I could fit in a rucksack, I adopted the strategy of using the self-scanner, starting with the most important items and continuing until the bag was stuffed full. So, naturally, when I reached the till I was randomly selected for a rescan and had to take it all out and cram it back in again.

Categories
Weeknotes

Weeknotes 2023-12

Last week I mentioned some minor annoyances with my electronic drums. The main one is that the hi-hat controller often fails to register that it’s closed, meaning you have to lift your foot up and try again until it gets the message. It occurred to me that maybe the solution would be to just replace that controller (or possibly the whole hi-hat assembly) with a better one, then a web search took me immediately to the details of an upgraded controller that the manufacturer has released for the same kit. Then somehow researching that I ended up on their firmware updates page, and noticed that there’ve been a couple of new versions released since I bought the drums. I downloaded the latest files, upgraded and did a factory reset (after a short delay while I scoured the house for a USB drive – funny how they used to be indispensable but now I hardly ever see one), and to my delight the pedal finally behaves correctly! Now I’m only limited by my lack of actual playing talent.

I had a brief play with Bard, Google’s leap onto the large language model AI bandwagon, with mixed results. First I asked it to compare Ecto with ActiveRecord, and amongst some reasonable points it bizarrely suggested that the former could be faster because it uses PostgreSQL instead of MySQL (there are plenty of things that might make it quicker, but I’m not sure even if that were true – it’s not, of course, as either can use either – that’s one of them). Then I tried asking it a classic riddle, with a small alteration, and it amused me by happily giving the usual answer, apparently seeing no issue with replacing the guard who always lies with the former PM.

On Thursday I gave blood. It was my 60th donation, and went very smoothly, with only a short wait, a straightforwardly passing haemoglobin test (the previous few times they had to repeat the test with the proper measuring machine instead of the copper sulphate drop test) and a nice speedy extraction of the near-armful. Shockingly though they had neither bourbons nor ginger nuts, so I had to make do with a Kit Kat.

On Friday I finally pushed my last responsible moment getting up system for Run for Coffee a bit too far, and got to the rendezvous point just after they’d gone past. Of course by the time I realised I’d missed them they had a ten minute head start, so I tried to cut a few corners to catch up. This strategy was so successful that I arrived at Christchurch Park ahead of them. Just far enough ahead, in fact, that they were still out of sight (I only know all this from looking at the Strava flyby afterwards). I gave up at that point and came home to make my own coffee. As it turned out cutting a couple of miles off the normal route probably wasn’t a bad thing with a depleted blood supply – I was quite tired by the time I got back as it was.

I had another couple of days off work – the usual March rush to use up the remainder of my leave – but as usual didn’t make very productive use of them, although I did at least clean and service my bike. I’ve been powering through the Exercism #12in23 challenge too. I still haven’t gone back to Ballerina, but I persevered with Pharo (the main problems I was suffering with were down to not having read the instructions properly) to tick off the required five exercises, then added Rust, Go, Scheme, Lua, Zig and Crystal. Obviously I’m only scratching the surface of each, and not in the same kind of structured way that you get from something like 7LI7W, but it’s definitely confirming my bias towards dynamically typed high-level languages that support a functional style. The weird thing I’ve found with hopping between unfamiliar languages so quickly is sometimes it’s a struggle to remember whether some piece of syntax or library function is from the one I’m currently writing or a previous one.

On Saturday I finally hit the 250 parkruns milestone, earning an upgrade to a green shirt, although you have to buy them these days. Then I had to rush home for a quick shower before walking back into town to catch the Camra Real Ale Runabout bus, taking us out to various pubs in Framlingham and Laxfield.

Amazingly despite Saturday’s drinking, the missing hour and miserable weather, I still managed to be out at 8am on Sunday to join an intersecting group of people to go and run some laps of Portman Road football ground to support someone running a marathon distance round the half-and-a-bit-mile loop for charity. We left him to it after 12 miles or so before heading to the Cricketers, but just for coffee this time.

Categories
Weeknotes

Weeknotes 2023-11

Had a weird debugging experience this week. I spent an hour or two on Monday afternoon scratching my head over what seemed like completely impossible behaviour (which, of course, it never is with software), before decided to call it quits for the day. Then I woke up at about 3am, lay awake thinking about random stuff for a while, before all of a sudden the explanation of the errant behaviour popped into my head. Better still, I still remembered it in the morning, and not only that but it was actually correct, and not just some figment of a half-asleep brain.

Implementing the fix took a bit longer than I expected, mostly scratching my head trying to figure out the exact database query I needed. I decided to try ChatGPT again, and had to grudgingly admit that it was very helpful. However, I think the key thing is that I was in the position to evaluate whether its answer was correct, and I had a failing test ready to prove it – I’m still not particularly worried that large language models are going to make developers redundant.

I’ve noticed a few ads lately for products designed to wean people off vaping. Given the fact that vapes were originally designed to do the same with cigarettes, I can’t help thinking this is all a bit “old lady who swallowed a fly”. Also there seems to be a big campaign at the moment to make smokers realise that their dog ends are litter, and aren’t biodegradable. Definitely a message I can get behind, although it’s a shame they haven’t adopted a friend’s slogan of “just because it’s on fire, doesn’t mean it’s not litter”.

Not done much drum practice this week. I’ve still been following the exercises in the book I bought [relatively] recently, and after a fairly painless experience with the basic quarter- and eighth-note patterns I suddenly hit a bit of a road block when trying to add accents to alternate notes. The accents themselves aren’t a problem, but it turns out a couple of years of not paying attention to limb independence means I’m really struggling to limit them to the hi-hat, rather than whacking the snare or kick extra-hard as well when they coincide. Not particularly related to that, but I’ve also been half-considering upgrading/switching an acoustic kit, as there are a few things with the e-drums that can be a bit annoying. However, I suspect I need to do a bit of thinking about noise levels first (despite being in a detached house).

I’ve made some progress with the Exercism #12in23 challenge this week. I’d done a couple of exercises from Ballerina, but wasn’t particularly enjoying it, so parked that and did the requisite five each from Go and Rust. I started looking at Pharo Smalltalk too, but so far have found the environment a bit hard to get started with. I feel like I should persevere to see what all the fuss is about, given how much love there seems to be for the language from people who used it back in the day.

A fairly light running week, in the lead up to the Stowmarket Half on Sunday, although it still included one “Run For” each of Coffee and Beer. The half itself went OK, but nothing special (a few seconds slower than last year, but half a minute slower than 2020). Always a good event though, and the annual opportunity for a team photo with farm machinery.

FRR at the Stow Half

Categories
Weeknotes

Weeknotes 2023-10

Some wacky weather this week, with snow on Friday, then double-digit [celsius] temperatures on Sunday.

Two consecutive nights out (apparently they’re like buses). On Wednesday I was dragged in as a last-minute replacement for a pub quiz team. It was a new-fangled affair with answers submitted individually on a tablet, with more points for quicker tapping. I’m generally pretty good at quick reactions on the buzzer, but also terrible at most general knowledge categories, so I was of limited help, but not entirely useless (and the point was a fun night out rather than winning, anyway). Then on Thursday we had a work meal at Mr Wing’s, which is an odd combination of a “normal” Chinese restaurant and a buffet, in that they bring you dishes to order but you only pay a single price. Naturally this resulted in me eating far too much, especially as I hate seeing food go to waste. The quality was very good though, even if the quantity was a bit much.

No racing this weekend, but once again I ended up tagging along with a marathon training 20 mile run on Sunday. I’m sure it must be good for me, although I did feel slightly broken by the time I got home.

That’s about it I think. Anyway, there’s clearly nothing much happening in the world when the main news story is an apparently free-speech-loving and cancel-culture-hating government getting an ex-footballer kicked off the telly for daring to express an opinion they didn’t like.

Categories
Weeknotes

Weeknotes 2023-09

March already! I’d noticed that I hadn’t practiced the drums much recently, but when I finally got round to it was surprised to realise (I’m doing what I’m told by the book, and noting down which exercises I do when, and at what tempo) that the previous time had been in January. Oops.

Also published the first draft of this having subtracted one from the week number, rather than adding one. And I’m not even editing this in vim, so I can’t use the usual “I hit ctrl-a, but it interpreted the number as negative because of the hyphen before it, so incremented it the wrong way” excuse.

I had a day and a half off work this week, but the only vaguely useful thing I managed to do with it was some very belated and half-hearted vacuuming. I spent far too much of Friday adding an extra feature to my Strava YTD app, so you can see a list of activities as well as just the year and month summary info. Then half of Saturday figuring out how I’d broken the release/deployment when I switched from webpack to esbuild. Basically just like work, except on a different Phoenix LiveView app and I don’t get paid for it.

A new tab

It’s still cold, but I’ve been trying to use the heating as little as possible (not because I can’t afford it, but because I begrudge it), and can mostly be found sitting around in two jumpers and a hat like a mad cat lady. I do have it come on for an hour first thing though, except for Wednesday when the boiler didn’t start and it was a struggle to leave the warmth of the duvet.

I dog sat for Sky again on Thursday, and took her for a walk on her standard route rather than trying to be original, which meant she didn’t stop halfway round and refuse to move like last time. She does seem to be a creature of habit, even down to changing which side she walked on at a predictable point.

Worn out after her walk (or just lazy)

Another cross country on Sunday, on a new course in Southwold. It had looked like it might be a bit dull, but was actually not bad, with a bit of mud (but not a ridiculous amount like Framlingham), and a nice steep downhill where it was possible to make up a few places with a lax attitude to self-preservation (photos by Phil Donlan).

The FRR warmup gang – apparently I didn’t get the jacket memo
A bit of mud

Categories
Weeknotes

Weeknotes 2023-08

A trip on the train to Colchester on Tuesday to see Beans on Toast with support from Ann Liu Cannon) at the lovely Colchester Arts Centre. I discovered via Instagram the next day that Frank Turner was standing somewhere not far behind me, and apparently Pet Needs were there too, nicely linking up the three artists/bands I’ve seen most recently.

My photo
Frank Turner’s photo (I think one of those backs of heads belongs to me)

I hadn’t seen him live before, but it was great, and (for me at least) the kind of show where you just go along and listen to songs you mostly haven’t heard before, rather than knowing all the words and (badly) singing along. Also notable for the first song I’ve heard about ChatGPT, including the inevitable AI-generated chorus.

Tarpley 20 on Sunday – that day of the year when I wonder what I’m doing racing that far when – unlike seemingly everyone else – I’m not training for a marathon. I managed to shave another couple of minutes off my PB though, coming in at 2:33:13. I suspect I’ll be glad of the fact I’m working at home tomorrow.

Various miscreants before the race

It feels like something else must have happened at some point during the week, but nothing springs to mind.

Categories
Weeknotes

Weeknotes 2023-07

It’s unseasonably warm again. I keep hearing rumours of another “Beast from the East” on its way, but there doesn’t seem to be anything particularly noteworthy in the forecast, so it’s probably just tabloid nonsense.

The roadster is now MOTed for another year (or until I buy another car and sell it). It initially failed – for the first time since I bought it – not unexpectedly given the iffy brakes (the failure was actually on handbrake lever travel). As I suspected, I’d not quite got the self-adjusting widgets reinstalled properly, but £84 later they’ve corrected my error. The brakes may actually feel better than ever – I think me bleeding them after replacing the shoes may have sorted the sponginess that I’ve expected to fail the past seven MOTs but never did. Total mileage since the previous year’s test: 1,882 (which is only 69 more than I ran in the same period).

I went for a meal at Trong’s on Thursday, which was a thank you for Anders and me from our boss for organising some software good practices training for our Indian colleagues. Great food, but probably not helpful in my quest to be less of a Massive Fat Man (especially as it also meant missing another TTT).

On the other hand, I did run 60 miles over the course of the week, including three Runs for Coffee and one for Beer, and finishing with a steady 18 on Sunday morning (although that culminated in a pre-lunchtime three pints in the local Wetherspoon’s). Next week I’ll be taking it easy in preparation for the Tarpley 20, so it’ll be much less strenuous (apart from Tarpley itself, obviously).

I finished James Acaster’s Guide to Quitting Social Media, which was most amusing, although I’d be interested to know how he managed to text Clancy Delahue to ask for money for more spy stuff, given that his phone was in a storage unit in Rhyll with the screen covered in tar. This may make limited sense if you haven’t read the book. I’m now reading Randall “XKCD” Munroe’s What If?, and it feels very odd not being able to click the images to read the alt text.

Categories
Weeknotes

Weeknotes 2023-06

This week seems to have flown by (maybe because I posted last week’s notes in Wednesday), but nothing very interesting to report.

My car’s malfunctioning seems to have settled into a rhythm now. Every Tuesday it briefly cuts out as I join the A14 at the Seven Hills roundabout, then seems to reset, bump start itself, have a quick think about which gear it wants to be in, then carry on its way. On the journey home it does something similar, but with the addition of showing a battery warning for a minute or two afterwards. It’s booked in for an MOT on Wednesday – I’m still vaguely intending to replace it soon, but if it passes it would hopefully mean I could get a bit more for it.

We seem to have got back into the habit of Friday Pub at work, after an accidental winter hiatus, which is nice. Obviously we’re eating indoors now, after mostly restricting ourselves to beer gardens for a couple of years.

I made my third (and final) batch of marmalade on Saturday, which came out the best (I now have three open jars so I could sample them all). That should last me through to next year’s Seville oranges (I get through a surprising amount of marmalade – Paddington is an amateur, to be honest).

Marmalade

I finally managed to upgrade my work app to Elixir 1.14. Every time I tried before I’d been hit with a race condition in some code which set up named pipes to talk to shell scripts (so as to stop sensitive arguments appearing in the ps output). I thought I’d “solved” it by putting a short sleep in the asynchronous task that read from the pipe so that it was always reading before the writer started writing, but to no-one’s great surprise the dirty feeling that gave me was justified, and it wasn’t 100% reliable. I finally solved it properly by scrapping the fifo nonsense and launching the scripts with Rambo.

On a roll, I also upgraded to Phoenix 1.7, even though it’s only at release candidate status at the moment. I decided to migrate everything to the new verified routes, which was a very tedious process (I couldn’t think of a way to automate any more than the simplest routes, or at least not one that would justify the time spent). Nice to be back on the cutting edge again though.

Fairly standard running stuff this week, including a run for coffee, a club session, a parkrun and cross country. The latter went better than expected, with another victory in my ongoing series battle against Robin (who I never come close to beating on the road). To be fair he’s deep into marathon training, although as usual I seem to be also doing a lot of the training, just without the intent to actually enter one.

We also did a club run to donate some food to the local Salvation Army food bank, as part of the runr Food Bank Run initiative. As well as the warm feeling of helping the community, the sensation of suddenly not having a rucksack full of tins on your back for the run back was a nice bonus.

Food bank run

Categories
Weeknotes

Weeknotes 2023-05

A few days late again this week, but I finally remembered.

The week began well. In the early hours of Monday morning I heard a cat being sick, but was too lazy to get up and deal with it. Having gone back to sleep I forgot about it altogether, until I got up and walked over to open the curtains in my bare feet, without paying attention to where I was stepping.

I actually went to two gigs this week, and both were in Ipswich, meaning I could cycle. Thursday was Pet Needs (plus Ecto Beach and Ben Brown) at the Smokehouse, an excellent small venue that I’d not been to before, and Saturday was Frank Turner (plus Wilswood Buoys and Lottery Winners) at the Corn Exchange. Both were most enjoyable.

Pet Needs
Frank Turner and the Sleeping Souls

A couple of hours in a mosh pit on Saturday night was possibly not the best preparation for the Great Bentley half on Sunday, but it went better than I’d expected. Still a minute or two outside my PB, but a semi-respectable 1:34:29. Much nicer weather than is traditional for that race probably helped.

I managed to summon up enough energy on Sunday afternoon to make my second batch of marmalade – just one to go now!