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: Concurrent API Calls With asyncio in PythonOriginalasyncio runs multiple network requests concurrently without threads. gather() collects results as they finish, cutting wall-clock time dramatically.TIL
TIL: Building a CLI Tool With commander.js in Node.jsOriginalcommander.js parses flags, subcommands, and help text from a declarative config. A working CLI takes about ten lines of setup.TIL
2021
TIL: Streaming JSON Parsing With ijson for Large ResponsesOriginalijson parses JSON as it streams in, skipping the full parse. Handles multi-gigabyte responses without running out of memory.TIL
TIL: Converting Audio Formats With ffmpeg in One CommandOriginalffmpeg converts between any audio format with a single command. WAV to MP3, FLAC to OGG, sample rate changes, channel mapping — all in one line.TIL
TIL: Handling WebSocket Streams With the websockets Library in PythonOriginalPython's websockets library opens a persistent connection in a few lines of async code. No polling, no HTTP overhead, just messages in both directions.TIL
TIL: Running GitHub Actions Locally With actOriginalact runs your GitHub Actions workflows on your machine using Docker. No push-and-pray, iterate locally first.TIL
TIL: Creating Tarballs With tar for Deployment PackagesOriginaltar bundles a directory into a single file preserving permissions and structure. One command packages your entire deployable artifact.TIL
TIL: Using git bisect To Find the Commit That Broke a BuildOriginalgit bisect does a binary search through your history to find the exact commit that introduced a bug. Mark good and bad, it does the rest.TIL
TIL: Redirect and Rewrite Rules With Plain _redirects FilesOriginalA _redirects file maps old paths to new ones with one rule per line. No config parser, no build step, just deploy and it works.TIL
TIL: Profiling Node.js Build Performance With node --profOriginalnode --prof generates a V8 tick profile of your script. Process it with --prof-process and see exactly where every millisecond went.TIL