frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Recommender Systems Need the Tobacco Treatment

https://klemenvodopivec.substack.com/p/recommender-systems-need-the-tobacco
1•sunandsurf•1m ago•0 comments

Welcome to Gas City

https://steve-yegge.medium.com/welcome-to-gas-city-57f564bb3607
1•taheris•3m ago•0 comments

Vmsandbox.net: Wire up networks of Linux VMs in the browser

https://vmsandbox.net/
1•x3y1•4m ago•1 comments

GitHub Actions Key, but Resources Allocated to Other Areas

https://github.com/cli/cli/issues/5416
1•birdculture•5m ago•0 comments

Shibuya – Haskell Data Pipelines

https://github.com/shinzui/shibuya
1•Vosporos•6m ago•0 comments

DDD – Data Display Debugger

https://www.gnu.org/software/ddd/
1•mpweiher•8m ago•0 comments

Ask HN: Chrome, Brave, Firefox or Something Else?

2•wasimsk•10m ago•2 comments

I caught an Illegal Russian Spy [video]

https://www.youtube.com/watch?v=xjo0iLssbI8
1•benterix•11m ago•0 comments

Ovie – One view is enough

https://github.com/kyutai-labs/ovie
1•Sebastian_09•12m ago•0 comments

A GUI disk image writer for macOS. For when you're tired of dd

https://github.com/tenox7/dufus/
1•tenox•13m ago•0 comments

Fit.ly – AI Outfit Generation

https://fitly-app.onrender.com/
1•seanwarrren•14m ago•1 comments

The biggest iceberg is almost gone

https://europeancorrespondent.com/en/r/the-worlds-biggest-iceberg-is-almost-gone
1•stared•15m ago•0 comments

VoxeliumX – easy open-source tool to run Minecraft servers

1•Cheesehamster•20m ago•0 comments

Netherlands reaches deal to cut reliance on U.S. cloud tech

https://nltimes.nl/2026/04/24/netherlands-reaches-deal-european-cloud-company-decrease-us-tech-re...
2•01-_-•23m ago•0 comments

Free Online Tools for PDF, Image and Video – ToolHive

https://trytoolhive.com
1•farahfarah•23m ago•0 comments

Gecko: A fast GLR parser with automatic syntax error recovery

https://vnmakarov.github.io/parsing/compilers/c/open-source/2026/04/22/gecko-glr.html
3•fanf2•26m ago•0 comments

The Bracket – A Government Man

https://agovtman.substack.com/p/the-bracket
1•jjar•30m ago•0 comments

Onio.club

https://onio.club/
1•kkoncevicius•31m ago•0 comments

Canada's AI Startup Cohere Buys Germany's Aleph Alpha to Expand in Europe

https://www.reuters.com/legal/transactional/canadas-cohere-germanys-aleph-alpha-announce-merger-h...
1•ipieter•33m ago•0 comments

A practical guide to time for developers: clocks, drift, NTP, and PTP

https://www.dmytrohuz.com/p/a-practical-guide-to-time-for-developers
3•dmyhuz•35m ago•0 comments

Superscript Asterisk in Unicode

https://blog.zgp.org/superscript-asterisk-in-unicode/
1•b6dybuyv•36m ago•0 comments

Spinel: Ruby AOT Native Compiler

https://github.com/matz/spinel
8•dluan•39m ago•0 comments

Stock markets are too high and set to fall, says Bank of England deputy

https://www.bbc.com/news/articles/c75kp1y43lgo
4•wood_spirit•41m ago•1 comments

TorchWebGPU: Running PyTorch Natively on WebGPU

https://github.com/jmaczan/torch-webgpu
1•yu3zhou4•41m ago•0 comments

I over-engineered my AI coding setup one justified upgrade at a time

https://machinethoughts.substack.com/p/every-upgrade-made-sense-how-i-over
1•jurreB•48m ago•0 comments

A red pixel in the snow: How AI found a lost climber

https://www.bbc.com/future/article/20260108-how-ai-solved-the-mystery-of-a-missing-mountaineer
2•tellarin•48m ago•0 comments

We Are Xbox

https://news.xbox.com/en-us/2026/04/23/we-are-xbox/
3•quyleanh•51m ago•0 comments

SSE token streaming is easy, they said

https://zknill.io/posts/everyone-said-sse-token-streaming-was-easy/
1•zknill•52m ago•0 comments

UK gaming icon Peter Molyneux on AI, his final creation and a changing industry

https://www.bbc.com/news/articles/c4glw5nyrggo
3•tellarin•52m ago•2 comments

Software engineering may no longer be a lifetime career

https://www.seangoedecke.com/software-engineering-may-no-longer-be-a-lifetime-career/
3•sarmike31•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