Currently reading: The Shining by Stephen King

Remove hashed placeholders when debugging WordPress SQL statements

Sometimes some search or meta query you're trying to do refuses to cooperate and and return results. If you thus find yourself poking around WP_Query's request property, which is a copy of the SQL statement executed to create your query object, you may have noticed some odd and space-inefficient syntax when using the LIKE operator.

Keep on readin' on Remove hashed placeholders when debugging WordPress SQL statements

Make VS Code slot a new file in the current directory

This isn't the default behavior for whatever reason, and it's something I've just silently dealt with for years. Because of this default functionality, instead of using [keys Cmd-N] I've always used the GUI buttons for creating new files while working on some project. I didn't think an alternative existed, but I've finally found that one does.

Keep on readin' on Make VS Code slot a new file in the current directory

Shorts are back in YouTube RSS feeds?

I thought had this bud nipped, but enshittification is everywhere and ruins everything in time. I had a mere six months with my RSS feeds free from the scourge of Shorts, so imagine my surprise and anger when they started showing up again. This time, however, I'm not sure there's a way out.

Keep on readin' on Shorts are back in YouTube RSS feeds?

Windows 10 is dead; long live Windows 10

As of Tuesday Microsoft officially pulled the plug on Windows 10. Its successor was released four years ago, and by now you (and I) should have made our way to it. Windows 10 is, after all, a decade old, so it's ancient technology at this point. I haven't updated, though, and I don't plan to until I build myself a new PC, and that's whomst knows how far away.

Keep on readin' on Windows 10 is dead; long live Windows 10

Boolean arithmetic is pretty neat

Let's say you've got to position some element at the top of a page but that its top property will have to vary depending on the existence a couple other items that might also be up there. For instance, you want to position: sticky a menu bar but you have to contend with the possible presence of an announcement banner as well as the WP admin bar.

Keep on readin' on Boolean arithmetic is pretty neat

Published
Categorized as Code Tagged ,

Trucks have gotten way too big

As someone who wants a Miata when it's finally time to get rid of my current car, images like this make me shake my head in annoyance and fear. This isn't my car or even the right brand or model, but it's about the right size, and it's dwarfed by most pickups on the road these days. And Miatas are even smaller!

Keep on readin' on Trucks have gotten way too big

Rename the Department of Justice

In the wake of Charlie Kirk's murder, our so-called Department of Justice has removed access to a study they did that showed the opposite of the narrative currently trying to be spun by the White House, the FBI, Twitter (which is mostly Russian and Chinese bots these days), and Fox. They desperately want folks to believe it's the Democrats and other leftists sowing the seeds of violence when instead the data shows clearly that the call is coming from inside the house: that it's mostly those who vote Republican who are responsible.

Keep on readin' on Rename the Department of Justice