frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Annual Production of 1/72 (22mm) scale plastic soldiers, 1958-2025

https://plasticsoldierreview.com/ShowFeature.aspx?id=27
1•YeGoblynQueenne•1m ago•0 comments

Error-Handling and Locality

https://www.natemeyvis.com/error-handling-and-locality/
1•Theaetetus•2m ago•0 comments

Petition for David Sacks to Self-Deport

https://form.jotform.com/253464131055147
1•resters•2m ago•0 comments

Get found where people search today

https://kleonotus.com/
1•makenotesfast•4m ago•1 comments

Show HN: An early-warning system for SaaS churn (not another dashboard)

https://firstdistro.com
1•Jide_Lambo•5m ago•1 comments

Tell HN: Musk has never *tweeted* a guess for real identity of Satoshi Nakamoto

1•tokenmemory•6m ago•1 comments

A Practical Approach to Verifying Code at Scale

https://alignment.openai.com/scaling-code-verification/
1•gmays•7m ago•0 comments

Show HN: macOS tool to restore window layouts

https://github.com/zembutsu/tsubame
1•zembutsu•10m ago•0 comments

30 Years of <Br> Tags

https://www.artmann.co/articles/30-years-of-br-tags
1•FragrantRiver•17m ago•0 comments

Kyoto

https://github.com/stevepeak/kyoto
2•handfuloflight•17m ago•0 comments

Decision Support System for Wind Farm Maintenance Using Robotic Agents

https://www.mdpi.com/2571-5577/8/6/190
1•PaulHoule•18m ago•0 comments

Show HN: X-AnyLabeling – An open-source multimodal annotation ecosystem for CV

https://github.com/CVHub520/X-AnyLabeling
1•CVHub520•21m ago•0 comments

Penpot Docker Extension

https://www.ajeetraina.com/introducing-the-penpot-docker-extension-one-click-deployment-for-self-...
1•rainasajeet•21m ago•0 comments

Company Thinks It Can Power AI Data Centers with Supersonic Jet Engines

https://www.extremetech.com/science/this-company-thinks-it-can-power-ai-data-centers-with-superso...
1•vanburen•24m ago•0 comments

If AIs can feel pain, what is our responsibility towards them?

https://aeon.co/essays/if-ais-can-feel-pain-what-is-our-responsibility-towards-them
3•rwmj•29m ago•5 comments

Elon Musk's xAI Sues Apple and OpenAI over App Store Drama

https://mashable.com/article/elon-musk-xai-lawsuit-apple-openai
1•paulatreides•32m ago•1 comments

Ask HN: Build it yourself SWE blogs?

1•bawis•32m ago•1 comments

Original Apollo 11 Guidance Computer source code

https://github.com/chrislgarry/Apollo-11
3•Fiveplus•38m ago•0 comments

How Did the CIA Lose Nuclear Device?

https://www.nytimes.com/interactive/2025/12/13/world/asia/cia-nuclear-device-himalayas-nanda-devi...
1•Wonnk13•38m ago•0 comments

Is vibe coding the new gateway to technical debt?

https://www.infoworld.com/article/4098925/is-vibe-coding-the-new-gateway-to-technical-debt.html
1•birdculture•42m ago•1 comments

Why Rust for Embedded Systems? (and Why I'm Teaching Robotics with It)

https://blog.ravven.dev/blog/why-rust-for-embedded-systems/
2•aeyonblack•43m ago•0 comments

EU: Protecting children without the privacy nightmare of Digital IDs

https://democrats.eu/en/protecting-minors-online-without-violating-privacy-is-possible/
3•valkrieco•43m ago•0 comments

Using E2E Tests as Documentation

https://www.vaslabs.io/post/using-e2e-tests-as-documentation
1•lihaoyi•44m ago•0 comments

Apple Welcome Screen: iWeb

https://www.apple.com/welcomescreen/ilife/iweb-3/
1•hackerbeat•45m ago•1 comments

Accessible Perceptual Contrast Algorithm (APCA) in a Nutshell

https://git.apcacontrast.com/documentation/APCA_in_a_Nutshell.html
1•Kerrick•46m ago•0 comments

AI agent finds more security flaws than human hackers at Stanford

https://scienceclock.com/ai-agent-beats-human-hackers-in-stanford-cybersecurity-experiment/
3•ashishgupta2209•48m ago•2 comments

Nano banana prompts, updates everyday

https://github.com/fionalee1412/bestnanobananaprompt-github
4•AI_kid1412•51m ago•0 comments

Skills vs. Dynamic MCP Loadouts

https://lucumr.pocoo.org/2025/12/13/skills-vs-mcp/
3•cube2222•56m ago•0 comments

Top validated AI-SaaS Ideas are available here

1•peterbricks•59m ago•0 comments

UnmaskIP: A Clean, Ad-Free IP and Deep Packet Leak Checker

https://unmaskip.net
1•kfwkwefwef•1h ago•0 comments
Open in hackernews

Show HN: Toller – A Python library for robust async calls

https://github.com/NolanTrem/toller
2•nibblingnokedli•7mo ago
Hey HN,

I'm excited to share Toller, a lightweight Python library I've been working on to make asynchronous calls more robust and easier to manage. I built this after a painful incident with one of my R2R (https://github.com/SciPhi-AI/R2R) clients where Azure OpenAI went down unexpectedly. While we were technically propagating errors correctly, we lacked clean, accessible error patterns that would allow the client to implement proper mitigation strategies. They were fully dependent on our infrastructure to handle the outage, with no way to gracefully degrade or implement custom fallbacks.

This highlighted a critical gap in the Python async ecosystem: while libraries exist for basic async operations, there's nothing that combines resilience patterns in a comprehensive, accessible way. More and more, applications today depend on many external async calls:

- How do you consistently retry transient errors (like 503s from Azure's API) with proper backoff and jitter? - How do you stop hammering a service that's clearly down (circuit breaking) while automatically testing recovery? - How do you manage API rate limits across concurrent tasks without complex manual logic? - And importantly, how do you provide standardized, actionable error information to both your server and any clients depending on your API?

Toller aims to solve this with a simple `@toller.task` decorator that wraps your `async` functions and adds: Rate Limiting:Async-safe token bucket-based limiter with adaptive throttling that responds to service feedback Retries: Customizable strategies (max attempts, delay, exponential backoff, jitter) on specific exceptions Circuit Breaker: Standard CLOSED/OPEN/HALF_OPEN states with configurable thresholds and recovery testing Transparent Error Handling: Rich context in exceptions that makes it clear what happened and what to do about it

Unlike alternatives like Tenacity (focused on retries but lacking circuit breaking) or raw asyncio primitives (which require significant boilerplate), Toller provides an integrated solution specifically designed for modern async workflows, particularly those involving LLMs and other AI services where reliability is critical.

A clear exception hierarchy (`TransientError`, `FatalError`, `MaxRetriesExceeded`, `OpenCircuitError`) aims to make error handling predictable. The goal is to take the "unruly" nature of distributed async calls and "lure" them into well-managed flows (hence the name, inspired by the Nova Scotia Duck Tolling Retriever!). It's async-native, lightweight, and I've tried to make it as straightforward as possible.

I'd love to get your feedback, suggestions, or hear about any use cases you might have for it! Thanks!