frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The Untold Story of Larry Page's Comeback (2014)

https://www.inc.com/nicholas-carlson/untold-story-larry-page-comeback.html
1•Jimmc414•32s ago•0 comments

Chinese paint cuts wall temperature by 25 degrees Celsius in summer test: report

https://www.scmp.com/news/china/science/article/3367812/chinese-paint-cuts-wall-temperature-25-de...
1•Markoff•6m ago•2 comments

Show HN: A tool to find the dish you are craving

https://icrave.food/
1•mvind•10m ago•0 comments

Pangram flags award-winning novel as largely AI written

https://twitter.com/Pangramed/status/2102045146674053162
2•fbrusch•13m ago•0 comments

Belay – See what keeps going wrong in your Claude Code and Codex sessions

https://getbelay.vercel.app/
1•doplexlabs•13m ago•1 comments

Virus-Like 'Jumping Genes' Became Our Partners in Evolution

https://www.quantamagazine.org/how-virus-like-jumping-genes-became-our-partners-in-evolution-2026...
1•randomImmigrant•15m ago•1 comments

Prenatal exposure to the plasticizer DEHP increases autism and ADHD

https://dx.doi.org/10.1016/j.medj.2026.101291
1•OutOfHere•17m ago•2 comments

Jev introduces a new shape of LLM

https://simonwillison.net/2026/Sep/21/jev/
3•benwerd•18m ago•0 comments

iPhone owners can now submit claims in Apple's $250M Siri AI settlement

https://www.theverge.com/tech/998191/apple-siri-ai-iphone-16-class-action-lawsuit-settlement
1•pelcg•20m ago•1 comments

FTC Action Against MLM Operator Amway for Unfair and Deceptive Business Practice

https://www.ftc.gov/legal-library/browse/cases-proceedings/amway-ftc-v
1•busymom0•21m ago•1 comments

Interactive experiences in the Bay Area (1995)

https://www.sfgate.com/entertainment/article/interactive-experiences-in-bay-area-3148648.php
1•hbarka•25m ago•0 comments

Show HN: NoteCode++ – an offline, desktop-style code editor for Android

https://github.com/knewnothing-git/notecode-
1•yc_nothingknew•27m ago•0 comments

Six clones of Jev in 2 days

https://www.latent.space/p/ainews-here-are-6-clones-of-jev-in
4•pelcg•29m ago•1 comments

Making sense of George Lucas's new billion-dollar galaxy

https://www.economist.com/culture/2026/09/21/making-sense-of-george-lucass-new-billion-dollar-galaxy
1•andsoitis•30m ago•0 comments

Gates Foundation coalition for more representative language data sets in AI

https://abcnews.com/Technology/wireStory/gates-foundation-launches-coalition-build-representative...
1•andsoitis•30m ago•0 comments

The Basics of Transformer Inference

https://jax-ml.github.io/scaling-book/inference/
2•aray07•31m ago•0 comments

What are KV caches really?

https://blog.glennklockwood.com/2026/09/what-are-kv-caches-really.html
2•matt_d•32m ago•0 comments

Australia's giant data-centre boom

https://www.economist.com/asia/2026/09/21/australias-giant-data-centre-boom
1•andsoitis•35m ago•0 comments

Dyson Won't Say What's Wrong with Its CameraJet Toothbrush

https://www.wired.com/story/dyson-wont-say-whats-wrong-with-the-camerajet-toothbrush/
1•pelcg•37m ago•0 comments

XGrammar-2: Fast, Customizable Structured Generation for Tool Calling and Agents

https://blog.mlc.ai/2026/05/04/xgrammar-2-fast-customizable-structured-generation
2•matt_d•41m ago•0 comments

Used ThinkPad Buyer's Guide (2019)

https://www.bobble.tech/free-stuff/used-thinkpad-buyers-guide
1•Mr_Minderbinder•42m ago•0 comments

Show HN: aSPARK – an agile AI product team for Claude Code

https://github.com/a-lottes/aSPARK
1•agenntlot•42m ago•0 comments

Doyouok – Agent-free heartbeat monitoring for cron jobs and workflows

https://doyouok.com/
1•liqiug•43m ago•1 comments

Demoshell – live demos of your software in the browser

https://demoshell.com/
2•hamid914•46m ago•0 comments

Loopjacking: Hijacking Human-in-the-Loop Approval

https://arxiv.org/abs/2609.21081
2•sbulaev•49m ago•0 comments

Data center developer sues city for requiring to supply renewable energy on-site

https://www.independent.co.uk/news/world/americas/st-louis-data-center-lawsuit-b3052142.html
4•xlayn•49m ago•0 comments

Assertions: A Personal Perspective [pdf]

https://ccy05327.github.io/SDD/08-PDF/Assertions%20-%20a%20personal%20perspective.pdf
2•luu•49m ago•0 comments

MiMo-v2.6-Pro: Intelligence, Performance and Price Analysis

https://artificialanalysis.ai/models/mimo-v2-6-pro
2•theanonymousone•54m ago•0 comments

A Call for Open Science in AI Safety

https://make-safety-open.github.io/
3•theanonymousone•56m ago•0 comments

The Book Claiming to Teach Couples How to Select Their Baby's Sex

https://www.theatlantic.com/family/2026/09/babydust-boy-girl/688722/
1•theanonymousone•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