frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Generalized Orders of Magnitude

https://arxiv.org/abs/2510.03426
38•leokoz8•1w ago
https://github.com/glassroom/generalized_orders_of_magnitude

Comments

fheinsen•1w ago
repo:

https://github.com/glassroom/generalized_orders_of_magnitude

dang•15h ago
We'll add that link to the toptext as well. Thanks!
Alive-in-2025•14h ago
Thank you for things like this, it significantly enhances news.yc to make these kinds of tweaks and choices.
cs702•15h ago
This is basically a Pytorch library for executing computations over dynamic ranges that exceed Float64's limits, including on GPUs.

I can see how it could be useful when you really need it. Thank you for sharing it on HN.

I tried the sample code for estimating Lyapunov exponents in parallel. It worked on the first try, and it was much faster than existing methods, as advertised. It's nice to come across something that works as advertised on the first try!

The high-dynamic-range RNN stuff may be interesting to others, but it's not for me. In my book, Transformers have won. Nowadays it's so easy to whip-up a small Transformer with a few lines of Python, and it will work well on anything you throw at it.

fheinsen•12h ago
To the best of our knowledge, this is the first time anyone has successfully trained a non-diagonal RNN computed in parallel, via prefix scan, without requiring any form of stabilization. We abstained from claiming as much out of an abundance of caution.
LolWolf•13h ago
Hmm, how does this compare to things like

https://github.com/cjdoris/LogarithmicNumbers.jl

or

https://github.com/cjdoris/HugeNumbers.jl

(Apart from the PyTorch impl)

In particular, it feels like storing the complete complex number is a bit silly since we know, a priori, that the number exponentiates to ±1, so, wouldn't this mean that we have wasted 31 bits? (=32-1 since only one bit is needed for the sign.)

That being said, this representation is very useful for certain scenarios, of course, when you know that the dynamic range of your number is very large, but, as far as I can tell, it's not exactly super novel, unless I'm missing something!

fheinsen•12h ago
The manuscript formally defines GOOMs as a set of mathematical objects, shows that floating-point formats are a special case of GOOMs, and notes that they extend prior work on logarithmic number systems (LNSs), which go back to at least the early 1970's. That is, LNSs are a special case of GOOMs too. Defining and naming GOOMs enables reasoning about all possible special cases in the abstract. In practice, each implementation makes different trade-offs.

The formal definition stops short of inducing an isomorphism between GOOMs and R, to allow for the possibility of transformations that leverage the structure of the complex plane, e.g., deep learning models that process data in C and apply a final transformation from C to GOOMs, thereby allowing the data to be exponentiated to R. The library in this repository makes implementing such a model trivial, because it ensures that backpropagation works seamlessly over C, over GOOMs, and across mappings between C, GOOMs, and floats.

Take a look at the selective-resetting algorithm in the manuscript too. To the best of our knowledge, it's a new algorithm, but we opted not to claim as much, out of an abundance of caution. You will appreciate reading about it.

drpixie•12h ago
A different approach to the same problem: see https://posithub.org/ or https://en.wikipedia.org/wiki/Unum_(number_format)
fheinsen•12h ago
Yes. See this comment for context: https://news.ycombinator.com/item?id=45611863
satisfice•8h ago
Does it mean I can use the word “zillion” in a professional scientific context?

3x performance for 1/4 of the price by migrating from AWS to Hetzner

https://digitalsociety.coop/posts/migrating-to-hetzner-cloud/
231•pingoo101010•1h ago•114 comments

How I bypassed Amazon's Kindle web DRM

https://blog.pixelmelt.dev/kindle-web-drm/
1188•pixelmelt•15h ago•341 comments

Meow.camera

https://meow.camera/
293•southwindcg•8h ago•104 comments

Ring to partner with Flock, a network of cameras used by ICE, feds, and police

https://techcrunch.com/2025/10/16/amazons-ring-to-partner-with-flock-a-network-of-ai-cameras-used...
117•gman83•2h ago•58 comments

Reworking Memory Management in CRuby

https://railsatscale.com/2025-09-16-reworking-memory-management-in-cruby/
24•ksec•4d ago•4 comments

Claude Skills

https://www.anthropic.com/news/skills
665•meetpateltech•19h ago•353 comments

How does one build large front end apps without using a framework like React?

20•thepianodan•55m ago•23 comments

Create a Custom Interactive dashboard using SVG

https://0xmm.in/posts/custom_dash/
42•accessonline•4d ago•13 comments

Next steps for BPF support in the GNU toolchain

https://lwn.net/Articles/1039827/
58•signa11•8h ago•10 comments

Gemini 3.0 spotted in the wild through A/B testing

https://ricklamers.io/posts/gemini-3-spotted-in-the-wild/
375•ricklamers•18h ago•232 comments

Cloudflare Sandbox SDK

https://sandbox.cloudflare.com/
211•bentaber•14h ago•64 comments

Let's Write a Macro in Rust

https://hackeryarn.com/post/rust-macros-1/
4•hackeryarn•6d ago•1 comments

Your data model is your destiny

https://notes.mtb.xyz/p/your-data-model-is-your-destiny
289•hunglee2•2d ago•69 comments

DoorDash and Waymo launch autonomous delivery service in Phoenix

https://about.doordash.com/en-us/news/waymo
266•ChrisArchitect•21h ago•589 comments

Virtual Memory for Real-time RISC-V systems using hPMP

https://arxiv.org/abs/2504.04498
8•fork-bomber•1w ago•1 comments

Codex Is Live in Zed

https://zed.dev/blog/codex-is-live-in-zed
238•meetpateltech•20h ago•42 comments

Read Your Way Through Hà NộI

https://vietnamesetypography.com/samples/read-your-way-through-ha-noi/
48•jxmorris12•5d ago•35 comments

Hyperflask – Full stack Flask and Htmx framework

https://hyperflask.dev/
332•emixam•23h ago•123 comments

A liver transplant from start to finish

https://press.asimov.com/articles/liver
65•mailyk•4d ago•15 comments

Elixir 1.19

https://elixir-lang.org/blog/2025/10/16/elixir-v1-19-0-released/
318•theanirudh•1d ago•94 comments

Syntax highlighting is a waste of an information channel (2020)

https://buttondown.com/hillelwayne/archive/syntax-highlighting-is-a-waste-of-an-information/
306•swyx•4d ago•136 comments

Talent

https://www.felixstocker.com/blog/talent
173•BinaryIgor•17h ago•79 comments

Flight Simulator for the Brain Reveals How We Learn and Why Minds Go Off Course

https://now.tufts.edu/2025/10/16/flight-simulator-brain-reveals-how-we-learn-and-why-minds-someti...
16•XzetaU8•5h ago•5 comments

A 4k-Room Text Adventure Written by One Human in QBasic No AI

https://the-ventureweaver.itch.io/tlote4111
102•ATiredGoat•5d ago•79 comments

Benjie's Humanoid Olympic Games

https://generalrobots.substack.com/p/benjies-humanoid-olympic-games
129•robobenjie•15h ago•93 comments

America’s semiconductor boom [video]

https://www.youtube.com/watch?v=T-jt3qBzJ4A
166•zdw•12h ago•101 comments

Understanding Spec-Driven-Development: Kiro, Spec-Kit, and Tessl

https://martinfowler.com/articles/exploring-gen-ai/sdd-3-tools.html
83•janpio•14h ago•11 comments

Post office in France rolls out croissant-scented stamp

https://www.ctvnews.ca/world/article/french-post-office-rolls-out-croissant-scented-stamp/
138•ohjeez•1w ago•57 comments

Lead Limited Brain and Language Development in Neanderthals and Other Hominids?

https://today.ucsd.edu/story/did-lead-limit-brain-and-language-development-in-neanderthals-and-ot...
76•gmays•12h ago•32 comments

EVs are depreciating much faster than gas-powered cars

https://restofworld.org/2025/ev-depreciation-blusmart-collapse/
7•belter•50m ago•5 comments