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.
Author: chairmanbrando
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!
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.
You may not need to throttle your JS event handlers
Your heart may be in the right place. There's no point in thrashing the CPU for events like mousemove and scroll that are theoretically going to fire hundreds of times per second, right? But have you checked whether or not your throttling is actually necessary?
Keep on readin' on You may not need to throttle your JS event handlers⟶
Save $20 or more by editing PDFs with LibreOffice
Every so often I need to edit a PDF I get from another source, and then I go on this needless and mostly-fruitless endeavor to find a place on the internet to make those edits ⸺ forgetting that I already know of and have a place to do it.
Keep on readin' on Save $20 or more by editing PDFs with LibreOffice⟶
Road rage is the stupidest thing
For how dangerous it is, it accomplishes a world of nothing. I can't speak for other countries, but if you live in the US, too many people out there in public around you have limited or no emotional intelligence. They simply react to stimuli instead of pausing to think. This is quite literally how insects work! Thanks to these reactors, you can go from minding your own business to the receiving end of someone's childish tirade over something minor ⸺ or even nothing at all. As you might expect given that intro, I was the victim of a brief potential road rage a few weeks ago. It unfolded as follows...
ChatGPT loves to offer up its own diagrams
But it doesn't know what the hell it's doing. Don't believe its lies.
Keep on readin' on ChatGPT loves to offer up its own diagrams⟶
Be wary when footer debugging
I know you're not "supposed" to debug things by outputting them into or past the footer of a site, but sometimes you just need to check on something real quick, like the ID or some other bit of data about a post, and you don't feel like dealing with any proper debugging tools. The wp_footer hook then gets used and the results don't make sense. What happened?
Twenty-one lessons from the beach
In no particular order of importance because none of them are ultimately important... except perhaps the very last one.
AI is designed to ruin lives
Is this a sufficiently clickbait title, you think? Still, I do kinda firmly believe this is the case ⸺ that AI's overarching goals are rooted in the desire to replace paid, job-holding humans with much cheaper automation. There's no way to tell how many fewer jobs will be available in five years, but I reckon the damage will be great and the numbers very high.