Luke Oliff · Blog
Writing.
Original posts, published first on this site. Imported posts live in the archive.
SearchAI (30)Announcement (1)API (23)API Design (14)Career (4)Community (1)Developer Experience (43)Engineering (117)Funding (3)Git (6)GitHub (1)Industry (23)Latency (2)MCP (1)News (11)Open letter (2)Open Source (11)Open Weights (1)OpenAI (1)Opinion (22)Politics (1)Release (1)Security (7)Speech-to-Speech (2)Speech-to-Text (9)Streaming (4)TIL (101)TTS (30)Voice Agents (7)Voice AI (72)
213 posts
2023
TIL: Implementing Exponential Backoff in TypeScriptOriginalA simple retry loop with exponentially increasing delays handles transient API failures. Add jitter to avoid thundering herd on recovery.TIL
TIL: Finding Duplicate Files With fdupesOriginalfdupes scans a directory tree for duplicate files by comparing checksums. Reclaim disk space from accidental copies and repeated downloads.TIL
TIL: Processing STT Word Timestamps With awkOriginalawk parses word-level timestamps from STT output in one line. Extract, filter, and reformat without importing a CSV library.TIL
2022
TIL: Using set -e and set -x in Bash ScriptsOriginalset -e exits on any error. set -x prints every command before running it. Together they make shell scripts fail fast and show their work.TIL
TIL: Trimming Silence From Audio Files With SoXOriginalsox detects and removes silence from audio files automatically. Clean up recordings before processing without a GUI editor.TIL
TIL: Creating Python Virtual Environments With venvOriginalpython -m venv creates an isolated environment with its own packages. No more conflicts between projects needing different library versions.TIL
TIL: Auto-Restarting Node.js Processes With nodemonOriginalnodemon watches your source files and restarts the process on any change. No manual Ctrl-C up-arrow-enter cycle during development.TIL
TIL: Parsing Command-Line Arguments With Python's argparseOriginalargparse generates --help text, validates types, and parses positional and optional arguments. Built into Python, no third-party deps.TIL
TIL: Using tmux for Persistent Terminal SessionsOriginaltmux keeps your terminal session alive when you disconnect. Reattach from anywhere — long-running processes survive SSH drops.TIL
TIL: Checking File Integrity With shasumOriginalshasum computes a SHA hash of any file. Compare hashes before and after transfer to catch corruption — no extra tools needed.TIL