Over the past few months I’ve been working to start self-hosting more of my stuff at home. I’ve got myself going with kind of a mini-home lab—-more about that in another post.
Anyway, I’ve finally changed CMS, changed web server platform and this site is officially hosted by a computer in my cupboard.
The CMS change has led to a couple of broken links, most importantly to my venerable page about vacuum injuries. These have been resolved, but to the six people who tried to access this page and related attachments in the past 48 hours: I’m sorry.
If anything else is broken let me know in the comments.
For the past hour or so I have been troubleshooting a problem with a Visual Basic script in Excel. It iterates through PivotItems in a PivotTable:
Set p_table = ActiveSheet.PivotTables("Audit")
Set p_items = p_table.PivotFields("Primary Location").PivotItems
For Each p_item In p_items
The for-loop keeps returning items that are no longer in the source data, and I couldn’t work out why. Turns out, there’s an option in PivotTable Options: Retain items deleted from the data source.
The Smarty pagination system I demoed previously worked great, but it didn’t cache results. But, I’ve made it better.
Some time ago I scoured the internet looking for a way to provide pagination in a Main Index template in Movable Type.
Using Smarty templating, there is an even easier way.
I went to the NRL today.
In this essay, I will present three reasons why NRL is a game for stupid people.
You can engage Amazon Web Services to host an instance of Movable Type 7. The rates are quite decent: it’s free tier eligible! In fact, an AWS instance of MT is what got me back into the Movable Type ecosystem. And it’s lovely to be back.
Six Apart has two versions of Moveable Type available: nginx and Apache. I chose an nginx instance because I live in 2021, and of course I have a poke around. AWS has a stack of unique stuff associated with their MT install to facilitate the spinup of instances and execution of Perl. They also shipped a Perl module
MTDynamicHandler.pm which intrigued me.
Part of what prevented me from playing more with Movable Type recently is my use of nginx and its apparent incompatibility with Dynamic Publishing. Despite a stack of research at the time, I couldn’t work out a way to get nginx to ingest
.htaccess and rewrite rules to facilitate dynamic rendering. I could not get my own rewrite rules to work right.
I’ve installed the reCaptcha plugin for Movable Type for spam control.
Unfortunately, when using dynamic publishing, I got a helpful error:
An error occurs.