frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Report company earnings daily (2018)

https://ritholtz.com/2018/08/report-earnings-daily/
1•rwmj•50s ago•0 comments

Skills, 8 MCP tools, 6 runtimes, one memory system that never forgets

https://github.com/EliasOulkadi/shokunin
1•EliasOulkadi•1m ago•0 comments

Why vibe coding is becoming an SEO advantage

https://searchengineland.com/vibe-coding-seo-advantage-477069
1•rustoo•1m ago•0 comments

Is Bitwarden Preparing for a Sale?

https://kevquirk.com/is-bitwarden-preparing-for-a-sale
1•meysamazad•2m ago•0 comments

EISPACK

https://www.netlib.org/eispack/
1•tosh•9m ago•0 comments

My Thoughts on Bun's Rust Rewrite

https://en.liujiacai.net/2026/05/16/bun-rust-port/
1•danborn26•10m ago•0 comments

Bicycle (1981)

https://folklore.org/Bicycle.html
1•tosh•13m ago•0 comments

Matlab and APL: Meeting Cleve Moler (2012)

https://computinged.wordpress.com/2012/06/14/matlab-and-apl-meeting-cleve-moler/
2•tosh•14m ago•0 comments

The End of Refugee Resettlement

https://www.newyorker.com/news/letter-from-jordan/the-end-of-refugee-resettlement
1•rbanffy•15m ago•0 comments

Zero metadata, group descriptions, native audio/video calls and more

https://delta.chat/en/2026-03-31-zero
1•han1•18m ago•1 comments

Show HN: Pop the AI Bubble – A satirical card game mocking AI hype

https://poptheaibubble.com/
1•guigotgit•21m ago•1 comments

A Meta employee gets real about the horror of working there

https://sfstandard.com/pacific-standard-time/2026/05/15/meta-employee-gets-real-horror-working-ri...
4•forrestbrazeal•24m ago•1 comments

Getting fired? Here is what you need to do to get a shit ton of money

https://techwerkers.nl/en/resources/negotiation/
1•zebreus•27m ago•0 comments

Show HN: ThumbAPI – thumbnail generation API for developers

https://thumbapi.dev
1•dinall•32m ago•0 comments

SANA-WM, a 2.6B open-source world model for 1-minute 720p video

https://nvlabs.github.io/Sana/WM/
3•mjgil•37m ago•3 comments

Moving abroad? You may lose access to your accounts

https://twitter.com/alanhamlett/status/2055617308656030173
1•welder•38m ago•0 comments

AI Agents Are Currently Stealing My Job, and Honestly? They Can Have It

https://www.bwanaerp.com/blog/ai-agents-are-currently-stealing-my-job-and-honestly-they-can-have-...
2•instarlaxy•39m ago•0 comments

Y-Zipper: 3D Printing Flexible-Rigid Transitions in One Click [video]

https://www.youtube.com/watch?v=AWig98GVIno
1•anfractuosity•41m ago•0 comments

Optimizing your website for generative AI features on Google Search

https://developers.google.com/search/docs/fundamentals/ai-optimization-guide
2•taubek•45m ago•0 comments

Greek Alphabet Cards

https://labs.randomquark.com/alphabet_cards/
4•ricochet11•50m ago•0 comments

On Road to Canterbury-Reading Dan Simmons Sci-Fi Adaptation of Chaucer's Classic

https://lithub.com/on-the-road-to-canterbury-reading-dan-simmons-sci-fi-adaptation-of-chaucers-cl...
2•pseudolus•52m ago•0 comments

Keepithub – Physical-world geo-referenced memory for AI agents (B2A marketplace)

https://keepithub.com/launch.html`
2•keepithub•52m ago•0 comments

'A' grades are suddenly everywhere since the arrival of ChatGPT

https://www.msn.com/en-us/money/careersandeducation/a-grades-are-suddenly-everywhere-since-the-ar...
6•pseudolus•57m ago•1 comments

Why the US Can't Adopt Ukraine's Innovative Approach to Unmanned Warfare Systems

https://www.techdirt.com/2026/05/15/why-the-us-cant-adopt-ukraines-innovative-approach-to-unmanne...
4•beardyw•58m ago•0 comments

Chatbots' Downward Spiral

https://cacm.acm.org/news/chatbots-downward-spiral/
2•pseudolus•58m ago•0 comments

Prepare for an AI Jobs Apocalypse

https://www.economist.com/leaders/2026/05/14/prepare-for-an-ai-jobs-apocalypse
6•wiseowise•58m ago•0 comments

TokenBBQ – track AI coding token usage across Claude, Codex, Gemini

https://github.com/offbyone1/tokenbbq
2•TokenBBQ•58m ago•0 comments

The Infinite Power Grid Won't Be Built with Today's Lasers FusionEnergy

https://beeble.com/en/blog/the-infinite-power-grid-won-t-be-built-with-today-s-lasers
2•odysseyk•59m ago•0 comments

Europe built sovereign clouds to escape US control. Forgot about the processors

https://www.theregister.com/systems/2026/05/16/europe-built-sovereign-clouds-to-escape-us-control...
41•beardyw•1h ago•26 comments

Show HN: Let's build Claude Code from scratch (tutorial)

https://www.youtube.com/watch?v=8pDfgBEy8bg
3•CohleM•1h ago•0 comments
Open in hackernews

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

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