Toasts with Django+HTMX
This is a follow-up to my previous article, which showed how to implement a modal form with Django and HTMX. In this article, we’ll see how to add a user notification in the form of a toast. …
Modal forms with Django+HTMX
This article describes the pattern I use to implement modal forms (i.e., forms in a modal dialog box) with Django and HTMX. …
GitHub Actions: How to run SSH commands (without third-party actions)
Recently, I’ve been using GitHub Actions for my Continuous Integration and Continuous Delivery. Often, I use a simple deployment process that consists in executing remote commands on the target server. …
Watch me on Maker Mind Meld Summit
In December 2019, TechExploration is hosting the first “Maker Mind Meld,” an online conference for makers and electronic hobbyists. Peter’s brought together 22 amazing makers from around the world to show you how they create magic with software, electronics, plastic, and wood. …
New blog: C++ for Arduino
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. …
[Arduino] How to debug any program with tracing
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. …
[Arduino] Making sense of compiler errors
ArduinoJson makes intensive use of templates and whenever there is an error, the compiler produces a long output that is very hard to digest. …
Dead simple breadcrumbs for GitHub Pages
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. …