frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Domer AI – Free AI Video Generator – Text and Image to Video

https://domer.io/
1•duanhjlt•2m ago•0 comments

With Less Immigration, Urban Growth Slowed in 2025

https://substack.com/home/post/p-192182908
1•NomNew•3m ago•0 comments

Anthropic accidentally leaked details of a new AI model

https://fortune.com/2026/03/27/anthropic-leaked-ai-mythos-cybersecurity-risk/
1•ilkkao•5m ago•0 comments

There's a Good Reason You Can't Concentrate

https://www.nytimes.com/2026/03/27/opinion/technology-mental-fitness-cognitive.html
1•james_r12•8m ago•1 comments

Cherri – programming language that compiles directly to a Apple Shortuct

https://github.com/electrikmilk/cherri
2•mihau•13m ago•0 comments

Supply Chain Attacks

https://ozair.dev/b/on-supply-chain-attacks/
2•ozzzzzzz•16m ago•0 comments

They booked a flight – and got a bus

https://www.washingtonpost.com/travel/2026/03/26/american-airlines-flight-bus-ride/
2•bookofjoe•19m ago•1 comments

Help Wanted: Porting GNUtrition to Python 3 and WxPython

https://lists.gnu.org/archive/html/gnutrition-devel/2026-03/msg00000.html
2•amcclure•20m ago•0 comments

Incus vs. Kubernetes: Why Simplicity Wins

https://pieterbakker.com/incus-vs-kubernetes-simplicity/
3•neitsab•21m ago•0 comments

AutoRocq: Agentic Theorem Prover for Verification

https://github.com/NUS-Program-Verification/AutoRocq
2•matt_d•23m ago•0 comments

Detecting camera on/off events for Linux and controlling lights with eBPF

https://shuhaowu.com/blog/2026/02-camera-coordinator.html
2•pwnna•24m ago•0 comments

Microsoft Set for Worst Quarter Since 2008 as AI Fears Converge

https://finance.yahoo.com/news/microsoft-set-worst-quarter-since-103556906.html
3•cebert•28m ago•0 comments

Codex-review – Claude Code plugin for Codex reviews of plans and implementations

https://github.com/boyand/codex-review
2•nathariel_•29m ago•0 comments

Show HN: Hollow – serverless web perception for AI agents

https://artiqal.vercel.app/hollow
2•LahanF•30m ago•0 comments

Double FPS on MacBook Neo with water cooling

https://www.youtube.com/watch?v=lswbpVtAhrc
2•WaterSponge•31m ago•0 comments

CRNG: Random numbers with real market fat tails, not Gaussian

https://github.com/brotto/crng/releases/tag/v0.2.0
2•brotto•32m ago•0 comments

Case Study: How an Arkweaver Customer Answers the Hard Questions

https://arkweaver.com/blog/arkweaver-customer-story-product-manager
2•lackita•33m ago•0 comments

Why are executives enamored with AI, but ICs aren't?

https://johnjwang.com/post/2026/03/27/why-are-executives-enabled-with-ai-but-ics-arent/
35•johnjwang•34m ago•43 comments

The sun and thousands of its twins migrated across the Milky Way just in time

https://www.scientificamerican.com/article/the-sun-and-thousands-of-its-twins-migrated-across-the...
2•teleforce•34m ago•0 comments

The Cost of Concurrency Coordination with Jon Gjengset [video]

https://www.youtube.com/watch?v=tND-wBBZ8RY
2•tcfhgj•35m ago•0 comments

I've created a programming course where you build what you buy

https://codetheism.com/en/
1•bauca•36m ago•1 comments

Five Nights at Epstein's – Game

https://harshulmoon.github.io/fnae.html
2•whatsupdog•40m ago•0 comments

Anti-Islanding and Smart Grid Protection (2015)

https://www.digikey.com/en/articles/anti-islanding-and-smart-grid-protection
2•password4321•40m ago•0 comments

The first A-Corp law is here

https://blog.metalabel.com/the-first-a-corp-law-is-here/
1•exolymph•40m ago•0 comments

Vibe Security Radar: Real CVEs where AI-generated code introduced Bugs

https://vibe-radar-ten.vercel.app/
4•tsgates•41m ago•0 comments

Hegseth's War on Anthropic Encounters the First Amendment

https://www.techdirt.com/2026/03/27/hegseths-war-on-anthropic-encounters-the-first-amendment/
1•cdrnsf•42m ago•0 comments

About the Atmosphere

https://toni.org/2026/03/27/about-the-atmosphere/
1•Kye•43m ago•0 comments

Red Teaming Would Fix Liberalism's Crisis

https://www.bloomberg.com/opinion/articles/2026-03-27/red-teaming-could-save-liberalism-from-its-...
2•petethomas•45m ago•0 comments

US Tech Companies Must Be Liable for Facilitating Persecution and Torture Abroad

https://www.eff.org/press/releases/us-tech-companies-must-be-accountable-us-courts-facilitating-p...
3•hn_acker•46m ago•1 comments

Mount any SEC EDGAR filer's complete filing history as a virtual filesystem

https://github.com/sampagon/edgar-mount
1•sampagon•47m ago•0 comments
Open in hackernews

Ask HN: Any good tools to pgdump multi tenant database?

3•polishdude20•10mo ago
Just joined a new company and they run a multi tenant database in postgres where each tenant is distinguished by their account ID. I'd like to be able to dump the data of a single account to my local instance to assist in debugging.

Problem is, many of the entities do not include an account ID. For example, a user can have an account ID but a user post will not but it will be tied to a user ID.

Also foreign keys aren't really implemented fully.

Are there any tools or techniques that could help make this process easier to do?

Comments

tudorg•10mo ago
You can try with data subsetting tools, a few that I know are: greenmask, jailer, tonic condenser, and I think there are more. They are not exactly for your use case, but might help you a bit. The problem is most of these tools can walk foreign keys, but only in one directions.

Also, since you said FK are not fully implemented, then there just won't be enough information for them to work with. So you can either work on fixing the foreign keys or have more complex scripts.

polishdude20•10mo ago
Thanks for the suggestions!

Yeah due to the unavailability of FK's, I'd have to somehow map certain ID columns to the tables they're for, accounting for slight naming convention differences.

woyten•10mo ago
In case you don’t have FKs you could specify virtual foreign keys in Greenmask.

Check out docs for details

https://docs.greenmask.io/latest/database_subset/#virtual-re...

abhisek•10mo ago
This is poor design. Multi-tenant data model design must have a tenant or segment ID for every tenant segmented tables. While it may not be a problem initially but as the business grows, you may need to move tenant data to separate DBs or even different regions based on compliance requirements. IMHO it is a good idea to run DB migrations and have a tenant ID populated in all tenant segmented tables
polishdude20•10mo ago
Oh yes I agree with you. It may become a big push to convince my org to do that