frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: CodeModeTOON – MCP orchestrator for workflows in TypeScript

https://github.com/ziad-hsn/code-mode-toon
1•ziad-hsn•1m ago•0 comments

Ruby Is Not a Serious Programming Language

https://www.wired.com/story/ruby-is-not-a-serious-programming-language/
1•mikece•2m ago•1 comments

Webamp Skins

https://skins.webamp.org/
1•vednig•3m ago•0 comments

50% Off Cyber Monday Deal macOS Screenshot App

https://www.screensnap.pro/pricing
1•m_0_r_g_a_n_•4m ago•0 comments

We built Quickinim – a simple SaaS to fix procurement chaos (no ERP needed)

https://quickinim.com/
2•Gormanu•4m ago•0 comments

Google Now (2012)

https://www.techradar.com/news/software/operating-systems/google-io-2012-google-introduces-siri-k...
2•fidotron•6m ago•0 comments

Why xor eax, eax?

https://xania.org/202512/01-xor-eax-eax
1•hasheddan•6m ago•0 comments

Show HN: Next AI Draw.io – Interactive Diagrams Creating with LLMs

https://github.com/DayuanJiang/next-ai-draw-io
2•jiangdayuan•9m ago•2 comments

Infographics for API and Web Development

https://bytebytego.com/guides/api-web-development/
1•teja0404•9m ago•0 comments

How do you handle lost webhooks in production?

1•everydaydev•10m ago•0 comments

The 'Free' World Is Coming for Your Private Messages

https://reason.com/2025/12/01/the-free-world-is-coming-for-your-private-messages/
1•pseudolus•13m ago•0 comments

Humans, artificial neural networks exhibit some similar patterns during learning

https://phys.org/news/2025-11-humans-artificial-neural-networks-similar.html
1•pseudolus•15m ago•0 comments

DeepSeek-V3.2 Release

https://api-docs.deepseek.com/news/news251201
1•pr337h4m•18m ago•0 comments

Retracted: Safety Evaluation and Risk Assessment of the Herbicide Roundup

https://www.sciencedirect.com:5037/science/article/pii/S0273230099913715
2•mindracer•19m ago•0 comments

Static Electricity Detected on Mars for the First Time

https://scienceclock.com/static-electricity-detected-on-mars-for-the-first-time/
2•ashishgupta2209•20m ago•1 comments

Idempotency Keys for Exactly-Once Processing

https://www.morling.dev/blog/on-idempotency-keys/
1•defly•21m ago•0 comments

I put ChatGPT in a real robot to see if it would hurt me [video]

https://www.youtube.com/watch?v=byQmJ9x0RWA
1•doener•21m ago•0 comments

Go on the Nintendo 64

https://www.timurcelik.de/posts/n64go-1-getting-started/
2•clktmr•23m ago•0 comments

Heteromultivalent Nanogels as Highly Potent Inhibitors of Pseudomonas Aeruginosa

https://onlinelibrary.wiley.com/doi/10.1002/anie.202513121
1•PaulHoule•26m ago•1 comments

Dehumanisation as a Service

https://odds-and-sods.ghost.io/dehumanisation-as-a-service/
2•doener•27m ago•0 comments

Enhancing Accessibility and Creative Tools in KDE Plasma Wayland

https://www.kdab.com/enhancing-accessibility-and-creative-tools-in-kde-plasma-wayland/
2•breve•27m ago•0 comments

A Wooden Tower Could Unlock Bigger Wind Turbines

https://youtu.be/jmWn02vwVrU?si=jccQkmXzkc_qJNUq
1•akshatjiwan•30m ago•0 comments

Computer Vision in Go without the boilerplate

https://github.com/Elliot727/gocvkit
1•123454•32m ago•2 comments

DeepSeek-v3.2-Speciale

https://huggingface.co/deepseek-ai/DeepSeek-V3.2-Speciale
3•b16m•36m ago•0 comments

Show HN: A constraint puzzle where you factor semiprimes in any radix

https://do-say-go.github.io/insights/
1•keepamovin•39m ago•1 comments

AlphaFold: Five Years of Impact

https://deepmind.google/blog/alphafold-five-years-of-impact/
1•jonbaer•40m ago•0 comments

'Vampire Squid from Hell' Reveals the Ancient Origins of Octopuses

https://www.sciencealert.com/vampire-squid-from-hell-reveals-the-ancient-origins-of-octopuses
1•6LLvveMx2koXfwn•41m ago•0 comments

I Built an Automated AI News SaaS – and Yes, You Can Clone the Whole Thing

https://ainewshub2025.netlify.app/
2•dhren•42m ago•1 comments

Airbus faces new quality problem on A320 jets, sources say

https://www.reuters.com/business/aerospace-defense/airbus-faces-new-quality-problem-dozens-a320-j...
1•belter•42m ago•0 comments

Around The World, Part 27: Planting trees

https://frozenfractal.com/blog/2025/11/28/around-the-world-27-planting-trees/
1•todsacerdoti•45m ago•0 comments
Open in hackernews

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

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