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"Computers & Tech posts
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.
Mac: 15.4 rsync issues
After running into some problems with some rsync
scripts recently, I discovered that in Mac OS 15.4, Apple switched its built-in rsync
command from standard rsync
to the BSD project’s clone, openrsync
. It is apparently not 100% compatible, because my backup and deploy scripts that use it were failing.
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.
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.
Using pipes to augment IO of command with bash script
I like the interactive mode of the bc
command line calculator because it is ubiquitous, but wanted to augment its functionality a bit to add a couple features I liked from another calculator program. I wanted to make modifications to the text I typed before sent to bc
and modify the text it outputted. This can be done on standard POSIX shells with mkfifo
, but it took me a good while to figure out how to do this with both input and output and get something working nicely without it freezing or leaving artifacts. So I’m sharing how to do this in a bash
script.
Server upgraded from Ubuntu 20.04 to 22.04
My server was on Ubuntu 20.04, but due to the end-of-life of that LTS version next month, I have upgraded to 22.04. My server is managed with Vagrant / Ansible. My plan had been to do a new local VM on the newer version, get it working properly with Ansible, then set up a new server with it and migrate over. However, since Ubuntu isn’t releasing an official Vagrant box for 24.04 and beyond, I don’t think it makes sense to take that path. I may move over to Debian or look into Vagrant alternatives, but to get this done before EOL, I decided to just try a do-release-upgrade
to upgrade the existing server in place.
In Mac OS Sonoma, browsers now require and the OS will ask for the “Local Network” permission to access local websites. I didn’t know why it was asking and didn’t allow it, but then couldn’t access my sites. I had to go to “System Settings”, the “Privacy & Security” pane, select “Local Network” and turn on for my browser(s) to get access again.
If it matters, my local dev setup uses domains set in /etc/hosts
pointing to IPs of VMs run by VirtualBox, managed by Vagrant, set up like web.vm.network 'private_network', ip: '192.168.56.1'
.
Goodbye, Twitter
I have deactivated my Twitter account, as of last night. I hadn’t posted since 2019 and had only done one response to someone else since then. I hadn’t really tweeted with any regularity since 2016. Even at my most tweety I never really was much of a part of the community. I only was still logging in because Twitter stopped allowing me to view anything but direct tweet links without doing so.
Continue reading post "Goodbye, Twitter"