frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Old Reddit Is Down

https://old.reddit.com/
3•Crunsher•1m ago•0 comments

Digital Public Goods Alliance

https://www.digitalpublicgoods.net/
1•Tomte•1m ago•0 comments

Generations of AI applications: conversational, delegative, and collaborative

https://zknill.io/posts/generations-of-ai-applications/
1•zknill•1m ago•0 comments

James Webb Space Telescope discovers one of the universe's first galaxies

https://phys.org/news/2026-05-webb-universe-galaxies.html
2•busymom0•2m ago•0 comments

"Pets vs. Cattle" in the Agent Age

https://blog.johnys.io/pets-vs-cattle-in-the-agent-age/
1•johnys•4m ago•0 comments

Show HN: Steamosaic: Generate a mosaic of your Steam account

https://steamosaic.com
1•delduca•4m ago•0 comments

Sam 2 deep dive: why its FIFO memory eviction bothers me

https://chizkidd.github.io//2026/04/17/sam-2/
1•chizkidd•4m ago•0 comments

Curry Paradox: Why a less surprising shot is more impressive than a wilder one

https://perthirtysix.com/essay/curry-paradox
1•robmoore•5m ago•0 comments

The Truth About GPT Shortcuts and "Secret" AI Commands

https://jsdev.space/gpt-shortcuts-that-work/
1•javatuts•5m ago•0 comments

Why trust is a big question at the Elon Musk-OpenAI trial

https://techcrunch.com/2026/05/17/why-trust-is-a-big-question-at-the-elon-musk-openai-trial/
1•drob518•6m ago•0 comments

Show HN: 84,000 random Stripe Payment Links you can visit

https://payment-link-roulette.web.app
1•dbielik•6m ago•0 comments

Show HN: ATO: Manage Chrome tabs with one shortcut

https://github.com/jeanlucaslima/ato
1•jeanlucas•7m ago•0 comments

U.S. creates $1.7B 'lawfare' fund in exchange for Trump dropping $10B IRS suit

https://www.cnbc.com/2026/05/18/trump-dismiss-irs-lawsuit.html
3•drob518•9m ago•0 comments

The Joys of Free Cloudflare

https://dm13450.github.io/2026/05/18/the-joys-of-free-cloudflare.html
2•theanonymousone•9m ago•0 comments

Don't call yourself a Software Engineer, you are an AI Enabled Engineer

https://idiallo.com/blog/you-are-an-ai-enabled-engineer-now
1•Brajeshwar•9m ago•0 comments

Iran Starts Bitcoin-Backed Ship Insurance for Hormuz Strait

https://www.bloomberg.com/news/articles/2026-05-18/iran-starts-bitcoin-backed-shipping-insurance-...
12•srameshc•9m ago•0 comments

Burroughs Large Systems

https://en.wikipedia.org/wiki/Burroughs_Large_Systems
1•tosh•11m ago•0 comments

Transplanting light-dependent reactions for mammalian eye photosynthesis

https://www.cell.com/cell/fulltext/S0092-8674(26)00469-1?_returnURL=https%3A%2F%2Flinkinghub.else...
1•bookofjoe•11m ago•0 comments

"I Hacked This Temu Router. What I Found Should Be Illegal." [video]

https://www.youtube.com/watch?v=KsiuA5gOl1o
1•dylan604•11m ago•1 comments

WWDC26 Developer

https://developer.apple.com/wwdc26/
2•tambourine_man•12m ago•0 comments

Signs That AI-Assisted Vulnerability Discovery Is Reshaping Disclosure Volumes

https://www.vulncheck.com/blog/ai-assisted-vulnerability-discovery
1•speckx•13m ago•0 comments

Companies start getting tariff refunds after Supreme Court decision

https://www.cnbc.com/2026/05/12/trump-tariff-refunds.html
1•drob518•13m ago•0 comments

Streaming Messages from Temporal Workers to SSE Clients

https://www.architectingbytes.com/posts/temporal-redis-sse/
1•gk1•13m ago•0 comments

Show HN: Cubic Doggo, a Open-Source 12-DOF 4-Legged Robot Based on ROS2

https://github.com/SphericalCowww/CubicDoggo
1•SphericalCowww•15m ago•0 comments

Cursor Introduces Composer 2.5

https://twitter.com/cursor_ai/status/2056415413077233983
7•asar•15m ago•0 comments

You can predict LLM output sensitivity in closed form

https://noahgolmant.com/blog/stable-regions-residual-stream/
1•noahgolmant•15m ago•0 comments

Surprising things I learned putting together a Home Brain

https://bitworking.org/news/2026/05/surprising-things-i-learned-putting-together-a-home-brain/
1•ingve•17m ago•0 comments

The creator of OpenClaw used $1,300,000 of OpenAI tokens in 30 days

https://www.pcgamer.com/software/ai/the-creator-of-openclaw-used-usd1-300-000-of-openai-tokens-in...
4•speckx•19m ago•0 comments

How does the economy work at all if all are laid-off and human jobs disappear?

1•baigy•20m ago•0 comments

Intel wants to use China's phone supply chain to build cheaper laptops

https://videocardz.com/newz/project-firefly-unveiled-intel-wants-to-use-chinas-phone-supply-chain...
1•LorenDB•20m ago•0 comments
Open in hackernews

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

3•polishdude20•1y 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•1y 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•1y 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•12mo 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•1y 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•1y ago
Oh yes I agree with you. It may become a big push to convince my org to do that