Losing S3 class: Why does POSIXlt behave differently when this happens inside vs. outside of a data.frame?

Summary This incident examines why S3 objects lose their class when assigned into incompatible vectors, and why POSIXlt shows different behavior inside vs. outside a data.frame. The short answer: data.frame assignment uses a different coercion path, and POSIXlt is a deeply unusual S3 class implemented as a list, which triggers R’s internal recycling and coercion … Read more

How do I replace a buggy method in a class when the method calls super.method()?

Summary This incident revolves around a buggy inherited method in a JavaScript class hierarchy where the child class must call super.method(), but the framework’s implementation is faulty. The engineer wants a temporary workaround without modifying framework source code and without losing access to the correct ancestor implementation. Root Cause The core issue stems from JavaScript’s … Read more

Problem on generating gcm.cache/std.gcm on Windows using gcc version 15.2.0

Summary This incident centers on GCC 15.2.0 failing to generate std.gcm on Windows due to internal‑linkage symbols inside MinGW’s C headers being re‑exported by bits/std.cc. The compiler correctly rejects this because C++ modules cannot export entities that lack external linkage. The failure is not a user error but a toolchain integration defect. Root Cause The … Read more

WebGPU 3D renderer directional shading is not displaying evenly

Summary Uneven directional shading in a WebGPU 3D renderer using Gouraud shading was caused by missing or incorrect vertex normals in the OBJ file loader. This resulted in flat shading across mesh faces instead of smooth interpolation. Root Cause Missing Normals Calculation: The OBJ loader provided zero-initialized normals (normals.push(0.0);) instead of calculating them from face … Read more

Docker load fails with wrong diff id calculated on extraction for large CUDA/PyTorch image (Ubuntu 22.04 + CUDA 12.8 + PyTorch 2.8)

Summary A wrong diffID on extraction during docker load almost always indicates bit‑level corruption of a layer tarstream during transfer or readback. In this case, the failure on a single large (~6 GB) CUDA/PyTorch layer strongly suggests silent corruption in transit or on disk, not a Docker bug and not an architecture mismatch between RTX 5070 and … Read more

VS Code / GitHub Copilot: MCP tools fail with `currently disabled by the user` error

Summary The issue at hand involves MCP tools failing with a currently disabled by the user error when used in Visual Studio Code with GitHub Copilot for working with Excel files. Despite having all tools enabled, certain tools, particularly the “read” tool, are inaccessible due to this error. The problem seems to be model-specific, with … Read more

Run tampermonkey script only on one site

Summary This incident involved a Tampermonkey userscript that was intended to run only on YouTube, but instead executed on every website. The root cause was an incorrect or overly broad @match pattern that unintentionally matched all domains. Root Cause The issue stemmed from the following pattern: @match https://*.youtube.com/* While it looks correct, the real problem … Read more

How to override package.json properties with Electron Builder

Summary Overriding package.json properties in Electron Builder from the command line is a common requirement for managing different build configurations (e.g., test vs. production). While Electron Builder provides mechanisms like –config and extraMetadata, their usage is often unclear, leading to errors like Invalid configuration object. This postmortem explores the root cause, real-world impact, and solutions … Read more

A fullscreen WPF window with WindowStyle=”None” prevents the autohide taskbar from opening

Summary A fullscreen WPF window using WindowStyle=”None” can unintentionally block the autohide Windows taskbar, preventing it from appearing when the user moves the mouse to the screen edge. This postmortem explains why this happens, how it impacts real applications, and how senior engineers typically resolve it. Root Cause The issue stems from how WPF interacts … Read more

Can you ask the file manager for an error code if createFileAtPath:contents:attributes: fails?

Summary A release‑build Objective‑C app was silently failing to write stereo‑pair image files using createFileAtPath:contents:attributes:. The debug build worked flawlessly, but the release build returned NO without any visible error. The underlying issue was that NSFileManager does not provide error details for createFileAtPath:, and the failure was caused by path construction differences and missing directory … Read more