Matthew Lang avatar

Settling into Stimulus once again

Over the last few days, I’ve been writing more JavaScript than usual. The reason? I am using Stimulus a lot more in one of my Rails projects.

Enhancing the functionality of my Rails application with some HTML markup and a JavaScript controller is good, as Stimulus has a small learning curve and integrates well with Rails.

As I add more Stimulus to the application, though, I am learning some of its best practices the hard way. One criticism I have of my own controllers is that they are very page-specific. That’s fine for now, as the application is relatively small. Still, I plan to break these controllers into more generic behaviours that can be re-used more easily across the application in the future.

Going to start blogging again

I’m going to start blogging again.

Not the titleless posts I have been posting for the last couple of years, but the longer posts that need a title. The posts need to be split up into sections. The posts that have a call-to-action. The posts might just be rambling for the sake of it. The posts that venture an opinion. The posts that tell you something you already know. The posts that tell you something you don’t know. The posts that I will deem not worthy of publishing, but I do it anyway.

It’s not a ground-breaking start, but it’s a start.

Congrats to the Pixelmator team on joining Apple! I’ve been using Pixelmator for years and have nothing but praise for its simplicity and design.

While this is excellent news for Pixelmator, I wonder how long Apple will allow Pixelmator to exist as it is.

Our Japanese Maple in the garden is looking its best just before all its leaves start to fall. I wish autumn was a bit longer.

A vibrant tree with red and orange leaves stands in a sunny outdoor setting.

I had a great time with Drew out in the course today. With winter golf around the corner, it’s time to encourage Drew to try different shots and learn more about what’s possible with his clubs.

I’m heading out for 13 holes of golf with my youngest shortly. I love that our golf club’s course allows you to play 5 holes, 13 holes, or a full round. We’ll mostly play 13 holes over the winter until the weather improves.

I’ve seen many posts about people cancelling their Washington Post subscriptions, but I wonder if cancelling your Amazon Prime is the way to go?

The best thing those readers can do is cancel their $139 annual Prime subscriptions, if they have them, and invest that money in the journalism they say they want and need.

— Don’t Cancel The Washington Post. Cancel Amazon Prime.

I like The Atlantic’s point about hitting Bezos where it matters: Amazon Prime subscriptions. Newspaper subscriptions allow for more independent journalism; we shouldn’t deprive ourselves of that.

I can’t decide whether Astropad’s Bookcase is a beneficial device or not. Yes, I’d like to read more, but not necessarily from my phone. That’s why I read from my Kindle. If you limit your device count to just the essentials, e.g., no Kindle, the Bookcase would be a good buy.