Monday, June 10, 2024
I've made some progress yesterday on getting the archives working for the everything page, though I had to do a lot of housekeeping of the code initially.
The test data wasn't created with merged data sources in mind, so it wasn't really a good data set for testing the everything page since the different post type examples were on different days. There was also a bunch of EJS syntax in them which was just confusing things. So I spent quite a bit of time updating the data to something that shows the everything page in action.
The npm module cache started doing strange things again. I was able to prove it wasn't getting updated correctly. Ultimately it was blocking me from using new code in plugins. I refactored the cache refresh logic so it's easier to clear the cache, but in the end the only thing that fixed it was tediously deleting all cache items by hand one by one in the Github web UI. That's not normal. The cache is keyed off of a hash of the package-lock.json. If that changes, and it should everytime something changes in the npm modules, then a new cache should be created. It's either the cache, or npm isn't updating lock files correctly.
Anyway, hoping to be able to test the latest archives plugin code today, which should hopefully create a merged data source and correctly handle adding the right urls to the page, so individual items from different sources are correctly referenced. Let's hope the cache doesn't cause any more issues, I've used up a little over half of this month's build minutes so far.
Update: The midnight build for whatever reason got stuck deploying to the hosting provider. The job completed without erroring, but in the logs there was a single error line outputed. The newly built site didn't get deployed either.
TimeoutError: Timeout while waiting for deploy
I'm adding this update to trigger a build to deploy the site. Another totally unnecessary waste of 25 build minutes when I'm already almost run out. #
EU elections: populist right makes gains but pro-European centre holds - Pretty good round up of the elections. I'm finding all these parties with similar sounding names, and parties within parties, and the trans-national nature of the whole thing very confusing. Quite an exiting event this time around. I feel someone should make something like a Ven diagram of all the parties. theguardian.com #
EU elections: Macron to dissolve French parliament after crushing loss to far right - France seems to be somewhat at the centre of much of the election drama. It's kind of shocking that Le Penn has done so well, getting twice the support as Macron did. In what has been described as a poker move Macron has called a snap national election in response. Exciting stuff. Interesting that it will happen only a few days after the UK's snap election, which was called last week by Sunak. So much happening in Europe at the minute. Plus it's the first time 16+ year olds have gotten the vote in several countries. theguardian.com #
Hundreds of millions head to polls on final day of European elections - Great sunmary piece, this one has just the right amount of detail and breadth across the entire region. Seems like the final results will be known by the end of today. I'm interested to see the participation rates in the various countries. theguardian.com #
Centre-right on course to strengthen majority in EU election, as far-right makes gains - Some coverage from the Beeb, several bite sized summaries from various reporters across the continent, focusing in on hard facts rather than over analyse, quite successfully I think cutting through much of the confusing system of coalitions. I'm still kind of confused, but maybe I'll at least recognise some of the names over the next few years. bbc.com #
India outpacing Asian rivals in data center capacity, report says - In non EU election news, turns out data centre growth is a pretty intetesting metric, a proxy for economic growth? India has been doing relatively well recently as a country. asia.nikkei.com #
Solana saw nearly half a million tokens launched last month - It's become the most popular chain for launching new tokens recently, very popular especially with memecoins. Are there any open source software projects that have launched coins? I wonder if I could create a coin and attach it in some way to the development of my static site generator. I'd have next to no clue how one would actually run a coin. Probably a far too outlandish an idea. On the other hand might be kind of fun. theblock.co #