frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

TikTok Videos: 4.5B posts with engagement metrics

https://huggingface.co/datasets/kuben-developer/tiktok-videos-4b
1•plurby•2m ago•0 comments

Grassroots Football, Live

https://unleague.site/
2•kunalsin9h•3m ago•0 comments

We Thought Hubble Was One of a Kind with Its 2.4-Meter Mirror

https://www.spacegroup.no/we-thought-hubble-was-one-of-a-kind-with-its-2-4-meter-mirror-but-an-am...
1•mooreds•4m ago•0 comments

A dark horse enter China's AI race: StartLux

https://chinaonchina.com/article/chen-dawei-returns-enters-the-large-model-sector
1•try-working•5m ago•0 comments

Federal government surveilling professional lobstermen

https://www.washingtonpost.com/opinions/2026/09/02/federal-government-is-surveilling-professional...
1•bookofjoe•5m ago•1 comments

Show HN: Play Hide and Seek vs. a Self-Improving Agent Using WebMCP

https://lightcone-webmcp.netlify.app/
3•bearfjellstad•5m ago•0 comments

Review of "The Box"

https://www.eyrie.org/~eagle/reviews/books/0-691-13640-8.html
1•mooreds•7m ago•0 comments

Returning from the AI brain-rot state, re-take the thinking ownership

2•tuleiff•9m ago•0 comments

Mark Cuban: Why US hospitals "don't know their costs"

https://www.beckershospitalreview.com/finance/mark-cuban-why-us-hospitals-dont-know-their-costs/
1•elo2000•10m ago•0 comments

Child abuse survivor sues xAI, alleging Grok generated new illegal images of her

https://www.theguardian.com/technology/2026/sep/03/elon-musk-ai-grok-child-porn-lawsuit
1•sbulaev•10m ago•0 comments

AI-assisted mushroom hunting is a recipe for a bad trip

https://www.theregister.com/offbeat/2026/09/02/ai-assisted-mushroom-hunting-is-a-recipe-for-a-bad...
1•pseudolus•13m ago•0 comments

From Click-Ops to IaC: A Safer Workflow with AI

https://masterpoint.io/blog/dont-let-ai-break-your-infra/
1•mooreds•13m ago•0 comments

My AI agent kept waiting on me. I built a VS Code extension to fix that

https://github.com/chahe-dridi/vscode-agent-bell
1•chaherdridi•13m ago•0 comments

Scaling agentic AI pilots across the enterprise

https://www.technologyreview.com/2026/09/03/1142868/scaling-agentic-ai-pilots-across-the-enterprise/
1•joozio•15m ago•0 comments

Qwen-Drive-1.0

https://arxiv.org/abs/2609.00111
2•amancina79•15m ago•0 comments

A walk across the playa to the Temple, under the sky over it now

https://theplaya.net
2•slngr•16m ago•0 comments

Biting the No-Self Bullet

https://sashachapin.substack.com/p/biting-the-no-self-bullet
2•eatitraw•16m ago•0 comments

Google Antigravity TOS: 3rd party usage can get Google account suspended

https://twitter.com/GergelyOrosz/status/2095453567955968398
2•tosh•16m ago•0 comments

Show HN: KeyKosh(K2) – Self-hosted config and secret manager

https://keykosh.com/
1•prasols•19m ago•1 comments

Show HN: Cut your AI bill by a third. Same tools, same output

https://www.getfemail.com
1•not_wowinter14•20m ago•0 comments

Show HN: Vocab.design – A visual dictionary of UI and design terms

https://vocab.design/
1•krtgkn•21m ago•0 comments

40 years later, are Bentley's "Programming Pearls" still relevant?

https://shkspr.mobi/blog/2025/09/40-years-later-are-bentleys-programming-pearls-still-relevant/
1•edent•21m ago•0 comments

Why Is Guangdong New Energy Reporting Negative Electricity Prices?

https://chinaonchina.com/article/why-is-guangdong-new-energy-reporting-negative-electricity-price...
1•try-working•22m ago•0 comments

More than 100 water systems were hit in July cyberattacks

https://www.theregister.com/cyber-crime/2026/08/26/more-than-100-water-systems-were-hit-in-july-c...
1•NordStreamYacht•24m ago•0 comments

Audacity 4.0

https://github.com/audacity/audacity/releases/tag/Audacity-4.0.0
4•ClydeN•24m ago•0 comments

AnnotationSync a KOReader's plugin to sync between devices

https://github.com/dani84bs/AnnotationSync.koplugin
1•greensquare•25m ago•0 comments

Android 17 and higher includes a Memory Limiter

https://source.android.com/docs/core/perf/memory-limiter
2•nisiddharth•28m ago•1 comments

The Perpetual Tourist Experiment

https://experimentalliving.substack.com/p/the-perpetual-tourist-experiment
1•soltanov•28m ago•0 comments

Democrats block constitutional amendment to lock Supreme Court at 9 justices

https://www.nbcnews.com/politics/congress/house-democrats-block-constitutional-amendment-supreme-...
2•downbad_•28m ago•0 comments

How Much Pensions Replace Your Salary by Country

https://www.visualcapitalist.com/ranked-how-much-of-your-income-pensions-replace-in-retirement/
1•tcp_handshaker•30m 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