I’ve installed an update for Genesis Blocks, and things look like they’re back to normal.
If you come across a post that you can’t read, please contact me to let me know.
Just another WordPress site
by Will Angley
I’ve installed an update for Genesis Blocks, and things look like they’re back to normal.
If you come across a post that you can’t read, please contact me to let me know.
by Will Angley
tl;dr: some posts look funny for reasons beyond my control. Please be patient with visual glitches until I’m able to fix it.
willangley.org used the Genesis Blocks plugin for some posts. Jetpack Scan alerted me that this plugin had a security vulnerability early this morning.
Because deactivating WordPress plugins does not reliably protect against plugin vulnerabilities, I uninstalled it before leaving for work.
The plugin has been patched, but I cannot reinstall it; it’s currently closed pending a full review.
by Will Angley
tl;dr: Fn ⇧ F1
My Logitech G PRO X TKL has macro delays. When I press Fn to enable macros, there’s a variable delay before the macros are ready, as announced in r/LogitechG: GHUB 2024.1 Macro and Button Delays.
It persisted after deactivating the profile lighting effects mentioned in the Reddit post.
I found a workaround today: macros become ready immediately after pressing any key (other than Fn) in the 60% area of the keyboard, or Esc.
Press and release:
to execute a macro ~instantly.
The 🕹️ Game Mode key will blink in both cases to remind you that you’re pressing a disabled key.
by Will Angley
tl;dr: unplug LIGHTSPEED receiver, plug in USB-C, press the LIGHTSPEED button
I bought a Logitech G PRO X TKL for photo editing today, hoping it’ll be easier to manage ergonomics with a graphics tablet if both my keyboard and tablet are wireless than the other way around.
The Logitech G PRO X TKL is a tri-mode gaming keyboard:
Although it’s really a dual-mode gaming keyboard for me:
$REASONS
, so I’m not going to use it.I set up the wired connection in my home office, then set up Bluetooth to my personal laptop, then found that I was stuck on Bluetooth. No combination of unplugging and re-plugging the cable, or power cycling, or pressing the Bluetooth button, … got me back to a wired connection.
Some features don’t work over Bluetooth:
including programming custom lighting effects, so I really wanted to get back to wired. I contacted Logitech Support and they suggested turning off Bluetooth on my laptop. That didn’t work either; the keyboard kept trying to connect to my now-offline Bluetooth receiver.
Then I thought “maybe it’s the other button?” I pushed the LIGHTSPEED button and it flashed, as the keyboard searched for the unplugged LIGHTSPEED receiver. A few seconds later, it gave up and returned to wired mode.
by Will Angley
I should have my old posts up soon-ish. I figured out how to make WordPress compatible with hard wrapped Markdown.
In the olden days you’d use wpautop-control, but that particular plugin stopped working a while ago.
In the new days… you’d use Advanced Custom Fields. It’s overkill for this, but it’s likely enough to come up that you might as well 😛
It took about two hours total once I thought to try this. The first hour was an on-off switch, implemented as a True/False field:
I exported this to PHP, wired a small filter to it, tried it on a short poem:
To add paragraphs
or not to add paragraphs,
that is the question.
checked it in when it looked like it worked, and deployed it.
After I deployed it, I tried it on a longer text and noticed all of my paragraph breaks had gone missing. This felt all too familiar.
I remembered that I actually wanted a tri-state switch, since hard-wrapped Markdown wants automatic paragraph insertion but not automatic line break insertion. I made a button group field… and nothing happened. It didn’t appear on my site.
After twenty minutes of Googling, I remembered that ACF’s PHP export adds field groups rather than individual fields. I commented out the field group in my core functionality plugin and the field immediately appeared:
A few minutes later I wired the tri-state together, tested it on a longer poem:
To add breaks
or not to add breaks,
that is the question.To add paragraphs
or not to add paragraphs,
that is the question.
and my problem was solved.
by Will Angley
✉️ Important update about your Bonobos account security
From: ninjas@bonobos.com
Dear William,
We believe an unauthorized third party may have been able to view some of your account details, including your contact information and encrypted password. Your encrypted password was protected so your actual password was not visible. Payment card information was not affected by this issue.
To protect the security of your account, we are resetting your password and have logged you out of your account. To log back in, you just need to set a new, unique password through the link below:
…
Walmart acquired Bonobos three plus years ago, and runs it as a separate business. I’m generally glad they did this; Bonobos is as much about its software as its clothing, and I like their storefront much better than Walmart’s.
But it sounds like they could use a Security Ninja.