frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Would you use an e-commerce platform that shares transaction fees with users?

https://moondala.one/
1•HamoodBahzar•1m ago•1 comments

Show HN: SafeClaw – a way to manage multiple Claude Code instances in containers

https://github.com/ykdojo/safeclaw
2•ykdojo•4m ago•0 comments

The Future of the Global Open-Source AI Ecosystem: From DeepSeek to AI+

https://huggingface.co/blog/huggingface/one-year-since-the-deepseek-moment-blog-3
2•gmays•5m ago•0 comments

The Evolution of the Interface

https://www.asktog.com/columns/038MacUITrends.html
2•dhruv3006•6m ago•0 comments

Azure: Virtual network routing appliance overview

https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-routing-appliance-overview
2•mariuz•6m ago•0 comments

Seedance2 – multi-shot AI video generation

https://www.genstory.app/story-template/seedance2-ai-story-generator
2•RyanMu•10m ago•1 comments

Πfs – The Data-Free Filesystem

https://github.com/philipl/pifs
2•ravenical•13m ago•0 comments

Go-busybox: A sandboxable port of busybox for AI agents

https://github.com/rcarmo/go-busybox
3•rcarmo•14m ago•0 comments

Quantization-Aware Distillation for NVFP4 Inference Accuracy Recovery [pdf]

https://research.nvidia.com/labs/nemotron/files/NVFP4-QAD-Report.pdf
2•gmays•15m ago•0 comments

xAI Merger Poses Bigger Threat to OpenAI, Anthropic

https://www.bloomberg.com/news/newsletters/2026-02-03/musk-s-xai-merger-poses-bigger-threat-to-op...
2•andsoitis•15m ago•0 comments

Atlas Airborne (Boston Dynamics and RAI Institute) [video]

https://www.youtube.com/watch?v=UNorxwlZlFk
2•lysace•16m ago•0 comments

Zen Tools

http://postmake.io/zen-list
2•Malfunction92•18m ago•0 comments

Is the Detachment in the Room? – Agents, Cruelty, and Empathy

https://hailey.at/posts/3mear2n7v3k2r
2•carnevalem•19m ago•0 comments

The purpose of Continuous Integration is to fail

https://blog.nix-ci.com/post/2026-02-05_the-purpose-of-ci-is-to-fail
1•zdw•21m ago•0 comments

Apfelstrudel: Live coding music environment with AI agent chat

https://github.com/rcarmo/apfelstrudel
2•rcarmo•22m ago•0 comments

What Is Stoicism?

https://stoacentral.com/guides/what-is-stoicism
3•0xmattf•22m ago•0 comments

What happens when a neighborhood is built around a farm

https://grist.org/cities/what-happens-when-a-neighborhood-is-built-around-a-farm/
1•Brajeshwar•22m ago•0 comments

Every major galaxy is speeding away from the Milky Way, except one

https://www.livescience.com/space/cosmology/every-major-galaxy-is-speeding-away-from-the-milky-wa...
2•Brajeshwar•23m ago•0 comments

Extreme Inequality Presages the Revolt Against It

https://www.noemamag.com/extreme-inequality-presages-the-revolt-against-it/
2•Brajeshwar•23m ago•0 comments

There's no such thing as "tech" (Ten years later)

1•dtjb•24m ago•0 comments

What Really Killed Flash Player: A Six-Year Campaign of Deliberate Platform Work

https://medium.com/@aglaforge/what-really-killed-flash-player-a-six-year-campaign-of-deliberate-p...
1•jbegley•24m ago•0 comments

Ask HN: Anyone orchestrating multiple AI coding agents in parallel?

1•buildingwdavid•25m ago•0 comments

Show HN: Knowledge-Bank

https://github.com/gabrywu-public/knowledge-bank
1•gabrywu•31m ago•0 comments

Show HN: The Codeverse Hub Linux

https://github.com/TheCodeVerseHub/CodeVerseLinuxDistro
3•sinisterMage•32m ago•2 comments

Take a trip to Japan's Dododo Land, the most irritating place on Earth

https://soranews24.com/2026/02/07/take-a-trip-to-japans-dododo-land-the-most-irritating-place-on-...
2•zdw•32m ago•0 comments

British drivers over 70 to face eye tests every three years

https://www.bbc.com/news/articles/c205nxy0p31o
47•bookofjoe•33m ago•18 comments

BookTalk: A Reading Companion That Captures Your Voice

https://github.com/bramses/BookTalk
1•_bramses•33m ago•0 comments

Is AI "good" yet? – tracking HN's sentiment on AI coding

https://www.is-ai-good-yet.com/#home
3•ilyaizen•34m ago•1 comments

Show HN: Amdb – Tree-sitter based memory for AI agents (Rust)

https://github.com/BETAER-08/amdb
1•try_betaer•35m ago•0 comments

OpenClaw Partners with VirusTotal for Skill Security

https://openclaw.ai/blog/virustotal-partnership
2•anhxuan•35m ago•0 comments
Open in hackernews

Show HN: Decision-layer – your refund logic doesn't belong in Slack

https://github.com/data-riot/decision-layer
2•emt00•6mo ago
You know the drill.

Some mix of product, support and eng decides how refunds work. It lives in a Notion doc. Then Slack. Then hardcoded as a bunch of if statements. No tests. No trace. No version control.

decision-layer is a small framework to clean that up.

You write the logic in YAML. Run it like code. Test it. Trace it.

What it does: - Versioned YAML policies - CLI to run and test them - Trace output with every rule fired - Examples: refunds, escalation, tiering

All in plain Python. No weird dependencies. Just testable logic defined clearly.

⸻

Would love to hear what confuses, breaks or annoys you. (Or what would make this usable where you work.)

Comments

emt00•6mo ago
Thanks for checking this out.

I built this after one too many rounds of debugging refund logic that lived partly in code, partly in Slack/Notion and in human HDD.

What it is: A minimal framework to define decisions (refunds, escalation, tiering) in YAML, run them in Python, and trace exactly what rule fired.

Not trying to be: - A full-blown policy engine - A DSL replacement - A product

Just something useful for when your business logic needs versioning, traceability, and tests but you don’t want to build all that infra from scratch.

Trace output → shows you exactly which rule fired and why Versioning → write your policies like code, diff them, roll back Testable → run them with real inputs, locally or in CI

Happy to answer: Why YAML? (it’s config, not code) How this fits in a real app What I’d add next if people use it

Use it. Abuse it. Feedback very welcome.

zahlman•6mo ago
Nice concept. It doesn't seem to live up to the promise, though.

In particular, the apparent logic for determining whether the example order "is_late" a) is in the "Order" model (in entities.py), not in the YAML; b) apparently just checks whether the customer claims the order was late, rather than actually comparing the order and delivery dates. It appears that everything is hard-coded around provided Customer and Order models; I get that you aren't trying to be fully general, but people are going to have more data on their customers than this, and business logic that cares about that data.

The CLI doesn't seem production-ready either. "3.2" is a strange default for policy version (presumably chosen to make the test pass), and if you have multiple required arguments on the command line it isn't usual to make them all keyworded.

Oh, and to apply the MIT license properly you should have such a file in the repository and appropriate metadata in pyproject.toml.

You might also consider:

* Publishing an installable wheel, so that people don't have to do a "development"-type installation. Tools like uv and pipx can even set up a new environment from scratch for such a wheel; you already include the same abstract requirements in pyproject.toml after all. BTW, pip can now install from PEP 735 "requirement groups" described in pyproject.toml, and is soon expected to install from PEP 751 lockfiles. Regarding the licensing, you should also definitely check out PEP 639 https://peps.python.org/pep-0639/ .

* Accepting TOML as a third input format (it natively supports dates; support is built in since 3.11, and the original library they incorporated is available for earlier Python versions and is a small amount of native Python code, unlike pyyaml which may bring in a couple megabytes of compiled C).

* Allowing for mixing and matching of input formats (they're all fairly interchangeable anwyay).