frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

FAA Issues National Ground Stop

https://www.fly.faa.gov/adv/adv_otherdis?adv_date=11132026&advn=111
839•zulln•1h ago•479 comments

$11.4M in Nvidia hardware vanishes during shipment from CA to TX

https://www.freightwaves.com/news/11-4-million-in-nvidia-hardware-vanishes-during-shipment-from-c...
238•crescit_eundo•4h ago•128 comments

Live airband on all frequencies from KORS. Victoria, CA also ground stopped

https://orcasairband.com/
43•mmaunder•49m ago•17 comments

National Weather Service reports nationwide radar website outage amid FAA stop

https://www.news9.com/oklahoma-city-news/national-weather-service-reports-nationwide-radar-websit...
20•galleywest200•37m ago•2 comments

FM-1 Workbench

https://open.m-vave.com/fm1-workbench
138•simonebrunozzi•3h ago•85 comments

Reverse engineering my Coway air purifier to ditch the cloud

https://scottjg.com/posts/2026-11-11-reverse-engineering-my-coway-air-purifier-to-ditch-the-cloud/
636•scottjg•1d ago•188 comments

After 600 experiments, here's what I discovered about JEPA world models

https://haddyalchaer.com/jepa
190•halcdev•4h ago•32 comments

Perplexity Decider v1.3: Training, eval, and use cases

https://www.perplexity.ai/hub/blog/perplexity-decider
74•gmays•3h ago•15 comments

Claude Meetings

https://claude.com/resources/articles/claude-meetings
8•hmokiguess•14m ago•2 comments

Autonomous (YC F25) is hiring MTS to build AI agents that manage your wealth

https://atg.science/careers
1•dkobran•1h ago

Found: A protein that drives ageing without unleashing inflammation

https://www.nature.com/articles/d41586-026-03638-3
67•gumby•3h ago•15 comments

Doomsday: Friday, 13 November, A.D. 2026 (1960)

https://www.science.org/doi/10.1126/science.132.3436.1291
419•voxleone•10h ago•295 comments

Live-migration support in FreeBSD and bhyve coming

https://gyptazy.com/blog/freebsd-bhyve-live-migration-support-rfc/
39•JohnDohnBohn•2h ago•4 comments

Big tech is here to let us down

https://blog.jsweeting.me/big-tech-is-here-to-let-us-down
158•speckx•2h ago•147 comments

All US airports are currently ground stopped

https://twitter.com/flightradar24/status/2121347654714077605
103•defly•1h ago•23 comments

Show HN: Isometric SF – A pixel-art map of the SF Bay Area

https://isometricsf.com/
123•juscha1•4h ago•47 comments

Ctrl+C, Ctrl+v, Ctrl+cve: Bypassing Android's Clipboard Read Security Measures

https://toninoble.com/post/ctrlc-ctrlv-ctrlcve
50•dethmasque•4h ago•22 comments

A technical vision for the Haskell ecosystem

https://discourse.haskell.org/t/a-technical-vision-for-the-haskell-ecosystem/15078
162•cosmic_quanta•8h ago•76 comments

Models can now transmit viruses in weight-space

https://www.alphaxiv.org/abs/2611.weight-space-misfolding
123•mkglees•4h ago•44 comments

AI unlocks Gödel's notebooks, said to contain hundreds of proved theorems

https://www.theguardian.com/science/2026/nov/13/kurt-godel-notebooks-ai-helps-unlock-hidden-disco...
283•bookofjoe•5h ago•83 comments

Minnesota guitarist's "palmfrets" invention strikes a new chord

https://www.echopress.com/business/minnesota-guitarists-invention-strikes-a-new-chord
110•bookofjoe•7h ago•69 comments

It Takes 16 Clicks for a Student to Open a PowerPoint on an iPad

https://www.reddit.com/r/Teachers/comments/1xuup7a/technology_sucks_it_literally_takes_16_clicks_...
214•BobaFloutist•4h ago•112 comments

FAA issues nationwide ground stop due to "extraordinary circumstances"

https://www.axios.com/2026/11/13/faa-nationwide-ground-stop
89•owenshen24•1h ago•25 comments

Lonewolf 0.3 – A standalone XMPP server written in Rust

https://github.com/lonewolf-im/lonewolf/releases/tag/v0.3.0
121•ortuman•8h ago•33 comments

No AI Slop: A Manifesto

https://www.slopmanifesto.com/
143•bankombinator•3h ago•83 comments

CERN Built the Large Hadron Collider's Next-Gen Magnets

https://spectrum.ieee.org/large-hadron-collider-superconducting-magnets
63•marc__1•8h ago•6 comments

Apify Security Incident

https://status.apify.com/incidents/sxd1dj5j6749
79•cynicalpeace•5h ago•10 comments

OpenAI disbands its robotics team as its general models start running robots

https://fortune.com/2026/11/13/openai-disbands-robotics-team-as-its-general-models-start-running-...
128•sshah03•4h ago•57 comments

Microsoft outage gives customers a crash course in dependence on Redmond

https://www.theregister.com/saas/2026/11/13/microsoft-outage-gives-customers-a-crash-course-in-de...
89•nephihaha•4h ago•29 comments

Concurrent Shell Command Queues

https://emmer.dev/blog/concurrent-shell-command-queues/
22•speckx•5h ago•14 comments
Open in hackernews

Comparing floating-point numbers (2012)

https://randomascii.wordpress.com/2012/02/25/comparing-floating-point-numbers-2012-edition/
26•sph•1y ago

Comments

LegionMammal978•1y ago
I'd argue that any equality comparison of floating-point numbers is asking for trouble, unless you're specifically working with small dyadic fractions (using exact comparison) or testing a purely heuristic 'closeness' condition (using fuzzy comparison).

Of course, inequalities show up in a lot more places, but are similarly fraught with difficulty, since mathematical statements may fail to translate to floating-point inequalities. E.g., in computational geometry, people have written entire papers about optimizing correct orientation predicates [0], since the naive method can easily break at small angles. This sort of thing is what often shows up as tiny seams in 3D video-game geometry.

[0] https://www.cs.cmu.edu/~quake/robust.html

mtklein•1y ago
My preferred way to compare floats as being interchangeably equivalent in unit tests is

    bool equiv(float x, float y) {
        return (x <= y && y <= x)
            || (x != x && y != y);
    }
This handles things like ±0 and NaNs (while NaNs can't be IEEE-754-equal per se, they're almost always interchangeable), and convinces -Wfloat-equal you kinda know what you're doing. Also everything visually lines up real neat and tidy, which I find makes it easy to remember.

Outside unit tests... I haven't really encountered many places where float equality is actually what I want to test. It's usually some < or <= condition instead.

sph•1y ago
I have built a production Javascript library with decent amounts of users that incorporates the following hack to deal with float error (avert your eyes if you're sensitive):

  // 1.2 - 1.0 === 0.19999999999999996
  // fixFloatError(1.2 - 1.0) === 0.2
  var fixFloatError = function (n) {
    return parseFloat(n.toPrecision(12));
  };
It felt correct at the time, but after reading the article, I cringe at how fundamentally broken it is. I got away with it because the library is used to convert betting odds, which are mostly small floating point numbers, so the error is often < 10^-12.