frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The Foldable iPhone Is Basically an iPad Mini That Folds in Half

https://gizmodo.com/the-foldable-iphone-is-basically-an-ipad-mini-that-folds-in-half-2000750451
1•thunderbong•5m ago•0 comments

Show HN: Paper Millionaire – A Startup Stock Option Horror Roguelike

https://paper-millionaire.pagey.site/
1•freakynit•12m ago•0 comments

Show HN: Free On-Brand AI Ad Maker

https://www.context.dev/free-tools/ad-maker
1•ICodeSometimes•12m ago•0 comments

Show HN: MemOperator-4B

https://huggingface.co/MemTensor/MemOperator-4B
2•MemTensor•14m ago•0 comments

Branimir Lambov from IBM on Cassandra

https://theconsensus.dev/p/2026/04/26/branimir-lambov-from-ibm-on-cassandra.html
2•SerCe•19m ago•0 comments

Surfshark releases new proprietary VPN protocol

https://www.zdnet.com/article/surfshark-dausos-vpn-protocol/
2•kitchi•20m ago•0 comments

Learning to Repair Lean Proofs from Compiler Feedback

https://arxiv.org/abs/2602.02990
1•matt_d•21m ago•0 comments

Italy to extradite suspected Chinese hacker wanted by US authorities

https://www.reuters.com/world/china/italy-extradite-suspected-chinese-hacker-wanted-by-us-authori...
1•NN88•24m ago•0 comments

Ask HN: Is there a way to render URLs to PDFs on Android?

1•Irongirl1•25m ago•0 comments

California's Billionaire Tax Has the Signatures to Make the Ballot, Backers Say

https://www.wsj.com/politics/policy/californias-billionaire-tax-has-the-signatures-to-make-the-ba...
5•testfoobar•29m ago•0 comments

Banning AI Art – Wallhaven

https://wallhaven.cc/forums/thread/4800
2•thedayisntgray•29m ago•2 comments

Low-Dose Aspirin Usage for Primary Prevention Has Fallen by >50% Since 2018

https://www.epicresearch.org/articles/low-dose-aspirin-usage-for-primary-prevention-of-cardiovasc...
1•salkahfi•29m ago•0 comments

Making UIs like text adventure games

https://en.andros.dev/blog/b5ba872a/making-uis-like-text-adventure-games/
1•andros•30m ago•0 comments

Framework's new Linux laptop is selling faster than its Windows one

https://www.pcworld.com/article/3123900/framework-new-linux-laptop-is-selling-faster-than-its-win...
4•Garbage•31m ago•0 comments

Show HN: Twitter Bulk Delete

https://chromewebstore.google.com/detail/twitter-bulk-delete-bulk/liocepnkgmapkfiplhhgjkokgnolglbc
2•qwikhost•33m ago•0 comments

PLA-Based triboelectric nanogenerators: Pathway to sustainable energy harvesting

https://www.sciencedirect.com/science/article/pii/S2773207X25000193
1•ludicrousdispla•39m ago•0 comments

Cursor Deleted Railway Production Volume and Backups

https://twitter.com/i/status/2048103471019434248
3•fastest963•39m ago•0 comments

YouTube Removes Alt-Right Criticism

https://www.youtube.com/post/UgkxiDyyBsYJwX0PKsnu2_AOGMhMYwm0qPKm
11•pkilgore•42m ago•0 comments

Making a Landing Page Work for Both Humans and AI Agents

https://docsalot.dev/blog/i-redesigned-my-landing-page-so-ai-agents-can-read-it
3•fazkan•44m ago•0 comments

AI and Digitalization in HTA: Enhancing Evidence, Equity and Efficiency [video]

https://www.youtube.com/watch?v=2wN0D-AqUQQ
1•DarkmSparks•47m ago•0 comments

Tin Can: a screen free phone for kids

https://www.tomsguide.com/phones/tin-can-everything-you-need-to-know-about-the-viral-screen-free-...
4•silverdrake11•50m ago•1 comments

Cisco Introduces Universal Quantum Switch Advancing the Path to Quantum Network

https://newsroom.cisco.com/c/r/newsroom/en/us/a/y2026/m04/cisco-introduces-universal-quantum-swit...
2•vismit2000•52m ago•0 comments

The missing piece in quantum computing – Cisco's universal quantum switch

https://finshots.in/archive/the-missing-piece-in-quantum-computing/
1•vismit2000•53m ago•0 comments

Justice-in-Becoming: The Universal Grammar of Stability Under Uncertainty

https://www.mountaineagle.net/articles/display/justice-in-becoming-the-universal-grammar-of-stabi...
1•uswn•53m ago•0 comments

Patch applies fake diffs from commit messages

https://samizdat.dev/phantom-patch/
3•reconquestio•56m ago•0 comments

I built Tinder for movies with Reels-style trailers

https://seenwant.com/en
1•tinolyonne•1h ago•2 comments

What type of code should you generate with AI?

1•hopa•1h ago•1 comments

The AI Guy [Google_made_an_Ooopsie]

https://inv.nadeko.net/channel/UCUYWQzo6AtlFSTHab_qKQaA/community
1•rolph•1h ago•0 comments

Show HN: Discover what could screw you in a contract

https://www.beforeyousign.lol/
1•roozka10•1h ago•0 comments

GDP.pdf: A Benchmark for Parsing PDFs

https://surgehq.ai/blog/gdp-pdf-can-100b-ai-models-master-the-documents-that-run-the-world
1•Olshansky•1h ago•0 comments
Open in hackernews

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

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