Profile Picture

Alex Saveau

Build better tooling

Support me on GitHub and/or use my Wealthfront referral code to fund any account (equivalent to giving $12.5/yr)


GitHub repositories I've built.

`ask` offers a simple way to ask a yes or no question on the CLI, returning exit code 0 on "yes" and 1 on "no".
Modern, performance focused unix commands
File Tree Fuzzer creates a pseudo-random directory hierarchy filled with some number of files.
ForkFS allows you to sandbox a process's changes to your file system.
Test utilities I use.
:robot: Easy, efficient, and collaborative FIRST robot scouting
Gnome Clipboard History is a Gnome extension that saves what you've copied into an easily accessible, searchable history panel.

GitHub repositories I've helped build.

Blog posts

Articles I've written.

Tests validate behavior, not correctness

Aug 14, 2022

Is it better to have tests that confirm incorrect behavior, or none at all? I’m here to argue the former: tests are valuable even when they assert what a human considers to be an incorrect result. Extending this idea further, a test asserting incorrect behavior should be added in a separate commit before fixing the behavior in another commit.

Gnome Clipboard History

Feb 24, 2022

Gnome Clipboard History (GCH) is a Gnome extension that saves what you’ve copied into an easily accessible, searchable history panel. The primary innovation over existing clipboard managers is the use of a compacting log for persistent storage.

File Tree Fuzzer

Jan 02, 2022

File Tree Fuzzer (FTZZ) is a CLI tool written in Rust that lets you generate pseudo-random directory hierarchies filled with some number of files, each of which can be empty or contain some number of pseudo-random bytes. The pseudo part is important: it means FTZZ will generate the exact same directory hierarchy given the same inputs. This makes FTZZ useful for benchmarking other programs like rm or cp since you can run them again and again on the same exact set of files.

The fastest way to copy a file

Nov 26, 2021

I’m on a mission to find the fastest way to copy and delete files on a modern machine. I thought a quick Google search would reveal the answer, but I only found this Stack Overflow post with people’s opinion on the matter (but no proof), a discussion on what the kernel can do to improve performance, and various articles claiming you should tar directories to copy them faster (there’s no chance of that being faster than a properly written parallel cp implementation).

Automate deleting old Google emails and calendar events

Feb 18, 2021

Google introduced auto deletion for web, YouTube, and location activity back in 2019, but hasn’t come out with official solutions for their other products yet. Notably, gmail and gcal have data that likely isn’t needed after some number of months.

Server-side analytics with Firebase Hosting

Sep 12, 2020

Client-side analytics slow down your website and are inaccurate at best, especially in communities like ours that tend to disable trackers. Until recently, Google Analytics and its equivalents were the best you could do with a static site hosted on Firebase. No more! Firebase Hosting introduced Cloud Logging to address this shortfall.