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
2021
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
TIL: Using diff and patch for Incremental File ChangesOriginaldiff produces a patch file describing what changed. patch applies it elsewhere. No git required for sharing small fixes between environments.TIL
TIL: Validating JSON Schemas With Ajv in Node.jsOriginalAjv validates JSON payloads against a schema in milliseconds. Define your shape once and reject bad data before it reaches your logic.TIL
TIL: Creating Named Pipes With mkfifo for IPCOriginalmkfifo creates a named pipe that acts like a file but connects two processes. One writes, the other reads, zero network overhead.TIL
TIL: Stripping ANSI Escape Codes From Terminal OutputOriginalColoured terminal output looks great until you pipe it to a file. The sed command strips ANSI codes cleanly, leaving plain text.TIL
2020
TIL: Testing HTTP Endpoints Locally With httpbinOriginalhttpbin returns request data as JSON so you can see exactly what your client is sending. No real endpoint needed for debugging.TIL
TIL: Using tee To Split Command Output to File and TerminalOriginalThe tee command writes stdout to a file while still showing it on screen. Perfect for logging builds without losing visibility.TIL
TIL: Generating QR Codes in the Terminal With qrencodeOriginalqrencode turns any text into a QR code in one command. Pipe it to a PNG or straight to the terminal for quick mobile tests.TIL