This article explains how to create a middleware that extracts the messages from Django's messages framework to make them available to HTMX.| Good Code Smell
This is a follow-up to my previous article about modal forms with Django anbd HTMX. We'll see how to show a toast to notify the user.| Good Code Smell
In this article we'll use Django and HTML how to implement a modal dialog containing a form with server side validation.| Good Code Smell
Since the publication of my book “Mastering ArduinoJson,” I received a lot of positive feedback. One thing that surprised me, however, was that many readers loved the second chapter, “The Missing C++ Course.” This chapter is a quick refresher on C++; it explains some of the fundamental notions, like stack and heap, but also gives tips for your everyday programming.| Good Code Smell
ArduinoJson makes intensive use of templates and whenever there is an error, the compiler produces a long output that is very hard to digest.| Good Code Smell
In a previous article, I presented a simple technique to generate breadcrumbs on a Jekyll website; and, since it didn’t require any plugin, it can be used on GitHub Pages too. This technique used the URL of the page to generate the breadcrumbs; today, I’m presenting an even simpler solution base on the page’s categories.| Good Code Smell
I’ll be speaking at the Maker Mind Meld Summit, an online conference for makers and electronic hobbyists.| Good Code Smell
As in my previous article, we’ll see how to integrate the Django messages framework with HTMX. This time, however, we won’t use the HX-Trigger header but out-of-band swaps, allowing us to shrink the JavaScript code.| Good Code Smell
We’ll see how to copy files and execute commands on a remote host from a GitHub Action workflow. Use this technique to deploy your app through SSH.| Good Code Smell
Have you ever been faced with an Arduino board that crashes for no apparent reason? Have you ever decode an ESP8266 (ESP32, etc.) exception stack trace and ended with more questions than answers? If so, let me talk to you about a bulletproof technique: the good-old “tracing” technique.| Good Code Smell