frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Lightning AI Merges with Voltage Park AI in $2.5B Deal

https://www.forbes.com/sites/iainmartin/2026/01/21/ai-startup-merges-with-a-billionaire-backed-da...
1•kaelandt•42s ago•0 comments

A $60M media company saves $1.2M and empowers non-developers to build apps

https://replit.com/customers/firecrown-media
1•milkglass•1m ago•0 comments

Kolmogorov Complexity

https://en.wikipedia.org/wiki/Kolmogorov_complexity
1•cfcfcf•2m ago•0 comments

AI Made Hobby Coding Expensive Again

https://www.viblo.se/posts/ai-hobbycoding/
1•viblo•3m ago•1 comments

New Yorkers Have Failed to Spend $55M in Gift Cards

https://www.nytimes.com/2026/01/21/nyregion/gift-card-balances-new-york.html
3•donohoe•7m ago•0 comments

Gastown, and where software is going

https://www.chainguard.dev/unchained/gastown-and-where-software-is-going
2•amouat•10m ago•0 comments

Ask HN: Why don't tech companies provide housing?

1•alcasa•11m ago•1 comments

Show HN: UruFlow – Terminal-based deployment tool with custom TCP protocol

1•musnas•12m ago•0 comments

The Big Short Meets Marcus on AI

https://garymarcus.substack.com/p/the-big-short-meets-marcus-on-ai
2•chmaynard•14m ago•0 comments

AI Agent Filed an Issue as Me

https://www.nibzard.com/agent-identity
1•flurdy•15m ago•0 comments

Ask HN: Is it ok to like AI cat videos?

1•maxibenner•16m ago•0 comments

Don't Confuse Status and Impact

https://emeaentrepreneurs.com/anti/dont-confuse-status-and-impact/
1•sixhobbits•18m ago•0 comments

RISC-V Annual Report 2025 [pdf]

https://riscv.org/wp-content/uploads/2026/01/RISC-V-Annual-Report-2025.pdf
1•snvzz•19m ago•0 comments

Nvidia's Huang Plans to Visit China as He Works to Reopen Market

https://www.bloomberg.com/news/articles/2026-01-21/nvidia-s-huang-plans-to-visit-china-as-he-work...
1•01-_-•21m ago•0 comments

Is Netflix Stock Worth Your Attention?

https://comuniq.xyz/post?t=731
1•01-_-•21m ago•0 comments

Show HN: BackBuild – A framework for sequencing complex software delivery

https://arcaned.co/backbuild/
1•GodofHellfire•23m ago•1 comments

AI Coloring Page Generator

https://topcoloringpages.com
1•gulevski•24m ago•0 comments

MAGA Delusions of Economic Leverage

https://paulkrugman.substack.com/p/maga-delusions-of-economic-leverage
9•rbanffy•24m ago•2 comments

Nukeproof: Manifesto for European Data Sovereignty

https://nukeproof.org/
2•jamesblonde•25m ago•0 comments

Show HN: High-performance API for quantifying data stability and drift

https://www.predictability-api.com/apidocs/
1•OGsus•25m ago•1 comments

Show HN: A Docker Sandbox alternative for local AI Agents

https://www.npmjs.com/package/vibebox
1•ggurgone•25m ago•0 comments

Seller-Collective Safety and Reputation Infrastructure

https://collectivesafetynet.blogspot.com/2026/01/seller-collective-safety-reputation.html
1•trustmarket•27m ago•0 comments

Critical heat flux is a phenomenon

https://twitter.com/GovNuclear/status/2013726043585044577
1•keepamovin•27m ago•1 comments

The disequilibrium advantage: When AI makes your plans rot in weeks

https://www.nibzard.com/disequilibrium
1•nkko•27m ago•0 comments

Getting Rounding Right in DeFi

https://seceureka.com/blog/rounding-in-defi
2•lymonty•33m ago•0 comments

The super-slow conversion of the U.S. to metric (2025)

https://www.thefabricator.com/thefabricator/blog/testingmeasuring/the-super-slow-conversion-of-th...
2•itvision•33m ago•0 comments

Show HN: AgentFacts – verifiable identity and audit logs for AI agents

https://github.com/agentfacts/agentfacts-py
1•labterminal•34m ago•0 comments

Nvidia: Natural Conversational AI with Any Role and Voice

https://research.nvidia.com/labs/adlr/personaplex/
2•websku•35m ago•1 comments

Can Claude be my Travel Agent yet?

https://ritza.co/articles/ai-browser-automation/
1•sixhobbits•37m ago•0 comments

Building a Multi-Tenant Metrics Pipeline

https://jamesrobb.ca/projects/metrics_pipeline/
1•ChristianJacobs•38m ago•0 comments
Open in hackernews

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

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