frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

The Coming Need for Formal Specification

https://benjamincongdon.me/blog/2025/12/12/The-Coming-Need-for-Formal-Specification/
7•todsacerdoti•2h ago

Comments

readthenotes1•1h ago
Some realized that building the tests was the more important part of writing the software long ago...

Test tables and scenarios may not cover all the things that can go wrong (a la Goëdel), but not doing them almost guarantees broken software.

jackblemming•41m ago
Whenever you look closely at what these proof nerds have actually built you typically find… nothing. No offense to them, it’s simply reality.
AlotOfReading•33m ago
SeL4, a number of mathematical theorems, a bunch of cryptography. You've likely trusted your life to compcert. It's not nothing, but it's admittedly a bit limited.

Formal methods are the hardest thing in programming, second only to naming things and off by one errors.

atomicnature•13m ago
Leslie Lamport built latex, most of distributed systems such as AWS services depend on formal verification. The job of Science here is to help Engineering with managing complexity and scale. The researchers are doing their jobs
Animats•40m ago
The trouble with formal specification, from someone who used to do it, is that only for some problems is the specification simpler than the code.

Some problems are straightforward to specify. A file system is a good example. The details of blocks and allocation and optimization of I/O are hidden from the API. The formal spec for a file system can be written in terms of huge arrays of bytes. The file system is an implementation to store arrays on external devices. We can say concisely what "correct operation" means for a file system.

This gets harder as the external interface exposes more functionality. Now you have to somehow write down what all that does. If the interface is too big, a formal spec will not help.

Now, sometimes you just want a negative specification - X must never happen. That's somewhat easier. You start with subscript checking and arithmetic overflow, and go up from there.

That said, most of the approaches people are doing seem too hard for the wrong reasons. The proofs are separate from the code. The notations are often different. There's not enough automation. And, worst of all, the people who do this stuff are way into formalism.

If you do this right, you can get over 90% of proofs with a SAT solver, and the theorems you have to write for the hard cases are often reusable.

Marco Rubio: No more woke fonts

https://www.theatlantic.com/newsletters/2025/12/marco-rubio-woke-font-calibri/685212/
2•atakan_gurkan•6m ago•0 comments

Democratic states sue Trump administration over new $100k fee for H-1B visas

https://www.cnn.com/2025/12/12/politics/h-1b-visa-fee-lawsuit
1•Beijinger•6m ago•0 comments

Writing a Type-Safe Linux Perf Interface in Zig

https://pyk.sh/blog/2025-12-11-type-safe-linux-perf-event-open-in-zig
1•peeyek•8m ago•0 comments

Google and Apple roll out emergency security updates after zero-day attacks

https://techcrunch.com/2025/12/12/google-and-apple-roll-out-emergency-security-updates-after-zero...
1•colanderman•8m ago•0 comments

Unitree Debuts the First Humanoid Robot "App Store"

https://twitter.com/UnitreeRobotics/status/1999712278204285361
2•elfbargpt•9m ago•0 comments

Show HN: Browser4 – an open-source browser engine for agents and concurrency

https://github.com/platonai/Browser4
1•galaxyeye•10m ago•0 comments

How Long Does It Take to Merge a PR into VSCode?

https://joseph-xiao.notion.site/How-Long-Does-It-Take-to-Merge-a-PR-into-VSCode-2c824be1b42e80e48...
1•jxiao32•16m ago•1 comments

MongoKV – Tiny async/sync key–value store on top of MongoDB

https://harrisonerd.com/mongokv/
1•harrisonerd•16m ago•1 comments

Cybercriminals are exploiting ChatGPT and Grok to spread AMOS malware to Macs

https://techoreon.com/cybercriminals-exploit-chatgpt-grok-amos-malware-macos/
4•ashishgupta2209•24m ago•0 comments

SpaceX Valued at $800B, as It Prepares to Go Public

https://www.nytimes.com/2025/12/12/technology/elon-musk-spacex-ipo.html
1•hockeyface•27m ago•0 comments

Doxers Posing as Cops Are Tricking Big Tech Firms into Sharing People's Data

https://www.wired.com/story/doxers-posing-as-cops-are-tricking-big-tech-firms-into-sharing-people...
11•iamnothere•29m ago•2 comments

Apples

https://xkcd.com/3180/
1•baruchel•30m ago•0 comments

Contra four-wheeled suitcases, sort of (2023)

https://dynomight.net/luggage/
1•Ariarule•32m ago•1 comments

Recovering Anthony Bourdain's (really) lost Li.st's

https://sandyuraz.com/blogs/bourdain/
1•gregsadetsky•33m ago•0 comments

Scientists Uncover Key Driver of Treatment-Resistant Cancer

https://today.ucsd.edu/story/scientists-uncover-key-driver-of-treatment-resistant-cancer
3•gmays•38m ago•0 comments

Apple has locked my Apple ID, and I have no recourse. A plea for help

https://hey.paris/posts/appleid/
31•parisidau•40m ago•6 comments

The Invitation-Only Stock Market for the Wealthy

https://www.wsj.com/finance/investing/private-stock-market-growth-bb71bde1
2•mudil•43m ago•2 comments

Free software grows as a function of social utility (2022)

https://ariadne.space/2022/08/05/free-software-grows-as-a.html
1•ghssds•46m ago•0 comments

Configure automatic detection of work location in Microsoft Teams

https://learn.microsoft.com/en-us/microsoft-365/places/configure-auto-detect-work-location
1•TheDataMaverick•1h ago•0 comments

The Coupang data breach that hit two-thirds of South Korea

https://www.ft.com/content/df4042fa-3e56-410f-b905-4aed8fd434ac
1•zdw•1h ago•1 comments

Poor Johnny still won't encrypt

https://bfswa.substack.com/p/poor-johnny-still-wont-encrypt
13•zdw•1h ago•10 comments

Show HN: Flowctl – Self-service workflows with approvals and SSO. Single Binary

https://github.com/cvhariharan/flowctl
3•cv_h•1h ago•0 comments

New Google web ecosystem tools and partnerships

https://blog.google/products/search/tools-partnerships-web-ecosystem/
1•gmays•1h ago•0 comments

Show HN: OAuth-style authorization for AI agents

https://www.npmjs.com/package/@variant96/pia-sdk
2•Pukuta•1h ago•0 comments

Show HN: Ten Principles of Good Design

https://tonygaeta.com/labs/ten-principles-of-good-design
2•LightMorpheus•1h ago•0 comments

Coding Agents and Complexity Budgets

https://leerob.com/agents
2•tortilla•1h ago•0 comments

Physicians AI Report

https://2025-physicians-ai-report.offcall.com/
1•samuel246•1h ago•0 comments

Model Context Protocol (MCP) Support for Google Services

https://cloud.google.com/blog/products/ai-machine-learning/announcing-official-mcp-support-for-go...
1•manveerc•1h ago•0 comments

Show HN: Tandem – Real-time collaborative editor with AI attribution tracking

https://github.com/lmanchu/tandem/tree/v3
2•Lmanchu•1h ago•1 comments

UK developing urgent plan for conflict, minister says

https://ukdefencejournal.org.uk/uk-developing-urgent-plan-for-conflict-minister-says/
3•Bender•1h ago•0 comments