Evaluating JPEG, WebP, and AVIF for PDF Thumbnails

After making some improvements to the PDF thumbnails in DSpace 7.5 and DSpace 7.6, I wanted to explore some of the ideas I had highlighted for future work. One of the most promising improvements is switching from the JPEG image format to a more modern format, such as WebP, AVIF, or JPEG-XL.

Stripping Embedded MP4s out of Android 12 Motion Photos

Motion Photos is a feature of the Google Camera application on some Android devices — Pixel only, as far as I know — that records a short video at the same time a picture is taken in order to offer you a better shot of the same moment. The Google Camera application analyzes the frames in the video to… Continue reading Stripping Embedded MP4s out of Android 12 Motion Photos

Understanding and Mitigating a DDoS Attack Against nginx

AbuseIPDB.com report for 185.88.100.228

PostgreSQL locks on an nginx server of mine were through the roof and load had reached 55.0, yet the host only had eight CPUs. Was there some problem, or had a link to our website landed on the front page of the New York Times? A quick look at nginx’s access.log showed a very high… Continue reading Understanding and Mitigating a DDoS Attack Against nginx

Pruning External Btrfs snap-sync Snapshots

snap-sync is a utility that facilitates synchronizing snapshots from a local Btrfs file system to another one (either physically connected to the same machine or on another machine via SSH). Internally it uses snapper to create a local snapshot that functions as a base for incremental Btrfs send/receive to the other volume. Once your first… Continue reading Pruning External Btrfs snap-sync Snapshots