frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Conflict Resolution

https://en.wikipedia.org/wiki/Conflict_resolution
1•nill0•1m ago•0 comments

Grandmother says staged arrest for reality TV show left her injured

https://www.cnn.com/2026/07/25/us/grandmother-arrest-police-reality-show
1•Tomte•2m ago•0 comments

Presearch Has Shut Down

https://news.presearch.io/a-message-from-the-presearch-team-aaa448052b2b
1•paulnpace•3m ago•0 comments

Japanese Lottery Tickets

https://designreviewed.com/50-japanese-lottery-tickets/
1•Michelangelo11•8m ago•0 comments

Show HN: Smriti: Your Photos, Your Memories

https://chivukulavirinchi.github.io/photovault/
1•virinchi_cv•9m ago•0 comments

Games of Incomplete Information(2002) [pdf]

https://web.stanford.edu/~jdlevin/Econ%20203/Bayesian.pdf
1•nill0•10m ago•0 comments

AIs-welcome Lean library downstream of Mathlib

https://github.com/TauCetiProject/TauCeti
1•MADEinPARIS•13m ago•0 comments

Quil – a reboot-proof terminal multiplexer that resumes AI sessions

https://github.com/artyomsv/quil
1•artyomsv•17m ago•0 comments

The math of traffic jams and how to avoid them

https://theconversation.com/dont-change-lanes-the-maths-of-holiday-traffic-jams-287389
1•beardyw•17m ago•0 comments

Jensen Huang's $75M gift to Vanderbilt argues art decides what technology is for

https://fortune.com/2026/07/23/why-did-jensen-huang-donate-75-million-to-art-school-vanderbilt-un...
1•theanonymousone•20m ago•0 comments

Why Would Meta Download So Much Porn?

https://www.theatlantic.com/technology/2026/07/meta-strike-3-porn-lawsuit/688023/
2•hebelehubele•20m ago•1 comments

A New Approach to Nuclear Warhead Verification Using a Zero-Knowledge Protocol(2012) [pdf]

https://www.boazbarak.org/Papers/nuclear-zk.pdf
1•nill0•20m ago•0 comments

Why My Open-Source Project Hasn't Done Better

1•yohji1984•22m ago•0 comments

CP/M-68K and Motorola 68000 Emulator

https://kobolt.github.io/article-264.html
1•AlexeyBrin•22m ago•0 comments

Type checker may be wrong – Lean and the Curry-Howard correspondence

https://max-amb.github.io/blog/your_type_checker_may_be_wrong/
1•max-amb•24m ago•1 comments

Show HN: Cygnus – A fast, lightweight self-hostable serverless runtime and PaaS

https://cygnus.run
2•ccheshirecat•25m ago•0 comments

Personal context data isn't a moat, tacit knowledge is

https://cse.ac/en/jun/hobby-capital/
1•hyeongjun•26m ago•0 comments

Show HN: I made an algorithmic arena game with physics in 3D

https://algohol.net/
2•Vibr•26m ago•0 comments

Git rebase -I is not that scary

https://cachebag.sh/journal/interactive-rebasing/
1•birdculture•28m ago•0 comments

An industrial designer's take on a portfolio tracker

https://stockfly.app
1•khorsus•29m ago•0 comments

Trajectory: A Standard Format for Agent Experience Data

https://www.letta.com/blog/trajectory/
1•wertyk•31m ago•0 comments

Systems and Delays

https://martin.janiczek.cz/2026/07/24/systems-and-delays.html
1•haeseong•32m ago•0 comments

Show HN: Tawrida – Global Trade Export Documents Generator Tool

https://tawrida.xyz/tools
2•Mohamed_zakarya•33m ago•0 comments

What if the RAM/GPU shortage is deliberate?

https://xn--vk5b17r.online/posts/ram-gpu-consp/
1•theoneone•34m ago•1 comments

Copyfarleft

https://wiki.p2pfoundation.net/Copyfarleft
1•Tepix•35m ago•0 comments

Trump announces 2028 presidential bid

https://www.smh.com.au/world/trump-announces-2028-presidential-bid-20260725-p60iho.html
1•wahnfrieden•38m ago•1 comments

Scientist with 1k Patents Fueling a Drug Powerhouse

https://www.wsj.com/health/pharma/regeneron-george-yancopoulos-drug-discovery-17fea3fa
2•bookofjoe•41m ago•1 comments

FrontAlign – A CSS Framework with Semantic Utilities and Vanilla JavaScript

https://frontalign.dev
2•eyruz•49m ago•1 comments

You never have to do work again

https://hiotto.vercel.app/
2•anqer•50m ago•2 comments

How we pushed CDC into Postgres, and turned replication into clockwork

https://www.snowflake.com/en/blog/engineering/postgres-to-snowflake-replication-mirroring/
2•plaur782•56m 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•1y 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