Persisting Data with sqlx and SQLite
March 14, 2026Part 2 of building a full-stack URL shortener in Rust. We swap our in-memory HashMap for SQLite with sqlx, write migrations, and persist URLs across restarts.
Writing on Rust, Go, Python, and JavaScript, plus the occasional detour. Browse by tag or series.
Part 2 of building a full-stack URL shortener in Rust. We swap our in-memory HashMap for SQLite with sqlx, write migrations, and persist URLs across restarts.
In this beginner-friendly guide, we create our first Django project, explore its file structure, and build our first view to display a page in the browser.
A practical guide to writing Python docstrings effectively, covering the __doc__ attribute, help(), Google, NumPy, and Sphinx styles, choosing the right structure, avoiding common mistakes, and generating docs with Sphinx, pydoc, and MkDocs.
AWS SES is one of the most cost-effective ways to send transactional email, but getting it configured properly takes a few non-obvious steps. Here's the complete walkthrough.
A step-by-step walkthrough of how I added a copy-to-clipboard button with a language label to every code block on my Astro blog using a single component and no external libraries.
Part 1 of building a full-stack URL shortener in Rust. We set up an Axum backend with in-memory storage, CRUD routes, and a nanoid-based slug generator.
This beginner-friendly guide covers the basics of Python, setting up virtual environments, installing pip, and why Django is the best choice for building powerful web applications.
A look back at the albums that defined my year, from experimental hip-hop to art rock to electronic pop.
Examining the MIT Iceberg Index's claim that AI could replace 11.7% of U.S. wages, and why the real-world execution of mass replacement is unlikely to succeed.
Slash your LaTeX Docker build times by 85% and reduce image sizes by 95%! Learn how switching from TeX Live to Tectonic transformed my containerized LaTeX workflow with faster builds and leaner images.