Automating spike detection (dummy variable) in multiple time series using departures from (rolling) mean

Summary Automated spike detection in multiple time series using departures from rolling mean failed due to incorrect standard deviation scaling and lack of trend normalization. Root Cause Incorrect standard deviation scaling: Multiplication by a fixed factor without considering the rolling window size led to false positives. Lack of trend normalization: Rolling mean alone did not … Read more

Next.js webpack error on first run (port 3000) but works on second run (port 3001)

Summary Issue: Next.js 14 project fails on the first run (port 3000) with a webpack error but works on the second run (port 3001). Root Cause: A race condition in webpack’s module resolution caused by concurrent server starts. Impact: Delayed development workflow and confusion for engineers. Fix: Prevent concurrent server starts or clear webpack cache … Read more

Why do I get a “fast forward rejected” when I push a second time?

Summary A “fast forward rejected” error on a second push happens when your local branch’s history no longer matches the remote’s history. Even if you are the only developer, Git can still detect divergence when the remote branch contains commits your local branch does not—often caused by non-fast‑forward updates, rebases, or detached‑HEAD pushes you forgot … Read more

How do I force stop a rogue Google Apps Script

Summary A Google Apps Script continued running even after the user deleted the project, removed triggers, and emptied the trash. The script kept monitoring Gmail and sending Google Voice texts because an OAuth-granted authorization token was still active on the user’s Google Account. Deleting the script does not revoke its previously granted permissions, so the … Read more

How to write a technical report for — Final Year Project

Summary A well-structured technical report is crucial for final year projects, ensuring clarity, completeness, and adherence to guidelines. This postmortem addresses common challenges in documenting BCA final year projects, focusing on root causes, real-world impacts, and senior-level fixes. Root Cause The primary issues in technical report preparation stem from: Lack of clarity on documentation requirements. … Read more

How to serve the index.html file using Spring inside a directory without typing index.html in the URL

Summary This incident centers on Spring Boot failing to serve nested index.html files generated by a Next.js static export using trailingSlash: true. Although Next.js correctly outputs /page/index.html, Spring Boot does not automatically map /page to /page/index.html unless explicitly configured. The result is a mismatch between how Next.js expects static pages to be resolved and how … Read more

This is something particularly difficult for me

Summary This postmortem analyzes a failed attempt to reverse‑engineer and modify an Android game app using a pre‑packaged GDA project containing altered smali classes, hook logic, and automated repack/sign tooling. The incident highlights how complex, fragile, and security‑sensitive such workflows are, and why engineers often underestimate the risks and failure modes. Root Cause The core … Read more