About the Author
Lou Mauget headshot

Lou Mauget

Lou Mauget has been writing code since 1961. He coded in ILLIAC I machine language before most of computing's defining moments had occurred. Born in 1942, he has worked across several layers of the stack. Since 2020, he continues to focus on React and TypeScript front-end development, bringing six decades of perspective to modern development.

Kubernetes on Raspberry Pi

Kubernetes on Raspberry Pi

Lou Mauget Articles, Cloud, Development Technologies & Tools, Kubernetes, Tutorial 3 Comments

Kubernetes, or k8s, is an important container orchestration platform. In this blog, I’ll describe creating a workable Kubernetes cluster implemented on a stack of four Raspberry Pi boards. In the end, I’ll have provided an outline of how I created it and I’ll show how to replicate a stateless app across Kubernetes pods running on the nodes โ€” the Pi boards.

Apple Silicon for Dev

Apple Silicon for Development

Lou Mauget Articles, Development Technologies & Tools, Programming, Python Leave a Comment

In June, Apple announced a two-year transition from Intel to Apple Silicon for the iMac and MacBook line. I knew Apple had lost their mind. But, before Christmas, I owned my very own chunk of Apple Silicon living in an attractive milled-aluminum case.

In this article, I’ll discuss the Apple M1 silicon-on-a-chip (SoC) used as a software development computer. I’ll cover installation, and I’ll also talk through running apps that support development on my M1.

Create a modal with styled components

Cook Your Own Modal with Styled Components

Lou Mauget Articles, Development Technologies & Tools, JavaScript, React, Tutorial Leave a Comment

I created several JavaScript modal dialogs – I always extend a framework modal instead of scratch-coding my own. I thought I knew the things a framework needs to implement in order to present a modal but did I? There was only one way to find out: cook my own JS browser modal, and that is exactly what weโ€™ll do in this post.

In this blog, I’ll cover a short approach to hand-coding your own modal with Styled Components. You can find the entire project on GitHub.

Q# Quantum Random Number Generator

Q# Quantum Random Number Generator

Lou Mauget .NET, Articles, Development Technologies & Tools Leave a Comment

In this blog we discuss basic concepts surrounding quantum qubits (quantum entanglement, superposition, and decoherence), relate superposition to the โ€œBloch Sphere,โ€ obtain a random value by measuring a qubit in superposition, and present a Q# quantum number generator (QRNG) that generates random numbers to the console…

Expression Parser with Antlr4

An Antlr4-Based Expression Parser

Lou Mauget Articles, Development Technologies & Tools, Java, Programming, Python 1 Comment

In this blog, weโ€™ll present a simple arithmetic expression parser implemented through an Antlr4 parser generator. It will be able to take in an input string (such as 2+4+-4+-2*10%9*7) to produce the result (-12.0).

You may be thinking, “Great, but whatโ€™s the point?” Well, to answer your question, as simple as this example may seem, the principles involved actually extend to use cases such as DSLs, transpilation, and anything else expressible by grammar rules.

This post has two parts. In part 1, weโ€™ll discuss the background components of a parser. In part 2, weโ€™ll cover building the demo and running it. If you already understand grammar parsing, you could skip part one.