We paid off the ticket from the fourth, met with a guy about solar panels ( we don’t use enough energy to justify the cost even with multiple incentives from the state). We’re also looking for electricians to add some outside outlets and a ceiling fan in the living room.
We sorted out better schedules for me to work and be with the family predictably during the day. It’s easy to both work forever when it’s in the house or to bunk off when something cute is happening. Trying to be balanced, so we solved it with a gCal that Sam can see with times that are marked out of office on my work calendar. That way it’s easier to know when “I’m definitely working, don’t bother me” and when “let’s take a break and play”. Making it visible to work lets folks there plan around when they shouldn’t expect me to be available.
Also set up 2 way syncing on the Synology NAS drives in brooklyn and upstate so that everything is backed up everywhere. For the meantime at least, the upstate is the new primary and brooklyn is the secondary. I tried out Ranger as a terminal file manager. Also, I made a dumb little script to make memes easier.
Highs and lows in the ladder of abstractions, highs and lows success wise.
I worked very high in the ladder of abstractions, transforming a large backlog of tasks into a program of new product features and a big revenue opportunity. At the same time I had a pull request submitted and accepted to fix a client issue. I got a great review ( we use OKRs to have quarterly conversations around progress, so it is sort of like a review), and then my laptop died!
It’s a sweet little lenovo yoga 920 and was running Ubuntu and Windows, I was loving using it. But it’s really disappointing for it to die hard after 2 years. To get it replaced involves shipping it out, going through a 3 day quarantine, up to 9 business days to fix, then 5-7 business days to ship back. I’m lucky to have enough spare laptops in the house that we were able to get Sam’s macbook hooked up. My 2013 macbook air would have been fine, but the thunderbolt port apparently doesn’t work (first time I’ve ever tried it!)
I hope when I get the Yoga back it won’t be wiped and I don’t have to go through a whole setup process again.
When I was writing up a note about pingplotter I figured I should show how it works because that’s much better for understanding it.
This gobbled up an incredible amount of time, so I’m writing it down so I never have to figure it out again.
There’s a few terminal screencast recorders out there, but I picked asciinema since it seemed simple, it recorder everything as text, not an image and it seemed a very light format to playback. These things are true, and the pain I felt is mostly unrelated to any failings of asciinema.
Asciinema is great. I can record a session locally, play it back to check locally and then upload it to their hosting to share. All pretty cool!
# record a session, but skip pauses over 1 second
asciinema rec -i 1 pingplotter.cast
asciinema: recording asciicast to pingplotter.cast
asciinema: press <ctrl-d> or type "exit" when you're done
# type a bunch of things to demo
# then ctrl-d to stop recording
asciinema: recording finished
asciinema: asciicast saved to pingplotter.cast
# time to check to see if it was any good
asciinema play pingplotter.cast
# the saved session plays back
# good enough!
asciinema upload pingplotter.cast
# asciinema gives you the URL of the upload
# you can give it a description and make it public
Since this website is still powered by WordPress, I wanted to share it here. The Asciinema url didn’t embed automatically, so I figured I could either embed a script from Asciinema or add a plugin to do the embed code.
I found a neat utility to convert an asciicinema screencast to an animated SVG.
Listen, SVG and animated SVG is incredibly powerful, and if you don’t know, you should learn about it. Animated gifs are heavy, don’t resize, and are full of rendering artifacts. SVG are vector graphics, which mean they are infinitely scalable up or down crisply in a much smaller size than most gifs. Every modern mobile and desktop browser supports them.
The cool utility is svg-term. It lets you take an asciinema file and turn it into an animated svg.
It’s very nicely made, but is unfortunately distributed with npm, a package manager designed to ruin you. The instructions svg-term gives you to install it are incredibly dangerous unless you know to set up your npm install to not install packages with root privileges, WHICH FOR SOME REASON ISN’T THE DEFAULT OR EVEN POSSIBLE. I looked at the npm documentation for something like pip install --user, but it doesn’t exist. Instead, the solution is to redefine global installs to mean user local installs. I’m not kidding.
I don’t want to ever have to figure this out again either, so I added it to my jumpstart script so it will be ready for the next computer I use.
The solution here is to script as much as possible ahead of time. The asciinema commandline takes a -c command argument which makes it execute a command as soon as it startes recording. Since tmux also lets you script up what you want it to do, I ended up with this.
I’m telling asciinema to open up tmux and start recording. I’m telling tmux to start with pingplotter in a window, then open a new pane with glances and make the layout side-by-side. Each of those panes will close when the command they are running is done. Now I can just use ctrl-a <space> a few times to rotate the layout, ctrl-c to kill the panes, tmux exits and asciinema stops recording.
The file size ended up being small enough for svg-term and now you get this!
I zoomed with a crew of mostly ex PWP folks to catch up and drink a beer and remember our sweet trip to Stowe this winter, my last snow trip of the season. Also got lunch with Ian Sudderth, always a pleasure.
Fixed this website!
Back when letsencrypt was launching I was trying to get it to work here and broke my .well-known directory, which is also where you prove you own your website to keybase.io. Keybase told me it didn’t think I owned my website anymore. Trying to fix that ended up making the front page of this work, but no hyperlinks anywhere worked, because I suck at .htaccess, the magic format for manipulating apache webserver redirection rules. Eventually I just removed many “fixes” and hey it works and I won’t touch it again for a few years.
I had a mastodon account back when it bloomed, but I lost it. I’m trying to get back into putting my energy into things I own or where I’m not the product and the Fediverse is the party to be at. It’s decentralized, hard to shut down and open source. I’m trying to blog more (maybe you noticed), toot more, tweet less. I’m randomly chose a mastodon server to join and now you can connect with me at https://hostux.social/@mattk
We probably need more room now. So we’re looking to sell our place in Brooklyn. I love that place but it’s hard to imagine moving back with 4 people to that two bedroom. I wanted to stay there a bit longer, but you gotta roll with the punches.
No zombie runs in a while, want to get one of those tomorrow in the rain.
Buying a car
Sam is doing most of the work on this, but we’ve been renting a car for months now and there’s no clear end in sight. Our goal is to own a car of some sort before the next time we’d renew the rental car. If we move somewhere we don’t need a car, we can sell it. But it’s time to stop renting – this is gonna last a while.