Toby's Log

Got a smartwatch: Bangle.js 2

I bought a Bangle.js 2 smartwatch from Adafruit. I haven’t ever owned or played with a smartwatch, and haven’t even worn a dumb watch in 15 years or more. But I got to thinking that I look at my phone a lot for time and notifications, and this could reduce phone use and simplify that behavior at the same time. An e-paper screen could make it less like looking at a mini phone on my wrist. It also could do some other things like step counting, sleep monitoring, and heart rate monitoring that might be useful, and timers, alarms, and stopwatch so I don’t need to reach for my phone for those either. The Bangle is open source, lightweight, and seems feature filled enough to fit what I’m going for, cheap enough ($89) to not worry too much if I want more later.

Continue reading post "Got a smartwatch: Bangle.js 2"

Looks like my Macbook Air (2020 Intel) will not be supported for the next major MacOS update, Tahoe. I knew that was coming at some point when they switched to ARM architecture. Luckily, Sequoia should still receive security updates into 2026 or 2027, and that’s all I really care about. By that point, I will probably transition to a Linux computer for my main, and if I need a new Mac for other stuff, may just get a refurb Mini.


My main email app (Fastmail) on my phone logged me out without me noticing for two days. I’ve been trying to not pay as constant attention to my email as it is, so it just seemed nice, but I didn’t even really think about it in that period. Happened to have more than the usual amount of emails when I got back in, though luckily, nothing important. It’d be nice if I could have it only notify me immediately for email from certain addresses or something like that.


Candle incident

Yesterday evening, I lit a candle while watching an episode of Columbo. It’s one of those fat kinds that develops a wall of wax around the outside. Previously, a hole had formed in the wall and some wax had dripped out. I had fixed the hole, but there were still some hunks of this wax left. So I put one in the candle wall yesterday, leaned up against it, hoping it would slowly melt away.

This morning, I woke up and thought to myself that I didn’t remember putting out the candle.

Continue reading post "Candle incident"

JS: Replace page text

For this year’s April Fools Day, I decided I wanted to replace some text in the content of my site’s pages to something funny, weird, or confusing. Since I’m moving toward a static site, I wanted to do this client side, which meant replacing text with JavaScript. This would be simple with innerHTML, but that completely replaces the DOM with a new DOM, possibly causing usability and performance issues, and could replace text in URLs, breaking them. Probably a better way is to loop through all nodes on the page, looking for text nodes, and replace text in each of those. So I did this, and it worked nicely. Thought I’d share.

Continue reading post "JS: Replace page text"

This year, my larger redbud tree has only a few blooms on it and seemingly has gone straight to leaf. Last year, it fully bloomed and looked great. This year, it went to leaf right away while almost all the redbuds I’ve seen have bloomed nicely. It does seem to be growing faster this year than last: Must be focusing its energy on growth. So, hopefully next year it’ll be in full bloom again.

My tiny front sapling is still too small for blooms and has also gone straight to leaf. I’m glad it’s still doing fine.


ZSH regex capture groups

In writing a script for the ZSH shell, I wanted to extract some bits from a string. I looked for a regex solution, using capture groups. I could not figure out how to do it with sed but I found that the [[ ]] format of the test command allows this with the =~ operator. If the test returns true, values are stored in a $match array and can be accessed like $match[1] and so on.

Continue reading post "ZSH regex capture groups"

Finally got the One UI 7 / Android 15 update on my phone (Samsung S24) today. 15’s been out on Pixel devices for six months, but it took Samsung a long time with this one. I had bought this phone in part because Samsung is supposed to be quick with releases. Hopefully, this doesn’t become the norm.

Not a lot has changed noticeably. My most liked change is that I can have most app icons match my chosen accent color (green) which makes my home screen and quick app drawer look much nicer. There’s also a feature which separates the notification drawer and quick settings slide down, where swiping down from the left shows one and from the right, the other. I’m still getting used to that but may find it results in less swipes. There are a few other aesthetic tweaks. I think there’s a bunch of AI stuff, but I’m not that interested in that.