frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Redress – failure policy for Python services

https://github.com/aponysus/redress
1•aponysus•1h ago
Hi HN,

I've been working on redress, a failure-policy library for Python services. It treats retries, circuit breakers, and stop conditions as coordinated responses to classified failure, rather than independent wrappers. The goal is to make failure behavior explicit, bounded, and observable across a codebase.

I kept running into the same problem in distributed systems and data pipelines I worked on. Retry logic grows organically at call sites and circuit breakers live somewhere else entirely. The semantics start drifting and bounds get inconsistent. Answering basic questions like "why did this operation stop" becomes needlessly difficult.

With redress's policy model, instead of asking "should we retry" I wanted to start with "what kind of failure is this?" (rate limit, server error, transient,etc) and then let a single policy decide how to respond. Retry with class-specific behavior, fail fast, open a circuit, etc.

I put together a short, runnable demo that shows this end-to-end using httpx: - result-based classification (HTTP 429 + Retry-After vs 5xx) - per-class retry strategies - bounded retries - circuit breaker coordination - explicit stop reasons and per-attempt timelines

The demo runs locally (no external services): https://github.com/aponysus/redress/blob/main/docs/snippets/...

Project: https://github.com/aponysus/redress Docs: https://aponysus.github.io/redress/

This is definitely not for simple use cases. Tenacity or hand-spun retry loops would be far better for such needs. This is intended for complex systems that need deterministic envelopes, explicit bounds, and observability hooks.

I'd appreciate any feedback.

Signal Outage [Ongoing]

https://web.archive.org/web/20260203161510/https://status.signal.org/
1•itdaniher•2m ago•1 comments

Top Economist Claudia Sahm says everyone is looking at the wrong alarm

https://fortune.com/2026/01/31/claudia-sahm-economist-labor-fed/
2•Noaidi•2m ago•1 comments

The student behind a phishing empire

https://dispatch-media.com/the-student-behind-a-phishing-empire/
1•helloplanets•3m ago•0 comments

Sonnet 5

https://en.wikipedia.org/wiki/Sonnet_5
3•hk__2•3m ago•0 comments

The "timeline to phase out ChromeOS is 2034," court documents reveal

https://www.theverge.com/tech/869659/aluminium-why-googles-android-for-pc-launch-may-be-messy-and...
1•theanonymousone•3m ago•0 comments

Signal Is Down

8•Daniel_sk•4m ago•3 comments

Show HN: Lap – A local-first AI photo manager built with Tauri and Vue 3

1•julyxx•4m ago•0 comments

Homeland Security is targeting Americans with this secretive legal weapon

https://www.washingtonpost.com/investigations/2026/02/03/homeland-security-administrative-subpoena/
1•jaredwiener•5m ago•0 comments

X offices raided French prosecutors investigate child abuse images and deepfakes

https://apnews.com/article/france-x-investigation-seach-elon-musk-1116be84d84201011219086ecfd4e0bc
2•labrador•5m ago•0 comments

Signal is experiencing technical difficulties

https://status.signal.org/
3•jumpocelot•5m ago•0 comments

Show HN: HN's Got Talent: snarky commentary on Top Show HN posts, daily

https://labs.47chapters.com/hntalent
1•janczukt•6m ago•1 comments

The Oklahoma Architect Who Turned Kitsch into Art

https://www.bloomberg.com/news/features/2026-01-31/oklahoma-architect-bruce-goff-s-wild-home-desi...
1•MarlonPro•6m ago•0 comments

Adobe is trying to kill my indie game [video]

https://www.youtube.com/watch?v=RGw8nLSQ6eg
1•uxcolumbo•6m ago•1 comments

Avocadoes may become easier to grow in India–not if global emissions remain high

https://phys.org/news/2026-01-avocadoes-easier-india-global-emissions.html
1•PaulHoule•8m ago•0 comments

Little dinosaur is forcing a rethink of evolution

https://www.sciencedaily.com/releases/2026/02/260203030521.htm
1•Brajeshwar•10m ago•0 comments

Show HN: C discrete event SIM w stackful coroutines runs 45x faster than SimPy

https://github.com/ambonvik/cimba
1•ambonvik•10m ago•0 comments

Show HN: Aifeed – A real-time feed for AI links

https://aifeed.dev/
1•ksl_dev•11m ago•0 comments

Show HN: Floyd – Open-source booking kernel for AI agents

https://github.com/floyd-run/engine
3•nither•11m ago•1 comments

Ephemeral-First Security SDKs (TypeScript, Python, Java)

https://github.com/akshat666/ephemeral-first-security-framework
1•akshat666•11m ago•1 comments

Show HN: Sbox – A zero-dependency sandbox to safely run untrusted code

https://github.com/CVPaul/sbox
1•xqli•12m ago•1 comments

Show HN: WinLog – Automatically capture your work wins for reviews and 1:1s

https://winlog.dev
1•ruairidhwm•12m ago•1 comments

You Don't Need Elasticsearch: BM25 Is Now in Postgres

https://www.tigerdata.com/blog/you-dont-need-elasticsearch-bm25-is-now-in-postgres
2•lobo_tuerto•12m ago•0 comments

Ombre Dev-Blog Year 3

https://www.froyok.fr/blog/2025-11-ombre-dev-blog-3/
1•davikr•13m ago•0 comments

Many Victorian cities grew by tenfold in a century

https://www.worksinprogress.news/p/many-victorian-cities-grew-by-tenfold
1•ortegaygasset•14m ago•0 comments

Easily install OpenClaw with a beautiful GUI

https://twitter.com/xadisingh/status/2018695029204693204
1•adisinghyc•14m ago•0 comments

Qwen3-coder-next: SOTA open source coding model

https://huggingface.co/Qwen/Qwen3-Coder-Next
2•binsquare•15m ago•0 comments

Launch HN: Modelence (YC S25) – App Builder with TypeScript / MongoDB Framework

2•eduardpi•16m ago•0 comments

DragonFire (Weapon)

https://en.wikipedia.org/wiki/DragonFire_(weapon)
1•thunderbong•16m ago•0 comments

From Data Federation to AI-Ready Analytics with Virtual Schemas

https://www.exasol.com/blog/from-data-federation-to-continuous-intelligence-how-virtual-schemas-p...
3•exagolo•16m ago•0 comments

Show HN: Lite security tool for Windows endpoints with network utilities

https://github.com/secuditor/secuditor-lite
1•mennylevinski•16m ago•0 comments