Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Arrow heads at Obi-Rakhmat (Uzbekistan) 80K years ago?(plos.org ↗)
    discuss
  2. Testing whether a real fly connectome's wiring matters, using crypto as stimulus(github.com/mayombe67 ↗)
    discuss
  3. Ephemerals.dev – Disposable cloud dev environments(ephemerals.dev ↗)
    discuss
  4. The Headword(wiktionary.org ↗)
    discuss
  5. Lilo 0.2.2 – a Rust/egui Markdown notes app with widget and workspace modes(github.com/hellterenjoy ↗)
    discuss
  6. Court shines a further light on who was at fault in SVB implosion(ft.com ↗)
    discuss
  7. The Lamentable Later Life of Lemmings(filfre.net ↗)
    discuss
  8. Jev VC – Pitch Jev Your Startup(pitchjev.vercel.app ↗)
    1comments
  9. US Treasuries Have Become Unappetizing for Foreign Central Banks and Governments(wolfstreet.com ↗)
    discuss
  10. A systemd timer to log and lock kids out of their Linux accounts overnight(github.com/mowglixx ↗)
    discuss
  11. Knot: A CLI ticket tracker for solo developers(github.com/unisoma ↗)
    discuss
  12. How to run offline, local coding agents on Linux(ostechnix.com ↗)
    discuss
  13. From 2027 you must be at least 18 to use Dropbox(dropbox.com ↗)
    1comments
  14. Salesforce tracing without debug logs: every trigger, field write, and rollback(fidelic.dev ↗)
    discuss
  15. Awesome-tunneling – List of ngrok, Cloudflare Tunnel, Tailscale and related(github.com/anderspitman ↗)
    discuss
  16. Black Holes or Black Hole Stars? Astronomers Spar over 'Little Red Dots'(quantamagazine.org ↗)
    discuss
  17. System Design Unboxed: new eBook and extras(lextrem.com ↗)
    discuss
  18. Terrasat – Get Answers from Anywhere on Earth(terrasat.net ↗)
    1comments
  19. The Physics of Database Speed: from 300 to 1M transactions per second [video](youtube.com ↗)
    discuss
  20. How to Build a Scraping Tool(flaviocopes.com ↗)
    discuss
  21. Inexpressible States: The History and Usage of Algebraic Data Types(makonea.com ↗)
    discuss
  22. FlashAttention: Part 2(chizkidd.github.io ↗)
    discuss
  23. Fable 5.1 vs. Astra for coding: Fable 2X more expensive per task but solves more(imec-int.com ↗)
    2comments
  24. Extracting Grid Information Using CSS(master.dev ↗)
    discuss
  25. Lunch with the FT: Raspberry Pi Founder Eben Upton(ft.com ↗)
    discuss
  26. GPUs: Rent vs. Buy(cloud-gpus.com ↗)
    discuss
  27. Open Peeps – A hand-drawn illustration library(openpeeps.com ↗)
    discuss
  28. Grandmasters: Official Theatrical Trailer [video](youtube.com ↗)
    discuss
  29. Wafer-Scale Superconducting Transistors Cut Cryo Cables(ieee.org ↗)
    discuss
  30. Show HN: Forcefield: A fast, lightweight local-first AI agent harness(github.com/fabledruns ↗)
    discuss

NATS publishes preliminary report on technical incident of 8 September

20 pointsby 2h agonats.aero
11 comments
1h agoHN ↗

Note: NATS the UK airspace manager, not NATS the pubsub system.

25m agoHN ↗

And here I was surprised they would use NATS in their implementation to assign squawk codes.

48m agoHN ↗

The incident was triggered by a valid manual request for a squawk code. This manual request was made correctly and there was nothing abnormal or invalid about the associated flight plan.

While this request was being processed, the NAS received a message for a higher priority activity to be undertaken which resulted in the squawk code allocation being paused while the system processed the higher priority message. Switching between different activities in response to prioritised requests is a normal function of the system; however, when the processing of the squawk allocation request resumed, the software defect meant it did not resume correctly and the resulting output was corrupted.

The reason this scenario has not occurred before is because:

1. The defect existed in a specific subsection of code within a software module, with an exposure window estimated as approximately one millisecond.

2. For the fault to occur, a higher-priority request had to arrive during that exact millisecond while the original request was part-way through updating a value.

3. Had the higher-priority request arrived even one millisecond earlier or later, the update would have completed normally.

Post-incident investigation has identified that when processing of the squawk allocation request resumed, the data associated with it had been corrupted and affected some subsequent flight data updates.

18m agoHN ↗

3. Had the higher-priority request arrived even one millisecond earlier or later, the update would have completed normally.

Well, that's comforting to know.

BBC: "Flight chaos caused by software defect in space of a millisecond, report says"

Sky: "'Millisecond' software error caused air traffic outage that grounded thousands of flights"

The Guardian: "Flight chaos for hundreds of thousands was caused in ‘millisecond’ by software error"

Sounds like pure bad luck.

10m agoHN ↗

Testing isn't an effective way to catch most race conditions. Code reviews, static analysis, and rigorous enforcement of concurrent coding standards is usually a better approach.

7m agoHN ↗

Or maybe even just reviewing logic that is subject to pre-emption.

Maybe I'm being too harsh.. on the plus side the system has at least failed hard every time there's been a fault. Nobody has died. But it's been 3 times now in the past couple of years, and two of those times resulted in over 2000 flights cancelled and days of backlog, and misery for hundreds of thousands. It's really not acceptable.

49m agoHN ↗

Interesting! Looks like a race condition (with a 1ms window) during squawk allocation (the process that gives each aircraft a 4 digit identifier for ATC purposes) caused data corruption. They present that window as being small but 1ms is a decent chunk of time in our work lol

22m agoHN ↗

More specifically: it sounds like something which was supposed to be an atomic operation was split into two by the preempting task, with corruption happening because that task also interacted with the same piece of (now-temporarily-invalid) data.

26m agoHN ↗

Would be interesting if the report actually got into the details. The curiously specific "approx. 1ms window" sounds like an off-the-shelf memory race condition in combination with a preempting thread, for which 1ms is an absolute eternity and Guaranteed To Happen By Tuesday This Week™. But the "database corruption" sounds like database IDs being generated from timestamps with 1ms granularity.