Chris Evans·Nov 20, 2025Turning an Internal Communication Module into a Custom Python PackageRecently I did something in one of our projects that I’m quietly proud of: I took the device‑communication code that had been scattered…
Chris Evans·Nov 13, 2025Pydantic TypeAdapter: Supercharging Plain Python TypesTL;DR: The core purpose of TypeAdapter is to give any Python type the same superpowers as a BaseModel: validation, serialization, and JSON…
Chris Evans·Nov 6, 2025Uvicorn vs Gunicorn: It’s Not a Fight, It’s About Who Owns the ResponsibilityEvery time we talk about deploying Python web services, the same question shows up:
Chris Evans·Nov 6, 2025Stop Trusting /dev/ttyUSB0: Using udev Rules for Stable Device Naming on LinuxIf you’ve ever worked with USB serial adapters, barcode or QR scanners, card readers, industrial controllers, LTE modems, cameras, or other…
Chris Evans·Oct 22, 2025ASGI vs WSGI: A Complete Guide to Their Differences and FastAPI ApplicationsIn modern Python web development, WSGI and ASGI are two key server interface standards. Understanding their differences helps developers…
Chris Evans·Oct 17, 2025FastAPI/Starlette Lifecycle Guide: Startup Order, Pitfalls, Best Practices, and a Production‑Ready…A focused overview of FastAPI (on Starlette) startup and per‑request lifecycles.
Chris Evans·Oct 12, 2025Python Jobs & Workers — A Complete, Practical GuideCron, Schedulers, Queues, Workflows, CPU-/I/O-Bound
Chris Evans·Oct 8, 2025The Practical Guide to Python Caching: from __pycache__ to LRU/TTL/Single-Flight, Redis, and HTTPTL;DR - Config/constants: wrap get_settings() with @lru_cache(maxsize=1) for a zero-cost speedup. - Expensive lookups: use Single-Flight +…A response icon2A response icon2
Chris Evans·Oct 1, 2025Why Alembic Shouts “Can’t locate revision …”: The Hidden Trap When OrbStack and Docker Desktop Run…Why Alembic Shouts “Can’t locate revision …”: The Hidden Trap When OrbStack and Docker Desktop Run Together
Chris Evans·Sep 29, 2025Build “Plug-In” Powers with Python Mixins: A Practical, Fun, and Thorough GuideMixins let you add small, reusable superpowers to your classes — without turning your codebase into a tangled inheritance jungle.