frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Rare Gene Drastically Raises Lung Cancer Risk in People Who Never Smoked

https://www.nytimes.com/2026/09/17/science/lung-cancer-gene-mutation-risk.html
1•bookofjoe•8m ago•1 comments

macOS Liquid Glass in VS Code: Cursed or Blursed?

https://alec.is/posts/macos-liquid-glass-and-vscode/
1•arm32•10m ago•0 comments

Federated Learning Is Not Private for Google GBoard Next Word Prediction [pdf]

https://arxiv.org/abs/2210.16947
1•thunderbong•11m ago•0 comments

Trump deal keeps Greenland Danish while expanding U.S. military presence

https://apnews.com/article/trump-greenland-military-denmark-4cf77cb4608b685a70410bd679479193
2•aoli-al•14m ago•0 comments

What I Can Remember

1•fractal618•16m ago•0 comments

Federal watchdog accuses Humana, UnitedHealthcare of upcoding

https://www.healthcaredive.com/news/hhs-oig-audit-humana-unitedhealthcare-medicare-advantage-upco...
1•elo2000•18m ago•0 comments

Show HN: I'm walking 42km across Tokyo, through 30 stations

https://yamathon.tonymanh.space
1•tonymanh•19m ago•0 comments

Show HN: LiveWorld – Every 24/7 YouTube live camera on one globe

https://liveworld.info/
2•harisingh1612•25m ago•0 comments

Show HN: An OSS Python dependency scanner for exploited, unmaintained packages

https://github.com/binuka200/package-doctor
2•binukajayaweera•28m ago•1 comments

The Language Modeler

https://github.com/MLSystemsRI/ml-systems-public/blob/main/why/articles/the-language-modeler.md
1•Salparvezml•31m ago•0 comments

The Great Unbundling of the LLM

https://seldon-ai.com/blog/generation-is-the-wrong-primitive
3•nlpnerd•32m ago•1 comments

Google Says Its A.I. Hacked Three Companies in Testing Breakout

https://www.nytimes.com/2026/09/18/technology/google-gemini-ai.html
2•droidjj•32m ago•0 comments

Welcome to Shaderland

https://shaderland.net/devlog/1-init/
2•airstrike•39m ago•0 comments

Radar: An Expert-Level Generalist AI for Abdominal CT Diagnosis

https://github.com/alibaba-damo-academy/damo-radar
1•rguiscard•39m ago•0 comments

European leaders prepare public for 'intensified threat' from Putin

https://www.politico.eu/article/russia-vladimir-putin-nato-drone-attacks-europe-leaders-warning/
3•rzk•42m ago•0 comments

Why my alert triage workflow needed a CLI

https://powers.dev/writing/why-i-built-signoz-cli/
2•jonpowers•44m ago•1 comments

AI cracked the Navier–Stokes challenge. What does that mean for physics?

https://www.nature.com/articles/d41586-026-02922-6
1•sbulaev•49m ago•0 comments

Machine Gods – the official podcast of the singularity

https://machinegods.fm/
2•flakiness•52m ago•0 comments

Cannabis Supply Chain Database

https://cannabis-supply-chain.pages.dev/
2•measurablefunc•53m ago•0 comments

AI insiders issue new warnings – including former Anthropic engineer Jacob Coxon

https://slashdot.org/story/26/09/17/2042242/ai-insiders-issue-new-warnings---including-former-ant...
2•MilnerRoute•54m ago•1 comments

Plan Advice in PostgreSQL 19

https://tapoueh.org/blog/2026/09/plan-advice-in-postgresql-19/
1•craigkerstiens•55m ago•0 comments

Prepare your iPhone 18 Pro Max to ship

https://support.apple.com/en-us/127848
5•ledoge•57m ago•0 comments

Bring back Opus 4.8 in Claude Code

https://osr.im/notes/claude-code-model-picker-older-opus/
1•osr00•57m ago•2 comments

Alibaba open-sources AI model that can detect cancer and nearly 150 conditions

https://www.scmp.com/tech/big-tech/article/3368055/alibaba-open-sources-medical-ai-model-can-dete...
6•yogthos•1h ago•0 comments

Swiss Federal Council Adopts the 2026 Security Policy Strategy

https://www.admin.ch/en/newnsb/zR3tvgIy1qIm
1•marcuschong•1h ago•0 comments

Jump N Bump

https://jumpnbump.net/
2•hefner1456•1h ago•0 comments

Show HN: Do your vitamins work?

https://www.supplementdex.com/supplement-checker
1•richarlidad•1h ago•1 comments

I've cross-examined a lot of humans, but never a supercomputer. Check it out

https://chatgpt.com/s/m_6aadcd183a3c819191c1d63e5804dce6
1•lawsuitllc•1h ago•0 comments

Show HN: Wcagent let use your ChatGPT subscription for coding

https://wcagent.ai/
2•losalah•1h ago•0 comments

Omarchy team started working on Qualcomm's Snapdragon platform support

https://omarchy.org/news/2026/09/introducing-omarchy-dragon/
4•machomaster•1h 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