How can I detect a cursor-up-event in QLineEdit PyQt5

Summary Issue: In a PyQt5 GUI project, detecting cursor-up/down events in a QLineEdit widget to enable scrolling through previously stored parameter texts was not straightforward due to the lack of direct callbacks or actions for these events. Root Cause PyQt5’s QLineEdit does not provide built-in signals or methods to directly detect cursor-up/down key presses. The … Read more

Can MutableSharedFlow Emit Nothing

Summary This incident examines a subtle but common misuse of MutableSharedFlow in Android/Kotlin applications: using a Boolean emission solely as a navigation trigger. The underlying issue is the assumption that a SharedFlow can “emit nothing,” when in reality it always emits a value, even if that value is meaningless. This postmortem explains why this pattern … Read more

How to troubleshoot Dart Analysis Server not responding on VSC?

Summary The Dart Analysis Server became unresponsive in Visual Studio Code (VSC), causing issues like “Format on save” hanging indefinitely and variable type identification failing on mouse hover. The problem persisted despite restarting the analysis server, VSC, and the machine. Root Cause The root cause was a deadlock in the Dart Analysis Server, triggered by … Read more

How do you view changes log for items in a previously deleted folder

Summary This postmortem analyzes a common issue in Subversion (SVN): attempting to view the history of items inside a folder that was deleted long ago. Engineers often assume that once a directory is gone, its history becomes inaccessible, but SVN’s design preserves all past states. The failure here stems from misunderstanding how to query historical … Read more

Why is the global namespace printf function found without importing module std.compat?

Summary The issue arises when using C++23 modules with the MS VS C++ compiler 19.50. The global namespace printf function is unexpectedly found without importing std.compat. This behavior is due to the compiler’s handling of C standard library functions in the global namespace, even when only std; is imported. Root Cause C++23 modules do not … Read more

How to add conditions to an i18n translation file

Summary The issue arises because Angular i18n translation files cannot apply conditional grammar rules (like French elision de → d’ before a vowel) directly inside the translation unit. The translation system treats interpolations as opaque values, so it cannot inspect the first letter of {{country}}. Root Cause ICU expressions cannot evaluate string contents, only discrete … Read more

How does Passkeys behave across iOS 15 → iOS 16 when using ASAuthorizationController?

Summary This postmortem analyzes how Passkeys behave when an app uses ASAuthorizationController across iOS 15 → iOS 16, why the behavior differs, and what engineering patterns prevent subtle authentication regressions. The core issue: iOS 15 does not support Passkeys, so the system silently falls back to traditional WebAuthn platform credentials that are not Passkeys and … Read more

Regex VBA macro

Summary A VBA macro failed to match filenames using a regular expression intended to detect patterns like “dim rdm-123456 – a name.pdf”. Although directory traversal worked, the regex never returned a match, causing the script to skip valid files. Root Cause The failure stemmed from an overly strict and incorrectly escaped regex pattern that did … Read more