Few sights and sounds are quite as evocative of old-school rail travel as the rhythmic, rapid-fire clatter of a mechanical split-flap display (often called a Solari board, after Italian manufacturer Solari di Udine). Before digital screens took over station concourses, rows of hinged black-and-white or warm-tinted flaps flipped one after another until destinations, departure times, […]
Tag: coding
Smart Toothbrush Firmware Design
Tracking Brush Head Usage in a Memory-Constrained Device. Using Python to simulate a real embedded firmware design problem. Introduction Modern electric toothbrushes can remind users when it’s time to replace the brush head. While this seems like a simple feature, it raises an interesting question: How does the toothbrush know whether you’ve installed a brand-new […]
Building a Dynamic System Font Catalog in Python
This post relates to Windows and Microsoft 365 fonts. If you’ve ever tried programmatically listing the fonts installed on a Windows machine, you’ve probably run into a wall. Standard libraries like Matplotlib’s font manager only scan system-wide directories (like C:\Windows\Fonts), and miss per-user and modern Microsoft 365 cloud-synced fonts registered under your user profile. To […]
An Online Memory + Quiz App: Gamified
This is a subset of testing required for earning the Washington State Food Handler/Food Worker Card. This app (runs in any browser and device) demonstrates a quick memory game combined with a test of knowledge built by me using opensource platform H5P, then ported to a standalone HTML5 page. It tests your knowledge of proper […]
Vocabulary Practice: A Responsive Webapp with Low-code
In this post, I’m sharing an application I wrote in Cursor (a low-code/AI agentic tool) to convert an Excel workbook into a fully interactive, portable, open-source, and responsive web application. Other software tools used in this project include Python editor for a small Python script, and Excel. More on that later below. A quick video […]
Python in Excel — Introduction (how and why)
Python in Excel is a feature that allows users to write and execute Python code directly within Excel spreadsheets. This integration enables advanced data analysis, automation, and visualization without needing external add-ins or additional purchases. Advanced, complex visualizations that are not possible directly in Excel is now possible with Python code that uses powerful libraries […]
Bull’s-eye Diagrams — Dyamic, Data-Driven
A Bull’s-eye diagram in general terms, is a conceptual model designed to bring focus to the most important items from a collection of items. The diagram helps us prioritize various tasks and therefore often used in strategic decision-making and brainstorming situations. As on a dartboard, the diagram has an inner most smallest circle, and multiple […]
The “coolest code” Bill Gates ever wrote
As part of celebration of Microsoft’s 50th anniversary on April 4th, 2025, Bill Gates has shared the original source code for Altair BASIC. He described Altair BASIC as “the coolest code I’ve ever written”. Altair BASIC was developed in 1975 by Bill Gates and Paul Allen for the Altair 8800 microcomputer. This was Microsoft’s first-ever […]
Stock Data Acquisition And Analyses (Python, Excel)
The stock market is a prominent topic in recent public discussion. Rather than focus on the market itself, this post examines methods for acquiring stock data, reformatting it for use, generating various calculations and visualizations to facilitate analyses, and yielding insights. I will share my approach and point out some useful metrics and observations along […]
Do you know your leap years? Are you sure?
Many people remember to figure out whether a year is a leap year or not by checking if a year is divisible by four. If it is, it’s a leap year, meaning, the month of February of that year has 29 days and the year has 366 days, and if not, the month of February […]