frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

What would a "permissions-first ORM" look like? Looking for spec feedback

https://typescript-superapp.bunnytech.app/docs
2•iosifnicolae2•1h ago

Comments

umairnadeem123•1h ago
Interesting idea. The “permissions-first” bit feels like it wants to be capability-based: you don’t get a raw model/table handle, you get a scoped handle whose type encodes (read|write|delete) + row/domain constraints.

Two pitfalls I’d watch: 1) Don’t pretend you can out-ORM the DB: ultimately enforce in the database (RLS/GRANTs/policies), and treat ORM permissions as a compile-time/ergonomic layer. 2) Make privilege boundaries explicit at function boundaries (who creates the scoped handle?) so you don’t end up with ambient auth context leaking everywhere.

If you can generate SQL that is provably policy-complete (or at least auditable), that’s a big win.

iosifnicolae2•1h ago
The idea behind this spec is to give users full access to their own data. For example, ORM-backed data could be consumed by an MCP server, an autonomous agent, or a vibe-coded app. The goal is to make the data layer flexible and interoperable so that any client can build on top of it. Looking ahead, I believe the best product managers will be the end users themselves. They'll want to vibe-code their own frontends and connect them to a secure backend.

That raises a key question: how do we design a backend that's secure, safe, and robust enough to support a wide range of use cases while still being extensible enough for user-driven customization?

carlual•5m ago
This closely aligns with what I expect ZenStack could help in the AI era, which you could tell from the two demos I created :

-[MCP](https://zenstack.dev/blog/database-to-mcp)

-[Agent](https://zenstack.dev/blog/ai-agen)

From my experience, a declarative and flexible AuthZ layer is the cornerstone of everything.

ilkhan4•33m ago
I haven't read through the entire thing yet, but looks conceptually similar to Zenstack (https://zenstack.dev) with the auth plugin and auto-generated APIs, so I'd be interested in a comparison with that.

Fwiw, I went down the path of trying to do something similar with Drizzle and gave up since it was in such a state of flux (this was last year). There are (were) a ton of edge cases around trying to add automatic filters to queries to the point that it was hard to justify not just rolling my own ORM.

verdverm•5m ago
Check out Zanzibar / SpiceDB / ReBAC and "Macaroon Auth" (disambiguating search phrase) for what modern permission systems can be

Show HN: Purely Vibe Coded Asmongold Simulator

https://spirofloropoulos.com/asmongold_simulator/
1•spirodonfl•7m ago•0 comments

The Consequences of the Epstein Document Release Start to Pile Up

https://www.nationalreview.com/the-morning-jolt/the-consequences-of-the-epstein-document-release-...
1•petethomas•8m ago•0 comments

Major PC OEMs Reportedly Exploring Chinese CXMT Memory Amid Shortages

https://www.techpowerup.com/346035/major-pc-oems-reportedly-exploring-chinese-cxmt-memory-amid-sh...
1•walterbell•8m ago•0 comments

Agent-evals: Overlap, boundary, and metacognitive scoring for coding agents

https://thinkwright.ai/agent-evals
1•oceanwaves•9m ago•0 comments

Why Affordability and the Vibecession Are Real Economic Problems

https://newsletter.mikekonczal.com/p/why-affordability-and-the-vibecession
1•NomNew•10m ago•0 comments

Hard Drive Prices Unexpectedly Rise in 2026

https://gettingwin.com/industry-information/592.html
2•AndrejXY•11m ago•0 comments

Manage Your Dotfiles with Stow

https://www.gnu.org/software/stow/manual/stow.html
1•ddtaylor•14m ago•0 comments

Show HN: The first financial intelligence MCP server live trading signals Claude

https://web-production-71423.up.railway.app/mcp-server
1•Shmungus•19m ago•0 comments

Show HN: Forage – MCP server that lets AI agents find and install their own MCPs

https://github.com/isaac-levine/forage
1•DoomedWheel1027•20m ago•1 comments

AI as Exoskeleton

https://clabs.org/blog/AiAsExoskeleton
2•the_chrismo•23m ago•1 comments

A.I. Salaries Are Causing Couples to Rethink Money in Relationships

https://www.nytimes.com/2026/02/14/business/artificial-intelligence-relationships-income-gap.html
2•mooreds•27m ago•1 comments

Sub-second volumetric 3D printing by synthesis of holographic light fields

https://www.nature.com/articles/s41586-026-10114-5
2•westurner•30m ago•0 comments

EU bans AI use on government work devices

https://www.neowin.net/news/eu-parliament-bans-ai-use-on-government-work-devices/
3•bundie•31m ago•1 comments

Filkoll – The fastest command-not-found handler (2025)

https://vorpal.se/posts/2025/mar/25/filkoll-the-fastest-command-not-found-handler/
1•crispinh•32m ago•0 comments

The Death of Traditional Testing

https://engineering.fb.com/2026/02/11/developer-tools/the-death-of-traditional-testing-agentic-de...
1•manveerc•35m ago•0 comments

Apple Begins Testing End-to-End Encryption for RCS Messages in iOS 26.4 Beta

https://www.macrumors.com/2026/02/16/ios-26-4-rcs-encryption-testing/
5•contact9879•36m ago•0 comments

Meta is wrong to try to sneak into facial recognition with Ray-Ban glasses

https://www.bloomberg.com/opinion/articles/2026-02-16/meta-is-wrong-to-try-to-sneak-into-facial-r...
3•socialcommenter•38m ago•4 comments

Access public data insights faster: Data Commons MCP is now hosted on GCloud

https://developers.googleblog.com/access-public-data-insights-faster-data-commons-mcp-is-now-host...
2•manveerc•39m ago•1 comments

I built a tool for software developers

https://techstack.sh/
2•harrypotterwish•42m ago•1 comments

Frederick Wiseman, 96, Penetrating Documentarian of Institutions, Dies

https://www.nytimes.com/2026/02/16/movies/frederick-wiseman-dead.html
2•mhb•45m ago•0 comments

Poor Deming never stood a chance

https://surfingcomplexity.blog/2026/02/16/poor-deming-never-stood-a-chance/
3•todsacerdoti•46m ago•0 comments

Introducing Package Chaos Monkey

https://nesbitt.io/2026/01/26/introducing-package-chaos-monkey.html
2•pabs3•49m ago•0 comments

Facing a demographic catastrophe, Ukraine is paying for troops to freeze sperm

https://www.bbc.com/news/articles/cqxd9549y4xo
21•tartoran•54m ago•4 comments

Fixapl

https://fixapl.netlify.app/
1•todsacerdoti•56m ago•0 comments

Show HN: Constrained DSL for Reliable LLM Decisions

https://github.com/myinvestpilot/ai-architecture/blob/main/docs/01_ai_native_primitives_engine.md
1•madawei2699•57m ago•1 comments

An AI CEO said something honest: ExperiencedDevs

https://old.reddit.com/r/ExperiencedDevs/comments/1r6olcv/an_ai_ceo_finally_said_something_honest/
11•ivewonyoung•1h ago•6 comments

Finding forall-exists Hyperbugs using Symbolic Execution

https://dl.acm.org/doi/full/10.1145/3689761
3•todsacerdoti•1h ago•0 comments

Amazon van gets stuck on Britain's 'most dangerous' mudflat path

https://www.theguardian.com/uk-news/2026/feb/16/amazon-van-stuck-britain-mudflat-path-broomway-th...
2•zeristor•1h ago•1 comments

25 Years of All Your Base Are Belong to Us (Slightly Remastered)

https://www.youtube.com/watch?v=orY1RztncqE
2•decimalenough•1h ago•3 comments

Thinking Hard Burns Almost No Calories–But Destroys Your Next Workout

https://vo2maxpro.com/blog/thinking-hard-burns-no-calories-destroys-workout
2•GoodluckH•1h ago•0 comments