Enum Type Safety in CThe C standard allows the programmer to define new types, including enumerated types—or "enums"—that improve program readability and type safety. This article explores the specification for enumerated types, the compiler options that improve enum typ...Dec 17, 2024 · 11 min readblog.jphutchins.com
Python: Generic Request -> Response ProtocolIs 100% static type coverage practical when datatypes represent communication with a remote resource? If you are implementing a protocol that defines a Response (or Error) Type for every Request, it may seem like lots of code will be written just to ...1SOct 14, 2024 · 5 min readblog.jphutchins.com
Comparing Firmware Development EnvironmentsAbout a year and a half ago, I decided to take a different approach to setting up a Zephyr environment for a new project at Intercreate. Instead of using my trusty VMWare Workstation Linux VM, I opted for WSL2. I was curious to find out: Would hardwa...Oct 10, 2024 · 1 min readblog.jphutchins.com
GitHub Action for the Python Package IndexIn the first part of this series, we set up a repository for a universally portable Python app. Today, we will register the package with PyPI, the Python Package Index, and use a GitHub Release Action to automate the distribution so that other Pytho...Jun 8, 2024 · 18 min readblog.jphutchins.com
Building a Universally Portable Python AppWelcome to the first article of a series about deploying a universally portable Python application. What is a "Universally Portable" app? A portable, or standalone, application is one that has no install-time or run-time dependencies other than the o...Mar 16, 2024 · 6 min readblog.jphutchins.com