LATEST FEEDS

RECENT ARTICLES

More Programming Articles
01

Base64 padding explained: why = appears and how to fix padding errors

The = at the end of a base64 string is padding. Base64 turns every 3 bytes of input into 4 characters, and when the input length isn't a multiple of 3 the last group comes up short. One leftover byte becomes two characters plus ==. Two leftover bytes become three characters plus …

03

Bash temp file: create and clean up with mktemp and trap

To create a temp file in Bash, call mktemp, capture the name it prints, and register an EXIT trap that deletes it. That takes three lines. Most of the trouble comes from what's around them: mktemp behaves differently on macOS and Linux, a second trap quietly replaces the first, a…

04

Chrome Print to PDF Missing Images or Cut Off? Fixes

When Chrome's Print to PDF leaves out images, cuts text off, or drops half the page, it's usually not a bug. Printing doesn't save a picture of what's on your screen. Chrome lays the page out again for paper, and the website gets a say in how that looks.Most of the problems below…

05

Design of Software-Based CI OT Cyber Twins for Cyber Exercises

Design of Software-Based CI OT Cyber Twins for Cyber ExercisesLast month, I had the opportunity to present my work on “Design of Software-Based Critical Infrastructure (CI) OT Cyber Twins for Cyber Exercises” at the OT-ISAC Summit 2026 to provide an overview of the So…

Explore