Author: lydia

  • Five numbers and a friendly snake

    Five numbers and a friendly snake

    For many years I’ve described myself as ‘geek-adjacent’. I know lots of people who can do amazing things with code, which means I’ve never had to learn the finer details myself.

    Don’t get me wrong, I know a lot more than most people about HTML, CSS, PHP, systems architecture and whatnot. But then most people don’t know anything about any of that, so it’s not a high bar.

    Anyway, I’ve decided it’s probably about time to partially rectify the situation.

    I’m not planning on becoming a full-stack developer anytime soon, but I have started learning Python.

    Snake charming for fun and profit

    I picked Python because I can use it to set up repeatable processes to help me in my work. That should mean I spend less time worrying about my unreliable memory (yay ADHD).

    The eventual goal is to use Python for practical information processing: inspecting content, finding patterns, working with structured data, improving workflows, and automating things that are actually worth automating.

    Obviously the sensible thing to do would be to get a recommendation for a good course. But sensible isn’t my style, so I’m getting ChatGPT to write me a custom course instead.

    It’s got a proposed syllabus, a progress record, and a custom reference document to contain all the things I have used and understood. Progress will be measured by whether I can explain what the code is doing and demonstrate that I can construct, test, and fix it – not simply by whether I’ve completed a lesson.

    My bots can be mean

    I’ve done my best to train my bots to cut out the flattery and be blunt with me when I’m going off track (Claude regularly tells me to stop pissing around with side projects and get back to what I’m supposed to be doing – which may well be why I’m not using Claude for this project), so hopefully it’s not going to treat me like a 19th-Century dilettante Russian count and give me a passing grade by default.

    The current plan for the course is to move through six phases:

    1. processing fundamentals
    2. structured information, including dictionaries, JSON, and CSV
    3. real files and sources
    4. reliable workflows
    5. content transformation
    6. producing credible evidence of what I can do

    Each learning cycle begins with a problem. To start with, ChatGPT will give me an input, a set of rules, and an intended result. I’ll then attempt to translate them into Python, and ask for help when I get stuck. I’ll also say things like “hey Chat, remind me what the difference is between a function and a method” more times than a human teacher would appreciate.

    Starting small

    I’ve just finished Lesson One. ChatGPT gave me a small data set representing the word counts of five webpages:

    word_counts = [420, 180, 760, 95, 310]

    Then it set me the task of counting the number of pages, adding their word counts together, and working out how many pages had more than 300 words on them.

    So now I know how to use .append(), len(), sum(), and write f-strings – and can make Python count five numbers in several different ways.

    This is a very small achievement, but yesterday I couldn’t do it, and today I can.

    Yay me.

    More to the point, when faced with a blank file I can now write that tiny basic bit of Python from scratch, and can already think of different things I could do with it. Because Python is a little bit like Lego – you have small pieces which do small things (like store a value or add something to a list), and you can connect them together to build bigger, more complicated things – things which didn’t exist before.

    That sounds useful.

    Next lesson: dictionaries and page records.

  • 8 things I am doing (or seriously considering doing) to cope with this heatwave

    It’s too hot.

    My office gets all the morning sun, so is inhospitable to life for most of the day at the moment. Which means approximately 24% of my mental capacity is being spent on coming up with ways to cope with this darned heat.

    Options include:

    1. Becoming nocturnal
    2. Seeing how long I can stand in the chilled section of the supermarket before store security starts getting suspicious
    3. Filling a paddling pool with water and just sitting in it all day like a mermaid in captivity.
    4. Convincing myself that it’s ok to eat all the ice lollies I can find if I claim it’s research for something.
    5. Wearing nowt but a massive floaty kaftan which is way too translucent to open the front door in
    6. Mainlining Ice-pops
    7. Keeping a supply of wet wipes in the fridge
    8. Sitting in the shade of a big tree in a breezy spot and just listening to the birds
  • The mini-pope on my desk

    A while ago, my mother-in-law’s friend bought her a life-size cardboard cut out of George Clooney. The friend thought it was funny, I thought it was funny, Himself thought it was funny. My mother-in-law did not think it was funny… so it was out of the house before it could be out of its wrapping.

    While I was explaining to my MIL that life-size cut-outs are a whole thing, I browsed the internet looking at the astonishing range of carboard companions for sale.

    Including Pope Francis, as it turns out.

    Since I have married into a family of Catholics, I thought this would be an ideal gift for my slightly lapsey husband. Turns out it was perfect for the gift-giving moment (much amusement chez us), not so ideal for being stood behind him during Teams calls while he does his civil service job from our kitchen.

    So the Pop-up Pontiff joined Cardboard Clooney at the charity shop.

    However, the cut out also came with a mini-pope. A desktop-Frankie to help you get through the workday. He sits amongst my collection of houseplants – including the bonsai which I’m going to have to admit is…well… dead.

    Maybe I should have considered some Miracle Gro rather than hoping for an actual miracle. After all, I am an atheist.

  • Just move

    The thing about ADHD is that there’s often so much going on inside the head that it becomes really difficult to do anything. That’s when we get stuck – frozen in space and time.

    Combine it with the ADHD tendency towards perfectionism and you’ve got yourself a recipe for disaster.

    This is my current desktop wallpaper. A reminder that ‘stuck’ is the first problem we have to solve, and it’s the easiest thing in the world to solve.

    Just move.

  • Lydias that lunch

    I was out having lunch with my dad yesterday when we noticed the small child at the next table was called Lydia.

    This is unusual. If I’d said hello, she’d have been the fifth other Lydia I’ve ever spoken to. Five, in nearly fifty years. Which is meagre, especially as the early signs were promising — there was another Lydia in my playgroup.

    The name had a bit of a moment in the 90s. Which I suspect was kicked off by admiration for Lydia Deetz in Beetlejuice (1988), and then somewhat encouraged by Lydia Bennet in the BBC Pride and Prejudice (1995). It’s declined from its zenith of being the 50th most popular girls name in the UK in 1999, and any chance of a mainstream revival will have been dampened for a while by Aunt Lydia in The Handmaid’s Tale (2017).

    In 2024 about 1 in every 1,000 baby girls was called Lydia. We are rare treasures.

    One thing I’ve been pondering is the fact that most Lydias are in their thirties now. I notice more and more of us online and out in the wild. I think it’s probably a contributing factor to why people assume I’m younger than I am.

    That, and I have really good skin.

    Anyway. The Watering Can in Greenbank Park is as nice as everyone says, and the Reuben is delicious.


    Birdémon Bonus: as we were heading out of the park, I had the Merlin app on and it told me that there were treecreepers near by. Reader, not only did I hear them, but I saw them, creeping up the trees. That’s one more for the Life List.

  • Merlin has turned birds into Pokémon

    Merlin is a bird app. It listens to birdsong and tells you what it thinks it can hear. It’s very good.

    Plenty of people have already told you that, so I won’t go on about it.

    If anything, my other half would like me to stop coming in and saying things like “there are sparrows in the hedge at the end of the street” as if sparrows in a hedge are a surprising occurrence.

    But in case you haven’t come across the app before, it’s dead simple. App hears a bird, app names the bird, you add the bird to the ‘Life List’ and carry on with your day.

    Or rather the app gives you its best guess at which bird it is. Some people may just hit ‘this is my bird’ for every new bird that the app suggests, but not me. I’ve added my own condition before I claim a new bird.

    I don’t add a bird just because Merlin heard it. If it says there’s a treecreeper around and I can’t work out which sound that is, it doesn’t count. I have to be able to pick out the birdsong at the same time as the app, or I have to be able to see the bird myself. Until that happens, it doesn’t go on the app Life List, it goes on my own mental ‘maybe’ list instead.

    The treecreeper has been on that list for about three weeks.

    So now there’s a game – Merlin hears something and I try to find it. Occasionally spending ages standing under a tree listening like an idiot, waiting for it to do it again.

    Some are easy. A wood pigeon sounds like a wood pigeon. A robin sounds like a robin. A wren sounds like a noisy little bugger that has no right to be quite so loud.

    It’s like Pokémon Go – the app telling me that one is nearby becomes my cue to go and find it (I don’t play Pokémon Go any more because it was taking up way too much of my time, at least with ‘Merlin Go’ I’m appreciating the natural world around me).

    The best discovery so far is the long-tailed tit, which I’d never knowingly seen before. Picture a ball of fluff with a lolly stick attached. Less a bird, more the world’s smallest feather duster. It took a while to actually find them because they are tiny weeny little things – but if the app tells me one is close, I will happily stare into a tree to try and spot it.

    Long-tailed tit by Alexis Lours, CC BY 4.0, via Wikimedia Commons

    The treecreeper is the one I can’t crack. Merlin keeps insisting they’re there in the tall pines in the park. Unfortunately a small brown bird that creeps up tree trunks looks a lot like a tree trunk.

    So I stand and stare at bark.


    Update 2/6/26: I saw the treecreepers while I was at lunch with my dad!

  • A jar for my liquorice

    The charity shop round the corner had a ceramic jar covered in Liquorice Allsorts. Obviously I bought it…for putting liquorice in.

    “But Lydia,” I hear you say “just because a jar is covered in Liquorice Allsorts, that doesn’t mean you have to put liquorice in it. You could put anything in it – biscuits, pens, cotton wool balls, the darkest of all your thoughts that you have to write down but dare not expose to the light of day.”

    To which I say: you vastly underestimate my liquorice storage needs. This jar is just for my snacking liquorice – my cooking liquorice already has its own tin.

    Also, did you say ‘the darkest of all my thoughts’ just now?

    You, hypothetical reader in my head, clearly have something going on, and I’m not sure I want to know what it is.

  • Blogging? In 2026? How very retro!

    Look I know. All the cool kids are over at Substack or on TikTok or launching their own podcast or whatever.

    And sure, the internet is more dead than alive at this point.

    And everyone and everything is going to be replaced by AI before too long.

    But I’m a traditionalist, I like websites, I think they still have value.

    More to the point, I use this place to test and play with websitey stuff and it’s come to the point where I need some content on the page to do that properly.

    so yeah, it’s 2026, and we’re blogging again.

  • I have a theory.

    We watch a lot of films in our house. Like, a lot of films.

    Film financing is one of those things which is more of an art than a science. Most of the time, to get a film made you need to get multiple pots of money from multiple sources. And it’s not uncommon for people with money to invest in a film to put together a company for the sole purpose of moving money from one place to another.

    And that’s one of the reasons there are so many film production companies.

    Next time you’re sitting down with a bucket of popcorn, as the opening titles roll, count the number of times it says “blahblah presents”, “A blahblah film”, “produced by blahblah”, “in association with blahblah”.

    Now given that many of these companies are ‘single service’ companies (to misquote Fight Club), I suspect the investment in naming and branding is usually minimal.

    But here’s my theory…

    I reckon you can take pretty much any word and turn it into the name of a film production company, simply by adding the word ‘productions’ ‘films’ ‘entertainment’ or ‘media’

    Don’t believe me? Here’s 5 words generated at random: biscuit, basis, am, large, insure.

    Biscuit Media presents, a Basis Films production, produced by Am Entertainment, in association with Large Media and Insure Productions.

    See?

    There’s not much that anyone can do with this knowledge. But it keeps me amused for minutes at a time.

  • Let’s have a breakfast

    Well here we are (again). A shiny new website with a slightly confusing name – it must be a Lydia thing.

    ~ So what’s it all about?

    That’s a fairly broad question, would you like to narrow it down a bit?

    ~ Ok, let’s start with the name. What is ‘the optimistic meal’?

    Breakfast, breakfast is the optimistic meal. The day is ahead of you.

    ~ What?

    Have you ever heard of a show called Patriot?

    ~ The Mel Gibson film?

    No the TV show. It was on a couple of years ago. There’s a scene where two characters are talking, they’ve got an antagonistic relationship, and one of them reaches out to the other to try to make things better.

    ~ And?

    And he invites him for a breakfast. Maybe they’ll go crazy, a whole spread, muffins, breakfast breads, etc.

    ~ Ok…

    Hang on, let me find the scene so you can just watch it… here you go.

    ~ Cool.

    Cool. Anyway, we watched the show last night, and it appealed to me as a concept, or a metaphor, or whatever, for this site.

    ~ And what is this site?

    Oh right, yeah. This is somewhere for me to share some thoughts, talk about stuff that interest me, and to play around with WordPress stuff.

    ~ So it’s a blog?

    I guess, partly.

    ~ Why not just say that?

    It’s 2024, no-one blogs anymore, that’s so 2015. Get with the programme daddio.

    ~ What?

    Never mind.