frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Fed Chairman Kevin Warsh pledges Fed policy regime change to rid inflation tax

https://www.cnbc.com/2026/07/14/warsh-promises-inflation-will-be-a-thing-of-the-past-cites-benefi...
1•donsupreme•1m ago•0 comments

Meta used AI to target workers with medical conditions for layoffs

https://www.reuters.com/world/meta-used-ai-target-workers-with-medical-conditions-layoffs-former-...
3•nlpnerd•2m ago•0 comments

The Agent Loop Is the New SaaS

https://lobu.ai/blog/the-agent-loop-is-the-new-saas/
1•buremba•2m ago•0 comments

The US Approves Launch of Mirror Satellite That Can Reflect Sunlight at Night

https://www.wired.com/story/reflect-orbital-earendil-mirror-satellite-fcc/
1•achristmascarl•2m ago•1 comments

Show HN: Manifest – Turn any webpage into a structured action manifest for agent

https://demo.manifest.omfang.io/demo
1•Maxnordstrom•3m ago•0 comments

Software hiring has become absurd

https://twitter.com/DanielGlejzner/status/2076985401915429296
2•bilsbie•4m ago•0 comments

You have zero privacy anyway. Get over it

https://www.techradar.com/pro/quote-of-the-day-by-sun-microsystems-ceo-scott-mcnealy-you-have-zer...
1•theanonymousone•4m ago•1 comments

Honeycomb Structures Spotted on Mars

https://www.space.com/astronomy/mars/honeycomb-structures-spotted-on-mars-space-photo-of-the-day-...
1•speckx•5m ago•0 comments

Chefkiss Inferno: Open-Source Apple Silicon Emulator

https://chefkiss.dev/applehax/inferno/
1•jeswin•10m ago•1 comments

Wirehead (Science Fiction)

https://en.wikipedia.org/wiki/Wirehead_(science_fiction)
2•cainxinth•10m ago•0 comments

Microsoft Confirms Windows GDID Device Identifier That Cannot Be Disabled

https://www.ghacks.net/2026/07/12/microsoft-confirms-windows-gdid-device-identifier-that-cannot-b...
1•doener•10m ago•0 comments

Old Icons

https://leancrew.com/all-this/2026/07/old-icons/
1•surprisetalk•10m ago•0 comments

Claude for Teachers

https://www.anthropic.com/news/claude-for-teachers
1•surprisetalk•11m ago•0 comments

Show HN: Noteato – Notion-like notes as local Markdown files

https://github.com/shashankbhat2/noteato
2•dankbhat26•11m ago•0 comments

New York to enact nation's first statewide data center moratorium

https://gothamist.com/news/hochul-puts-hold-on-large-data-centers-in-new-york
1•PLenz•11m ago•1 comments

Aevum – Free AI RPG engine for Claude with persistent factions and economy

https://github.com/RukkaNova/aevum-realm-architect
1•arcanumrpgs•12m ago•0 comments

Why Claude uses the browser like a drunk intern, and how to fix it

https://pluno.ai/blog/why-claude-uses-browser-like-drunk-intern
2•korabs•12m ago•1 comments

If(Facebook == PornBook) Delete Facebook;

1•theoutfield•13m ago•0 comments

Progress orders emergency ShareFile server shutdown over mystery security threat

https://www.theregister.com/security/2026/07/13/progress-orders-emergency-sharefile-server-shutdo...
1•toomuchtodo•14m ago•1 comments

Count the Bytes, Not the FLOPs

https://thepragmaticquant.com/why-we-stopped-materializing-arrays/
1•sgilda•15m ago•0 comments

Show HN: Codynet – free, privacy-first DNS and network tools

https://codynet.com
1•codymisc•15m ago•0 comments

We asked Meta's new model to build things its team had rejected

https://github.com/adelinamart/robrain/tree/main/packages/vetobench/results/muse-spark-1.1-series
1•mart1adelina•15m ago•0 comments

Show HN: I built a smart proxy so your coding agent can run loose

https://trollbridge.dev/
1•dandriscoll•15m ago•0 comments

OpenAI Plans to Win over Doctors, Patients and Hospitals

https://www.forbes.com/sites/amyfeldman/2026/07/07/how-openai-plans-to-win-over-doctors-patients-...
1•brandonb•16m ago•0 comments

The MCP debate has a context problem

https://thenewstack.io/mcp-enterprise-agent-governance/
1•Brajeshwar•17m ago•0 comments

Open-Source APK Secret Scanner: Dexpose

https://github.com/zuhayrb/dexpose
1•ZuhayrBarhoumi•18m ago•0 comments

2026 CSTA K-12 CS Standards – what should students know about computing?

https://csteachers.org/pk12standards/
1•bmackenty•19m ago•1 comments

Sale of multimillion-dollar T rex skeleton is big headache for scientists

https://www.theguardian.com/science/2026/jul/14/t-rex-skeleton-sothebys-auction-new-york-scientists
1•speckx•21m ago•0 comments

Show HN: Post-quantum signing keys that never leave the iPhone's Secure Enclave

https://github.com/jimcase/capacitor-pq-secure-storage
1•jcaso•24m ago•0 comments

"If HEIC has no haters I'm dead."

https://unsung.aresluna.org/if-heic-has-no-haters-im-dead/
2•speckx•24m 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