frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

2,085 Tests, and None of Them Opens the Front Door

https://i.brandanthonymcdonald.com/what-my-tests-do-not-cover
3•aweful•3d ago

Comments

KenPainter•3d ago
Your Website seems to be messing with browser history. Back button will not take you back to HN.
perrygeo•3d ago
Anecdote time: I worked on a project with a senior dev who was really into unit testing and only unit testing. The software had to be fully tested as tiny little lego bricks with mocks galore. Because "if all the pieces were correct, the combination had to be correct" - his words. (I guess he'd never considered emergent behavior)

I'll never forget the cycle, after staunch objections to integration/e2e/manual tests and zealously insisting on full unit test coverage, the senior dev deployed changes ... boom. The process failed hard minutes after start because there was a bug in main. Full production outage. A bug so obvious we should have caught it by eye. Clearly, in the weeks developing the feature, he had never bothered to even run the application. Each part was fully polished in isolation but utterly failed when integrated into an application.

The way I've come to think of it: Unit tests are for libraries, a closed world where you can neatly define all inputs and outputs. Integration/E2E tests are for applications, an open world which require systems thinking, simulations not proofs. Know which world you're working in!

LoganDark•25m ago
Both is good.
ad_fontes•20m ago
That doesn't really sound like an indictment of unit tests. I don't really understand why someone would meticulously write a bunch of unit tests and then wait to prove them on a production deploy?

Unit and integration tests serve different purposes and one isn't necessarily better than the other.

simonw•15m ago
It's an indictment of writing only unit tests. If the system also had integration tests this would likely have been caught, but even more important is the lesson that no amount of automated tests is an excuse not to actually try using your software yourself.
netsharc•20m ago
Skimmed through this. One heading is "The gap was never coverage. It was wiring.". Smeḷls very AI sloppy, won't bother reading...

I used to read anything and everything on HN, but my allergy to slop has made me stop doing that. I suppose that's a good thing?

A 3rd World Embedded Engineer Responds to "RISC-V They Should Have Known Better"

https://rvembedded.com/blog_post/12/
322•Narishma•6h ago•168 comments

Claude: System Prompts

https://platform.claude.com/docs/en/release-notes/system-prompts
502•tosh•11h ago•212 comments

SIMD in the 90s: Programming Intel's Pentium MMX

https://pikuma.com/blog/programming-intel-pentium-mmx-simd
56•ibobev•3d ago•22 comments

Low-Tech Ceramic Water Filter

https://wiki.lowtechlab.org/wiki/Filtre_%C3%A0_eau_c%C3%A9ramique/en
71•Bluestein•5d ago•21 comments

A quick look at zero-knowledge proofs

https://bernsteinbear.com/blog/zkp/
25•evakhoury•2d ago•4 comments

Models Are Getting Dumber on Purpose

https://w4g1.dev/blog/models-are-getting-dumber-on-purpose
226•hruvhwe•4h ago•133 comments

Stripe Clinches over $7B Deal to Buy AI Firm OpenRouter

https://www.bloomberg.com/news/articles/2026-08-16/stripe-nears-deal-to-buy-ai-firm-openrouter-fo...
131•zacharyozer•3h ago•87 comments

Protobuf has LSP support. You're welcome

https://buf.build/blog/protobuf-lsp
97•theanonymousone•5h ago•72 comments

The AI Credit Resale Economy

https://vectoral.com/blog/who-are-the-token-brokers
217•mlenhard•9h ago•82 comments

Anthropic's 'Watermark' Text Adulteration in Claude Is a Perversion of Writing

https://daringfireball.net/2026/08/anthropics_watermark_text_adulteration_in_claude_is_a_perversi...
99•ropbear•2h ago•82 comments

MathCode, Mathematical Coding Agent

https://math-ai-org.github.io/mathcode/
51•homarp•5h ago•16 comments

Nvidia dramatically reduces amount of OpenAI infra financing it may guarantee

https://www.reuters.com/business/nvidia-scales-back-250-billion-openai-data-center-guarantee-wsj-...
68•root-parent•2h ago•11 comments

Plastic mechanical computer from 1963: The Digi-Comp 1 [video]

https://www.youtube.com/watch?v=-y8bGBE71yw
44•tobr•1d ago•10 comments

Anton Chekhov played at love most of his life

https://commonreader.wustl.edu/winning-and-losing-at-the-great-game-of-intimacy/
56•lermontov•2d ago•10 comments

Clamiga: Common Lisp for the Amiga

https://nnamgreb.de/blog/Clamiga+-+Common+Lisp+for+the+Amiga
76•emptybits•3d ago•8 comments

Firefox for iOS now has a native adblocker

https://support.mozilla.org/en-US/kb/block-ads-firefox-ios
504•pentagrama•10h ago•208 comments

The Case Against Formal Verification, 50 Years Later

https://ivan-gavran.github.io/0-social-processes-paper
72•ghuntley•3h ago•62 comments

St Lucie Nuclear Reactor Unit 1 manually shutdown, 3 control rods drop into core

https://www.wptv.com/news/treasure-coast/region-st-lucie-county/saint-lucie-nuclear-power-plant-u...
147•toomuchtodo•8h ago•107 comments

Tell HN: Cloudflare silently injects its analytics when you switch nameservers

239•stagas•6h ago•57 comments

2,085 Tests, and None of Them Opens the Front Door

https://i.brandanthonymcdonald.com/what-my-tests-do-not-cover
3•aweful•3d ago•6 comments

Asus Bike Booster

https://www.asus.com/accessories/bike-booster/asus-oxiis/oxiis-intelligent-bike-booster/
603•wiradikusuma•4d ago•424 comments

A True Telnet BBS on a Casio Calculator

https://ei3lh.eu/2026/08/16/a-true-telnet-bbs-on-a-casio-calculator/
83•austinallegro•11h ago•9 comments

A SAT Attack on Tarski's High School Algebra Problem

https://arxiv.org/abs/2608.08421
80•matt_d•4d ago•32 comments

Before Rightmove, there was the Cosmorama

https://www.ianvisits.co.uk/articles/before-rightmove-there-was-the-cosmorama-londons-forgotten-p...
23•brod_ie•5d ago•3 comments

NIH is ending a key grant for budding clinical researchers

https://www.science.org/content/article/nih-ending-key-grant-budding-clinical-researchers
128•brandonb•7h ago•66 comments

Chestnut – eGPU dock with open-source firmware

https://hwbusters.com/news/comma-ai-egpu-dock-runs-open-source-firmware-249-bare-799-with-an-rx-9...
130•txrx0000•3d ago•38 comments

Tasklet (YC P26) Is Hiring a Head of Design Engineering

https://tasklet.ai/careers/head-of-design-engineering
1•mayop100•10h ago

Archie G. Norcross' Maine Forest Fire Maps (1918–22)

https://publicdomainreview.org/collection/maine-forest-fire-maps/
24•samclemens•4d ago•3 comments

Asynchronous I/O in DuckDB: Work, Thread, Work

https://duckdb.org/2026/07/31/asynchronous-io
268•pdet•6d ago•29 comments

Does anyone run Postgres without PgBouncer?

https://brandur.org/fragments/postgres-without-pgbouncer
137•abelanger•4d ago•89 comments