frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

TreeTrek – A raw Git repository viewer web app

https://repo.autonoma.ca/treetrek
1•maxloh•41s ago•0 comments

Why solid-state batteries keep short-circuiting

https://news.mit.edu/2026/why-solid-state-batteries-keep-short-circuiting-0325
1•hhs•3m ago•0 comments

Trump Has Detained the Parents of More Than 11,000 U.S. Citizen Kids

https://www.propublica.org/article/trump-family-deportations-ice-citizen-kids
2•tempodox•4m ago•0 comments

Roman Catholic Churches See a Surge of New Converts

https://www.nytimes.com/2026/03/26/us/catholics-converts.html
1•johntfella•5m ago•0 comments

The Decadelong Feud Shaping the Future of AI

https://www.wsj.com/tech/ai/the-decadelong-feud-shaping-the-future-of-ai-7075acde
1•danielcampos93•9m ago•0 comments

RimWorld: A sci-fi colony SIM driven by an intelligent AI storyteller

https://store.steampowered.com/app/294100/RimWorld/
1•doener•9m ago•0 comments

Why AI Companies Want to Take Control of Your Computer

https://nymag.com/intelligencer/article/why-ai-agents-anthropic-claude-want-to-take-control-of-yo...
1•tempodox•12m ago•0 comments

We hold the key to the universe, and we turned it into a casino

https://seangong.substack.com/p/we-hold-the-key-to-the-universe-and
5•Entropnt•12m ago•0 comments

Sealing Paper Packaging Without Adhesives

https://www.fraunhofer.de/en/press/research-news/2026/march-2026/sealing-paper-packaging-without-...
1•gnabgib•13m ago•0 comments

Why exposing young children to AI content could have irreversible consequences

https://theconversation.com/why-exposing-young-children-to-ai-content-could-have-irreversible-con...
1•tempodox•14m ago•0 comments

RAM prices are plummeting after OpenAI failed to fulfill its commitment

https://twitter.com/rdd147/status/2037956117620482417
2•mirzap•15m ago•1 comments

NASA scientist backs evidence of non-human intelligence in Earth's skies

https://www.dailymail.co.uk/sciencetech/article-15677677/nasa-scientist-evidence-nonhuman-intelli...
1•SilentM68•17m ago•0 comments

From 300KB to 69KB per Token: How LLM Architectures Solve the KV Cache Problem

https://news.future-shock.ai/the-weight-of-remembering/
2•future-shock-ai•21m ago•0 comments

Harvests and food prices at risk as Iran war triggers global fertiliser crunch

https://www.independent.co.uk/news/world/middle-east/global-fertiliser-shortage-iran-war-food-pri...
2•measurablefunc•28m ago•0 comments

Why mathematicians are boycotting their biggest conference

https://www.scientificamerican.com/article/why-mathematicians-are-boycotting-their-biggest-confer...
10•nickcotter•35m ago•1 comments

Mathematics Is All You Need

https://zenodo.org/records/19080172
3•vinhnx•38m ago•1 comments

Carl Schmitt in Miami

https://thecritic.co.uk/carl-schmitt-in-miami/
1•paulpauper•40m ago•0 comments

How Many AA Batteries Does It Take to Power a PC Setup? [video]

https://www.youtube.com/watch?v=U5lskFXDbWs
3•gnabgib•41m ago•0 comments

Caching algorithms without knowing how they work

https://blog.autorouting.com/p/caching-algorithms-without-knowing
2•juanpabloaj•43m ago•1 comments

Will This 'Miracle' Battery Change Your Mind About EVs?

https://www.wsj.com/lifestyle/cars/donut-lab-solid-state-battery-ssb-ev-4e6ad966
1•NN88•47m ago•1 comments

Solving the Strait of Hormuz Blockage

https://www.austinvernon.site/blog/thestrait.html
3•paulpauper•47m ago•0 comments

Airfare Is Just the Beginning

https://www.theatlantic.com/newsletters/2026/03/expensive-plane-tickets-oil-iran/686604/
8•paulpauper•48m ago•1 comments

Stop picking my Go version for me

https://blog.howardjohn.info/posts/go-mod-version/
1•ingve•48m ago•0 comments

Show HN: EnterpriseFizzBuzz – 622K lines of production-grade FizzBuzz

https://github.com/Elijah-J/EnterpriseFizzBuzz
2•CodeIsMyFetish•52m ago•1 comments

AI Perfected Chess. Humans Made It Unpredictable Again

https://www.bloomberg.com/news/articles/2026-03-27/ai-changed-chess-grandmasters-now-win-with-unp...
4•GMoromisato•57m ago•1 comments

Show HN: Windows 95–style Weather App for iPhone

https://apps.apple.com/us/app/weather-exe/id6761195944
1•web3rb•57m ago•0 comments

Intel Core Ultra Series 3 VPro: 18A AI PCs Debut with Dtect Security Updates

https://hothardware.com/news/intel-unveils-core-ultra-series-3-vpro
1•rbanffy•1h ago•0 comments

Goldman Sachs now reckons that oil could take out the 2008 record of $147

https://www.ft.com/content/360ca227-4d2a-41a4-a05f-41baedc0f7d2
8•bookofjoe•1h ago•1 comments

Causality optional? Testing the "indefinite causal order" superposition

https://arstechnica.com/science/2026/03/getting-formal-about-quantum-mechanics-lack-of-causality/
1•rbanffy•1h ago•0 comments

Show HN: Drag-to-Reveal Before/After Slider Component for React/Next.js

1•doanything_ai•1h ago•2 comments
Open in hackernews

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

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