TrickJarrett.com

Saturday, July 1st, 2023

« Previous Day Next Day »

Sometimes the correct answer is to not touch it anymore

Yesterday I did a surprising amount of coding on Glowbug. Most of it entirely invisible to you all. The quick overview:

  1. Bluesky embeds (we'll come back to this)
  2. Updating my css editor page in the admin to be able to edit any of the template files
  3. Updated my image management page in the admin to have pagination
  4. Simple CSS updates

Okay, so let's come back to Bluesky.

I managed to get invited to it yesterday, as noted when I shared my (current) account name. It's fine. It feels like basic Twitter. What I loved though was seeing how simple generating an embed URL can be. It's just an iframe to a path which includes the desired post.

Great.

Except that took me down a rabbit hole of trying to understand why the Markdown generation of my blog continually failed to handle embedded html example iframe to show how clean the embed code is. Embedding html in posts in my blog is currently one of the things which is broken and I haven't really fixed because I never do it. Except for yesterday when I wanted to do it.

It's broken in a few ways:

  1. When I go back to edit that post, the embedded html is processed as html into the in-browser editor, which often leads to it breaking itself.
  2. The code tag delineations are no help here. Even wrapping the iframe in HTML's 'pre' or 'code' tags didn't stop it from rendering as html. And I have no idea why.

So, this means once I submit a post with embedded html, I can't touch it again except directly through the database.

I'll figure this out eventually, but I didn't last night.

And as I did these various codings, I apparently broke something. The automated end-of-day post didn't happen. The code that generates it wasn't even something I worked on yesterday, but because of how the blog is coded it's quite possible I accidentally messed it up.

So I tried to figure it out this morning. In doing so, I also noticed the newsletter generation wasn't working. So I worked on that some.

None of these, by the way, have satisfactory "I fixed it!" resolutions. The newsletter eventually sent, though I don't know why. We'll see if the end of day post runs tonight or not.

Sometimes, when you run and use your own code, if it suddenly works - the correct answer is to not touch it anymore.

7/1/2023 8:05 am | | Tags: javascript, php, glowbug, programming

Pending appeals, the cases against Biden's election have all finally been defeated

The ruling means that finally, more than 2 ½ years on, all the Donald Trump-inspired "Big Lie" lawsuits here have been dismissed (pending any appeals). Justice took that long, even though no one ever provided any hint of proof that Washington state's 2020 election was compromised, tilted, botched or rigged.

The commitment to this contrived obsession has been cultlike. But today, in the spirit of the upcoming national birthday on July Fourth, I'm going to look at it from a different angle. Which is: Chalk up another win for democracy.

Seriously: After being pummeled onto the ropes, democracy is making a comeback.

7/1/2023 8:57 am | | Tags: conspiracy, us politics

Word Solitaire

Wordle crossed with Klondike solitaire. You get an array of letters to make five-letter words, and the goal is to clear the board.

7/1/2023 1:24 pm | | Tags: daily games, brain game

Highlighting the westernization of space travel


7/1/2023 1:42 pm | | Tags: space, saudi arabia

Testing Bluesky embeds


It's a lovely simple structure, if it works. I had a post for this before but pulled it down while triaging some of the site oddities this morning.

<iframe src="https://bsky.link/?url=[Post URL]"></iframe>
7/1/2023 2:06 pm | | Tags: programming, glowbug, social media, bluesky

Automated Archives for July, 1st 2023

This post was automatically generated

Wallabag Additions

These are articles that which I saved today so that I may read them later. Substance and quality will vary drastically.

Chess For the Day

Record: 2-1-1
Net Elo Change: +15

Games Played

Blog Posts On This Day

7/1/2023 10:45 pm | | Tags: automated, longreads, chess

Twitter's issues cause another spike on Mastodon


7/1/2023 11:14 pm | | Tags: social media, twitter, mastodon
« Previous Day Next Day »