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
2023
TIL: Monitoring File Changes With inotifywait on LinuxOriginalinotifywait blocks until a file or directory changes, then exits. Use it in scripts to trigger actions when new files appear.TIL
TIL: Debugging APIs With httpieOriginalhttpie formats JSON responses, highlights syntax, and shows headers by default. One command is often clearer than curl for exploratory API work.TIL
TIL: Recording Terminal Sessions as SVGs With termtosvgOriginaltermtosvg records your terminal session and outputs an SVG file. Embeddable in docs, zoomable, and smaller than a GIF.TIL
TIL: Parallel Processing in Node.js With worker_threadsOriginalworker_threads runs JavaScript in parallel without the overhead of child processes. Distribute CPU-heavy work across available cores.TIL
TIL: Generating WAV Files at a Specific Sample Rate With SoXOriginalsox generates or converts audio to any sample rate, bit depth, and channel count. Create test fixtures that match your API's exact requirements.TIL
TIL: Batch File Operations With find -execOriginalfind -exec runs any command on every matching file. Bulk rename, convert, or delete without writing a loop or a script.TIL
TIL: Merging PDF Files With pdfuniteOriginalpdfunite combines multiple PDFs into one in a single command. No Adobe subscription, no drag-and-drop, just file paths.TIL
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