frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Herbie detects inaccurate expressions and finds more accurate replacements

https://herbie.uwplse.org/
73•bwidlar•3d ago

Comments

4gotunameagain•5h ago
This tool is amazing. I've used it many times when I want to run simulations with symplectic integrators over large time horizons in an effort to reduce the total accumulated error !
permalaise•5h ago
This looks like really interesting and valuable work.
tialaramex•4h ago
Herbie - the tool which exists today - is excellent, but the perhaps more significant insight is that this could and should in principle be baked into compilers.

That is, a future language should let you say here's a real expression, and I want you to give me an approximation in my 64-bit floating point representation, and here's the parameters for accuracy and performance. What do those parameters look like? Herbie's existing UI might help us somewhat but it's definitely up for experimentation.

Compare regular expression handling - you are not expected in any popular language today to manually translate the expression into an FSM and then run the FSM, that's all done for you, you just write down the expression, real arithmetic could be the same.

ashirviskas•4h ago
I wonder whether this could help optimize AI inference and training engines or are they already squeezed to the max. llama.cpp could potentially be a great target.
TheFuzzball•4h ago
Just hope that Herbie doesn't go bananas again
RossBencina•3h ago
Definitely an interesting idea. It has been discussed here a bunch of times before. Usually someone points out cases where it doesn't do so well. Has it been updated lately?

https://news.ycombinator.com/item?id=38451680 (159 points)

https://news.ycombinator.com/item?id=24069465 (152 points)

https://news.ycombinator.com/item?id=10964617 (117 points)

russfink•1h ago
Can someone explain why sqrt(x+1) - sqrt(x) is “inaccurate” for all x>1? Inaccurate how, and why, and why is 1/(…) any better? Thanks.
Piezoid•50m ago
Close floating-point subtraction loses precision: when x >> 1, sqrt(x+1) ≈ sqrt(x), so their difference suffers cancellation and end up rounding to zero. In contrast, sqrt(x+1) + sqrt(x) approaches 2*sqrt(x) smoothly.

Infinite Pixels

https://meyerweb.com/eric/thoughts/2025/08/07/infinite-pixels/
57•OuterVale•47m ago•0 comments

Baltimore Assessments Accidentally Subsidize Blight–and How We Can Fix It

https://progressandpoverty.substack.com/p/how-baltimore-assessments-accidentally
20•surprisetalk•1h ago•1 comments

Arm Desktop: x86 Emulation

https://marcin.juszkiewicz.com.pl/2025/07/22/arm-desktop-emulation/
13•PaulHoule•1h ago•0 comments

New AI Coding Teammate: Gemini CLI GitHub Actions

https://blog.google/technology/developers/introducing-gemini-cli-github-actions/
100•michael-sumner•4h ago•45 comments

Outdated Software, Nationwide Chaos: United Grounds Flights After Meltdown

https://allchronology.com/2025/08/07/outdated-software-nationwide-chaos-united-airlines-grounds-flights-after-system-meltdown/
4•rectang•4m ago•1 comments

We replaced passwords with something worse

https://blog.danielh.cc/blog/passwords
531•max__dev•11h ago•417 comments

How AI Conquered the US Economy: A Visual FAQ

https://www.derekthompson.org/p/how-ai-conquered-the-us-economy-a
48•rbanffy•3h ago•33 comments

Show HN: Stasher – Burn-after-read secrets from the CLI, no server, no trust

https://github.com/stasher-dev/stasher-cli
31•stasher-dev•2h ago•22 comments

Leonardo Chiariglione: “I closed MPEG on 2 June 2020”

https://leonardo.chiariglione.org/
154•eggspurt•3h ago•111 comments

GoGoGrandparent (YC S16) Is Hiring Back End and Full-Stack Engineers

1•davidchl•1h ago

An LLM does not need to understand MCP

https://hackteam.io/blog/your-llm-does-not-care-about-mcp/
34•gethackteam•1h ago•29 comments

Claude Code IDE integration for Emacs

https://github.com/manzaltu/claude-code-ide.el
699•kgwgk•1d ago•235 comments

Cracking the Vault: How we found zero-day flaws in HashiCorp Vault

https://cyata.ai/blog/cracking-the-vault-how-we-found-zero-day-flaws-in-authentication-identity-and-authorization-in-hashicorp-vault/
154•nihsy•6h ago•57 comments

The Whispering Earring (Scott Alexander)

https://croissanthology.com/earring
38•ZeljkoS•3h ago•4 comments

PastVu: Historical Photographs on Current Maps

https://pastvu.com/?_nojs=1
17•lapetitejort•2d ago•1 comments

Show HN: Aura – Like robots.txt, but for AI actions

https://github.com/osmandkitay/aura
16•OsmanDKitay•1d ago•14 comments

AI Ethics is being narrowed on purpose, like privacy was

https://nimishg.substack.com/p/ai-ethics-is-being-narrowed-on-purpose
93•i_dont_know_•2h ago•57 comments

Running GPT-OSS-120B at 500 tokens per second on Nvidia GPUs

https://www.baseten.co/blog/sota-performance-for-gpt-oss-120b-on-nvidia-gpus/
204•philipkiely•11h ago•129 comments

Synthetic Biology for Space Exploration

https://www.nature.com/articles/s41526-025-00488-7
6•PaulHoule•2d ago•0 comments

Splatshop: Efficiently Editing Large Gaussian Splat Models

https://momentsingraphics.de/HPG2025.html
17•ibobev•3d ago•0 comments

Project Hyperion: Interstellar ship design competition

https://www.projecthyperion.org
316•codeulike•17h ago•242 comments

Debounce

https://developer.mozilla.org/en-US/docs/Glossary/Debounce
93•aanthonymax•2d ago•47 comments

Children's movie leads art historian to long-lost Hungarian masterpiece (2014)

https://www.theguardian.com/world/2014/nov/27/stuart-little-art-historian-long-lost-hungarian-masterpiece
30•how-about-this•3d ago•4 comments

Fastmail breaks UI in production

https://twitter.com/licyeus/status/1953438985381974493
21•blux•50m ago•14 comments

Did Craigslist decimate newspapers? Legend meets reality

https://www.poynter.org/business-work/2025/did-craigslist-kill-newspapers-poynter-50/
36•zdw•3d ago•31 comments

Show HN: Kitten TTS – 25MB CPU-Only, Open-Source TTS Model

https://github.com/KittenML/KittenTTS
882•divamgupta•1d ago•340 comments

Maybe we should do an updated Super Cars

https://spillhistorie.no/2025/07/31/maybe-we-should-do-an-updated-version/
6•Kolorabi•1h ago•1 comments

Rules by which a great empire may be reduced to a small one (1773)

https://founders.archives.gov/documents/Franklin/01-20-02-0213
210•freediver•14h ago•133 comments

A candidate giant planet imaged in the habitable zone of α Cen A

https://arxiv.org/abs/2508.03814
102•pinewurst•12h ago•34 comments

Litestar is worth a look

https://www.b-list.org/weblog/2025/aug/06/litestar/
310•todsacerdoti•18h ago•79 comments