Urgent.News

What's breaking now, across thousands of outlets.

Tech

It broke again: a short about the same bug coming back, and the incident note I write now

Episode 2 of our Rozz shorts is about a bug that comes back. Customers got three payment emails for one invoice. Rozz opens the Incidents dashboard, then the incident note, and works through it: symptom, root cause, fix, prevention. The note on Rozz's screen is a real one from Dev Second Brain, the Obsidian vault template for developers. It's one of the example incident notes that comes with it:…

Episode 2 of Rozz's series delves into a recurring issue where customers received duplicate payment emails for a single invoice. To address this, they navigate through the Incident dashboard and incident note using Rozz's open-source tool called Dev Second Brain. The note in question is a real-life example provided by the Obsidian vault template designed for developers.

The bug arose due to a new step that made a webhook handler slower than the provider's timeout. Since the handler was not idempotent, each retry triggered another email to be sent.

The incident template outlines four crucial components: Symptom, Root Cause, Fix, and Prevention. Symptom section captures user reports, alerts, or log information, allowing space to paste relevant log lines. Root Cause is where the actual reason behind the incident is identified, rather than just its initial trigger. The Fix section details the changes made, including the associated pull request or commit.

Lastly, the Prevention section includes checkboxes for tests or alerts that would have potentially detected the issue earlier.

Creating an incident note involves providing a severity rating, filing the note in the 40 Incidents folder with the current date in the name, and tracking its status as open, mitigated, or resolved. The Incidents dashboard, powered by Dataview, simplifies the process by listing unresolved incidents, highlighting any unchecked Prevention items, and grouping logs by cause and service. If a particular service continues to cause problems, it will appear in the dashboard for easy tracking.

Prevention work that remains pending is kept on the list until the practitioner checks it off. To utilize this tool, users need Obsidian (free) along with the free Templater and Dataview plugins. All of these components are available as plain Markdown files on your own device. Episode 3, titled "Standup amnesia," is scheduled to release the following day.

Dev Second Brain can be purchased for $19 on Gumroad, allowing one person per copy for both personal and commercial use. More information about the creator's work can be found at https://engelailabs.com.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Making a WPF Expander Faster with UI Reuse and Virtualization

Working with large collections in WPF can introduce performance issues that aren't always obvious at first. Recently, I worked on optimizing an Expander in our application that contained around 1,000…

  • WPF Expander with 1,000 sequences experienced slow opening performance
  • Reused three-dot button and implemented UI virtualization to optimize
  • Expander now opens faster with efficient UI structure and element reuse

Trojans: the malware you invite in, and how the FBI uninstalled it

The original Trojan Horse did not knock down the walls of Troy. The Trojans pulled it inside themselves , because it looked like a gift.

  • Trojans disguise as harmless files/software, tricking users into installing them
  • FBI dismantled Emotet network in 2021, then Qakbot in 2023, seizing millions in crypto
  • Human trust exploited by trojans, but authorities can neutralize threat with proper tactics

WannaCry: the global ransomware stopped by a $10.69 domain

On Friday, 12 May 2017 , hospital staff across England walked up to their computers and found a red window demanding Bitcoin. Ambulances were diverted. Appointments were cancelled.

  • WannaCry ransomware affected over 150 countries on May 12, 2017
  • Exploited EternalBlue flaw in outdated Windows SMBv1 protocol
  • Marcus Hutchins registered kill switch domain for $10.69 to stop spread

More from Saturday 31 October →