frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Why do math libraries produce different results across platforms?

https://github.com/RegularJoe-CEO/LuxiDemo/releases/tag/v2.0.1
3•luxiedge•3h ago

Comments

luxiedge•3h ago
I've been working on a problem in quantitative finance where we need reproducible results for audit trails. Simple stuff like sin(0.5) returns different bits on ARM vs x86, or CPU vs GPU.

Traced it down to libm implementations using different polynomial approximations, FMA instructions, and compiler optimizations. Even the same binary can produce different results depending on CPU microarchitecture.

Ended up building a REST API that forces determinism by using fixed Remez polynomial coefficients, disabling FMA, and enforcing strict evaluation order. Every response includes a SHA256 hash of the output bytes.

Just shipped an update with 19 validated unary functions (trig, hyperbolic, exp, log, roots) plus support for compound expressions. Tested across M1 Mac, x86 Linux, and H100 GPU. Same inputs produce identical hashes on all three.

Curious if others have hit this problem. How do you handle determinism in distributed systems where floating point consistency matters? Is there interest in a tool like this or are people just accepting the drift?

Demo binary: https://github.com/RegularJoe-CEO/LuxiDemo/releases/tag/v2.0...

pestatije•2h ago
The java.lang.StrictMath javadoc[4] describes which algorithms and C libraries are used to achieve reproducibility across implementations/architectues.

[4] https://docs.oracle.com/en/java/javase/21/docs/api/java.base...

Workers are 'friction-maxxing' to resist AI

https://www.ft.com/content/fd5e65df-83c7-42f3-9658-377c99df42d1
1•cebert•4m ago•1 comments

Show HN: SBOMHub – Open-source SBoM dashboard with CVE tracking

https://github.com/youichi-uda/sbomhub/blob/main/README_en.md
1•y1uda•5m ago•0 comments

Show HN: Skill.Fish – NPM-style package manager for AI agent skills

https://github.com/knoxgraeme/skillfish
1•knoxgraeme•7m ago•0 comments

Free Corpus Tracker – Budget, stocks, gold, mutual funds in one place

https://icorpus.vercel.app
1•mathan_karthik•9m ago•1 comments

Sudo

https://www.sudo.ws/
1•vinhnx•18m ago•0 comments

Moltbook Smcp Plugin

https://github.com/sanctumos/smcp-moltbook
1•actuallyrizzn•21m ago•1 comments

I replaced a $120/year micro-SaaS in 20 minutes with LLM-generated code

https://blog.pragmaticengineer.com/i-replaced-a-120-year-micro-saas-in-20-minutes-with-llm-genera...
3•vinhnx•24m ago•1 comments

Chased Through Amsterdam, Robbed of $1M, yet Still Building: Matthew's Plans

https://altcoindesk.com/perspectives/interviews/after-a-1m-scam-in-amsterdam-matthew-jones-moves-...
1•CapricornQueen•31m ago•0 comments

The Art of Unix Usability

http://www.catb.org/~esr/writings/taouu/html/index.html
1•js216•33m ago•0 comments

Oakland Firestorm of 1991

https://en.wikipedia.org/wiki/Oakland_firestorm_of_1991
1•petethomas•38m ago•0 comments

What If Trump Discovers That Unpaid UK (and French) Debt from WWI?

https://podcasts.apple.com/us/podcast/ep-155-what-if-trump-discovers-that-unpaid-uk-and/id1528208...
2•KnuthIsGod•45m ago•0 comments

Stop panicking about AI. Start preparing

https://www.economist.com/leaders/2026/01/29/stop-panicking-about-ai-start-preparing
2•petethomas•48m ago•0 comments

Network Applications of Bloom Filters: A Survey [pdf]

https://www.eecs.harvard.edu/~michaelm/postscripts/im2005b.pdf
1•mfiguiere•53m ago•1 comments

Show HN: Kindler: A declarative, Lua-based, build system

https://setsunasoftware.com/kindler/
1•ThatGuyRaion•54m ago•0 comments

The Context Gravity Well

https://mapwriting.substack.com/p/the-context-gravity-well
1•doitLP•55m ago•0 comments

LinkedIn, Everyone's an AI Detective Now

https://www.bloomberg.com/news/articles/2026-01-30/chatgpt-written-linkedin-posts-have-users-anal...
1•petethomas•1h ago•1 comments

Tautologism Language

https://zenodo.org/records/18446476
2•KaoruAK•1h ago•0 comments

Show HN: Licobox – Container runtime with Docker Engine on a macOS

https://licobox.dev
1•yunusefendi52•1h ago•0 comments

Show HN: Using OpenClaw chat to manage tasks with an Eisenhower Matrix

https://4to.do/integrations/openclaw
1•haoya•1h ago•0 comments

Why Do Lawyers Want to Abolish ICE? [video]

https://www.youtube.com/watch?v=zkgNnbTrsgw
1•zdw•1h ago•0 comments

Chrome Extension lets you watch YouTube while browsing the web

https://chromewebstore.google.com/detail/watch-youtube-sidebar/nfgnokdbenjkocebgekljbdolmfjbnhg
2•eeko_systems•1h ago•0 comments

RPyC – Transparent, symmetric distributed computing

https://rpyc.readthedocs.io/en/latest/
2•benswerd•1h ago•0 comments

Start (Vibe) Coding Fast

https://chadnauseam.com/coding/tips/start-vibe-coding-fast
2•ChadNauseam•1h ago•2 comments

Show HN: ShotOne – Screenshot API with built-in playground for quick testing

https://shotone.io/
1•DebianXMR•1h ago•0 comments

Free Online Guitar Tuner: No download required, works on any device

https://www.online-guitartuner.com/
1•ashing•1h ago•1 comments

Apple Hooks Fifty Thousand Methods [video]

https://www.youtube.com/watch?v=SuQGQ1vh9k0
2•todsacerdoti•1h ago•0 comments

The (AI) Nature of the Firm

https://camerongordon0.substack.com/p/the-ai-nature-of-the-firm
1•iciac•1h ago•0 comments

PyInfra: Infrastructure Deserves Real Code in Python, Not YAML Soup

https://marp.kalvad.com/fosdem_2026
3•nogajun•1h ago•1 comments

China's 'gold fever' sparks US$1B scandal as trading platform collapses

https://www.scmp.com/economy/china-economy/article/3341633/chinas-gold-fever-sparks-us1-billion-s...
10•latchkey•1h ago•0 comments

Gemini 3 Pro on AI Studio has been capped at 10 uses per day

https://old.reddit.com/r/Bard/comments/1qqw8o4/gemini_3_pro_on_ai_studio_has_finally_been_capped/
1•Kholin•1h ago•0 comments