Drupal and Beyond

My love-hate relationship with Drupal continues. Really neither love nor hate, just a sort of mild loathing. I've never really been thrilled with Drupal, but it's a fast framework. Anyway, the latest upgrade (7.82) dredged up more loathing. The Garland theme wasn't rendering properly, maybe due to a permission issue or missing files that I forgot to restore after the upgrade. But really? I also manage a WordPress site (don't get me started), and after a rocky beginning and all manner of security issues, the site has settled down and remains calm.

WSL - Windows Subsystem for Linux

Since this blog is focused on the Darwin kernel of MacOS, I don't make many Windows-related posts. A couple of years ago, however, a friend pointed me to the Windows Subsystem for Linux, a Linux environment which can be installed on Windows 10 systems. You even have a choice of distros. I installed WSL on all of my lab computers, but the process is still a bit involved, so I thought I'd document it here.

Drupal and PHP

I've had a rocky relationship with blogging frameworks. I've had Wordpress vulerabilities exploited, and Drupal's upgrade process has always been tedious. So why bother? Because It's fun learning and comes in handy when I need to help other people setup a blog.

SDR on Linux

When I attended the Teacher's Institute ad the ARRL, one of the items included in our swag bag was an Software Defined Receiver, specifically the SDRPlay RSP1A. Binaries for Windows and Mac OSX typically work "out of the box", but not so with the Linux version. The SDRPlay folks posted an excellent video tutorial covering the process of installing the necessary drivers and libraries, and building CubicSDR from source. Here's a summary.

SQLite to MySQL

I've been a licensed amateur radio operator since 2015, and Mac user since 1997. The combination of these two meant that when I was looking for a logging application for my ham radio contacts, my options were limited, which is fine since MacLoggerDX is such a great application.

MacOS Terminal DMG/PKG Installation

I recently found myself remotely installing/upgrading MySQL on a remote MacOS machine without GUI access. It's an old but solid PowerMac G5 running 10.5 Leopard. I couldn't remember how to do this, but a quick search provided the following solution.

The first step was mounting the disk image (dmg):

$ sudo hdiutil attach

The volume will be mounted at /Volumes/<dmg>

Next, install the pkg file:

$ sudo installer -pkg /Volumes/<dmg>/<pkg> -target /

Lastly, cleanup:

Ubuntu 18.04 as Apple File Server

My recent upgrade to 18.04 Bionic Beaver went fairly smoothly. The final glitch was getting the Apple Filing Protocol (AFP) services running again. I've abandoned the use of Ubuntu for Time Machine backups, opting for a local hard drive solution instead. This just leaves file services utilizing afpd, netatalk, and avahi. My difficulty appeared to be related to the change from netatalk version 2 to 3, but not all my packages were updated in the process.

QuickLook Prevents Un-mounting Network Volume

I regularly access my linux shares from my Macbook, and occasionally when I want to "eject" or unmount the network volume, Mac OS complains that there are files open. One solution is the "force eject" option, but I always wonder if that will leave garbage around in a cache file somewhere, or have other unknown consequences. The solution I've found is to first identify which files are open, then kill the process that's holding onto the file handle. This may not be any better than just using the force eject option, but it makes me feel like I'm i control of what's going on.

Subscribe to