Understanding System Text Json Deserialization and Type Assertion Logic

Summary During a routine integration test for a dynamic configuration service, we encountered a critical failure in our type assertion logic. While the JSON serialization process worked perfectly, the deserialization of a Dictionary<string, object> resulted in all values being mapped to JsonElement instead of their expected primitive types (integers, strings, booleans). This behavior, while technically … Read more

Resolving Deterministic Routing in ERP: Eliminating ROWNUM Errors

Summary A critical data integrity issue was identified in the routing logic used for material movement. The system was failing to select the correct GLM Stage because the routing table (glm_mdm_routing) lacked the necessary dimensions to distinguish between different movement directions. Consequently, the application was defaulting to an arbitrary row via ROWNUM = 1, leading … Read more

WCET of Cortex‑M7 loops with cache and branch prediction

Summary The core objective is to perform Worst-Case Execution Time (WCET) estimation for a bare-metal loop running on an ARM Cortex-M7 microcontroller. Despite the absence of interrupts and multitasking, the presence of a non-deterministic hardware pipeline—specifically the Instruction Cache (I-Cache) and the Dynamic Branch Predictor—makes traditional cycle-counting inaccurate. The challenge lies in the fact that … Read more

Why Using CPLEX as an LP Solver Slows MIP Solves by 10×

Technical Postmortem: Missing CPLEX Cuts in Custom Branch-and-Bound Implementation Summary A production optimization system experienced significantly slower solve times after migrating from CPLEX’s native MIP solver to a custom branch-and-bound framework that used CPLEX solely as an LP solver. The custom implementation solved the same mixed-integer problems but failed to leverage CPLEX’s built-in cut generation … Read more

Fixing SwiftUI List Edit Mode Jitter with Transaction‑Based Animation Control

Summary During a routine UI update, an attempt to conditionally disable row-level deletion controls during a specific “Edit Mode” state triggered erratic layout animations (specifically a “bouncing” effect) in a SwiftUI List. The issue arises when a property that alters the structural layout of a row is toggled simultaneously with a state change that triggers … Read more

Dynamic CSS Grids: Bridging SASS & Runtime Data Attributes

Summary The engineering team attempted to implement a highly dynamic CSS Grid system using SASS mixins paired with HTML data attributes. The goal was to allow frontend developers to control grid positioning and spanning directly from the markup. However, the implementation failed because there was no CSS bridge connecting the runtime values stored in data-* … Read more

Flutter Web Firestore Cache Issues on Chromebooks

Summary Some Chromebook pupils experience Firestore query times exceeding 30 seconds due to local indexedDB cache corruption or bloat in the Flutter web build of the Firestore SDK. The SDK stores query results and document snapshots in the browser’s indexedDB layer, and on resource-constrained Chromebooks this cache can degrade over time. The query shown retrieves … Read more

Why Accessibility Checker Tools Fail and How Engineers Actually Fix Them

Postmortem: Accessibility Checker Tool Limitations Summary The Accessibility Checker tool, designed to scan websites for WCAG compliance issues, exhibits significant performance problems that undermine its core mission. With a reported score of 0, the tool fails to provide meaningful accessibility insights, leaving developers without critical guidance for building inclusive web applications. This postmortem examines the … Read more

Eliminating 360% CPU Overhead in GStreamer Multi‑Process Streaming

High CPU Usage in Multi-Process GStreamer Video Sharing Architecture Summary A GStreamer-based video streaming system on i.MX8 experienced 360% CPU utilization when sharing raw camera frames across producer and multiple consumer processes. The architecture used shmsink/shmsrc for inter-process communication, resulting in severe performance degradation due to memory copy overhead and lack of zero-copy buffer sharing. … Read more