problem posts

Git aliases and POSIX sh

An interesting problem I encountered when moving to use Linux more is that git aliases are often run in POSIX sh instead of the terminal in use, such as bash or zsh. A few of my aliases are complex enough to require running an external shell command, ie using !. Some of those have complex comparisons or verify with the user what they are doing. I had long used some bashisms to simplify these, and didn’t have problems on my Mac, which uses bash as the sh implementation, but had problems in Ubuntu, which uses dash.

Continue reading post "Git aliases and POSIX sh"

Impreza: New battery

My car (2013 Impreza) wouldn’t start the other day. It had been near 0°F overnight. The accessories seemed to work just fine, but nothing from the starter, not even a weak turn over and then die. Jumping with my NOCO jumper failed. Based on some possibly inaccurate results from a multi-meter and charger, 10V and only taking 2A, I bought a new battery.

Continue reading post "Impreza: New battery"

Impreza brake calipers, suspension, money

It is perhaps deferred maintenance, but I had to put $2000 into my car (2013 Subaru Impreza). At this point that may just be around the value of the car itself. Brakes, suspension, and oil change. I’ve been wanting to get a new car, but that amount of money is going to make me want to keep this for at least another year to make it worth it. But I was somewhat forced into it by loss of most braking power.

Continue reading post "Impreza brake calipers, suspension, money"

Vim: Netrw SFTP error

I was annoyed by a problem that cropped up in the latest version of MacVim when using SFTP with the included Netrw plugin. It showed an error every time I opened a directory. So I filed a bug and helped get it fixed. I spent a fair amount of time looking for the exact commit in the Netrw code where the problem started. I then filed a GitHub issue about it with that information. It got fixed in like an hour, at least in the repo. Still waiting for it to make it to MacVim.

Continue reading post "Vim: Netrw SFTP error"

I don’t use npm often. When I do, I tend to be reminded of annoyances in using it. One such annoyance is that it doesn’t take into account the node version in use when installing new packages, as I posted about four years ago. It just goes with the latest if no version is specified, regardless of its ability to run in the available environment. So I have to manually step back versions until I find one that works. The alternative package manager yarn at least has the good grace to error out for incompatible versions, so I used that and just decremented the version of each package until it stopped erroring.

Some of us like to let our OS package manager manage our OS-wide software for security, stability, and simplicity, and that isn’t always the latest and greatest.


h5bp links

Earlier in my career, I looked to the HTML5 boilerplate for ideas on how to set up websites. I just grabbed bits I liked and modified them as needed. For a time they had shortened links off of the h5bp.com domain that redirected to descriptions of why certain choices were made. But eventually, the person maintaining that domain let it lapse and someone else bought it.

Continue reading post "h5bp links"

Since MacOS 15.7.1, the touch ID (fingerprint reader) often takes a while to become available on the login screen after the computer has awakened. It takes like 15 seconds to become functional, in which the user circles do a jumpy little dance. I know it’s ready when the message about using the touch id or password to log in shows up. This definitely slows my roll, as I lock the screen every time I leave the computer, which happens frequently.


</toby>