frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

AI escapes from containers faster than me – so what?

https://some-natalie.dev/blog/escapes-ai/
1•speckx•1m ago•0 comments

The supplements Huberman, Attia and six other health experts have in common

https://usefollowed.com/panels/supplements-health-experts-take
1•cgoodmac•2m ago•1 comments

Show HN: Search 12k n8n community nodes by what they do

https://workflownodes.vercel.app/
1•Estarossa•2m ago•0 comments

Gentlemail – Send and receive email on unlimited domains for $5/month

https://gentlemail.dev/
2•themx05•3m ago•0 comments

Here’s what happens if you put Tailscale in the firmware of an ESP32

https://www.reddit.com/r/esp32/s/6ainC8AGjr
1•Mattboxx•3m ago•0 comments

Commission takes new steps to prepare Europeans for growing crisis risks

https://civil-protection-humanitarian-aid.ec.europa.eu/news-stories/news/commission-takes-new-ste...
1•Bender•3m ago•0 comments

Run a large language model on your iPhone. No internet is needed

https://github.com/MiTLN/OwnOwl-iPhone
1•tarassenkov•3m ago•1 comments

If I Change My Opinion on Immutability, Kill Me

https://joshmoody.org/blog/immutability-by-default/
1•joshmoody24•5m ago•0 comments

Grep for Meaning

https://github.com/sfmqrb/gutcheck
1•sfmqrb•6m ago•0 comments

The Opportunivore's Dilemma

https://www.vqronline.org/essays/opportunivores-dilemma
1•NaOH•6m ago•0 comments

Mellonbot An AI agent that finds the root cause of server issues and fixes them

https://www.mellonbot.app
1•narekkaravarich•7m ago•0 comments

Show HN: Find the Best Countries and Cities to Live or Travel

https://my-next-spot.com/en
1•drma-tech•7m ago•0 comments

Nvidia and the World Without Jensen

https://newsletter.semianalysis.com/p/nvidia-and-the-world-without-jensen
2•devy•7m ago•0 comments

Replacing JNI with Project Panama FFM, Compact Object Headers, and TreeSHAP

https://www.reddit.com/r/java/comments/1xvdd0i/smile_720_on_java_25_replacing_jni_with_project/
1•haifeng•9m ago•0 comments

Your room can be as bright as the outdoors (2019)

https://www.benkuhn.net/lux/
1•mday404•9m ago•1 comments

Tang Nano 20K FPGA replaces chips on a TRS-80 CoCo 1/2 to make it a CoCo 3

https://hackaday.com/2026/11/12/upgrade-your-coco-the-modern-way/
2•andrewstuart•10m ago•0 comments

I Used to Be Excited About Software Conferences. AI KILLed That

https://medium.com/@badrbellaj/i-used-to-be-excited-about-software-conferences-not-so-much-anymor...
1•bellajbadr•10m ago•0 comments

Agda v2.9.0

https://github.com/agda/agda/releases/tag/v2.9.0
2•qbane•11m ago•0 comments

Jensen Huang lost his job. Wall Street lost its biggest prize

https://www.nytimes.com/2026/11/13/business/jensen-huang-nvidia-wall-street.html
1•rndsignals•11m ago•0 comments

Hex – Local Voice Dictation for Linux, Windows, and Mac

https://anoma.ly/hex/
1•Curiositry•13m ago•0 comments

LLM's Play Zachtronics' SpaceChem

https://spacechem.wincon.dev/
1•fairestvalue•15m ago•0 comments

Kalshi ditches Trump Jr. as advisor; CEO admitted "optics" weren't good

https://arstechnica.com/tech-policy/2026/11/trump-jr-out-as-kalshi-advisor-after-his-firms-big-in...
1•PaulHoule•16m ago•0 comments

Live-migration support in FreeBSD and bhyve coming

https://gyptazy.com/blog/freebsd-bhyve-live-migration-support-rfc/
2•JohnDohnBohn•16m ago•1 comments

Grief, Gaps, and Glitches

https://karthikeyankc.com/life/grief-gaps-and-glitches/
2•speckx•17m ago•0 comments

Show HN: Tinbo – yet another (modern) link shortener

https://tinbo.co/
2•gothy•20m ago•0 comments

The AI megatrade's mounting portfolio concentration risk problem

https://www.ft.com/content/2f4d39dd-dee8-4620-996d-3fe978b7522b
2•petethomas•22m ago•0 comments

Orienting to 1 year AGI timelines

https://www.lesswrong.com/posts/biFHYdJnMSCmW9Xou/orienting-to-1-year-agi-timelines
2•gmays•22m ago•0 comments

No AI Slop: A Manifesto

https://www.slopmanifesto.com/
8•bankombinator•23m ago•1 comments

Show HN: College Basketball Stats and Predictions

https://fijimf.com/
3•JackFr•27m ago•0 comments

Most affairs don't matter much. Nvidia Jensen's blunder will rock the world

https://www.theregister.com/columnists/2026/11/13/most-affairs-dont-matter-except-to-the-people-i...
4•CrankyBear•28m 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