frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Multi-Region Row Level Security in CockroachDB

https://www.cockroachlabs.com/blog/fine-grained-access-control-row-level-security/
45•rusticwizard•9h ago

Comments

jayzalowitz•7h ago
well done!
DSingularity•5h ago
The first example demonstrating row level security contains results from the wrong tenant.
sebmellen•5h ago
Is that true? I can’t quite follow it on mobile.
rsclarke•4h ago
Yes, the example shows setting the current tenant id to all ones and then performing a select revealing a tenant id of all twos.

The same result is displayed in another example when correctly using a tenant id of all twos. A mistake perhaps of wrong output with the wording in the article is all.

rusticwizard•3h ago
Ah nice catch! This is an unfortunate copy paste error on the content on our part and we will fix it first thing tomorrow.
journal•5h ago
Doesn't same database multi-tenancy defeats the one-tenant one-database advantage of being able to easily disaster recover a single tenant or allow for easily moving a tenant and all their stuff to a dedicated box?
esseph•5h ago
At a certain scale they'd be sharded and not on a single instance anyway, right?
journal•5h ago
somewhere only in one place there will be main index with at least references to locations where to find others. at the top somewhere there is always just a flat list. this is a multi-dimensional problem. i really want to know real life scenario someone arguing for or against this. really interested to see what side people pick and where they draw the line of what it means to be multi-tenant. personally, i will never again write multi-tenant code ever again in my life. the implementation i've modeled for myself because i understood that immediate backup and restore is more important than fancy multi-tenancy.
jandrewrogers•4h ago
Even then, you do want to provide some degree of hardware-adjacent isolation to limit not just the blast radius but also computational cost of some DDL operations in a multi-tenant setup.

For example, you generally only want to have one tenant’s data per storage page. There are many famous ways that interleaving different tenants’ data at a fine-grained level can go very wrong.

sqlitor•52m ago
What happens if an attacker executes `SET app.current_tenant` a second time on the existing connection (e.g. through SQL injection)?

German court rules Meta tracking technology violates European privacy laws

https://therecord.media/german-court-meta-tracking-tech
206•bundie•2h ago•61 comments

Tree Borrows

https://plf.inf.ethz.ch/research/pldi25-tree-borrows.html
466•zdw•16h ago•105 comments

Biomni: A General-Purpose Biomedical AI Agent

https://github.com/snap-stanford/Biomni
175•GavCo•12h ago•28 comments

Generic interfaces

https://go.dev/blog/generic-interfaces
26•Merovius•2d ago•7 comments

A Typology of Canadianisms

https://dchp.arts.ubc.ca/how-to-use
129•gnabgib•9h ago•142 comments

The Origin of the Research University

https://asteriskmag.com/issues/10/the-origin-of-the-research-university
54•Petiver•3d ago•1 comments

Show HN: FlopperZiro – A DIY open-source Flipper Zero clone

https://github.com/lraton/FlopperZiro
248•iraton•13h ago•58 comments

MCP-B: A Protocol for AI Browser Automation

https://mcp-b.ai/
200•bustodisgusto•8h ago•100 comments

Show HN: MCP server for searching and downloading documents from Anna's Archive

https://github.com/iosifache/annas-mcp
123•iosifache•10h ago•33 comments

The jank programming language

https://jank-lang.org/
275•akkad33•3d ago•67 comments

Code and Trust: Vibrators to Pacemakers

https://punkx.org/jackdoe/code-and-trust.html
28•jackdoe•3d ago•17 comments

Evaluating the Effectiveness of Memory Safety Sanitizers

https://www.computer.org/csdl/proceedings-article/sp/2025/223600a088/21TfesaEHTy
15•signa11•2d ago•3 comments

Show HN: BreakerMachines – Modern Circuit Breaker for Rails with Async Support

https://github.com/seuros/breaker_machines
18•seuros•3d ago•5 comments

A fast 3D collision detection algorithm

https://cairno.substack.com/p/improvements-to-the-separating-axis
215•OlympicMarmoto•17h ago•27 comments

I used to prefer permissive licenses and now favor copyleft

https://vitalik.eth.limo/general/2025/07/07/copyleft.html
53•bpierre•8h ago•5 comments

White Noise – secure and private messenger

https://www.whitenoise.chat/
83•onhacker•9h ago•37 comments

Configuring Split Horizon DNS with Pi-Hole and Tailscale

https://www.bentasker.co.uk/posts/blog/general/configuring-pihole-to-serve-different-records-to-different-clients.html
95•gm678•14h ago•25 comments

Archaeologists unveil 3,500-year-old city in Peru

https://www.bbc.co.uk/news/articles/c07dmx38kyeo
146•neversaydie•3d ago•51 comments

Show HN: Petrichor – a free, open-source, offline music player for macOS

https://github.com/kushalpandya/Petrichor
92•kushalpandya•9h ago•40 comments

Solar power has begun to transform the world’s energy system

https://www.newyorker.com/news/annals-of-a-warming-planet/46-billion-years-on-the-sun-is-having-a-moment
103•dmazin•18h ago•138 comments

Show HN: I built a playground to showcase what Flux Kontext is good at

https://fluxkontextlab.com
26•Zephyrion•6h ago•4 comments

Linda Yaccarino is leaving X

https://www.nytimes.com/2025/07/09/technology/linda-yaccarino-x-steps-down.html
430•donohoe•16h ago•682 comments

Bootstrapping a side project into a profitable seven-figure business

https://projectionlab.com/blog/we-reached-1m-arr-with-zero-funding
831•jonkuipers•2d ago•222 comments

Understand CPU Branch Instructions Better

https://chrisfeilbach.com/2025/07/05/understand-cpu-branch-instructions-better/
61•mfiguiere•3d ago•19 comments

Ruby 3.4 frozen string literals: What Rails developers need to know

https://www.prateekcodes.dev/ruby-34-frozen-string-literals-rails-upgrade-guide/
222•thomas_witt•3d ago•111 comments

HyAB k-means for color quantization

https://30fps.net/pages/hyab-kmeans/
37•ibobev•9h ago•10 comments

The most otherworldly, mysterious forms of lightning on Earth

https://www.nationalgeographic.com/science/article/lightning-sprites-transient-luminous-events-thunderstorms
91•Anon84•3d ago•29 comments

Xenharmlib: A music theory library that supports non-western harmonic systems

https://xenharmlib.readthedocs.io/en/latest/
170•retooth•1d ago•15 comments

Making Explainable Minesweeper

https://sublevelgames.github.io/blogs/2025-07-06-making-explainable-minesweeper/
37•greentec•3d ago•27 comments

Multi-Region Row Level Security in CockroachDB

https://www.cockroachlabs.com/blog/fine-grained-access-control-row-level-security/
45•rusticwizard•9h ago•10 comments