Traditional sporadic software developer blogging. I'm currently looking for a new position, hire me.
Going directly from SQL to structured text like HTML is really useful if you want to use frameworks like HTMX alongside backends like PostgREST, but databases don't have great text-formatting capabilities. Luckily, now that PL/Rust is available, Rust template frameworks like minijinja are available in PostgreSQL. This post shows how to use minijinja to return HTML directly from PostgreSQL.
What makes a satisfying test for in-place traversal of a binary tree? Using a Python example based on a common interview live coding question, see how Hypothesis can greatly increase confidence in code dealing with fundamental data structures.
What are the strategically interesting things that WebAssembly makes feasible? Oh, and what does it have to do with Python?
Using main_export and the right CLI commands for static Perseus.
The basics of defining pages, making templates, and filling them with data, all using Rust that gets turned into WebAssembly.
Writing a property-based test with no framework to understand how they work, and how they're useful for general application programming.
Writing really really good tests for a real world data transformation problem.
I attempt to narrate my thought process solving a data transformation problem.