The main reason for having a UPS is to protect against data loss due to power outages whether it be unsaved work, or corruption due to the computer not having enough time to write things to disk. I only really started to take this seriously when I got my Synology networked attached storage (NAS) which holds all my data. The UPS I chose is an APC model with 1300VA and a USB connection, which is powerful enough to power most of the critical equipment I have at home and to ensure they have enough time to shut down. One of Continue Reading
For several months now, I’ve noticed that the Categories and Tags widgets were missing in my WordPress’s post block editor. It was sort of fine because I could work around it by assigning categories and tags through the Quick Edit functionality from the post list, but it was an annoyance. I had done the usual debugging steps of disabling plugins, changing to the default theme, even reinstalling the core WordPress code, but nothing changed. I had tried searching online for phrases like “wordpress categories and tags missing” but didn’t come up with anything. Today, I found two clues that led Continue Reading
I haven’t had time to work on many side projects lately. I think I generally am most effective at programming when I have a long stretch of uninterrupted time (on the order of a few hours or more at a time), and I have found the same at work. These long stretches of time are difficult to find these days. However this was one opportunity that came up this week. Many of my side projects are born from automating repetitive manual tasks, and this was one of those.
The PHP 8 release is around the corner. This blog post outlines the steps of installing and configuring PHP 8 on an existing install of Virtualmin on a Ubuntu system. It assumes that Virtualmin has already been installed, and that the ondrej/php PPA has been configured on the system. Install PHP 8.0 (I currently use FPM on my servers): As of writing, Virtualmin needs to be patched so that it can pick up PHP 8. Apply this one-line change to your server. Then, run Virtualmin’s config check so that it picks up the new PHP version: The output should say Continue Reading
The Valley trails in Whistler, B.C. provide over 40km of maintained multi-use trails connecting Whistler Village to Green Lake to the north, and Function Junction to the south. The trails are a mixed of gravel and paved paths which make cycling on them easy for anyone. The trails run through different settings such as within forested areas, alongside a road or lake, or in a meadow like along the hydro cut. The shade provided by the trees along most of the trails make the bike ride reasonably comfortable especially on a warm summer day. Here are a couple time lapsed Continue Reading