Tech & Tools

Image file
A laptop
Authored on
Body

When I receive an answer from AI, I respond with some sort of “thanks” cause it’s kinda fun. It responds with a pleasant "you're welcome".

Is all that extra politeness band for the environment in the end? If I don't do it each time then the server doesn't have to use extra energy.

Dunno.

Image file
A laptop
Authored on
Body

When the brain is foggy (due to medications fighting off a virus that has me stuck in a room quarentining for a stretch), small, repetitive projects are a life-saver. Getting to feel like I am getting stuff done and slowly get back into reality is part of healing from both the virus and the quarantine.

Image file
A laptop
Authored on
Body

When I woke up, I wanted to dive into whatever was announced at the 2024 Keynote. Then I found myself wanting to go on Mastodon and reading all the knee-jerk complaints about said announcements. Instead, I grabbed some coffee, iPad with pencil, and a spot on the couch looking out at the Skytree. Giving myself some points for fading into the day today.

Authored on
Body

There are two Homepod Minis on my desk. Randomly one will stop playing but the other keeps going. If reach over and put my hand near the one that stopped playing sound, it suddenly repairs with the other one.

Problem solved...lol.

Image file
A laptop
Authored on
Body

Here is the way I set up a view that lets people download media in Drupal. Not sure it is the" correct" way but it seems to work for me and it's very flexible.

1. Go to /structure/views  
2. Click Add view  
3. Choose to show Media of type whatever you want downloads of.  
4. Choose "Create a block" and click save.  
5. In your block add a relationship and choose Image file.  
6. In Fields, add "URI". Exclude it from display and make sure "Display the file download URI" is checked.  
7. Click into Media: Name. Make sure link to media is unchecked. click rewrite results and then check" override the output of this field with custom text.  
8. Add this code...

<a href="//frozen-octopus.com/%7B%7B%20uri%20%7D%7D" download>{{ name }}</a>

9. Click Apply
10. Save the view.  
11. Place the Block somewhere and people willl be able to download media.

There is other ways to do it but I like the rewrite the field way. You have a lot of freedom to get your link looking and acting how you like it. 

 

 

Image file
A laptop
Authored on
Body

Capturing a screen recording video with command-shift-5 is awesome except for one thing. Stopping the video once you start recording isn't that intuitive. The controls are really hard to find.

When you want to stop recording, hit command-shift-5 again and the menu will appear again with the stop button.

Image file
A laptop
Authored on
Body

As much as I want to have all the CSS properties memorized, that isn't a nice thing to do to my brain. Instead I visualize my CSS snippets as a garden that I weed and prune.

My CSS snippets garden used to be a folder of text files which was fine. The key to that way was naming the files so they were easy to scan. Lately I moved to an app called Snippety that's a little more fun to garden in. It's quicker to search, prune, and the name is perfect. It also supports a way to export snippets to a file which is something you should always check before you fill up an app with your notes, thoughts, and ideas.

Image file
A laptop
Authored on
Body

I setup an Apple shortcut that randomly selects a drum rudiment from a list of 80 stored in Data Jar. It's cool to have one rudiment to figure out each day instead of a huge, daunting list of all of them. I have a drum pad and sticks in the office so I can zone out and play the rudiment a little bit all day.

I find that if you do a minute here and there all day, the practice time really adds up. A fifteen minute practice session feels like a task. One minute micro sessions fifteen times doesn't.

Image file
A drum
Image file
A laptop
Authored on
Body

There is so much in this article that helped clear some of the fog of CSS Flex and CSS Grid for me. For some reason over the years, I kept going back to CSS Flex to center things because Grid would randomly "act weird". I thought it was something I was doing but Flex would center every time.

Cool to know the reason why. See the "Differences from Flexbox" section under "Centering with CSS Grid"

[Whole article]

Image file
A laptop
Authored on
Body

When I listen to an album, I like to post it on the blog. It's useful for me to have a database of stuff I have listened to at random times.

The slog is getting them into the site so I thought I'd make an Apple Shortcut. After some struggling, the closest I can get so far is to have shortcuts Shazam the current song. The shortcut then opens the album up on Safari in one tab and an empty blog page in another tab. From there I can copy/paste the album's info into the blog post.

It's clunky-level which is one above from slog-level1.

1 Since this is a Drupal site, I should see if I can get the current song into a spreadsheet and import it.

Image file
Music notes
Image file
A laptop