frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Girls and boys solve math problems differently – with similar short-term results

https://theconversation.com/girls-and-boys-solve-math-problems-differently-with-similar-short-ter...
1•nradov•6m ago•0 comments

Flow Control: a programmer's text editor

https://flow-control.dev/
1•signa11•13m ago•0 comments

Coverd – gambling with your credit card purchases

https://www.coverd.us/about
1•smsm42•15m ago•0 comments

AI is mastering language. Should we trust what it says? (2022)

https://www.nytimes.com/2022/04/15/magazine/ai-language.html
2•maxutility•15m ago•0 comments

Pdsink: USB Power Delivery Sink library for embedded devices

https://github.com/pdsink/pdsink
1•zdw•23m ago•0 comments

Scientists Link Popular Sugar Substitute (Sorbitol) to Liver Disease

https://scitechdaily.com/scientists-link-popular-sugar-substitute-to-liver-disease/
2•mraniki•27m ago•0 comments

'The time has come to declare war on AI'

https://www.sfgate.com/tech/article/time-to-declare-war-ai-21221535.php
5•MilnerRoute•30m ago•0 comments

Trying VLLM Ideas on Apple Silicon with MLX (WIP)

https://github.com/waybarrios/vllm-mlx
1•waybarrios•34m ago•1 comments

AI Structural Redesign Proven on Gemini/Copilot

https://imgur.com/a/A8x18kc
1•korea_koh•34m ago•1 comments

Show HN: GitHired – Find Your Next 10x Engineer

https://www.githired.tech
4•raghavbansal11•47m ago•11 comments

Why Does A.I. Write Like That?

https://www.nytimes.com/2025/12/03/magazine/chatbot-writing-style.html
1•gmays•48m ago•0 comments

Rio de Janeiro's talipot palm trees bloom for the first and only time

https://en.jardineriaon.com/The-talipot-palm-trees-of-Rio-de-Janeiro-bloom-for-the-first-and-only...
2•1659447091•55m ago•0 comments

Show HN: TestPlanit – an open-source test case management system built for QA

https://demo.testplanit.com/en-US/signin
1•therealbrad•56m ago•0 comments

Bad Boy for Life: Sean Combs' History of Violence

https://www.rollingstone.com/music/music-features/diddy-friends-bad-boy-artists-abuse-violence-12...
1•handfuloflight•56m ago•0 comments

Platonic space: where cognitive and morphological patterns come from

https://thoughtforms.life/platonic-space-where-cognitive-and-morphological-patterns-come-from-bes...
1•andsoitis•1h ago•0 comments

Ask HN: What do you usually do while waiting for AI responses?

2•alfred_chang•1h ago•4 comments

Control-Alt-Delete of a Life – By Steven K Roberts

https://nomadicresearchlabs.substack.com/p/control-alt-delete-of-a-life
1•pkaeding•1h ago•0 comments

Japan protests after Chinese military aircraft locks its radar on Japanese jets

https://apnews.com/article/japan-china-military-fighter-jets-pacific-25017ddbec3afd6bf9e6da4b8516...
3•c420•1h ago•0 comments

Discovering the Indieweb with Calm Tech

https://alexsci.com/blog/calm-tech-discover/
4•todsacerdoti•1h ago•0 comments

Deconstructing Dollar Dynamics: A State-Dependent,Non-Linear Integrated Equation

https://zenodo.org/records/17790383
1•truongthanminh•1h ago•1 comments

Apple Is Experiencing Its Biggest Leadership Exodus

https://fortune.com/2025/12/05/apple-executive-leadership-exodus-biggest-shakeup-since-steve-jobs...
4•ent101•1h ago•0 comments

Anatomy of a Domain Risk Engine: Regex vs. LLMs

https://www.urlert.com/blog/anatomy-domain-risk-engine-regex-llm
1•tomerhe•1h ago•1 comments

SC sheriff's office quoted me $9k for a simple Flock records request

https://columbiamuckraker.substack.com/p/sc-sheriffs-office-quoted-me-9000
4•sc_muckraker•1h ago•2 comments

Z2 – Lithographically fabricated IC in a garage fab

https://sam.zeloof.xyz/second-ic/
35•embedding-shape•1h ago•3 comments

AstoCAD – Polished, paid "soft-fork" of FreeCAD with upstream contributions

https://www.astocad.com/
1•embedding-shape•1h ago•0 comments

Why Does Have I Been Pwned Contain "Fake" Email Addresses?

https://www.troyhunt.com/why-does-have-i-been-pwned-contain-fake-email-addresses/
3•LorenDB•2h ago•0 comments

The Macuahuitl – The Obsidian Sword of the Aztecs

https://www.youtube.com/watch?v=12GP6ktNIk0
3•bane•2h ago•0 comments

Our Foundation: The 65,000 Restored Sound Archive

https://lockchime.com/ringchime/hub.php
1•gogyjay•2h ago•1 comments

The Complex Story Behind Al-Idrīsī's Iconic World Map

https://sacredfootsteps.com/2022/06/24/the-complex-story-behind-al-idrisis-iconic-world-map/
2•teleforce•2h ago•0 comments

Life as an ICC judge sanctioned by Trump

https://www.middleeasteye.net/news/life-icc-judge-sanctioned-trump-luz-ibanez
9•rendx•2h ago•0 comments
Open in hackernews

Ask HN: Any good tools to pgdump multi tenant database?

3•polishdude20•6mo 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•6mo 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•6mo 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•6mo 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•6mo 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•6mo ago
Oh yes I agree with you. It may become a big push to convince my org to do that