Luke Oliff · Blog
Writing.
Original posts, published first on this site. Imported posts live in the archive.
SearchAI (34)Announcement (1)API (25)API Design (14)Career (5)Community (1)Developer Experience (48)Engineering (118)Fun (1)Funding (3)Git (6)GitHub (1)Industry (23)Latency (2)MCP (1)News (12)Open letter (2)Open Source (12)Open Weights (2)OpenAI (1)Opinion (22)Politics (1)Release (1)Security (8)Speech-to-Speech (2)Speech-to-Text (9)Streaming (4)TIL (102)TTS (30)Voice Agents (7)Voice AI (73)
220 posts
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
TIL: Configuring pre-commit Hooks for Python and Node ReposOriginalpre-commit runs linters and formatters on every git commit. A .pre-commit-config.yaml enforces the same checks across every contributor.TIL
TIL: Testing CLI Tools With pytest in PythonOriginalpytest with subprocess or click's test runner validates CLI output, exit codes, and error messages without manual terminal checks.TIL
TIL: Semantic Versioning With the semver CLIOriginalThe semver CLI validates, compares, and increments version strings from the terminal. No more manual math on MAJOR.MINOR.PATCH.TIL