JHJP Hutchinsinblog.jphutchins.com·Dec 17, 2024 · 11 min readEnum 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...00
JHJP Hutchinsinblog.jphutchins.com·Oct 14, 2024 · 5 min readPython: 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 ...01S
JHJP Hutchinsinblog.jphutchins.com·Oct 10, 2024 · 1 min readComparing 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...00
JHJP Hutchinsinblog.jphutchins.com·Jun 8, 2024 · 18 min readGitHub 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...00
JHJP Hutchinsinblog.jphutchins.com·Mar 16, 2024 · 6 min readBuilding 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...00