a little more WordPress, and some bookmarking notes

OK, so this is probably my last post on my WordPress issues for a while. The last thing I did with the sites, over the weekend, was to move my databases from MySQL 5.7 to MariaDB 10.11, and to switch the sites from PHP 8.1 to 8.2. Both of those things worked out fine, and I haven’t had any trouble. So I guess I’m OK for now, and I’m going to leave the sites alone for a bit.

One related thing: I’ve started looking at WP-CLI again. I first starting using it… exactly ten years ago! Weird coincidence. Anyway, I stopped using it, since I was having some trouble with it on my IONOS account, due to some PHP thing. I could probably have figured it out, but I gave up, and have just done WordPress updates from the admin GUi since then. But I think it might be time to try WP-CLI again.

Next subject: bookmarking services. I’ve stuck with Pinboard for years, and it’s mostly worked fine, and I just take it for granted. Every once in a while, though, there’s an outage of some sort, and that always gets me thinking about maybe switching. And there was an API outage this morning that got me looking at social media to see if there was any info on it, which surfaced some stuff about the Pinboard guy tweeting something kinda anti-trans, related to the Olympics. So of course that’s got me looking at alternatives again.

Raindrop.io seems to be the most popular choice. But they block it at work, for some reason, so I’d only be able to use it at home. There’s a new one I saw a reference to today called Linkwarden, and that looks promising. $3/month, it’s not blocked at work, and it’s got an import function, so I’m assuming I could import my Pinboard data. I might sign up for a trial account this weekend.

Honestly, I don’t know if any of the alternatives to Pinboard are likely to be more reliable than Pinboard. They mostly seem to be side-projects from small developers. (And I don’t really know who’s behind any of them, so I can’t really say if their opinions are more or less acceptable than the Pinboard guy’s opinions.)

WordPress woes, and more San Diego stuff

Since my last post, I’ve continued to have some WordPress issues. I called IONOS support, and they were not super-helpful, but there probably wasn’t much they could do. I did as much clean-up on my sites as I could. I deleted a bunch of unused plugins and templates, and disabled a few plugins that I probably didn’t need. The site went down for about an hour, two days ago, but has been fine since. So maybe I’m OK. It’s frustrating when you’re troubleshooting something like this, and there’s no “aha!” moment, just “eh, maybe that helped?” and a shrug.

This has got me considering moving to a simpler hosting arrangement again. IONOS is pretty cheap for me right now, only $9 per month. (I’m not even sure why it’s that cheap. It used to be $14. There was some confusion with the billing a while back, and it landed at $9 somehow.) IONOS has dedicated WordPress hosting that’s not expensive, and would give me more resources, I think, but a little less flexibility. I’ve also considered moving to WordPress.com. They’re kinda expensive, but they do have an $8/month that would probably work for me.

Back on the topic of San Diego Comic-Con: Here’s an article about all the folks who got COVID at the con. And here’s an article from The Beat about “winners and losers” at the con. I’ve seen a few interesting things coming out of the con. Stuff that makes me think “yeah, that’s cool,” but not “yeah, that’s so cool it would have been worth the grief of cross-country travel, COVID, and the cost of travel and lodging”.

I do need to take a vacation this year, at some point, somehow. And I still haven’t figured out what to do about that. But that’s a topic for another day.

Not at SDCC, 2024 edition, and WordPress issues

It’s become kind of a thing for me to write a “not at SDCC” post every year, during SDCC. I’m probably not going back to SDCC ever again, honestly. The pandemic really created a “hard stop” for me on a bunch of stuff, and I’m thinking now that I’m not likely to go back, ever, on a lot of that stuff.

I haven’t been following the news out of the con too closely. Most of it isn’t that interesting to me, honestly. I haven’t read a lot of comics lately, since I’ve been concentrating on getting through the Wheel Of Time books. And I’m not too interested in any of the upcoming nerd-related TV or movie stuff. I still haven’t watched the latest Star Wars, Marvel, or Star Trek streaming shows. And I only just watched Ghostbusters: Frozen Empire, since it just came out on Netflix. I might go see Deadpool & Wolverine in a theater, but probably not. So all this talk about the next big thing doesn’t matter to me, when I still haven’t seen the last big thing.

Anyway, I wanted to see if I could recapture some of the old “con spirit” this weekend, so I decided to watch Alan Tudyk’s Con Man series yesterday. I watched the whole first season. (Which isn’t hard, since the episodes are just 10 minutes long.) I watched some of those previously, when they were on Comic-Con HQ, which I subscribed to, during its brief existence. The show is now available on Amazon Prime, so that’s convenient. I laughed out loud a few times, which is pretty rare for me, these days.

On an unrelated topic: My blog has been kind of flaky this week. I got notices that it was up and down all last night. That doesn’t really matter much, of course, since nobody really reads this blog, and there’s nothing much important on it. But it annoys me. So it sent me down a rabbit hole of WordPress troubleshooting. I don’t think I have much to say about that, though. No big revelations that would be worth sharing, or documenting so I remember them next time. Just a bunch of stabs in the dark, then a shrug, and an “eh, good enough for now.” Everything is working, but still kind of slow, so I’ll just have to see if it gets better on Monday.

I haven’t been sleeping well the past few days, so my energy level is pretty low. I got some exercise this morning, and now I’m likely to spend the rest of the day reading, watching random bits of the Olympics, and maybe watching Con Man season two later.

Grammar checking – Grammarly and alternatives

I have a bunch of stuff to blog about today, and I sat down expecting to write a long rambling post, but then I got sidetracked into some grammar checking stuff, so now I’m writing a post about grammar checking.

As part of my general mucking around with AI stuff, I decided to finally give in and sign up for a Grammarly account. I’ve always avoided Grammarly, mostly because I’d heard very bad things about their privacy policy and practices, back in their early days. I guess that’s gotten better, and they have a page on their site with many assurances about how they don’t sell your data, and so on, so maybe they’re not so bad now. We recently acquired some kind of site license for Grammarly at work, but that’s only available to salespeople, I think. But the fact that we’re paying for it at work indicates that they are likely taking privacy pretty seriously, otherwise they wouldn’t have gotten past our InfoSec folks.

I briefly installed the Grammarly app on my Mac, but that quickly got to be more of a pain than a help. Most of my writing on my Mac is in Evernote, and Grammarly works there, but I’m not generally writing in complete sentences in Evernote, so most of Grammarly’s advice there is more of a hindrance than a help. So I removed that. It occurred to me that the only place where I really need Grammarly, in my personal life, is on these blog posts. This is really the only long-form writing I do where I’m trying to write in complete, grammatically correct, sentences. So, for now, I’m experimenting with copying & pasting my posts into the editor on the Grammarly web site, making any corrections there, then copying back into WordPress. Overall, that’s helped me catch a few minor errors, but nothing worth paying a lot of money for. And I’ve found that I can’t copy the whole text from Grammarly back into WordPress, since it’ll muck up the HTML, so I have to see what Grammarly wants me to fix, then fix it myself in WordPress, which is time-consuming. There’s probably a way around that, but I’m not sure what it is.

So I can keep using the free version of Grammarly, I guess, but I don’t know if I will. It’s a little aggressive about trying to get you to upgrade to the paid version, and it’s not that much help, really.

I’ve started to look around at alternatives to Grammarly too. There seem to be two primary ones: Ginger and Hemingway. Ginger is much like Grammarly: similar tools, similar pricing. I didn’t spend too much time on it. Hemingway is a bit different. It does an analysis of your writing style, focusing on several things, but it doesn’t seem to do the simpler checks that you get from Grammarly and Ginger. For instance, it doesn’t seem to catch simple homonym errors, which is honestly the most frequent error I make that isn’t caught by spellcheck.

I was curious about comparing the privacy policies of these three products, so I asked Bing Chat to compare them. It came back and told me that all three products had similar policies, but the sources it cited all came from Grammarly’s policy, so it was obviously hallucinating the info for Ginger and Hemingway. (And, as is normal with these things, you’d never know that without checking sources.) I asked the same question of the web search assistant in Poe, and that did a little better, though I suspect that it was also bullshitting somewhat (which is probably a better word for it than “hallucinating”). In short, Hemingway seems to have a slightly better privacy policy than Grammarly or Ginger.

The Poe results referenced a couple of useful comparison articles that I checked out. One of them was WordPress-specific, so I read that one. It mentioned a Jetpack grammar module, which sounded like exactly what I need, so that was exciting, but it turns out it was discontinued in 2019, so that’s not an option, unfortunately.

So I guess the end result here is that I still don’t know what to do. I don’t really want to pay $100+ per year for Grammarly or Ginger, so I’ll stick with the free Grammarly account for now and see how it goes. Maybe I’ll just keep proofreading my posts myself.

 

WordPress backlinks, self-pings, and more

My WordPress install has mostly been on auto-pilot lately. But a few things have cropped up recently that have got me looking at it again.

First is a minor issue that I’ve been meaning to look at for a while. My site used to do “self pingbacks” but those stopped working a while back. A self pingback is essentially a backlink within the blog, so if you write a new post (A) and link to an old post (B), then that old post (B) shows the pingback from post (A).

I’ve been thinking about these recently, since both Evernote and Obsidian support backlinks within your notes. Evernote added the functionality earlier this year. In Obsidian, I’m not sure when it was added, but it’s available in a core plugin. I find it useful, both in note-taking and on the blog. So I put a little effort into trying to get it working again today.

It’s not easy to track down information on this subject. If you search for “WordPress self pingbacks,” you’ll mostly get info on how to stop them rather than how to fix them. I guess a lot of people don’t like them. And if you search for “WordPress backlinks,” that mostly gets you SEO stuff about how to get other people to link to your blog and drive traffic to it. In blog terms, “backlinks” usually refer to links to your blog from other blogs, not from your own blog. So that’s mostly useless. My best guess at this point is that either my host (IONOS) is blocking them, or my current theme doesn’t support them. It seems like most people aren’t too enthusiastic about them.

So looking for alternatives, I thought about turning on the related posts functionality in Jetpack. That might not always surface back-linked posts, but it would be a good start. Well, long story short, I can turn that on in Jetpack, but then it doesn’t stick. Not sure if that’s something simple, or some bigger issue. (There are other plugins that can do related posts, but I haven’t tried playing around with any of them yet.)

That all led me down the path of thinking about what I’m doing with Jetpack, vs. what I’m doing with my install on IONOS, and whether or not it was time to switch to a managed site. Every time in the past that I’d looked at managed sites, they were more expensive than just doing my own thing on IONOS. And, in some cases, offered less flexibility.

In theory, I could switch over to my host’s official WordPress hosting, rather than my current generic hosting, and maybe that would get me something. I’m not sure though. Or, I could give up and switch to WordPress.com, which would certainly simplify things, but I’d be giving up some stuff too. Sigh. I guess I’ll stick with what I’ve got for a while longer. It’s mostly working the way I want it to.

new WordPress theme and PHP version

My second pointless project today, after spending the morning messing with bookmarks and browsers, was to find a new theme for this blog, and update the version of PHP that I’m using.

I’ve been using the Stargazer theme for a long time, and I’ve been really happy with it. But it hasn’t been updated since 2018. And I’ve started getting PHP errors on this site. I also noticed that I was running PHP 7.4, and should probably switch to 8.0. Doing a little testing with that revealed that Stargazer definitely would not work with 8.0. So I decided it was time to upgrade to a newer theme.

I tried out a few free themes from wordpress.org and wordpress.com. I didn’t find anything that was quite what I wanted. After trying a bunch of stuff, I’ve settled (for now) on the Twenty Sixteen theme. Twenty Sixteen is, of course, the default WordPress theme for 2016. I tried out a couple of the newer ones, but they weren’t right for me. Twenty Sixteen has a right sidebar, a header that doesn’t look too bad, and a fairly clean layout. I don’t know if I’m going to stick with it, but it’s good enough for now.

After installing it, I upgraded my PHP install to 8.0. That seems to be working fine. So at least now I’m running a recent PHP, a recently-updated theme, and a fully up-to-date WordPress.

I’d really like to switch to something a little more customized, but this is good enough for now.

Blogging vs. blog setups

I saw this comic on Twitter this morning, and immediately started thinking about where I fit on it. The comic is from rakhim.org, and I hope he doesn’t mind me pasting it in here. (His blog is worth a look, by the way.)

This site started out under Blogger in 2001, so it kind of fits the “old-ass Blogger.com site” description, but I moved it to WordPress in 2014, so it kind of almost fits the “WordPress setup from 2004” description too, though a decade later. (And before Blogger, I was doing some proto-blogging on my old GeoCities site, which would definitely have fit the “weird dude who writes raw HTML” category. I’d like to have some claim to the “cool MIT professor” data point, but I’m nowhere near that one.)

On the “number of posts about elaborate blog setups” axis, I like to think I don’t spend too much time blogging about blogging, though of course that’s what I’m doing right now. Looking at my stats, I have 62 posts tagged “Blogger”, 52 posts tagged “WordPress”, and 2,442 posts total here. So, yeah, not too much meta-blogging.

Of course, for me, initially, part of the point of blogging was to learn about HTML, web hosting, the UNIX command line, and stuff like that. And when I switched to WordPress, part of the point there was just to learn more about WordPress, for professional reasons. But my work now doesn’t really involve any of that stuff, so now the blog is just a blog and I don’t fiddle with the setup that much. I’ve even thought of moving it to WordPress.com, so I don’t have to worry about the setup at all.

Content-wise, I wish my blog was more interesting/useful and less navel-gazing, but I’m kind of okay with navel-gazing right now, since it’s been a rough year and the blog is one of my only outlets for getting stuff out of my head now. I could go see a therapist, I guess, but my blog hosting is only $14/month, and I’m pretty sure therapy would cost a lot more.

tinkering with WordPress

Just for the sake of doing something useful today, I decided to tinker with my WordPress setup a bit. I’d upgraded to WordPress 5.5 in mid-August, then updated my version of PHP from 7.3.21 to 7.4.9. And, a little later, I switched to a new syntax highlighting plugin. I had one more major thing on my to-do list: upgrading to a newer version of MySQL.

My host, IONOS, makes it easy to switch PHP versions; you can do that right in their control panel. But you can’t just switch to a new MySQL version. You have to create a new database, export you data, import it to the new database, then edit your WordPress config file to point to the new database. So I did that first on my test database, and it worked fine, so I went ahead and did it with my production database too.

It had been a long time since I’d done anything even vaguely low-level with MySQL. The IONOS control panel lists your MySQL databases and gives you a link to get to a phpMyAdmin site for each of them. From there, you can backup, restore, run queries, and so on. On my first try, I forgot that you need to edit the backup SQL to remove the “create database” command, and edit the “use” command to point to the new database. But once I figured that out, I didn’t have any problems.

My old test WordPress install takes up 19 MB in the old database and 35 MB in the new one. I’m not sure why the new version is bigger than the old version. I could probably figure that out, but it’s not really important. The max size on a MySQL database in IONOS is 1000 MB, so I’m fine there. The production blog is 60 MB in the old database and 87 MB in the new one. So if you ever wondered how much space 20 years of blog entries takes up, it’s apparently 87 MB.

I did all this on my PC, rather than my Mac, and it turns out that I didn’t have an SFTP client installed. On my Mac, I generally use Commander One for SFTP file management. On the PC, I’ve recently started using Directory Opus as an Explorer replacement. Opus includes SFTP support, but it’s an add-on purchase, and I hadn’t bothered with it when I paid for my license a few months ago. I went ahead and enabled a trial of the FTP functionality today, and it worked fine. So I’ll probably pay for it when the trial expires. It’s only $10.

The first thing I did after switching to the new database was to run a WordPress site backup with UpdraftPlus. I’ve been using UpdraftPlus for a long time. I’ve stuck with the free version, which is good enough for me. The paid version is $70, plus $42/year after the first year. That’s not bad, I guess, but I don’t really need it.

The next thing on my WordPress “rainy day” list is to maybe look into switching to a new theme. The Stargazer theme that I’ve been using since 2014 hasn’t been updated in a couple of years and is being “phased out” by its developer. He’s replacing it with something called Exhale, for which he’s charging $50/year. I don’t have a problem with that, but I’d like to stick to a free theme, if I can. (If I was actually making money off this blog, I’d be more willing to spend money on subscription themes and backup services, but this is really just a little personal blog with no revenue stream, so I like to keep things simple.)

WordPress syntax highlighting

I started writing a blog post about PowerShell today, then got caught up in an issue with the code syntax highlighting plugin that I’ve been using on this blog since 2017. I’ve been using WP-Syntax since then, and I’ve generally been happy with it, but there are a few things that bug me, so that set me off looking into other options. One issue I noticed is that WP-Syntax hasn’t been updated in four years, and hasn’t been tested with recent versions of WordPress. So that definitely got me looking for a good alternative.

My search led me to SyntaxHighlighter Evolved, which seems to be under active development and worked well in my testing. It uses a special shortcode for highlighting, which means that I’m going to have to go through all of my old code posts and replace <pre> tags with “code” tags. I did a search to find those, and apparently I only have about 40 posts on this blog with code in them. That’s a little embarrassing, considering that I have more than 2000 posts on this blog. I always want to write more programming-related posts with real code in them, but I never get around to it. Well, maybe this will motivate me.

odds and ends

OK, after this morning’s depressing Warren Ellis post, here’s some lighter stuff. Just a mix of stuff I’ve been meaning to mention, for one reason or another.

Google AdSense

I added Google AdSense to my blog back in 2010 and removed it in 2016. But I never closed out my account. So I did that this week. Now, I can finally get the $15 that Google owes me. (Normally, they don’t pay out until you hit $100, but if you close your account, they’ll pay out any balance, if it’s over $10.) I wonder how many small bloggers like me are still bothering with AdSense. For a while, a lot of people thought they could make good money by running a blog and putting AdSense on it. I’m wondering if any of them really did.

New Toys

I haven’t made much more progress in setting up my new laptop. I was too busy yesterday to even turn it on. Hopefully, I’ll have time to do some stuff with it this weekend. I did also just get a new Amazon Echo Dot (with clock). I don’t really have a good excuse for buying it. I had an old iHome alarm clock / iPhone dock on my nightstand that I couldn’t really use anymore, since it doesn’t fit the newer iPhones. And that was fine, really, since I don’t really need a clock on my nightstand. These days, I just plug my iPhone in, and use Sleep Cycle as my alarm clock. But, I don’t know, I guess I just wanted a small clock there that could play music or NPR or whatever. And it was only $35. I already have some experience with Alexa, since it’s supported on my Sonos speakers, but I turned off the mics on those, since it was getting accidentally triggered too often, and I didn’t really find it that useful. I’m going to play around with it some more on the Echo and see if there’s anything fun or useful that I can do with it.

Learning New Stuff

I finished the SharePoint Framework course that I was working through. That’s given me a good start, but there’s still a lot I need to figure out. I’m almost done with the React course on SharePoint that I’ve been watching and working through. Most of that course uses an online JavaScript environment, found at jscomplete.com, so you don’t need to set up your own dev environment. But I’m now at the point where I really do need to set up a dev environment to get any further. I considered a lot of options, but settled on using Homebrew on my Mac to set up Node.js. And I’m using Visual Studio Code as my text editor. So that’s good enough for now.

I may need to play with Node Version Manager at some point, but for now, I think that would be an unnecessary complication. And, on Windows, I want to look into setting something up under WSL2 at some point. Microsoft, helpfully, has a guide on how to do that. But, again, I’m probably not ready to dive into that just yet.

So that’s my “odds and ends” post for today. I could write up a bunch of other stuff, but it’s probably best if I stop for now and go eat some lunch. Then maybe take a nap.