frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Animations in my Google Slides game are SUPER tedious and long

https://old.reddit.com/r/IndieDev/comments/1u0jcg8/animations_in_my_google_slides_game_are_super/
1•greazy•2m ago•0 comments

Project Brain– Persistent Second Brain for Claude Code and Windsurf, Cursor etc.

https://raw.githubusercontent.com/OoneBreath/claude-code-project-brain/main/docs/demo.gif
1•Slav_fixflex•2m ago•0 comments

Attacking Ruby on Rails Applications (2016)

https://phrack.org/issues/69/12#article
1•downbad_•2m ago•0 comments

Discover container machines – WWDC26 – Videos Developer

https://developer.apple.com/videos/play/wwdc2026/389/
1•tambourine_man•3m ago•0 comments

Brit fraudsters using AI to doctor 'evidence' in motor insurance claims

https://www.theregister.com/ai-and-ml/2026/06/08/motor-insurance-frausters-abusing-ai-to-exaggera...
1•Bender•9m ago•0 comments

The Nerdy Escorts Cashing in on Silicon Valley's AI Boom

https://www.forbes.com/sites/annatong/2026/06/07/the-nerdy-escorts-cashing-in-on-silicon-valleys-...
2•doener•10m ago•1 comments

Signal, DuckDuckGo among firms weighing Canada exit over lawful access bill

https://globalnews.ca/news/11886905/lawful-access-bill-c-22-companies-services-canada/
1•Cider9986•10m ago•0 comments

App Trust Preview – Quick Look Safety Reports for macOS Apps

https://apptrustpreview.com/
1•IGHOR•11m ago•0 comments

Python JIT compiler project under threat after steering council

https://www.theregister.com/devops/2026/06/08/python-jit-compiler-may-be-removed/5252079
1•Bender•11m ago•1 comments

WWDC26: Discover container machines – Apple [video]

https://www.youtube.com/watch?v=Q2xD6zkDz-s
2•tambourine_man•13m ago•0 comments

Linux EFS File-System May Have New Maintainer, Or It Might Just Get Removed

https://www.phoronix.com/news/Linux-EFS-File-System-2026
1•Bender•14m ago•0 comments

OpenAI Kicks Off IPO Process in Test of Investor Appetite for Top AI Labs

https://www.wsj.com/tech/ai/openai-kicks-off-ipo-process-in-test-of-investor-appetite-for-top-ai-...
3•toephu2•15m ago•0 comments

Apple Watch for Your Kids

https://www.apple.com/apple-watch-for-your-kids/
2•antfarm•15m ago•0 comments

Pythagora-Io/GPT-Pilot Compromised Credential Stealer Blocked by Python Linter

https://github.com/Pythagora-io/gpt-pilot/issues/1182
1•kurmiashish•19m ago•1 comments

MoE expert co-activations: Reordering inputs yields easy throughput gains

https://blog.doubleword.ai/moe-expert-coactivations
1•kkm•20m ago•0 comments

AI and the Redmonk Language Rankings

https://briandouglas.ie/redmonk-language-rankings-2026/
1•coneonthefloor•20m ago•0 comments

SwiftUI Only Makes It Easy to Develop Bad Apps

https://daringfireball.net/2026/06/swiftui_only_makes_it_easy_to_develop_bad_apps
1•robenkleene•21m ago•0 comments

How PICO-8 unlocked Frédéric Souchu's dreams

https://nanark.medium.com/a-pico-8-story-how-the-fantasy-console-unlocked-fr%C3%A9d%C3%A9ric-souc...
1•atan2•26m ago•0 comments

We brought Arc-style profile switching to Dia

https://diarc.app
1•0x6A75616E•26m ago•1 comments

OpenAI Submits S-1 Draft to SEC

https://openai.com/index/openai-submits-confidential-s-1/
26•hackerBanana•26m ago•5 comments

The sample efficiency black hole

https://www.dwarkesh.com/p/the-sample-efficiency-black-hole
1•crescit_eundo•27m ago•0 comments

Mathematics Is Out There

https://aeon.co/essays/for-sergiu-klainerman-maths-is-a-fact-to-be-divined
3•cainxinth•28m ago•0 comments

OpenAI Files S-1

https://twitter.com/openainewsroom/status/2064094175541461220
6•davidbarker•32m ago•0 comments

OpenAI Confidentially Files for IPO

https://www.cnbc.com/2026/06/08/openai-confidentially-files-for-ipo-prepping-wall-street-for-ai-d...
16•rvz•33m ago•0 comments

Scientists use lasers to determine the age of sharks

https://phys.org/news/2026-05-scientists-lasers-age-sharks.html
2•PaulHoule•33m ago•0 comments

Forcing a (Windows) system crash from the keyboard

https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/forcing-a-system-crash-from-t...
1•turtlegrids•33m ago•0 comments

Understanding Type Theory Eliminators

https://zenodo.org/records/20600315
1•DPDmancul•35m ago•1 comments

Pozzo: A Fast Lucky Number Checker

https://github.com/Robert-Cunningham/pozzo
1•robertvc•35m ago•0 comments

All WWDC 2026 session videos

https://developer.apple.com/videos/wwdc2026/
1•MysticOracle•35m ago•1 comments

Apple's New Siri AI Didn't Kill Raycast but It Represents a Make-or-Break Moment

https://www.inc.com/connor-jewiss/apples-new-siri-ai-represents-a-make-or-break-moment-for-founde...
1•connorjewiss•37m ago•0 comments
Open in hackernews

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

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