frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

FDA Intends to Take Action Against Non-FDA-Approved GLP-1 Drugs

https://www.fda.gov/news-events/press-announcements/fda-intends-take-action-against-non-fda-appro...
12•randycupertino•16m ago•3 comments

Tiny C Compiler

https://bellard.org/tcc/
17•guerrilla•55m ago•2 comments

SectorC: A C Compiler in 512 bytes

https://xorvoid.com/sectorc.html
132•valyala•5h ago•22 comments

The F Word

http://muratbuffalo.blogspot.com/2026/02/friction.html
63•zdw•3d ago•22 comments

Brookhaven Lab's RHIC concludes 25-year run with final collisions

https://www.hpcwire.com/off-the-wire/brookhaven-labs-rhic-concludes-25-year-run-with-final-collis...
29•gnufx•3h ago•27 comments

Speed up responses with fast mode

https://code.claude.com/docs/en/fast-mode
67•surprisetalk•4h ago•83 comments

Software factories and the agentic moment

https://factory.strongdm.ai/
108•mellosouls•7h ago•205 comments

You Are Here

https://brooker.co.za/blog/2026/02/07/you-are-here.html
7•mltvc•52m ago•1 comments

Hoot: Scheme on WebAssembly

https://www.spritely.institute/hoot/
150•AlexeyBrin•10h ago•26 comments

OpenCiv3: Open-source, cross-platform reimagining of Civilization III

https://openciv3.org/
856•klaussilveira•1d ago•263 comments

Stories from 25 Years of Software Development

https://susam.net/twenty-five-years-of-computing.html
108•vinhnx•7h ago•14 comments

Italy Railways Sabotaged

https://www.bbc.co.uk/news/articles/czr4rx04xjpo
32•vedantnair•58m ago•18 comments

The Waymo World Model

https://waymo.com/blog/2026/02/the-waymo-world-model-a-new-frontier-for-autonomous-driving-simula...
1105•xnx•1d ago•619 comments

I write games in C (yes, C)

https://jonathanwhiting.com/writing/blog/games_in_c/
151•valyala•4h ago•125 comments

First Proof

https://arxiv.org/abs/2602.05192
71•samasblack•7h ago•53 comments

Show HN: A luma dependent chroma compression algorithm (image compression)

https://www.bitsnbites.eu/a-spatial-domain-variable-block-size-luma-dependent-chroma-compression-...
16•mbitsnbites•3d ago•0 comments

Al Lowe on model trains, funny deaths and working with Disney

https://spillhistorie.no/2026/02/06/interview-with-sierra-veteran-al-lowe/
70•thelok•6h ago•13 comments

Vocal Guide – belt sing without killing yourself

https://jesperordrup.github.io/vocal-guide/
247•jesperordrup•15h ago•82 comments

Start all of your commands with a comma (2009)

https://rhodesmill.org/brandon/2009/commands-with-comma/
526•theblazehen•3d ago•196 comments

Show HN: I saw this cool navigation reveal, so I made a simple HTML+CSS version

https://github.com/Momciloo/fun-with-clip-path
35•momciloo•4h ago•5 comments

LLMs as the new high level language

https://federicopereiro.com/llm-high/
4•swah•4d ago•0 comments

Selection Rather Than Prediction

https://voratiq.com/blog/selection-rather-than-prediction/
16•languid-photic•3d ago•5 comments

Reinforcement Learning from Human Feedback

https://rlhfbook.com/
96•onurkanbkrc•9h ago•5 comments

The AI boom is causing shortages everywhere else

https://www.washingtonpost.com/technology/2026/02/07/ai-spending-economy-shortages/
198•1vuio0pswjnm7•11h ago•294 comments

72M Points of Interest

https://tech.marksblogg.com/overture-places-pois.html
40•marklit•5d ago•6 comments

A Fresh Look at IBM 3270 Information Display System

https://www.rs-online.com/designspark/a-fresh-look-at-ibm-3270-information-display-system
51•rbanffy•4d ago•12 comments

Coding agents have replaced every framework I used

https://blog.alaindichiappari.dev/p/software-engineering-is-back
265•alainrk•9h ago•438 comments

France's homegrown open source online office suite

https://github.com/suitenumerique
632•nar001•9h ago•278 comments

Unseen Footage of Atari Battlezone Arcade Cabinet Production

https://arcadeblogger.com/2026/02/02/unseen-footage-of-atari-battlezone-cabinet-production/
126•videotopia•4d ago•40 comments

Where did all the starships go?

https://www.datawrapper.de/blog/science-fiction-decline
105•speckx•4d ago•132 comments
Open in hackernews

Formal methods only solve half my problems

https://brooker.co.za/blog/2022/06/02/formal.html
78•signa11•1mo ago

Comments

HPsquared•1mo ago
Maybe they solve the first 90%, but not the other 90%.
chrisaycock•1mo ago
The article points out that tools like TLA+ can prove that a system is correct, but can't demonstrate that a system is performant. The author asks for ways to assess latency et al., which is currently handled by simulation. While this has worked for one-off cases, OP requests more generalized tooling.

It's like the quote attributed to Don Knuth: "Beware of bugs in the above code; I have only proved it correct, not tried it."

throw-qqqqq•1mo ago
There are methods of determining Worst Case Execution Time/WCET. I’ve been involved in real time embedded systems development, where that was a thing.

But one tool (like TLA+) can’t realistically support all formalisms for all types of analyses ¯\_(ツ)_/¯

pjmlp•1mo ago
From my point of view, they cannot even prove that, because in most cases there is no validation if the TLA+ model actually maps to the e.g. C code that was written.

I only believe in formal methods where we always have a machine validated way from model to implementation.

jgalt212•1mo ago
preach
pdhborges•1mo ago
Well Coq has program extraction built in.
Ericson2314•1mo ago
Yeah and that's why it's way better than the likes of TLA+.
ted_dunning•1mo ago
See Dafny
pjmlp•1mo ago
I know it, :)
NooneAtAll3•1mo ago
what is P?
aw1621107•1mo ago
Looks like it's this [0]:

> Distributed systems are notoriously hard to get right (i.e., guaranteeing correctness) as the programmer needs to reason about numerous control paths resulting from the myriad interleaving of events (or messages or failures). Unsurprisingly, programmers can easily introduce subtle errors when designing these systems. Moreover, it is extremely difficult to test distributed systems, as most control paths remain untested, and serious bugs lie dormant for months or even years after deployment.

> The P programming framework takes several steps towards addressing these challenges by providing a unified framework for modeling, specifying, implementing, testing, and verifying complex distributed systems.

It was last posted on HN about 2 years ago [1].

[0]: https://p-org.github.io/P/whatisP/

[1]: https://news.ycombinator.com/item?id=34273979

whinvik•1mo ago
Nice, I actually understood a lot of that post since I am trying to teach myself formal methods. Wrote up a bit here - https://vikramsg.github.io/introduction-to-formal-methods-pa...
jadbox•1mo ago
Are there any good formal method tools that work well with Node.js/Bun/Deno projects?
NovemberWhiskey•1mo ago
Outside of a very narrow range of safety- or otherwise ultra-critical systems, no-one is designing for actual guarantees of performance attributes like throughput or latency. The compromises involved in guarantees are just too high in terms of over-provisioning, cost to build and so on.

In large, distributed systems the best we're looking for is statistically acceptable. You can always tailor a workload that will break a guarantee in the real world.

So you engineer with techniques that reduce the likelihood that workloads you have characterized as realistic can be handled with headroom, and you worry about graceful degradation under oversubscription (i.e. maintaining "good-put"). In my experience, that usually comes down to good load-balancing, auto-scaling and load-shedding.

Virtually all of the truly bad incidents I've seen in large-scale distributed systems are caused by an inability to recover back to steady-state after some kind of unexpected perturbation.

If I had to characterize problem number one, it's bad subscriber-service request patterns that don't provide back pressure appropriately. e.g. subscribers that don't know how to back-off properly and services that don't provide back-pressure. Classical example is a subscriber that retries requests on a static schedule and gives up on requests that have been in-flight "too long", coupled with services that continue to accept requests when oversubscribed.

amw-zero•1mo ago
I think this is less about guarantees and more about understanding behavioral characteristics in response to different loads.

I personally could care less about proving that an endpoint always responds in less than 100ms say, but I care very much about understanding where various saturation points are in my systems, or what values I should set for limits like database connections, or how what the effect of sporadic timeouts are, etc. I think that's more the point of this post (which you see him talk about in other posts on his blog).

NovemberWhiskey•1mo ago
I am not sure that static analysis is ever going to give answers to those questions. I think the best you can hope to do is surface knowledge about the tacit assumptions about dependencies in order to explore their behaviors through simulation or testing.

I think it often boils down to "know when you're going to start queuing, and how you will design the system to bound those queues". If you're not using that principle at design stage then I think you're already cooked.

amw-zero•1mo ago
Who brought up static analysis?

I think simulation is definitely a promising direction.

NovemberWhiskey•1mo ago
I mean, the fundamental premise of formal methods is that assurance of correctness is achieved through unambiguous specification/modeling and mathematical proof. The extent to which you're dependent on dynamic testing of actual code to achieve assurance does speak to the extent to which you're really relying on formal methods.
amw-zero•3w ago
That’s literally what the post is about. I don’t see your point. The post is saying that formal tools currently do not handle performance and reliability problems. No one said otherwise.
AlotOfReading•1mo ago
It's just realtime programming. I wouldn't say that realtime techniques are limited to a very narrow range of ultra critical systems, given that they encompass everything from the code on your SIM card to games in your steam library.

    In large, distributed systems the best we're looking for is statistically acceptable. You can always tailor a workload that will break a guarantee in the real world.
This is called "soft" realtime.
NovemberWhiskey•1mo ago
"Soft" realtime just means that you have a time-utility function that doesn't step-change to zero at an a priori deadline. Virtually everything in the real world is at least a soft realtime system.

I don't disagree with you that it's a realtime problem, I do however think that "just" is doing a lot of work there.

AlotOfReading•1mo ago
There are multiple ways to deal with deadline misses for soft systems. Only some of them actually deliver the correct data, just late. A lot of systems will abort the execution and move on with zeros/last computed data instead, or drop the data entirely. A modern network AQM system like CAKE uses both delayed scheduling and intelligent dropping.

Agreed though, "just" is hiding quite a deep rabbit hole.

bluGill•1mo ago
While you don't need performance guarantees for most things, you still need performance. You can safely let "a small number" of requests "take too long", but if you let "too many" your users will start to complain and go elsewhere. Of course everything in quotes is fuzzy (though sometimes we have very accurate measures for specific things), but you need to meet those requirements even if they are not formal.
amw-zero•1mo ago
This is the single most impactful blog post I've read in the last 2-3 years. It's so obvious in retrospect, but it really drove the point home for me that functional correctness is only the beginning. I personally had been over-indexing on functional correctness, which is understandable since a reliable but incorrect system isn't valuable.

But, in practice, I've spent just as much time on issues introduced by perf / scalability limitations. And the post thesis is correct: we don't have great tools for reasoning about this. This has been pretty much all I've been thinking about recently.

adamddev1•1mo ago
There could be more linear and "resource-aware" type systems coming down the pipes through research. These would allow the type checker to show performance / resource information. Check out Resource Aware ML.

https://www.raml.co/about/

https://arxiv.org/abs/2205.15211

amw-zero•1mo ago
Super interesting, but I think this will be very difficult in practice due to the gigantic effect of nondeterminism at the hardware level (caches, branch prediction, out of order execution, etc.)
Ericson2314•1mo ago
The author should try some more modern formal methods.

Tools like Lean and Rocq can do arbitrary math — the limit is your time and budget, not the tool.

These performance questions can be mathematically defined, so it is possible.

ted_dunning•1mo ago
Indeed.

And the SeL4 kernel has latency guarantees based on similar proofs (at considerable cost)

adamddev1•1mo ago
There is a bunch of research happening around "Resource-Aware" type theory. This kind of type theory checks performance, not just correctness. Just like the compiler can show correctness errors, the compiler could show performance stats/requirements.

https://arxiv.org/abs/2205.15211

Already we have Resource Aware ML which

> automatically and statically computes resource-use bounds for OCaml programs

https://www.raml.co/about/

deterministic•4w ago
It is unreasonable to expect that a tool built for proving correctness (a very hard problem) somehow should also be able to simulate performance and everything else somebody might need.

A hammer is great for certain things but I don't expect it to make good coffee. I use other tools for that. However that doesn't make hammers deficient.