Modelling API rate limits as diophantine inequalities

Hacker News (score: 21)
Found: June 27, 2025
ID: 48

Description

Modelling API rate limits as diophantine inequalities

More from Hacker

Show HN: CXXStateTree – A modern C++ library for hierarchical state machines

Show HN: CXXStateTree – A modern C++ library for hierarchical state machines Hi HN!<p>I&#x27;ve built [CXXStateTree](<a href="https:&#x2F;&#x2F;github.com&#x2F;ZigRazor&#x2F;CXXStateTree">https:&#x2F;&#x2F;github.com&#x2F;ZigRazor&#x2F;CXXStateTree</a>), a modern C++ header-only library to create hierarchical state machines with clean, intuitive APIs.<p>It supports: - Deeply nested states - Entry&#x2F;exit handlers - State transitions with guards and actions - Asynchronous transitions with `co_await` (C++20 coroutines) - Optional runtime type identification for flexibility<p>It&#x27;s ideal for complex control logic, embedded systems, games, robotics, and anywhere you&#x27;d use a finite state machine.<p>I’d love feedback, use cases, or contributions from the community!<p>Repo: <a href="https:&#x2F;&#x2F;github.com&#x2F;ZigRazor&#x2F;CXXStateTree">https:&#x2F;&#x2F;github.com&#x2F;ZigRazor&#x2F;CXXStateTree</a>

Amber insect fossils reveal "zombie" fungi likely lived alongside dinosaurs

Amber insect fossils reveal "zombie" fungi likely lived alongside dinosaurs

No other tools from this source yet.