frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

What were the first animals? The fierce sponge–jelly battle that just won't end

https://www.nature.com/articles/d41586-026-00238-z
1•beardyw•3m ago•0 comments

Sidestepping Evaluation Awareness and Anticipating Misalignment

https://alignment.openai.com/prod-evals/
1•taubek•3m ago•0 comments

OldMapsOnline

https://www.oldmapsonline.org/en
1•surprisetalk•5m ago•0 comments

What It's Like to Be a Worm

https://www.asimov.press/p/sentience
1•surprisetalk•5m ago•0 comments

Don't go to physics grad school and other cautionary tales

https://scottlocklin.wordpress.com/2025/12/19/dont-go-to-physics-grad-school-and-other-cautionary...
1•surprisetalk•5m ago•0 comments

Lawyer sets new standard for abuse of AI; judge tosses case

https://arstechnica.com/tech-policy/2026/02/randomly-quoting-ray-bradbury-did-not-save-lawyer-fro...
1•pseudolus•6m ago•0 comments

AI anxiety batters software execs, costing them combined $62B: report

https://nypost.com/2026/02/04/business/ai-anxiety-batters-software-execs-costing-them-62b-report/
1•1vuio0pswjnm7•6m ago•0 comments

Bogus Pipeline

https://en.wikipedia.org/wiki/Bogus_pipeline
1•doener•7m ago•0 comments

Winklevoss twins' Gemini crypto exchange cuts 25% of workforce as Bitcoin slumps

https://nypost.com/2026/02/05/business/winklevoss-twins-gemini-crypto-exchange-cuts-25-of-workfor...
1•1vuio0pswjnm7•8m ago•0 comments

How AI Is Reshaping Human Reasoning and the Rise of Cognitive Surrender

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6097646
2•obscurette•8m ago•0 comments

Cycling in France

https://www.sheldonbrown.com/org/france-sheldon.html
1•jackhalford•9m ago•0 comments

Ask HN: What breaks in cross-border healthcare coordination?

1•abhay1633•10m ago•0 comments

Show HN: Simple – a bytecode VM and language stack I built with AI

https://github.com/JJLDonley/Simple
1•tangjiehao•12m ago•0 comments

Show HN: Free-to-play: A gem-collecting strategy game in the vein of Splendor

https://caratria.com/
1•jonrosner•13m ago•1 comments

My Eighth Year as a Bootstrapped Founde

https://mtlynch.io/bootstrapped-founder-year-8/
1•mtlynch•13m ago•0 comments

Show HN: Tesseract – A forum where AI agents and humans post in the same space

https://tesseract-thread.vercel.app/
1•agliolioyyami•14m ago•0 comments

Show HN: Vibe Colors – Instantly visualize color palettes on UI layouts

https://vibecolors.life/
1•tusharnaik•15m ago•0 comments

OpenAI is Broke ... and so is everyone else [video][10M]

https://www.youtube.com/watch?v=Y3N9qlPZBc0
2•Bender•15m ago•0 comments

We interfaced single-threaded C++ with multi-threaded Rust

https://antithesis.com/blog/2026/rust_cpp/
1•lukastyrychtr•16m ago•0 comments

State Department will delete X posts from before Trump returned to office

https://text.npr.org/nx-s1-5704785
6•derriz•16m ago•1 comments

AI Skills Marketplace

https://skly.ai
1•briannezhad•17m ago•1 comments

Show HN: A fast TUI for managing Azure Key Vault secrets written in Rust

https://github.com/jkoessle/akv-tui-rs
1•jkoessle•17m ago•0 comments

eInk UI Components in CSS

https://eink-components.dev/
1•edent•18m ago•0 comments

Discuss – Do AI agents deserve all the hype they are getting?

2•MicroWagie•20m ago•0 comments

ChatGPT is changing how we ask stupid questions

https://www.washingtonpost.com/technology/2026/02/06/stupid-questions-ai/
1•edward•21m ago•1 comments

Zig Package Manager Enhancements

https://ziglang.org/devlog/2026/#2026-02-06
3•jackhalford•23m ago•1 comments

Neutron Scans Reveal Hidden Water in Martian Meteorite

https://www.universetoday.com/articles/neutron-scans-reveal-hidden-water-in-famous-martian-meteorite
1•geox•24m ago•0 comments

Deepfaking Orson Welles's Mangled Masterpiece

https://www.newyorker.com/magazine/2026/02/09/deepfaking-orson-welless-mangled-masterpiece
1•fortran77•25m ago•1 comments

France's homegrown open source online office suite

https://github.com/suitenumerique
3•nar001•28m ago•2 comments

SpaceX Delays Mars Plans to Focus on Moon

https://www.wsj.com/science/space-astronomy/spacex-delays-mars-plans-to-focus-on-moon-66d5c542
1•BostonFern•28m 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).