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
2021
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
TIL: Scheduling Recurring Tasks With node-cronOriginalA cron expression and a callback is all node-cron needs to run tasks on a schedule. No system cron, no external dependencies.TIL
TIL: Conditional Git Hooks With core.hooksPathOriginalGit's core.hooksPath lets each repo use its own hooks directory. No more symlinks or global hook collisions across projects.TIL
TIL: Rate-Limiting API Requests With BottleneckOriginalBottleneck queues API calls to stay under rate limits without losing data. Set max concurrent and min delay, then forget it.TIL