I’m trying a new WordPress theme out. I had been using “Twenty Twenty” for a long time, but never liked that it didn’t have a widget sidebar. So, I’m trying one out called “Simple Life”. It’s responsive, has a sidebar, and seems fairly lightweight, without a lot of bells and whistles and other stuff I don’t need. So, I’ll probably use it for a while until I get tired of it.
As promised yesterday, I brewed a pourover cup of my medium roast Mexican coffee beans using 18 grams of coffee to 250 grams water (around 1:14) and it was just about the perfect strength. It did have a tiny touch of bitterness that I didn’t notice yesterday, but I think that was because I wandered away and let the coffee sit and drip for a little too long. I’ll fix that tomorrow, and if it’s not perfect, I’ll try it just a tiny bit coarser.
I did my usual Friday morning session at the climbing gym today, and felt pretty good after climbing 8 routes ranging from 5.10- to 5.11-. There definitely is a huge difference in my energy level between my morning and evening climbing sessions. I suspect part of it is because I typically commute 22-25 miles on the bike on the same days as my evening climb sessions, with the 8-mile homeward leg wrapping up an hour or so before I leave for the gym. Something probably needs to give there…
It’s another very un-summer-like day here in central Maryland, with clouds, mist, and temperatures in the low 60s on the day after the solstice. I actually wore long sleeves for my morning run. I ran 6.8 miles, which is a pretty typical distance for me on a work day. My overall pace was around 10:30/mile, which also is about average for me. The first half of the run was great, but the second half felt like a struggle. I’m wondering if I started out trying to run too fast, which has gotten me into trouble in the past. My next run will likely be in two days, and I’m hoping to go 9 miles or so at a more relaxed pace.
My work to move the blog (and a couple other web sites) off my old EC2 instance is moving along. I’ve now moved all of my persistent Docker volumes onto an EFS volume, so there is no more persistent data stored on the EC2. Next step is to start moving containers into EKS/Fargate. I find it kind of amusing that, behind the scenes, the EC2 instance uses NFS to access the EFS volume. As someone who administered systems running NFS back in the 1990s, I remember it as a buggy, insecure system built on Sun RPC. Apparently, though, it has improved in the ensuing 30-odd years. At any rate, it seems to perform pretty well over a AWS VPC connection, at least for my purposes, which aren’t all that demanding.
Anyhow, that’s more than enough acronyms for one post. 😀
- Beans: German St Coffee & Candlery Private House Blend
- Coarse grind (JX: 3 rotations + 4 clicks / 94 total clicks)
- Recipe: https://www.acouplecooks.com/french-press-cold-brew
- 140 grams coffee (roughly 2 cups ground), 840 grams water
With summer upon us, I decided to try making some cold brew. The hardest part of this was grinding 140 grams of coffee with the JX. This job would be better suited to a higher capacity electric grinder. Other than that, there’s not much to it: just add the ingredients to the french press, stir, cover with plastic wrap, refrigerate for 24 hours, and strain into a glass jar or pitcher. The resulting brew is concentrated, and the recipe recommends diluting 50/50 with either water or milk. I tried it with milk, and it was pretty good. Now, I need to work on trying to get a good cup of regular hot brew with these beans, but that’s for another day…
On an unrelated note, I just moved the back end database for this blog to a AWS RDS MariaDB instance. It had previously been running in a MariaDB Docker container on my old EC2 instance. This is the first step to getting my stuff off the EC2 instance and into (probably) EKS with Fargate. If you’re reading this, it means that it worked. 😀
A few years back, I set lpaulriddle.com up on Ubuntu Linux running on a AWS EC2 instance. It ran just fine there, but to be honest, was kind of a mess. I was dreading the day when I would eventually have to update it or move it somewhere else, because I didn’t document anything that I did while configuring it, and thus, it would take forever to get everything working again.
Last summer, I decided to bite the bullet and redo everything on the site to run in Docker containers. That way, I’d have a repeatable build/deploy process that I could easily move around independently of the underlying support framework, be it ECS, another EC2 instance running Docker, or whatever. It’s still a work in progress, but it’s inching closer to completion. One of the first things I did was to move the MariaDB instance that hosts this blog’s database tables, into a container. This worked mostly OK: the blog still rendered just fine, and I could click around and read all of the posts the same as always. However, when I logged in at /wp-admin, It gave me a permission error, and I could not get to the dashboard. That effectively locked me out of the blog, preventing me from writing new posts, among other things.
About 4 months later, I finally got around to fixing it. Since I planned to move WordPress into a Docker container anyhow, I decided to start over with a fresh database, and just import all of my original blog content into the new instance. The catch was that I needed to somehow get into my old instance one last time to export the data. After some searching around, I found a snippet of PHP that I could add to my theme to bypass the permissions checks. That did the trick: I finally got back in, exported the data, and brought everything back up in a new, shiny Docker container. The blog is now powered by a Nginx front-end that talks to WordPress over a FPM proxy. Fun stuff.
Now that I can post again, I’ll try to write some more as the spirit moves me. As you can imagine, 2020 has been an interesting year with some pretty big changes to my daily routine.
OK.. figured out a somewhat better solution for links to blog posts. Use relative URLs, and use named permalinks. Then, I should be able to move the blog in the future without breaking self-referential links (providing that the new blog either runs WordPress or can support WordPress-style permalinks). I still need to go through and update all my old links, which looks to be a tedious process, but with any luck it’ll be the last time I need to do it.
I discovered the other day that it doesn’t work to set up a CNAME pointing to ‘lpaulriddle.wordpress.com.’ I just end up getting sent to the main wordpress.com homepage. Using an HTTP redirect (or meta refresh) seems to work. However it doesn’t appear that I can set up a redirect with my current domain hosting provider, at least not without signing up for web hosting that I don’t want. However, I’m going to be shopping around for a new home for my domain within the next couple months anyhow, so I’ll check into this as I’m evaluating new providers.
Hopefully I’ll pick up the blogging pace a bit now that I’ve moved everything over to wordpress.com. In preparation for un-password-protecting the blog, I’m going through all of my old posts, and the only thing I’ve noticed is that all of my links to other blog entries are broken. Nothing unexpected, but I wonder if there’s anything that can be done to prevent this from happening every time I move the blog (it’s moved 3 times now, and it’ll probably move again). Probably not, but right now all my links reference posts by number, and it might help to change them to use named permalinks.
My latest pet project at home is preparing us for the impending cutover to digital TV. We’re far too cheap to pay for cable or satellite TV (although FiOS may be hard to resist), so I’m concentrating on getting a nice setup for receiving over-the-air digital broadcasts. Following some instructions I found on the Internet (where else), I built two homemade UHF antennas. The author of this web page uses a single antenna with a rotator. At our location, though, we’re smack-dab in the middle of the Baltimore and DC TV markets. So I can set 2 antennas up in the attic, one aimed at Baltimore, and another aimed at Washington, and pick up pretty much every station within 50 miles, without the hassle of a rotator. The only issue is combining the signals. The antennas work great separately, but I haven’t tried using a combiner yet (I try to avoid going up in the attic this time of year..). Using a combiner in this kind of setup is always going to result in some signal loss, so the question is, will the resulting combined signal be acceptable? I don’t know, but it’s easy enough to try, which I plan on doing soon. If the combiner setup doesn’t work well, the other option is to run separate antenna feeds to each TV and then use a switch similar to Radio Shack Cat. No. 15-1968 (each TV would need its own switch). I know this will work, but it obviously involves extra work and expense. But it’s still preferable to a rotator, IMO.
Sort of on the same topic, I picked up one of those much ballyhooed digital “converter boxes” awhile back, to use with our old TV. Total outlay was just over $20, thanks to the $40 coupon from Uncle Sam. This is an Apex model that is being sold at Best Buy. It works as expected, and includes all the standard features you would expect from a digital tuner (TV guide, signal strength meter, etc). However, I kind of wish it had come with a universal remote. The included remote control works fine, but it’d be a nice touch if I could also turn the TV on/off and adjust the volume with it. As it is now, I’m stuck with 2 remotes until I can find a cheap universal remote that can also work the converter box.
Searching for a new home for my blog (and didn’t want to pay for web hosting, at least not yet), and it came down to wordpress.com vs blogger.com. Blogger.com had the early edge because it works with my existing Google account, and offers free domain name mapping. WordPress.com charges a nominal annual fee for domain name mapping, and requires a separate account. However, Blogger.com didn’t have an easy way for me to import my existing WordPress blog. With wordpress.com, it was as simple as exporting the old and importing the new, and everything came in completely intact. Other than the URL, I can’t even tell the difference between this and my old self-hosted WordPress blog.
There’s also the question of whether I need domain name mapping in the first place. It’s not like I expect this to be a high-visibility or high-traffic blog. I think I’ll just set up a CNAME for this under lpaulriddle.com, and be done with it.
In any case, looks like I’ll be setting up shop here for awhile.
Well, as these things always go, the WordPress conversion turned out not to be quite as simple as I had originally thought. Now, I expected that permalinks would be broken, so I went through and fixed all those (as well as some permalinks back into my old Blosxom blog that I never bothered to update when I went to b2evo). What I didn’t expect, was that all of my old 2-part b2evo posts also broke. Back in the day, I made liberal use of these using b2evo’s
<!--more--> tag. The export process only extracted the text of the posts up to the
<!--more--> tag, ignoring the rest.
WordPress has a completely different method of handling two-part posts using what it calls “post excerpts”. So, for now, just to pull these posts in, I just went through each one and cut-and-pasted the rest of the post from b2evo, separating the two parts with [More:], as b2evo would display them. It was a tedious, manual process, of course, but I only had to do it once.
So now, I think I’m entirely moved over to WordPress with no links to old blogs anywhere. Now I just need to go update my Wiki in a few places where I had permalinks.
Now that I’m using my blog again, I decided to ditch b2evolution for WordPress. B2Evolution has served me well, but I’ve never been crazy about its look-and-feel or its selection of skins. And, most of my geeky-type friends who blog, use WordPress, so I figured I would give it a shot.
Importing was easy thanks to these instructions I found. Ironically enough, it was the same procedure I used awhile back when I converted from Blosxom to b2evolution: export the existing stuff into Movable Type format, then import.
I really like the clean look-and-feel of WordPress, and it’s certainly much spiffier than the version of b2evolution I was using, although that’s not really a fair comparison because I hadn’t upgraded b2evolution since I installed it in late 2005.
In other news, I just registered lpaulriddle.com, which I’ll eventually use to house this blog and some other stuff.
I’ve always hated when links open in new windows (usually by adding a
target="_blank" attribute). Except in a few very rare instances, there’s just no reason to do it. Firefox allows the user to disable this behavior, but the procedure is not very well documented, so it seems like every time I want to do it I need to spend 10 minutes searching the web. So, I’m documenting it here in my somewhat-neglected blog. This procedure is valid for Firefox 2.x:
- Point the browser to
- Find the property
- Right-click on it and select “modify”
- Change the value to “1”
- Restart the browser
And there we have it. Another victory in the battle to make the web less annoying.