---
title: Engineering — Writing — Luke Oliff
description: "Every post on Engineering: 124 write-ups on what worked, what broke and what changed."
canonical: https://lukeocodes.dev/blog/category/engineering
type: website
locale: en_GB
feed: https://lukeocodes.dev/rss.xml
search: https://lukeocodes.dev/search.json?q={query}
schema:
  - "@context": https://schema.org
    "@graph":
      - "@type": Organization
        "@id": https://ably.com/#organization
        name: Ably
        url: https://ably.com
      - "@type": WebSite
        "@id": https://lukeocodes.dev/#website
        url: https://lukeocodes.dev
        name: Luke Oliff
        alternateName: lukeocodes
        inLanguage: en
        publisher:
          "@id": https://lukeocodes.dev/authors/luke#person
        description: Personal blog and writing by Luke Oliff — developer relations, voice AI, developer experience.
        potentialAction:
          - "@type": SearchAction
            target:
              "@type": EntryPoint
              urlTemplate: https://lukeocodes.dev/blog/search?q={search_term_string}
            query-input: required name=search_term_string
      - "@type": Person
        "@id": https://lukeocodes.dev/authors/luke#person
        name: Luke Oliff
        url: https://lukeocodes.dev/authors/luke
        description: Staff engineer and Staff Tech Lead for Developer Experience at Ably. Writing about developer relations, AI, and the voice industry, from the UK.
        mainEntityOfPage: https://lukeocodes.dev/authors/luke
        givenName: Luke
        familyName: Oliff
        image: https://lukeocodes.dev/authors/luke.jpg
        jobTitle: Staff Tech Lead, Developer Experience
        worksFor:
          "@id": https://ably.com/#organization
        sameAs:
          - https://www.linkedin.com/in/lukeocodes
          - https://github.com/lukeocodes
          - https://bsky.app/profile/lukeocodes.dev
          - https://x.com/lukeocodes
          - https://hashnode.com/@lukeocodes
          - https://dev.to/lukeocodes
        knowsAbout:
          - Developer Relations
          - Developer Experience
          - Voice AI
          - Text-to-Speech
          - Answer Engine Optimisation
          - Search Engine Optimisation
          - Open Source
          - Developer Tooling
          - API Design
          - Speech-to-Text
          - Voice Agents
          - Community Building
        knowsLanguage:
          - English
        nationality: British
        alumniOf:
          - "@type": Organization
            name: The Open University
---

[Luke Oliff.](/)

- [Blog](/blog) (current page)
- [CV](/cv)
- [Uses](/uses)
- [User manual](/user-manual)
- [Living with ADHD](/living-and-working-with-adhd)
- [RSS](/rss.xml)

[Luke Oliff · Category](/blog)

# Engineering.

124 posts

- [Moving Off WordPress: 500 Posts and a Nuxt Rebuild](/moving-off-wordpress) (Sep 2026 · Original · Career): In 2020 I led moving off WordPress for a developer blog: 500 posts, a plugin that stored code in tables, two prototypes, and 30 minute builds cut to one.
- [When Shopify Dropped React Native for Native](/dropping-react-native) (Sep 2026 · Original · Opinion): Shopify moved its mobile apps off React Native to Swift and Kotlin. A working engineer's checklist for when dropping React Native actually pays its rent.
- [What Python 3.15 Changes, and What to Test Now](/python-3-15-changes) (Sep 2026 · Original · Engineering): The Python 3.15 changes worth testing on the release candidate now: free-threading progress, lazy imports via PEP 810, and UTF-8 as the default.
- [The Tradeoffs Async/Await Hides From You](/async-await-tradeoffs) (Aug 2026 · Original · JavaScript): The async await tradeoffs are real: colored functions, hidden scheduling, and error propagation that surprises you. A look at what the keyword actually hides.
- [When Python Case Folding Becomes a Security Bug](/python-case-folding) (Aug 2026 · Original · Security): Python case folding with str.lower() and casefold() can quietly turn a string check into an auth bypass. A concrete Unicode footgun, and the fix.
- [uv Is the Python Packaging Tool That Finally Clicked](/uv-python-packaging) (Aug 2026 · Original · Engineering): Astral's uv turned Python packaging into one fast tool. The uv sync, uv run and uv python install workflows I now reach for every day.
- [Go 1.27's Generic Methods Change How I Write Helpers](/go-1-27-generic-methods) (Aug 2026 · Original · Engineering): Go 1.27 shipped generic methods, so a method can declare its own type parameters. Here is how that changed my helper code, plus the one real gotcha.
- [The Attribution Paradox: Measure Before You Scale](/the-attribution-paradox) (Aug 2026 · Original · Developer Experience): The attribution paradox: platform teams that spend all capacity executing and none measuring get wound down as experiments. Instrumentation is a launch requirement.
- [Keeping Git Fast at Scale](/git-at-scale) (Aug 2026 · Original · Git): Keeping git fast at scale isn't about a bigger machine. Partial clone, sparse-checkout, fsmonitor and the commit-graph cut the work git does per command.
- [Full-Duplex Voice AI Needs a New Architecture](/full-duplex-voice-ai-new-architecture) (Aug 2026 · Original · Voice AI): The PACE paper exposes a flaw at the heart of full-duplex voice AI: the model answers from context the user never actually heard.
- [TIL: GitHub Actions $/ Self-Reference Syntax](/til-github-actions-self-reference-syntax) (Aug 2026 · Original · TIL): Reference actions and workflows in the same repo using $/ syntax. Sibling actions match the running commit automatically, no hardcoded versions.
- [Claude Fable 5 Built a Raccoon Heist Game From a Tweet](/claude-fable-5-raccoon-heist-game) (Aug 2026 · Original · AI): Simon Willison built a raccoon heist game with Claude Fable 5 from a 2022 tweet. One prompt, two images, and the model shipped a full 3D browser game.
- [AI Coding, One Year Later: What August 2025 Didn't See Coming](/ai-coding-one-year-later) (Aug 2026 · Original · AI): Throwback Thursday. A year ago the best coding model had 200K context and scored 49% on SWE-bench. Today Claude Fable 5 scores 95% with 1M context.
- [TIL: Generating Audio Waveform Images With ffmpeg](/til-ffmpeg-waveform-visualisation) (Aug 2026 · Original · TIL): ffmpeg generates a waveform PNG from any audio file. Visualise silence gaps, volume levels, and speech patterns without a DAW.
- [TIL: git history fixup replaces the autosquash dance](/git-history-fixup) (Jul 2026 · Original · TIL): Git 2.55's experimental git history fixup folds staged changes into an earlier commit in one command. I built it from source and ran it.
- [MCP Goes Stateless on Monday: What Breaks and Why](/mcp-goes-stateless) (Jul 2026 · Original · AI): MCP goes stateless on Monday: the 2026-07-28 spec drops the initialize handshake and session IDs. Here is what breaks, and the handler I wrote to test it.
- [TIL: Playing Audio From the Terminal With SoX Play](/til-sox-play-terminal-audio) (Jul 2026 · Original · TIL): play (from SoX) plays any audio file through your speakers with one command. No media player needed when you are already in the terminal.
- [Six tools that power production voice agents](/six-tools-production-voice-agents) (Jun 2026 · Original · Developer Experience): Building a production voice agent takes more than an API key. Here are six tools I reached for daily at Deepgram, from streaming STT to async Python.
- [TIL: Encoding Files as Base64 in the Terminal](/til-base64-inline-audio) (Jun 2026 · Original · TIL): base64 encodes any file into text-safe output. Embed small audio clips or images inline in JSON payloads without hosting them somewhere.
- [5 command-line tools for shipping voice agents](/5-command-line-tools-for-shipping-voice-agents) (May 2026 · Original · Developer Experience): Building voice agents means living in a terminal. Here are five CLI tools I use every day for audio debugging, API testing, and latency measurement.
- [Friday fun: my .zshrc has more aliases than I have memory](/my-zshrc-has-more-aliases) (May 2026 · Original · Developer Experience): I opened my .zshrc for the first time in months and found aliases I don't remember writing, for tools I don't remember installing. This is what I found.
- [What multilingual voice agents cost: latency and complexity](/what-multilingual-voice-agents-cost) (May 2026 · Original · Voice AI): Building a voice agent that handles ten languages without falling over is harder than it sounds. Here's what the architecture actually costs.
- [TIL: Debugging Pipelines With the tee Command](/til-debugging-pipelines-tee) (May 2026 · Original · TIL): tee reads from stdin and writes to stdout and files at the same time. Debug complex shell pipelines and save intermediate data without breaking the chain.
- [Testing 10 languages with one macOS command](/testing-10-languages-macos-say) (May 2026 · Original · TIL): The macOS say command generates speech in ten languages. I used it to test a multilingual STT model without installing any audio tooling.
- [Five SDKs, one streaming API: a maintenance retrospective](/five-sdks-one-streaming-api-maintenance-retrospective) (May 2026 · Original · Developer Experience): Maintaining five SDKs for one streaming voice API taught me things about developer experience that no spec review ever could. Here is what I learned.
- [What nobody tells you about audio in speech-to-text](/what-nobody-tells-you-about-audio-speech-to-text) (May 2026 · Original · Developer Experience): Production speech-to-text lives or dies on the audio: sample rate, encoding, channel mixing, chunk size. The docs skip it, so here is what matters.
- [ffmpeg taught me more about voice AI than the docs did](/ffmpeg-voice-ai-debugger) (May 2026 · Original · Developer Experience): The first time I debugged a voice AI integration, ffmpeg saved me. It is still the most useful tool in my kit, and it is not even designed for voice.
- [TIL: What afinfo Reveals About Your Audio Files](/til-afinfo-audio-inspection) (May 2026 · Original · TIL): afinfo prints every audio file property macOS knows about: sample rate, channels, bit depth, duration, and codec. Essential for debugging STT pipeline issues.
- [Friday fun: inspecting audio files from my terminal](/friday-fun-inspecting-audio-files-terminal) (May 2026 · Original · TIL): soxi shows audio file metadata like sample rate, duration, and channels from the command line. Inspect files before sending them to any voice API.
- [How voice AI SDKs handle things REST clients never have to](/what-makes-voice-ai-sdks-different) (May 2026 · Original · Developer Experience): Building SDKs for streaming voice APIs means managing WebSocket state, audio buffers, reconnection, and backpressure. REST client patterns break immediately.
- [TIL: Measuring API Response Times With curl -w](/til-curl-w-response-times) (May 2026 · Original · TIL): curl -w prints DNS, connect, TLS and response times after every request, so you can profile API latency from the terminal without another tool.
- [5 habits that reduce voice AI debugging](/5-habits-voice-ai-debugging) (May 2026 · Original · Engineering): Most voice AI debugging time goes to problems that follow a pattern. Here are five habits I built at Deepgram that catch those patterns before they become incidents.
- [Friday fun: bat is cat with syntax highlighting](/bat-is-cat-with-syntax-highlighting) (May 2026 · Original · TIL): bat shows file contents with syntax highlighting, line numbers, and a pager. It replaces cat with the same muscle memory and a lot more useful output.
- [The invisible work of voice AI SDKs](/invisible-work-voice-ai-sdks) (Apr 2026 · Original · Developer Experience): Four years of maintaining voice AI SDKs across half a dozen languages. The work that never makes the changelog.
- [How streaming speech recognition works](/how-streaming-speech-recognition-works) (Apr 2026 · Original · Engineering): Streaming speech-to-text sends audio chunks over WebSocket. Acoustic models, language models, and decoders explain the latency-accuracy tradeoff.
- [TIL: ffprobe for audio file inspection](/til-ffprobe-audio-inspection) (Apr 2026 · Original · TIL): ffprobe shows sample rate, channels, duration, and codec of any audio file. Check audio format before sending it to a speech-to-text API.
- [5 questions I ask before integrating a streaming API](/5-questions-streaming-api-integration) (Apr 2026 · Original · Developer Experience): Connection drops, backpressure, and wire formats. Five questions I ask every streaming API before building on it, learned from voice AI integrations.
- [Friday fun: generating test tones for voice AI pipelines](/friday-fun-generating-test-tones-voice-ai) (Apr 2026 · Original · TIL): sox synth generates test audio files from scratch at any sample rate and duration. No microphone needed for speech API development.
- [Inside the Streaming Cascade Powering Voice AI](/inside-the-streaming-cascade-powering-voice-ai) (Apr 2026 · Original · Voice AI): Real-time voice agents chain three models over streaming connections. Here's how the cascade architecture works and where every millisecond goes.
- [TIL: pv shows you what is flowing through your pipes](/til-pv-pipe-viewer) (Apr 2026 · Original · TIL): pv (Pipe Viewer) sits between two commands in a pipeline and reports how fast data is moving. It is a progress bar for pipes.
- [Sunday roundup: two posts, a fresh start](/sunday-roundup-april-19-2026) (Apr 2026 · Original · Developer Experience): Two posts from the first weekend of daily writing: terminal STT streaming, WebSocket audio patterns and GPT-5.4-Cyber, in this Sunday roundup for April.
- [Five WebSocket patterns for real-time audio streaming](/five-websocket-patterns-real-time-audio-streaming) (Apr 2026 · Original · Engineering): Streaming audio WebSockets need reconnect logic, backpressure, heartbeats, and graceful shutdown. Five patterns covering the full connection lifecycle.
- [Friday fun: live speech to text from the terminal](/friday-fun-live-speech-to-text-terminal) (Apr 2026 · Original · TIL): Pipe rec into websocat and get live speech to text in your terminal as you talk. Two CLI tools, one WebSocket, no GUI and no upload-and-wait loop.
- [SDKs for Streaming APIs Are Different](/sdks-for-streaming-apis-are-different) (Apr 2026 · Original · Engineering): REST SDK patterns stop working when the connection never closes. SDKs for streaming APIs need reconnect logic, backpressure, and graceful shutdown built in.
- [TIL: Comparing Files Side By Side With diff -y](/til-diff-y-side-by-side) (Apr 2026 · Original · TIL): diff -y prints two files side by side with differences highlighted. Spot what changed in a config file without looking at two separate tabs.
- [TIL: Testing Network Latency With ping Custom Payload Sizes](/til-ping-latency-testing) (Mar 2026 · Original · TIL): ping -s sends packets larger than the default 56 bytes. Test how your connection handles audio-sized payloads before blaming the API.
- [TIL: Running TypeScript Directly With tsx](/til-tsx-typescript-node) (Feb 2026 · Original · TIL): tsx executes TypeScript files with zero config using esbuild under the hood. Faster than ts-node and handles ESM and CJS automatically.
- [TIL: Chaining Shell Commands With && vs ; vs ||](/til-shell-chaining-operators) (Jan 2026 · Original · TIL): Chaining shell commands with && runs the next only on success, ; runs it regardless, and || runs it only on failure. Pick wrong and CI hides a broken build.
- [TIL: Finding Processes on a Port With lsof -i](/til-lsof-listening-ports) (Dec 2025 · Original · TIL): lsof -i :PORT shows which process is holding a port. End the 'what is already running on 3000' guessing game for good.
- [TIL: Reading Gzip Files Without Decompressing With zcat](/til-zcat-gzip-streaming) (Nov 2025 · Original · TIL): zcat streams a gzip file straight to stdout without writing a temp copy. Read compressed logs, CSVs, or JSON directly into your pipeline.
- [TIL: Comparing Directory Trees With diff -r](/til-diff-r-directory-comparison) (Oct 2025 · Original · TIL): diff -r compares two directories recursively, showing every file that differs. Verify that a build output matches between two branches.
- [TIL: Generating Trusted Local HTTPS Certs With mkcert](/til-mkcert-local-https) (Sep 2025 · Original · TIL): mkcert creates locally-trusted TLS certificates in one command. Your browser trusts them instantly — no more self-signed cert warnings.
- [TIL: Running TypeScript Directly With ts-node](/til-ts-node-watch-mode) (Aug 2025 · Original · TIL): ts-node compiles and executes TypeScript in memory, so quick scripts and SDK examples run with no build step and no tsc --watch loop to babysit.
- [TIL: Finding Disk Usage Per Directory With du -sh](/til-du-disk-usage) (Jul 2025 · Original · TIL): du -sh reports disk usage per directory in human-readable form, so you can find what is filling a drive without clicking through a GUI.
- [TIL: Deduplicating Lines With sort -u](/til-sort-u-deduplicate) (Jun 2025 · Original · TIL): sort -u sorts and deduplicates lines in a single pass. Clean up word lists, logs, and API response extracts without writing a throwaway script.
- [TIL: Formatting Terminal Output Into Tables With column](/til-column-terminal-tables) (May 2025 · Original · TIL): column -t aligns whitespace-separated data into clean columns. Pipe any command output through it for instantly readable tables.
- [TIL: Mirroring Sites With wget Recursive Mode](/til-wget-recursive-download) (Apr 2025 · Original · TIL): wget -r downloads an entire site recursively. Useful for offline reference copies of documentation when you are without internet.
- [TIL: Structuring Monorepos With TypeScript Project References](/til-typescript-project-references) (Mar 2025 · Original · TIL): TypeScript project references let you split a codebase into composable packages. Each reference builds independently and incremental builds get faster.
- [TIL: Speeding Up GitHub Operations With gh Aliases](/til-gh-aliases-github-workflows) (Feb 2025 · Original · TIL): gh alias set maps custom shortcuts to any gh command. Common workflows become two-word commands instead of multi-flag incantations.
- [TIL: Building JSON Payloads in Shell Scripts With jq](/til-jq-json-payloads-shell) (Jan 2025 · Original · TIL): jq builds valid JSON payloads in shell scripts straight from variables, so a missing quote or an unescaped newline never breaks a request again.
- [TIL: Checking SSL Certificate Expiry With openssl](/til-openssl-certificate-expiry) (Dec 2024 · Original · TIL): openssl connects to any TLS endpoint and prints the certificate details including expiry date. Automate cert monitoring in a cron job.
- [TIL: Benchmarking Commands With hyperfine](/til-hyperfine-benchmarking) (Nov 2024 · Original · TIL): hyperfine benchmarks a command over many runs and reports min, max, mean and standard deviation, so you can compare tools with real confidence.
- [TIL: Visualising Directory Structures With tree](/til-tree-directory-structure) (Oct 2024 · Original · TIL): tree prints a directory as a nested tree diagram. Perfect for documenting project layouts in READMEs or during onboarding walkthroughs.
- [TIL: Interactive Staging With git add -p](/til-git-add-p-interactive) (Sep 2024 · Original · TIL): git add -p shows each change hunk by hunk and asks whether to stage it. Commit only the relevant parts of a messy working tree.
- [TIL: Auto-Running Commands on File Change With entr](/til-entr-auto-commands) (Aug 2024 · Original · TIL): entr runs a command every time a watched file changes. Pipe a list of files in, get automatic re-runs out. Lighter than nodemon.
- [TIL: Running Containers Without Docker With Podman](/til-podman-docker-alternative) (Jul 2024 · Original · TIL): Podman runs OCI containers with the same CLI as Docker but daemonless and rootless by default. No Docker Desktop needed.
- [TIL: Quick Network Debugging With nc (netcat)](/til-nc-netcat-network-debugging) (Jun 2024 · Original · TIL): nc, better known as netcat, opens raw TCP connections from the terminal: check whether a port is open or send a handcrafted HTTP request.
- [TIL: Converting Markdown to PDF With pandoc](/til-pandoc-markdown-to-pdf) (May 2024 · Original · TIL): pandoc turns any Markdown file into a styled PDF with one command. Great for generating docs that non-technical stakeholders can open.
- [TIL: Using grep -P for Perl-Compatible Regex in the Terminal](/til-grep-perl-regex) (Apr 2024 · Original · TIL): grep -P gives you full Perl regex syntax — lookaheads, non-capturing groups, and character class shortcuts the basic syntax lacks.
- [TIL: Scripting WebSocket Tests With websocat](/til-websocat-websocket-testing) (Mar 2024 · Original · TIL): websocat connects to WebSocket servers from the terminal and pipes data in both directions. Better than wscat for automated testing.
- [TIL: Creating Python Packages With pyproject.toml](/til-pyproject-toml-python-packaging) (Feb 2024 · Original · TIL): pyproject.toml replaces setup.py as the standard Python packaging config. One file declares dependencies, build system, and metadata.
- [TIL: Testing npm Packages Locally With npm link](/til-npm-link-local-testing) (Jan 2024 · Original · TIL): npm link creates a symlink so your local package behaves like an installed one. Test SDK changes in a real project before publishing.
- [TIL: Managing Processes With pgrep and pkill](/til-pgrep-pkill-process-management) (Dec 2023 · Original · TIL): pgrep finds processes by name. pkill kills them. No more ps aux | grep to find and kill a runaway Node process.
- [TIL: Installing Specific Tool Versions With asdf](/til-asdf-version-manager) (Nov 2023 · Original · TIL): asdf manages multiple language runtimes from one tool. A single .tool-versions file pins Node.js, Python, and everything else per project.
- [TIL: Monitoring File Changes With inotifywait on Linux](/til-inotifywait-file-monitoring) (Oct 2023 · Original · TIL): inotifywait blocks until a file or directory changes, then exits. Use it in scripts to trigger actions when new files appear.
- [TIL: Debugging APIs With httpie](/til-httpie-api-debugging) (Sep 2023 · Original · TIL): httpie formats JSON responses, highlights syntax, and shows headers by default. One command is often clearer than curl for exploratory API work.
- [TIL: Recording Terminal Sessions as SVGs With termtosvg](/til-termtosvg-terminal-gifs) (Aug 2023 · Original · TIL): termtosvg records your terminal session and outputs an SVG file. Embeddable in docs, zoomable, and smaller than a GIF.
- [TIL: Parallel Processing in Node.js With worker_threads](/til-worker-threads-nodejs) (Jul 2023 · Original · TIL): worker_threads runs JavaScript in parallel without the overhead of child processes. Distribute CPU-heavy work across available cores.
- [TIL: Generating WAV Files at a Specific Sample Rate With SoX](/til-sox-sample-rate-wav) (Jun 2023 · Original · TIL): sox generates or converts audio to any sample rate, bit depth, and channel count. Create test fixtures that match your API's exact requirements.
- [TIL: Batch File Operations With find -exec](/til-find-exec-batch-operations) (May 2023 · Original · TIL): find -exec runs any command on every matching file. Bulk rename, convert, or delete without writing a loop or a script.
- [TIL: Merging PDF Files With pdfunite](/til-pdfunite-merge-pdfs) (Apr 2023 · Original · TIL): pdfunite combines multiple PDFs into one in a single command. No Adobe subscription, no drag-and-drop, just file paths.
- [TIL: Implementing Exponential Backoff in TypeScript](/til-exponential-backoff-typescript) (Mar 2023 · Original · TIL): A retry loop with exponential backoff and jitter absorbs transient API failures without hammering a server that is already struggling.
- [TIL: Finding Duplicate Files With fdupes](/til-fdupes-duplicate-files) (Feb 2023 · Original · TIL): fdupes scans a directory tree for duplicate files by comparing checksums. Reclaim disk space from accidental copies and repeated downloads.
- [TIL: Processing STT Word Timestamps With awk](/til-awk-stt-timestamps) (Jan 2023 · Original · TIL): awk parses word-level timestamps from STT output in one line. Extract, filter, and reformat without importing a CSV library.
- [TIL: Using set -e and set -x in Bash Scripts](/til-set-e-set-x-bash) (Dec 2022 · Original · TIL): set -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: Trimming Silence From Audio Files With SoX](/til-sox-trim-audio-silence) (Nov 2022 · Original · TIL): sox detects and removes silence from audio files automatically. Clean up recordings before processing without a GUI editor.
- [TIL: Creating Python Virtual Environments With venv](/til-python-virtual-environments-venv) (Oct 2022 · Original · TIL): python -m venv gives each project its own virtual environment, so two projects needing different library versions never fight over global packages.
- [TIL: Auto-Restarting Node.js Processes With nodemon](/til-nodemon-watch-mode) (Sep 2022 · Original · TIL): nodemon watches your source files and restarts the process on any change. No manual Ctrl-C up-arrow-enter cycle during development.
- [TIL: Parsing Command-Line Arguments With Python's argparse](/til-argparse-python-cli) (Aug 2022 · Original · TIL): argparse generates --help text, validates types, and parses positional and optional arguments. Built into Python, no third-party deps.
- [TIL: Using tmux for Persistent Terminal Sessions](/til-tmux-persistent-sessions) (Jul 2022 · Original · TIL): tmux keeps your terminal session alive when you disconnect. Reattach from anywhere — long-running processes survive SSH drops.
- [TIL: Checking File Integrity With shasum](/til-shasum-file-integrity) (Jun 2022 · Original · TIL): shasum computes a SHA hash of any file. Compare hashes before and after transfer to catch corruption — no extra tools needed.
- [TIL: Configuring pre-commit Hooks for Python and Node Repos](/til-pre-commit-hooks-python-node) (May 2022 · Original · TIL): pre-commit runs linters and formatters on every git commit. A .pre-commit-config.yaml enforces the same checks across every contributor.
- [TIL: Testing CLI Tools With pytest in Python](/til-pytest-cli-testing) (Apr 2022 · Original · TIL): pytest with subprocess or click's test runner validates CLI output, exit codes, and error messages without manual terminal checks.
- [TIL: Semantic Versioning With the semver CLI](/til-semver-cli-versioning) (Mar 2022 · Original · TIL): The semver CLI validates, compares, and increments version strings from the terminal. No more manual math on MAJOR.MINOR.PATCH.
- [TIL: Concurrent API Calls With asyncio in Python](/til-asyncio-concurrent-python) (Feb 2022 · Original · TIL): asyncio runs multiple network requests concurrently without threads. gather() collects results as they finish, cutting wall-clock time dramatically.
- [TIL: Building a CLI Tool With commander.js in Node.js](/til-commander-js-cli-node) (Jan 2022 · Original · TIL): commander.js parses flags, subcommands, and help text from a declarative config. A working CLI takes about ten lines of setup.
- [TIL: Streaming JSON Parsing With ijson for Large Responses](/til-streaming-json-ijson) (Dec 2021 · Original · TIL): ijson parses JSON as it streams in, skipping the full parse. Handles multi-gigabyte responses without running out of memory.
- [TIL: Converting Audio Formats With ffmpeg in One Command](/til-ffmpeg-audio-conversion) (Nov 2021 · Original · TIL): ffmpeg 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: Handling WebSocket Streams With the websockets Library in Python](/til-websockets-python-streaming) (Oct 2021 · Original · TIL): Python'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: Running GitHub Actions Locally With act](/til-act-github-actions-local) (Sep 2021 · Original · TIL): act runs your GitHub Actions workflows on your machine using Docker. No push-and-pray, iterate locally first.
- [TIL: Creating Tarballs With tar for Deployment Packages](/til-tar-deployment-packages) (Aug 2021 · Original · TIL): tar bundles a directory into a single file preserving permissions and structure. One command packages your entire deployable artifact.
- [TIL: Using git bisect To Find the Commit That Broke a Build](/til-git-bisect-find-breaking-commit) (Jul 2021 · Original · TIL): git 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: Redirect and Rewrite Rules With Plain _redirects Files](/til-redirect-rules-redirects-file) (Jun 2021 · Original · TIL): A _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: Profiling Node.js Build Performance With node --prof](/til-node-profiling-build-performance) (May 2021 · Original · TIL): node --prof generates a V8 tick profile of your script. Process it with --prof-process and see exactly where every millisecond went.
- [TIL: Using diff and patch for Incremental File Changes](/til-diff-patch-file-changes) (Apr 2021 · Original · TIL): diff produces a patch file describing what changed. patch applies it elsewhere. No git required for sharing small fixes between environments.
- [TIL: Validating JSON Schemas With Ajv in Node.js](/til-json-schema-validation-ajv) (Mar 2021 · Original · TIL): Ajv validates JSON payloads against a schema in milliseconds. Define your shape once and reject bad data before it reaches your logic.
- [TIL: Creating Named Pipes With mkfifo for IPC](/til-named-pipes-mkfifo) (Feb 2021 · Original · TIL): mkfifo creates a named pipe that acts like a file but connects two processes. One writes, the other reads, zero network overhead.
- [TIL: Stripping ANSI Escape Codes From Terminal Output](/til-strip-ansi-terminal-output) (Jan 2021 · Original · TIL): Coloured terminal output looks great until you pipe it to a file. The sed command strips ANSI codes cleanly, leaving plain text.
- [TIL: Testing HTTP Endpoints Locally With httpbin](/til-testing-httpbin-locally) (Dec 2020 · Original · TIL): httpbin echoes your request back as JSON, so testing a client locally shows exactly what it put on the wire. No real endpoint needed to debug.
- [TIL: Using tee To Split Command Output to File and Terminal](/til-tee-split-output) (Nov 2020 · Original · TIL): The tee command writes command output to a file while still printing it on screen. Perfect for logging a build without losing live visibility.
- [TIL: Generating QR Codes in the Terminal With qrencode](/til-qr-codes-terminal-qrencode) (Oct 2020 · Original · TIL): qrencode 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: Scheduling Recurring Tasks With node-cron](/til-node-cron-scheduling) (Sep 2020 · Original · TIL): A cron expression and a callback is all node-cron needs to run tasks on a schedule. No system cron, no external dependencies.
- [TIL: Conditional Git Hooks With core.hooksPath](/til-git-hooks-core-hookspath) (Aug 2020 · Original · TIL): Git's core.hooksPath lets each repo use its own hooks directory. No more symlinks or global hook collisions across projects.
- [TIL: Rate-Limiting API Requests With Bottleneck](/til-rate-limiting-bottleneck) (Jul 2020 · Original · TIL): Bottleneck queues API calls to stay under rate limits without losing data. Set max concurrent and min delay, then forget it.
- [TIL: Creating an HTTP Server With the Node.js http Module](/til-node-http-server) (Jun 2020 · Original · TIL): Node's built-in http module creates a working server in five lines. No Express, no dependencies, just a callback and a port.
- [TIL: Managing Environment Variables With .env Files in Node.js](/til-dotenv-nodejs) (May 2020 · Original · TIL): A .env file keeps API keys out of your NodeJS code, and the dotenv package loads them into process.env with zero configuration.
- [TIL: Testing Webhooks With curl](/til-curl-webhook-testing) (Apr 2020 · Original · TIL): A curl POST to your webhook endpoint with a JSON body simulates any provider. No dashboard, no test suite, just response codes and latency.
- [TIL: Debugging Node.js With the Built-in Inspector](/til-node-inspector-debugging) (Mar 2020 · Original · TIL): node --inspect opens Chrome DevTools for your server process. Breakpoints, heap snapshots, profiling — no console.log needed.
- [TIL: Lazy Loading Vue Router Routes With Dynamic Imports](/til-vue-router-lazy-loading) (Feb 2020 · Original · TIL): A dynamic import in your router config splits your Vue bundle per route. Pages load on demand instead of all at once.
- [TIL: Chaining Promises With Async Await in Node.js](/til-async-await-nodejs) (Jan 2020 · Original · TIL): Async await turns nested .then chains into flat readable code. One async function wrapper is all it takes to clean up any Node.js callback mess.
- [TIL: Recording Terminal Sessions With script and scriptreplay](/til-recording-terminal-sessions-script) (Dec 2019 · Original · TIL): The script command records everything in your terminal to a file. scriptreplay plays it back. Built into macOS and Linux, zero install.
- [TIL: Parsing JSON API Responses With jq in the Terminal](/til-parsing-json-jq-terminal) (Nov 2019 · Original · TIL): Pipe any JSON response into jq and get coloured, filtered, transformed output right in the terminal. No temp file, no throwaway parser.
- [TIL: Forwarding Localhost With ngrok for Webhook Dev](/til-forwarding-localhost-ngrok) (Oct 2019 · Original · TIL): One ngrok command gives any local server a public HTTPS URL. Webhook testing goes from impossible to trivial in under five seconds.
- [TIL: Testing WebSocket Connections With wscat](/til-testing-websockets-wscat) (Sep 2019 · Original · TIL): A single wscat command opens an interactive WebSocket session to any endpoint. No browser, no boilerplate, just connect and send messages.

## Search this site

`GET https://lukeocodes.dev/search.json?q=<words>` returns matching posts as JSON, each with its page URL and its markdown URL. Add `&limit=<1-50>` for more than 10. How it works: [/blog/search](https://lukeocodes.dev/blog/search.md).

```sh
curl "https://lukeocodes.dev/search.json?q=developer+relations"
```

---

© 2026 Luke Oliff. Posts live at the root of this site.

- [GitHub](https://github.com/lukeocodes)
- [LinkedIn](https://www.linkedin.com/in/lukeocodes)
- [X](https://x.com/lukeocodes)
- [Bluesky](https://bsky.app/profile/lukeocodes.dev)
- [Email](mailto:luke@lukeoliff.com)
- [RSS](/rss.xml)

## Cookies

This site sets one analytics cookie, from Google Analytics, and only in a browser that accepts the cookie banner. A client that does not run scripts sets no cookies, so there is nothing to accept or decline here.

[Cookie policy](/cookies)
