It’s Christmas morning, which means it must be time to hack on some code! Huzza!
(I still haven’t figured out how to get WordPress to show posts in their local timezones. As an interim fix, I’ve set this site to show in UTC, but perhaps that’s just more confusing.)
Today I was just finally getting around to (maybe) updating my WordPress theme, and couldn’t for the life of me remember what the deal was with the new Node-based build system. So I went looking, only to find this posted on the Core blog today:
Since then, it was no longer possible to run WordPress from the src folder. This gave some issues, especially with developing WordPress core PHP. Today, @atimmer committed a patch which allows developers to build into src again.
So I do still have to build the assets, but it seems that PHP development can once again happen from the normal directory.
Maybe it’s a good thing that I’ve neglected WP development this last year or so?
I’ve been working a bit on PhpFlickr CLI lately, which is my little tool for interacting with Flickr. So far, it only adds checksums to photos (as machine tags), as a precursor to making a duplicate-finder for Flickr. I also want to use the checksums for adding links to and from Wikimedia Commons (so that photos I’ve uploaded there are linked to their versions on Flickr, and on Flickr they’re linked to Commons).
I can’t believe how well I’ve been sleeping this week. It’s such a nice feeling to wake up and find that it’s morning and not the middle of the night for once.
Firefox gave me an OPML file of all my feeds. I imported it into my feed reader, who’s feed was one of the live bookmarks. Now I think it will all implode as it eats it’s own tail…
Is the internet a good place to start typing random thoughts? It feels like it’s probably not, because of all the “taken out of context”, “recalled in future years and laughed at”, and “what’s the point no one will see it” responses. But it also feels like random beginnings and unplanned words are the only things that will ever lead to more coherent and useful words, and that putting them out in the great wash of the online world is slightly better than hiding them away in a notebook in my own bottom drawer. I do write lots and lots of words that only I will ever see, and they’re usually pretty unpolished. I don’t think that what I put on this blog or Twitter or anywhere else is particularly good, but I do at least attempt to finish sentences and thoughts, and fix typos. Maybe that’s all I mean: that uploading ideas makes the brain follow through and express them, and in doing that there’s a surprising amount of satisfaction.
I had a drink at the new Market Bar yesterday afternoon (note the singular ‘Market’, this isn’t the “markets’ bar”). It’s really nice. Very neat and tidy and they’ve kept lots of things from the old location (or at least built them to look that way). Good live music, a step above the pub-song buskers of before.
Hacking has nothing to do with it. One of the definitions of hacking is to “gain unauthorized access to data in a system or computer”. What actually happened is someone, somewhere, edited the article, which everyone is able and authorized to do. Editing is a feature, and its the main action that happens on Wikipedia.
— Hacking vs Editing, Wikipedia & Declan Donnelly by addshore, 2018-11-22
I totally love getting to the end of the day and closing Thunderbird, Slack, and Whatsapp, pouring a whisky, and setting to work on some small understandable and surmountable bit of code on a side project. No need to explain or defend, just calm figuring out of how things should work.