My Pixel 8 is an OK phone. Except it’s impossible to hold it in your hand. So I have to put a case on it, which I hate. Glass backs are a scourge. But companies are starting to be brave and offering alternatives again. I had a productive ChatGPT search about options.
My conclusion is the Pixel 9a may be the best choice. It has a matte plastic back. This redesign mostly gets dinged in reviews, it’s not very sexy. But if I can hold it in my hand that’s a big bonus. My Pixel 8 is not at all sexy in a big chunky case.
I’m more interested in Motorola’s new phones. They have a variety of new phones with pleather backs: the Moto G56, the Moto G86, the Edge 60 Pro. But they basically aren’t available in the US. I think because they lack CDMA or otherwise aren’t certified with US carriers. I’m on Verizon, which historically has been a PITA. They do have a couple of phones for the US market. The Moto G56 is called “Moto G” here but doesn’t have an OLED screen. There is an Edge 60. And there’s an Edge 60 Pro for sale in the US that warns us it’s not guaranteed to work.
Meanwhile I ordered some cheap grip tape. No one makes this stuff in interesting colors!
I love swimming in the Yuba near Grass Valley. Local wisdom is it’s not safe to swim until July 4, that’s when it’s warm and slow enough to be safe. PG&E controls the flow with a dam but seems to follow a sort of schedule. My notes are that 200 CFS is “calm” flow. I was just there at 450 CFS and it was still pretty sporty. I could have swum across but it wasn’t yet a good idea.
There’s flow data at Dreamflows and USGS. Also historical data at USGS. So I fired up Claude Code and 30 minutes and $2 later I have a serviceable graph. It’s online here.
End result: yeah, July 4 is about right.
Update
For $0.50 I added a histogram of the flow on July 4. I also added a deploy script for 10 cents. Then I spent another 20 cents making sure it was treating no data differently from zero. There’s 61 years with flow under two hundred: 20 years with flow over that.
Vibe coding notes
Another project I could have done myself but didn’t want to spend the time: Claude makes it kind of fun. This went OK at first but got in the weeds.
Claude’s first instinct was to use Python and matplotlib. Yuck. I asked it to do Javascript and it chose Chart.js. Which was fine for small data but choking on more points, so it suggested switching to uPlot. That seems to get the job done. d3.js would be nice too but is overkill for a static one-off.
I am very impressed with how Claude understands high level directives like “draw a bunch of individual thin lines for each year to show distribution”. OTOH I don’t quite trust it: I’m afraid to publish this more widely for fear something about its calculations is incorrect. I tried reviewing the code but just can’t bring myself to care enough to bother. It looks right!
Claude is great when starting de novo but gets slower and buggier with iteration. For instance it mostly converted the code from Chart.js to uPlot just fine. But one thing I wanted was to clamp the Y axis at 2000 CFS. It insisted on keeping the Chart.JS code to do that and wouldn’t update to the uPlot API until I read the docs and told it myself what it needed to do. It also made a bunch of other changes that just didn’t work. I never could get it to make the graph fill the whole width. I know some folks doing agentic coding are also building test suites and telling the agent to not commit until the tests pass, that would have been really helpful here.
I sure wish I had more confidence that this visualization is actually correct and doesn’t do something stupid like averaging missing data in as if they were zeros. That’d be the same problem with a person doing the coding but I’d trust them more.
Claude Code regularly runs “agents”, a fancy word for shell scripts. Unfortunately for some dumb reason they chose to run the agent in a bash login shell, which means it runs the script for all sorts of stuff you only want in an interactive shell. To stop it, I put this guard in my .bash_login.
if [[ -n “$CLAUDECODE” ]]; then echo “Detected Claude Code. Not running login script.” return fi
The real problem was I had put cd $HOME in my .bash_login. Not sure why, that probably solved a problem I had 25 years ago. This was confusing the agent something awful, particularly when it was moving files around or dealing with git. It kept doing things in my home directory, potentially catastrophic!
A few months ago I used Claude Code to code a Mastodon thread unroller. I was so happy with the result that I dusted that project off today to use it for something new. The first version had a bunch of stuff hard-coded so I had Claude refactor it to make it a click command line tool with various parameters.
It worked great. Sample output here. It cost me $4 and took about 90 minutes total, 30 minutes of Claude Code working away.
Honestly I’m kind of shook by this. Claude Code is just unreasonably good at this kind of programming. Like I said in my first post, this is a highly constrained problem and with relatively minor requirements. I can easily verify the output and that’s all I care about. Still, it’s just so good!
Along the way it solved some tricky problems with very little input from me.
The old download method didn’t work anymore because the posts were so old, so it found and used a different API.
It wrote a bunch of docs explaining how everything works. The command line tools have nice help too.
Filtered out replies I wrote to other people, to focus just on my main thread.
That last one is particularly astonishing because the task is so complex and I gave it such vague directions. Here’s its explanation of what it did.
> the new method for downloading is catching replies to other people. ie, "@wolfger Prost, lah! Legit beer, fresh." It's OK (but unnecessary) to download them but I dont' want them in the output.
● You're right! The context API is grabbing the entire conversation thread, including replies from other people. The current code filters by user_id but apparently some replies to others are still getting through.
Let me fix this by adding better filtering to only include posts that are either:
1. The original post, OR
2. Direct replies to your own posts (not replies to other people)
Perfect! I've added much better filtering logic. Now the script uses a two-pass approach:
✅ New Filtering Logic:
Pass 1: Collect all post IDs by the user
Pass 2: Only include posts that are:
1. The original post, OR
2. Have no reply target (standalone posts), OR
3. Reply to another post by the same user
This will exclude posts like "@wolfger Prost, lah! Legit beer, fresh." because they reply to someone else's
post, not to your own posts.
📝 What it does:
- Downloads everything (for completeness)
- Filters out replies to others during processing
- Shows debug messages when skipping posts: "Skipping post 123 - reply to someone else (456)"
- Only includes your actual thread in the final gallery
Now when you run the download, you should see messages like:
Skipping post 114xyz - reply to someone else (114abc)
Found 8 posts by the same user in the thread
This gives you a clean thread of just your own connected posts while still preserving all the data for
reference.
We bought a wine cabinet with a refrigeration unit to Grass Valley. It’s in our garage. Outside temps fluctuate 50-95, garage fluctuates about 60-80, and the wine cabinet keeps 55-59, well mostly.
Downside is it’s taking about 2kWh / day to keep it there, double that on hot days. Power costs about $0.50/kWh (I think?) so it’s costing $30-$60 to keep the wine cool in summer months.
The unit seems to come on for about 15 minutes, using 280W, then off for about 15 minutes. But total time on varies with temperature. When it’s not hot it stays 56-58, but on a hot day it’s varying 55-59.
Update: 118 kWh for the month of June. That’s roughly $50. Varies about 2x depending on how hot the day is. I’m considering insulating the garage doors.