WordPress to Hugo migration visualization

From WordPress to Hugo: Lessons from a Static Site Migration

I’ve been running My Battles With Technology as a WordPress site since December 2020, after starting on Kubernetes with a custom nginx+PHP+git-sync deployment. While WordPress served me well for content management, I kept hitting the same pain points: plugin updates breaking things, security concerns with PHP, and the overhead of managing a database for what’s fundamentally a read-heavy content site. After reading about static site generators and seeing Hugo mentioned repeatedly in infrastructure circles, I decided to migrate. Here’s what that journey actually looked like. ...

November 8, 2025 · 11 min · Scott

Production Passkey Implementation: WebAuthn/FIDO2 Security Analysis and Complete Code

Research Disclaimer This tutorial is based on: W3C WebAuthn Level 3 Specification (October 2024) FIDO2/CTAP2 specification (FIDO Alliance, 2023) @simplewebauthn/server v9.0+ (Node.js library) py_webauthn v2.0+ (Python library) Web Crypto API (W3C standard) NIST SP 800-63B Digital Identity Guidelines All code examples follow documented WebAuthn best practices and are production-ready. Security analysis is based on FIDO Alliance and W3C standards. Examples tested on Chrome 119+, Safari 17+, Firefox 120+, Edge 119+. ...

June 24, 2025 · 18 min · Scott

Unlocking Real-Time Capabilities with WebSockets: A Comprehensive Guide

Unlocking Real-Time Capabilities with WebSockets: A Production Guide Research Disclaimer: This guide is based on Socket.IO v4.6+, ws v8.16+, Express.js v4.18+, and Redis v4.6+ official documentation. All code examples follow production-tested patterns for WebSocket communication, including authentication, scalability, and error handling. WebSocket connections require proper security measures and connection management to prevent resource exhaustion. WebSockets enable full-duplex communication over a single TCP connection, eliminating the overhead of HTTP polling. This guide provides production-ready implementations for real-time chat, live updates, collaborative editing, and scalable WebSocket architectures with Socket.IO, Redis, and JWT authentication. ...

March 14, 2025 · 12 min · Scott