Notes

joshua stein via twitter.com/jcs - Apr 20 2021 22:01:23

I needed to monitor how far `gzip -d dump.sql.gz` was, long after I started it (without pv):

$ ruby -e 'loop do n = `fstat -o dump.sql.gz`.split("\n").last.split(" ")[8].split(":").map(&:to_i); printf("%0.2f%%\n", (n[1] / n[0].to_f) * 100.0); sleep 1; end'
50.68%
50.71%

joshua stein via twitter.com/jcs - Apr 15 2021 10:34:26

I guess if you don't update your app in many years, Apple will do an update for you to keep it running.

"This app has been updated by Apple to use the latest Apple signing certificate."

joshua stein via twitter.com/jcs - Mar 25 2021 18:34:12

The spacebar on my X1 Nano was not always registering so I sent it in for repair on the 10th. I got it back today and they also replaced the battery and entire upper lid with display (including my rad OpenBSD sticker) despite these things working fine when I sent it in. Weird.