On the Fence: My Affair with HTMX and the Enduring Allure of React
After building with React for years, my recent dive into HTMX and AlpineJS has been a masterclass in the trade-offs between radical simplicity and creative freedom.
Programming tutorials, tips, and insights
After building with React for years, my recent dive into HTMX and AlpineJS has been a masterclass in the trade-offs between radical simplicity and creative freedom.
After two years using DynamoDB, I’ve concluded that the best database for a million users is often the wrong choice for your first ten.
Capitalism is celebrated for driving progress and prosperity, but what if its "feel-bad factor" – the tendency to profit from our insecurities – is an uncomfortable truth that's incredibly hard to fix?
My latest attempt to make Linux work on a modern Nvidia laptop ended, predictably, with a return to Windows 11.
Coming from years of React development, I find Web Components incredibly powerful and standards-based, but writing them can feel surprisingly tedious.
From trusted sports nutrition to shady shortcuts: How MyProtein betrayed its customers with false claims and plummeting quality.
AI still can't replace programmers—it only handles trivial code well while complex systems require human expertise.
Learn how programmers are evolving from coders to AI guides—see a Python example proving why human expertise still matters.
Learn how to organize Django management commands into intuitive subcommand namespaces, making your CLI cleaner and more developer-friendly!
Set up military-grade, cost-effective backups with Borgmatic—combining local USB and Hetzner cloud storage—in just 15 minutes, ensuring your data is safe even if your laptop takes a coffee bath.
Learn how to structure your React projects with a focus on scalability, maintainability, and team collaboration.
Free yourself from evil frameworks by leveraging AI to code
A programmer tells you how AI will replace him
Enhance user experience by gracefully handling 404 errors with htmx in Django
Why high divorce rates are a sign of a healthy economy
Learn why you should implement custom modals instead of relying on dialog
Learn how to build a reusable component with simple tools
Learn how to create and edit models using Django forms inside a modal using HTMX
Learn how to show a modal with minimal Javascript in Django + HTMX
Understand the importance of running your apps without root privileges inside your Docker container
Learn how to automate deployment of a containerized Django app without a registry
I experimented with Podman and realized that Docker is still better
Master Python decorators by dissecting ones provided by Django
Use this script to install modern CLI tools for Linux
Learn about the benefits of publishing with Astro instead of Ghost
Learn how to display Django messages as user friendly toasts with Htmx
Learn how to use Python's built-in argparse library to build an intuitive CLI app
Learn how to use the built-in Windows ssh-agent from inside your WSL instance
Learn to leverage the REST archicture in a Django app.
DKIM key pairs are simply RSA key pairs and you can easily generate them in Python.
Learn how to integrate django-allauth with React for a powerful and easy authentication system.
Learn how to use Django Allauth without a username field in your User model.
Learn how to allow users to authenticate with your app without a username.
CSRF token cookies are typically sent without httpOnly set to true. But is that a secure practice?
Learn how to use NodeMailer, Handlebars, and juice to send emails effortlessly in NodeJS.
Learn how to set custom attributes to your User model when signing up users with Django Allauth.
Learn how to use Hubspot to track user activity when using client side routing in React.
Learn how to upload files directly to S3 from a front-end client to avoid API Gateway time-out issues.
Learn how to debug user errors more easily by tagging each request.
Learn how to use built-in tools in NodeJS to store user passwords securely.
Learn how to verify that webhooks hitting your back-end are from Paddle and not anyone else.
Learn how to easily generate beautiful PDFs in Python
Learn how to decode a Base64 string you encoded from JavaScript in Python
Learn how to send URL safe base64 encoded data to your Python API.
Learn how to see your Sentry logs in the dev tools console for a faster debugging experience.
Learn how to improve readability of your code when using callback functions thanks to partial objects.