frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Body Workouts You Need to Know

https://ethansmith140833.substack.com/p/body-workouts-you-need-to-know
1•trimoxer•1m ago•0 comments

KiroCrew – Amazon's AI Harness

https://kiro.dev/crew/
1•ash663•3m ago•0 comments

Solar Water Disinfection

https://en.wikipedia.org/wiki/Solar_water_disinfection
1•_Microft•3m ago•0 comments

We learned to center a div, then browsers added sidebars

https://seg6.space/posts/center-div/
1•seg6•3m ago•0 comments

Linux 7.3 Expected to Drop the FreeVxFS File-System Driver

https://www.phoronix.com/news/Linux-Retiring-FreeVxFS
1•Bender•4m ago•0 comments

Our top agent latency optimisations

https://lexifina.com/blog/top-10-agent-optimisations-for-latency
1•alansaber•4m ago•0 comments

BMW's in-car Spider-Man ad is villain behavior

https://www.theverge.com/transportation/975172/bmw-spider-man-movie-infotainment-ad
2•cebert•4m ago•0 comments

Nixpkgs has a due-process problem

https://domenkozar.com/2026/08/04/nixpkgs-has-a-due-process-problem/
1•JustSkyfall•5m ago•0 comments

Pi's Minimalism Is Its Advantage

https://earendil.com/posts/pi-autoresearch-and-databricks/
2•luispa•5m ago•0 comments

AI stock sell-off slams hedge funds as Whale Rock loses 21.7% in July

https://www.bloomberg.com/news/articles/2026-08-04/whale-rock-sank-22-as-ai-selloff-crippled-hedg...
1•mapping365•6m ago•0 comments

Salad Fingers 1: Spoons (original upload) [video]

https://www.youtube.com/watch?v=M3iOROuTuMA
1•doener•7m ago•0 comments

Show HN: AI product evaluation methodoloy at huby

1•dd-sharma•8m ago•0 comments

What are credit default swaps and why are they spooking AI investors?

https://www.reuters.com/business/finance/global-markets-cds-explainer-2026-07-29/
2•mapping365•9m ago•0 comments

Ghostgrid AI

https://ghostgridai.com
1•mouhamad215•9m ago•0 comments

Missouri election chief rejects bid to hold vote on congressional districts

https://apnews.com/article/redistricting-congress-missouri-trump-petition-vote-election-5cfa5294a...
1•petethomas•10m ago•0 comments

Show HN: Collab Word in Web – Collaborative MS Word Parity Docx Editor

https://collab.word-in-web.com/
1•theRealestAEP•10m ago•0 comments

Credit Braces for Fallen Angels as $100B Trades Like Junk

https://financialpost.com/pmn/business-pmn/credit-braces-for-fallen-angels-as-100-billion-trades-...
1•mapping365•11m ago•0 comments

Missouri Is Latest State to Vote on Abolishing Income Tax

https://www.wsj.com/politics/policy/missouri-is-latest-state-to-vote-on-abolishing-income-tax-bd7...
1•JumpCrisscross•11m ago•0 comments

Big Tech Is Finally Paying for the AI Disaster It Created [video]

https://www.youtube.com/watch?v=XB55jZAYifQ
1•Jazgot•14m ago•0 comments

VibeMathed - Math Problems Solved by AI

https://vibemathed.com
1•frozenseven•14m ago•0 comments

DuckDB – Data power tools for your laptop, now in Clojure (2023)

https://techascent.com/blog/just-ducking-around.html
2•sourdecor•18m ago•0 comments

Luna Forge

https://github.com/RealAhmedOsama/Luna-Forge
1•handfuloflight•19m ago•0 comments

Kimi K3 Inference self hosting study

https://ramshankar07.substack.com/p/kimi-k3-tokenomics-i-spent-300-so
1•Ramshankar07•19m ago•1 comments

Tricki – a repository of mathematical know-how (2020)

https://www.tricki.org/
1•sendes•19m ago•0 comments

Open VSX extensions found harvesting developer info

https://www.bleepingcomputer.com/news/security/77-open-vsx-extensions-found-harvesting-developer-...
2•sbulaev•20m ago•0 comments

Tabtrail: park your unused tabs and save on memory

https://addons.mozilla.org/en-GB/firefox/addon/tabtrail/
1•batmnnn•20m ago•0 comments

I Tried to Make AI Writing Sound Human by Banning AI Words Through Logit_bias

https://www.vincentschmalbach.com/make-ai-writing-sound-human-logit-bias/
2•gmays•21m ago•0 comments

Amiga clarifies Commodore rights and the future of AmigaOS

https://amiga.com/news/20260804-amiga-update
4•odomus•23m ago•0 comments

Self-Serve E-Prescribing Integration with Photon

https://photonhealth.com/blog/introducing-photon-self-serve
1•arunchaudhuri_•24m ago•0 comments

AI fuels more than half of cybercrime in Africa as digital scams surge: INTERPOL

https://www.africanews.com/2026/08/04/ai-fuels-more-than-half-of-cybercrime-in-africa-as-digital-...
12•bookofjoe•26m ago•3 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