A Segfault lives here now
I adopted a cat from the shelter and named her Segfault. She doesn't crash, but my commits do.
Short post, because someone is lying on my left arm.
Last Saturday I drove to the animal shelter “just to have a look”. Anyone who has ever gone to a shelter “just to have a look” knows how that ends. I walked out with a black-and-white cat of about a year old, a cardboard carrier and a bag of kibble I thought was way too expensive.
Her name is Segfault.
The volunteer at the desk asked what that meant. I explained it’s what happens when a program tries to use memory that doesn’t belong to it. She looked at the cat, who at that moment had her head in my coat pocket, and said: “Ah, that fits.”
The first week in numbers#
- Times she walked across my keyboard while I was in vim: 14.
- Times that produced anything meaningful: 0.
- Times she accidentally typed
:q!and threw away half an hour of work: 1. I haven’t forgiven her yet, and I’ve turned onset undofile. - Favourite sleeping spot: the laptop, exactly where the fan blows out warm air.
- Second favourite sleeping spot: the laptop, while I’m working on it.
And then this, Friday evening, in one of the startup’s repos:
$ git log --oneline -3
4f1c2a9 Fix timezone bug in invoice export
e83b7d0 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;''''''''''''
91a0c5e Add retry to webhook sender
Pushed to master. Not by me. I was making coffee, the terminal was open with a half-typed commit command, and apparently the Enter key is exactly the size of a cat’s paw. Sarah saw it. She asked whether Segfault also does code reviews.
I didn’t remove it with a force push, because rules are rules. It’s in there forever now. Honestly, I think it’s the most sincere commit message of the week.
Tips from other developers with cats are welcome. I’ve already read about a second monitor as a decoy, a cardboard box next to the desk, and “just accept it”. I suspect it’ll be that last one.