Van Halen - Best of Volume 1

It takes some guts to name your first "Best of" album "Volume 1," it's almost a promise that there will be more best of volumes. It's a guarantee that there will be enough hits not on Volume 1 to justify additional best of album(s). In the case of Van Halen, I'm not sure that they followed through. Almost 30 years after Volume 1 they released The Collection II which includes some of the same songs as Volume 1.

At any rate, Volume 1 debuted at #1, and don't let their later failure to dissuade you from listening to this collection. You probably need more Van Halen in your life, and a best of album is a good way to get it.


Counting Crows - Recovering the Satellites

Following up Counting Crows hugely successful first album August and Everything After was always going to be tough. After three years there was demand for new music from them, and naturally the new album Recovering the Satellites hit #2 on the charts in its first week on sale.

Unfortunately, I spent all my Counting Crows anecdotes in my review of August and Everything After over two years ago, so I have nothing all that interesting to add here. Overall I find this album weaker than their first album. A Long December is a very good song, but the rest aren't nearly as strong. That being said, I would say that this is their second best album, and it's not terrible. Certainly, I review worse albums than this all the time. You can check it out, why not?


Kenny G - The Moment

Sitting at #2 thirty years ago, The Moment by Kenny G is not my cup of tea. And that's all I can say about it. After listening to it, I needed to clean my palette with some Nine Inch Nails.

This album can fade into history, and you can skip it.


Nirvana - From The Muddy Banks Of The Wishkah

I am on a streak of late reviews. Drat. I'll try to do better, I promise!

From The Muddy Banks Of The Wishkah by Nirvana hit #1 its first week on the charts. It's a compilation of live recordings taken all over the world from 1989 to 1994. It sold quite well and was regarded as one of the best albums of 1996.

I must admit that if I were to claim to be a Nirvana super fan, I should be mocked because before now I am not sure I've ever listened to this album. However, I am naturally disinclined to listen to live albums. I feel that studio albums capture best what the musicians are trying to play. The fact that this album is not from a single live performance makes it a bit disjointed in my opinion. That being said, it's interesting to hear these songs played live, and it would have been neat to attend any of these concerts. For example, a few of the tracks are from the Del Mar Fairgrounds, which I've been to a few times for the San Diego County Fair and at least one concert. The line up was amazing: Nirvana, Red Hot Chili Peppers, and Pearl Jam. Wowza.

In summary, this album is worth checking out at least once.


hg-git-sign

With the help of Claude I just published my first project to PyPI! It's an extension to Mercurial that works in concert with hg-git that allows you to sign commits the same way as Git. It's called hg-git-sign. It can also be found on github where you can see that the commits I made in Mercurial are indeed Verified:

My House Sale

Mercurial already has the gpg extension that signs commits, but it does them in separate commits: first you commit new code, and then do a code signing step as another commit. With this extension, the signing happens at the same time as the first and only commit, which honestly makes much more sense than two commits.

My company is moving to requiring all commits to be signed in the Git way, which would have been impossible with the default Mercurial method. I know how to use Git, but I don't like it. With this extension I can keep using Mercurial, which is great. I hope it is useful for other people.


Set It Off Soundtrack

This review is late again, but this time I have an excuse!

The #4 album this (last) week is one of the soundtracks to the Set It Off. I say "one of" because when I searched for this album I got this different album of the same name which is the background/emotional music from the movie. I've had trouble finding compilation albums before, so I figured that the hit album wasn't available and gave up. I instead listened to the eponymous Sheryl Crow album which was at #6 on the charts. However, as I was beginning to write the review of that album, I discovered that the correct soundtrack album was indeed available. Hence, my lateness.

Whew! Moving onto the album itself, not only have I never seen the movie Set It Off, I don't think I even remember seeing advertisement for it when it was in the theaters. Listening to the soundtrack, I don't recall hearing any of the music, either. It may not surprise you that having listened to the album, I do not feel that I missed anything 30 years ago, nor in the intervening decades. It is entirely skippable, and I suspect so too is the movie.


R.E.M. - New Adventures In Hi-Fi

I must apologize and admit that this review is a week late. However, unless and until I get paid for these reviews (and, honestly, I shouldn't be paid), I am not all that sorry. This (last) week's album is New Adventures in Hi-Fi by R.E.M. which sat at #3 on the charts thirty years ago (and one week). This is my second R.E.M. review. In my review of Monster I remembered my summer in Athens, Georgia, which is where R.E.M. got their start.

During my time there me and the other students in the REU program would go to downtown Athens and have a couple drinks and hang out in the evenings. I am not a late-night person, so I would typically excuse myself and walk back to the on-campus dorm before my friends were done hanging out. On more than one occasion they would tell me the next day that I just missed seeing Michael Stipe (the lead singer of R.E.M.) show up to the bar. I never did see him. Oh well.

Despite the accolades for the album, this has never been one of my favorite R.E.M. albums. But don't let me dissuade you from checking it out. Even the worst R.E.M. album is better that most of the stuff I review. Give it a spin!


New Edition - Home Again

The #1 album this week is a return to recording as a group for New Edition. Apparently (and I didn't know any of this until I did some research), they had broken up in 1990 to pursue individual projects. I knew basically nothing about New Edition prior to now. For example, I didn't know that Bobby Brown was in the band. I previously thought of him only as a solo musician and Whitney Houston's husband. That's probably because the band's peak popularity was in the 1980's, before I was deep into popular music.

Home Again itself seems like a quality, competent, and perfectly contemporary 90's R&B album, not dissimilar to the music of the biggest R&B group of the decade, Boys II Men. Although that might be backwards; Boys II Men named themselves after a New Edition song. I don't recall hearing any of the songs when the album came out, but my memory is imperfect.

Perhaps if I was a bit older and experienced New Edition during their peak this comeback album would be more meaningful for me. As it is, I don't hate it, but it doesn't do much for me. If you're wanting some 90's R&B, it is a good choice.


Why No RPi

For a few years I used a Raspberry Pi 4 (RPi) as a Pi-hole and Wireguard server on my home network. An RPi 4 is overpowered for that sort of thing, but I had it, so I figured I might as well use it.

Over the last few weeks I noticed increasing problems with it. The best I can tell is that the RPi Micro SD card reading/writing hardware was somehow broken. The Micro SD card I had in it originally proved bad when I tried imaging it with a fresh OS install. A different card could successfully be imaged, but when I booted the RPi from it, some programs wouldn't run because they were corrupt.

I thought about buying a replacement RPi, but because of the RAMpocalypse, prices have gone through the roof. An equivalent new RPi 4 would cost $55, when I'm sure I purchased the original one for much less than that. With shipping it was looking like a $70-80 purchase, which seemed ridiculous.

In the end, I decided to simply run the Pi-hole and Wireguard services as Docker containers on the Mac Mini M4 I use as a media center. I leave the Mac Mini running all the time anyway, it uses only 4 Watts at idle, and it's more than capable of running these services.

Looking at pricing of new RPis, including the newest RPi 5, it got me thinking about the value proposition of the RPi 5 at the moment. The RPi was developed to be a low-cost, versatile single-board computer with many applications. All RPis can be used for various general and specialty computing projects, see the wide variety of RPi HATs available. However, with the newest RPi 5, they are trying to make the argument that it's becoming a general purpose computer for everyday use. They even highlight that the RPi 5 can drive dual 4K monitors at 60 Hz, not something I would associate with cheap computing.

Dual 4k

Let's look at this complete RPi 5 kit. It comes with all you need to get up and running, minus a monitor, keyboard, and mouse. A 256GB SSD kit with 8GB of RAM costs $320. The kit includes active cooling, which is required to achieve maximum performance. A base RPi 5 with 8Gb of RAM costs $175, which means the rest of the kit costs $145.

Let's compare this to a base Mac Mini M6. This comes with 256 GB of SSD storage and 16GB of RAM for $899. Like the RPi kit, it comes with everything you need save a monitor, keyboard, and mouse.

Using a $305 RPi 5 with 16GB of RAM to match the Mini (making the RPi kit $305 + $145 = $450), below I compare the speeds of these computers. I'm using this Mac Mini M6 benchmark and this RPi 5 benchmark.

Product Single Core Multicore Price
RPi 5 878 2,089 $450
Mini M6 4,661 20,525 $899
M6/RPi 5 5.3 9.8 2

We can see that the Mac Mini is over 5x faster in single core, and almost 10x faster in multicore, while the Mini costs only 2x more. That is a devastating price to performance ratio for the RPi. But wait!, you say, you can still buy two RPis for one Mini, which if you're on a limited budget (say, in a school), it really helps. But wait!, I respond, you still need to buy monitors, keyboards, and mice, which cost the same regardless if they're connected to a Mini or a RPi. The price savings with RPis isn't as big as you might think.

The true value proposition of an RPis are the GPIO pins which enables tons of fun and interesting computing projects. My solar water heater uses a RPi 3B+ and its GPIO pins to collect data and act as the thermostat. The tough spot that the RAMpocalypse has put RPi 5s is that this value proposition has been overtaken by component pricing, making the RPi 5 a poor choice for a general purpose computer. There might be situations where a faster RPi is needed when using the GPIO pins, but that's getting potentially niche. I would guess that most things you would need an RPi for could be done with one of the older and less expensive models.

Perhaps once the RAMpocalypse has passed the RPi 5 will again become an economical choice for hobby computing, but sadly, it isn't right now.


Outkast - ATLiens

Dropping from #2 last week to #3 this week, ATLiens by Outkast is their second studio album and first to reach the top ten in sales. Additionally, this album is the first of three consecutive Outkast albums that are on the Rolling Stone's 500 Greatest Albums of All Time list.

I like Outkast and I'll admit that I came to them fairly late. I certainly wasn't listening to them when this album came out. Most of my listens have been from Stankonia and Speakerboxxx/The_Love_Below. I think that I need to include ATLiens and their next album, Aquemini, in my rotation more often. All of their stuff is quite excellent.


A Few More Command Line Utilities

I recently wrote about some useful command line utilities, and here are a few more I either forgot to add, or just discovered.

fd

I've never liked the find command. It's clunky to use, and worst of all often prints out hundreds of permission error lines. A good replacement is fd, which is faster and much nicer to use. For example, here's a search for this website's name starting from the root "/" of this Linode using find and fd, passed through wc (which counts characters and lines):

stderr/stdout line count, 1,301 for find, 19 for fd

You can see that find printed out 1,301 lines in 2.5 seconds, while fd output only 19 in 1.5 seconds. All of those 19 are useful lines, while most of those 1,301 lines are telling me where I can't search.

By the way, notice the red lock πŸ”’ symbol in the terminal above? That's Starship (which I mentioned previously) telling me that the user does not have write permission inside the current directory.

delta

Both mercurial and git feature the diff command, which shows you the difference in content between the current files on disk and the most recent commit. This is very useful as a way to see what's changed before you make a new commit. delta is a tool that (amazingly) works with both (mercurial is the often forgotten redheaded stepchild) and supercharges the diff command. It's language aware (like bat which I mentioned before), and offers a side-by-side viewing option. I haven't used it much, but I'm optimistic it will prove useful.

delta diff side-by-side

duf

For showing what disks are attached, and how much free space there is, duf is a pretty replacement for df.

delta diff side-by-side

Dust

The command "du" is used to sum up the disk spaced used in a directory. Dust does the same thing, but faster, and shows a hierarchical and sorted view of what files and subdirectories are taking the most space. Of all the tools I've featured here, this is the one I'm least sure about. I could see using it on a remote computer, but on my Mac I think prefer using something like OmniDiskSweeper that has a nice GUI and allows you to delete things interactively.

delta diff side-by-side


A Modest Proposal For Tracks With No Passing in Formula 1

I have been a fan of Formula 1 since around 2011. I'm not sure exactly when I got interested in F1, but I certainly remember watching Jenson Button's win in the 2011 Canadian Grand Prix, which is one the most epic (and epically long) F1 races. Being American and having become a fan long before Drive to Survive was released, that makes me an elderly statesman.

F1 races around the world on a variety of tracks, some new and some old. One of the most popular and historic is the Monaco Grand Prix, which takes place on the streets of the eponymous city-state. The first race was in 1929 when race cars were quite small. In the decades since, the cars have gotten much bigger, and due to the narrow streets, it is very difficult for cars to make contested passes during a race. After the first lap the Monaco GP is a procession of cars that can't change order even if a following car is much faster than the one ahead of it. This last weekend a F1 race was held in Spain at a new track that suffers from even less passing than Monaco. The "Madring" is a mixed street and purpose-built race course. Somehow, in 2026, with a century of knowledge, an even less-racey race track than Monaco was built and used. The race was tremendously boring.

I would like to propose a modification to how F1 races work at tracks like Monaco and Madring that might them more interesting than they are now.

In velodrome cycling there is a kind of race called the pursuit. As a reminder, velodrome cycling is done on banked ovals using fixed-gear bikes with no brakes. In the pursuit two riders, or teams, start on opposite sides of the velodrome and the winner is decided by who rides the full race distance the fastest. The race can end short of the full race distance if one rider/team catches the other.

I propose that for tracks like Monaco, F1 can adopt a modified version of this. At the start of the race cars would be evenly spaced around the track in an order that rewards qualifying performance. The first two in qualifying would be placed on opposite sides of the race course:

1, 2

Then the next two such that the slower of the two is behind first place:

1, 4, 2, 3

Then the next four, again rewarding first with the slowest behind them, second with the next slowest, and so on:

1, 8, 4, 5, 2, 7, 3, 6

Here’s how it would look for 22 cars (the number of cars currently in F1):

1, 22, 16, 8, 9, 4, 19, 13, 5, 18, 12, 2, 21, 15, 7, 10, 3, 20, 14, 6, 17, 11

Using the Madring qualifying results the start order would be:

Norris, Stroll, Albon, Lawson, Colapinto, Hamilton, PΓ©rez, Ocon, Leclerc, Alonso, Bortoleto, Antonelli, Bearman, Tsunoda, Piastri, Lindblad, Verstappen, Bottas, Gasly, Russell, Sainz, HΓΌlkenberg

Again, the cars would be evenly spaced around the track at the start. Because this is circular, HΓΌlkenberg would be chased by Norris.

Here's a Python function to calculate the start order based on number of cars:

def starting_order(n: int) -> list[int]:
    """Starting grid order for n cars, by qualifying rank (1 = pole)."""
    if n < 1:
        raise ValueError("n must be >= 1")

    order = [1]
    k = 1
    while k < n:
        m = min(k, n - k)  # full doubling, or whatever's left
        # rank j (== rider j, for j in 1..m) gets rider (k+m+1-j) behind it
        inserts = {j: k + m + 1 - j for j in range(1, m + 1)}

        # It's not Joy Division, it's
        new_order = []
        for rider in order:
            new_order.append(rider)
            if rider in inserts:
                new_order.append(inserts[rider])
        order = new_order
        k += m

    return order

The winning driver finished the Madring race averaging just under 100s per lap, meaning that at the start cars would be spaced by about 5 seconds apart at race pace. This would give a fair number of laps before the real action would begin.

Because passing, or even getting alongside cars, is nearly impossible on these tracks, I propose that a trailing driver would eliminate a car in front by being behind the car under some time threshold for a number of consecutive detection zones, kind of like DRS detection zones. For example, if a trailing driver stays within 0.7s of a driver ahead of them for three consecutive detection zones, the ahead driver is eliminated from the race and must quit to the pits immediately.

Of course, any full pass would result in an immediate elimination of the passed driver.

Here’s how I see a race progressing:

  • At the start of the race all drivers would be on full gas, not wanting to be caught from behind. Over time, faster drivers/cars would gain on the slower ones ahead, and eliminations would happen.
  • Eventually, enough slower cars would be eliminated so that the remaining cars are now spaced far enough apart so that they would essentially be doing maximum effort, qualifying laps, every lap. Who doesn’t want to see that in a narrow track?!
  • It would get super exciting if any of the top drivers started a battle. Who doesn't want to see any of the top drivers and cars try to catch one another?
  • There would still be a required pit stop to change tire compounds, but with a maximum pit stop time. Why a maximum? You could imagine using a slow pit stop to fall behind a fast-approaching car, and this would help prevent that (or at least ensure pit stops were properly strategically accounted for).
  • The winner would be the last remaining driver, or the driver that covered the full race distance the fastest. Lower placings would be in reversed order of elimination, or ranked time to complete the full race distance.

Here are the benefits as I see them:

  • Monaco and Madring are clearly genuine driving challenges, but they do not allow for actual racing. If we take away the need to pass to make it a race, we leave the drivers with a clear challenge: drive as fast as you can and you lessen your chance of being caught. Isn’t that what we want to see in a race?
  • Especially earlier in the race, there could be a dozen mini-battles between cars happening simultaneously. This is the opposite of the current Monaco race, where battles almost never change anything.
  • As the race progresses and we’re (hopefully) left with more evenly-matched front-running cars, every lap would count. The timing boards would show overall pace and gaps that would ebb and flow as drivers made mistakes and tires degraded. There could be tension for lap after lap!
  • There would still be room or pit stop strategy. Even with a maximum pit stop time, teams could be smart and pick a time to pit that puts a driver behind, or way ahead of, a main rival.

There are demerits:

  • A good number of cars would not get to race a full race distance. Teams want to have as much race-pace as possible to collect data, and rear-running teams would be especially against this plan.
  • Races could still be predictable: the fastest drivers/cars would win, and slower drivers/cars would not factor into the race meaningfully. Passing lapped cars, even with blue flag assistance, is part of F1, and this would remove that aspect.
  • It’s more complicated and confusing for teams, drivers, and fans. Instead of asking β€œwho’s first?,” it would be β€œwho’s fastest?,” β€œwho is close to catching another car?,” or β€œif car A stops now, and pits for 17.3 seconds, can they make enough dirty air (but stay out of the 0.7s catch zone) to force car B to get caught?”

I’m sure I’ve missed some benefits and demerits.

There will also have to be some special rules. For example, I can imagine a just-eliminated driver playing shenanigans, impeding the driver that just caught them. Perhaps a driver would be given one lap after performing a catch where they could not be caught and eliminated.

I have zero optimism that this would ever be adopted, but I think it's an interesting idea, all the same.


Pearl Jam - No Code

It's been a couple weeks since my last album review. Two weeks ago I did not review the lone un-reviewed album, the #8 album The Crow: City of Angels Soundtrack, because I could not find it on streaming services. This is not the first time I've struggled finding soundtrack or compilation albums. I suspect it's a licensing issue. One week ago was the same story.

This week there are two new albums that debuted at #1 and #2; I'll do the #2 album next week. Today it's No Code by Pearl Jam I'll be reviewing.

No Code is an album I've barely listened to. The majority of my historical plays were this week. It is one of the more poorly-reviewed Pearl Jam albums, and I have to agree. I don't think I've missed much by not listening to it. I can't recommend that you spend any time on it. I certainly won't purposely listen to it again.


More LLM Commentary

I've already posted twice about using AI/LLMs, and buckle up for another exciting installment. But! Before I get into the meat of the topic, I need to lay some groundwork.

The company I work for uses Amazon Web Services (AWS) for compute and storage. Within AWS you're very much encouraged to set up a Virtual Private Cloud (VPC) which is a way of isolating your cloud infrastructure away from the internet and other AWS users. Part of the VPC is a firewall that prevents outside access to the Virtual Private Network. Of course, as an employee, I need to be able to get inside the firewall, so we have a VPN Gateway that allows outside users on the public internet to access resources inside the VPC, but only if you can successfully authenticate with the gateway.

Below is a diagram showing this. My laptop connects to the VPN gateway, and from the gateway I can access a Linux machine. For example, if I want to ssh into a Linux box, that connection gets wrapped via the VPN connection to the gateway, which then unwraps it and passes the ssh connection to the Linux box.

                 β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                 β”‚                VPC                      β”‚
                 β”‚                                         β”‚
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”      β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”       β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
β”‚ Laptop  β”œβ”€β”€β”€β”€β”€β”€β”Όβ–Ίβ”‚ VPN Gateway  β”œβ”€β”€β”€β”€β”€β”€β–Ίβ”‚  Linux Box   β”‚ β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜      β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  ssh  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
         VPN(ssh)β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

For reasons that are not important here, we are overhauling how we do various things with respect to security. One part of this is we are turning off the ability to ssh into Linux machines in favor of AWS SSM. SSM gives you an encrypted shell/terminal connection to a host, just like ssh, but it doesn't use ssh at all. One motivation is that AWS SSM allows convenient logging of who connected to a particular machine, when they did, and what shell commands they ran. Another is that access to resources can be defined at the AWS permissions level, away from the individual Linux machines. With SSM we don't need a gateway to access things inside the VPN. It works like this: When the Linux box boots, an agent on the machine registers itself with SSM, which lives outside the VPN (it's run by AWS, not us). Next, when I wish to connect to the box, my laptop authenticates with SSM, which checks if I'm allowed to connect. If I am, SSM connects me to the machine inside the VPN by forwarding data between my laptop and the Linux box. At the same time, logs are kept of the connection and commands I run. See the diagram below.

                    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Ίβ”‚   AWS SSM   β”œβ”€β–Ίβ”‚  AWS Logs   β”‚
      β”‚             β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β–²β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
      β”‚                       β”‚                     
β”Œβ”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”                 β”‚                     
β”‚  Laptop   β”‚    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”             
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β”‚   VPC      β”‚       β”‚             
                 β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”  β”‚             
                 β”‚  β”‚  Linux Box   β”‚  β”‚             
                 β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚             
                 β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜             

The official way to connect is via the AWS CLI tool, which is written in Python. Somewhat oddly, the command to connect, aws ssm start-session --target instance-id --profile somename --region us-east-1, actually hands off to the Go binary session-manager-plugin after authentication is completed. This all works, but it wasn't satisfactory. I found it clunky and inconvenient β€” just compare the long aws ssm command above to the much shorter command ssh user@host-ip!

Much of that clunky command can be scripted away, but the official client has some broken functionality. For example, I don't use the nano text editor often, but it's useful for quick edits (I also use vi, if you're wondering). It uses "Ctrl-key" actions, such as searching ("Ctrl-w"), saving ("Ctrl-o"), and quitting ("Ctrl-x"). There may be something wrong on my end I never diagnosed, but I couldn't get any of those "Ctrl-key" commands to work. Additionally, ssh has its companion program scp that transfers files between computers. You can imagine that this is a useful feature, and it's something that SSM doesn't include.

Because of this I decided to see what an LLM (Claude) could do. I asked it to write a program that worked with AWS SSM but acted more like ssh. I named it sshaws. I told it to write it in Rust because Rust is fast, secure, and I figured that all the required crates would already exist. To give away the ending, the LLM did a fine job! The program doesn't have any of the odd quirks (no "Ctrl-key" problems) that aws ssm start-session does. But more than that, I tailored it to work well with my workflow, and it's now more convenient than ssh ever was, amazingly. Here are a few examples of neat features it has:

  • I had it add a Terminal User Interface (TUI) that auto discovers all the Linux boxes I have access to (see the screenshot below1). It shows if the instance is running, or if I can access the instance (perhaps the SSM agent isn't set up on the Linux machine). Other metadata can also shown, such as instance type, IP address, or environment. I can filter the instances list with a simple text search. The instance listing is especially useful for me because much of my workflow uses temporary Linux machines that exist for minutes to hours, so being able to quickly narrow down to one is great.

machine picker

  • There is a "recent" hosts pane that is useful for reconnecting to a host I've worked with recently (bottom left). Instances I have connected to that have been deleted are shown with strike through text, while those simply powered off use greyed out text.

  • The application has a config file that allows me to define quick shortcuts for machines I access frequently. These shortcuts are available in a TUI pane (top left), and also from the command line, e.g. sshaws webhost.

  • Unlike VPN/ssh connections, SSM connections can time out after as little as six hours due to AWS authentication rules. Having a session die while using it is very annoying, so I added a feature where sshaws will auto-connect to a running tmux session, or start one if needed. This way, if you're cut off, what you were doing on the host is uninterrupted, and you can pick up where you left off by reconnecting.

  • To replace scp I had the LLM add flags to transfer files: sshaws put file.txt webhost:/home/user/ or sshaws get webhost:/home/user/file.txt .. But even better, I had it add a second TUI (see below) that allows me to browse my local machine and remote, and mark files and directories for transfer either direction. It auto compresses and decompresses files and directories transparently to speed up transfers.

machine picker

  • I added a command each which will run a command on more than one host in parallel and return the result, for example sshaws each 'boxname*' 'uptime' will print out the result of running the uptime command on all hosts that match boxname*, e.g. boxname01, boxname02, and boxname-prod would all match.

Why was the LLM so successful at this? The answer is simple: LLMs are advanced prediction engines, like Google autocomplete, but fancier. If you tell it where to start and where to go, you're giving it a path to follow, and that's when they work best. In this case I asked it to put to things together (SSM & ssh) that it knows about because it's all open source, and what functionality I wanted. It didn't have to invent anything new, it just had to mix two things together by following my instructions.

Am I okay with using LLM like this? Yes, yes I am. My job is not writing tooling for accessing AWS SSM. As I said above, nothing new is being created here; existing things were just smooshed together. My job as a human is to create new things with my biological creativity, and offloading this task to an LLM was a win.

Finally, I don't know if I will try to make sshaws open source. There's nothing proprietary about it, so I could. I'm not super worried about major issues. I've passed it through Claude Fable2, which has been reported as being excellent at finding code bugs, and it fixed a few minor ones. While the tool might be useful for people outside my company, I would feel more comfortable about releasing it if I and a few other humans went through it and audited it for hallucinations and confusing comments, Fable's findings notwithstanding.

  1. All the screenshots use fake data β†©οΈŽ
  2. I mainly used Claude Opus to write the code because it's cheaper than Fable β†©οΈŽ

Alice in Chains - Unplugged

Unplugged by Alice in Chains was recorded live as part of MTV's Unplugged Series. This is one of the more successful Unplugged albums, perhaps in large part due to the fact that the lead singer, Layne Staley, was on a steep decline toward dying from an addiction to drugs and hadn't performed with the band regularly for years.

When I reviewed the eponymous Alice in Chains last year, my summary was that it wasn't as good as their earlier albums. Happily, the songs chosen for the Unplugged set taken from the Alice in Chains album are the strongest ones off an otherwise weak album.

Unplugged is an excellent album and well worth your time. I don't review live albums frequently (it's not really up to me, of course), and one neat thing is that the performance of this album can be watched anytime thanks to the power of the internet: