frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Official MCP Servers

https://github.com/VoltAgent/official-mcp-servers
2•necatiozmen•2m ago•0 comments

New Cloud softwares ecosystem hanOS Cloud

https://han-os-offical-site.vercel.app
2•hanath_mahdi_up•6m ago•0 comments

PyForge – Lightweight, zero-dependency Python and Go utilities for micro-SaaS

https://py-forge.com/
1•AlessioDev•11m ago•0 comments

BabelOfCode 2024 Week 11, Puzzle 17 Language: Idris

https://mastodon.social/@mcc/117436256447438940
1•ColinWright•12m ago•0 comments

Show HN: Openkoda – Launch Insurance Innovations with AI

https://openkoda.com/
1•mgl•13m ago•0 comments

Claude Fable 5.5 traces have been spotted in Azure configs

https://twitter.com/testingcatalog/status/2110031026026332551
1•overflowy•13m ago•0 comments

WhatsApp AI chatbot for business: costs and how it works

https://madsalt.tech/blog/whatsapp-ai-chatbot-for-business/
2•shon_marshall•13m ago•0 comments

TheoPhysEval: Assessing AI agents at autonomous theoretical physics solving

https://arxiv.org/abs/2610.16733
1•Anon84•13m ago•0 comments

How much does an AI agent cost to run? Numbers from 4 builds

https://madsalt.tech/blog/how-much-does-an-ai-agent-cost/
2•shon_marshall•14m ago•0 comments

Arch-Specific SIMD in Go

https://go.dev/blog/archsimd
1•tosh•14m ago•0 comments

Meta Muse Charm

https://www.meta.com/muse-charm/
2•sturza•16m ago•1 comments

China is turning trash into treasure on a scale

https://economist.com/china/2026/10/13/china-is-turning-trash-into-treasure-on-a-vast-scale
1•andsoitis•18m ago•0 comments

Secure Linux Desktops with Microsoft Defender

https://techcommunity.microsoft.com/blog/microsoftdefenderatpblog/secure-linux-desktops-with-micr...
1•pantalaimon•18m ago•0 comments

How much more can nuclear power plants give?

https://www.technologyreview.com/2026/10/15/1146577/nuclear-power-upgrade/
1•joozio•20m ago•0 comments

Show HN: Pelago – your Claude Code and Codex history as a pixel-art world

1•mikeybouskila•20m ago•0 comments

Run: AI Now Open Source

https://github.com/dsx-ai-factory/run-ai
1•jamesblonde•20m ago•0 comments

Handwriting Animation for the Web [Multilingual]

https://github.com/gkurt/tegaki
1•kothariji•22m ago•1 comments

Run jobs on remote workers and get verifiable execution records

https://github.com/briton-data/gcn-sdk
1•contactgcon•23m ago•0 comments

Anthropic spent $7.33B on compute to earn $4.6B in 2025, per its IPO filing

https://ailately.com/articles/anthropic-ipo-prospectus-economics
2•ryanedennis•24m ago•2 comments

Block Blast: How well you do in the game depends on your ad revenue

https://www.instagram.com/reel/DcY6Ltcyo7B/
1•nickcw•25m ago•0 comments

What is a Semi-furnished Flat?

1•apartmentonrent•25m ago•0 comments

Show HN: Xu – A GC-free systems language

https://github.com/xulang-org/xu
1•qorm•27m ago•0 comments

Sandboxing Claude Code on Ubuntu

https://gshell.dev/blog/claude-code-sandbox/
1•gstoychev•29m ago•0 comments

Gas-Only Cars Fall Below 50% of Global New Car Sales for the First Time

https://www.gadgetreview.com/gas-only-cars-fall-below-50-of-global-new-car-sales-for-the-first-time
2•tosh•29m ago•0 comments

'Nightmare Scenario': Zero-Click Spyware Is Infecting Phones via Targeted Ads

https://www.wired.com/story/nightmare-scenario-zero-click-spyware-is-infecting-phones-via-targete...
1•GloVin•31m ago•0 comments

Will AI Grow the Pie or Just Hand It to Fewer People?

https://www.vincentschmalbach.com/will-ai-grow-the-pie-or-hand-it-to-fewer-people/
1•vincent_s•34m ago•1 comments

DesktopBrain – Organize your Mac files in one click, privately and effortlessly

https://apps.apple.com/us/app/desktopbrain-ai-organizer/id6772357589?mt=12
1•jimmy_lee•35m ago•0 comments

Varieties of Bayesianism [pdf]

https://jonathanweisberg.org/pdf/VarietiesvF.pdf
2•Tomte•37m ago•0 comments

US Air Force pilots used malware-laden USB drives to plan Afghanistan missions

https://www.theregister.com/security/2026/10/15/us-air-force-pilots-used-malware-laden-usb-drives...
2•nephihaha•38m ago•1 comments

Consider verbose 'usage' messages for infrequently used scripts

https://utcc.utoronto.ca/~cks/space/blog/sysadmin/ConsiderVerboseUsageMessages
1•ingve•38m ago•1 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