frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The Alien Signal That Looked Intelligent [video]

https://www.youtube.com/watch?v=NmCRQPITE2g
1•binyu•14s ago•0 comments

Zipf's law

https://en.wikipedia.org/wiki/Zipf%27s_law
1•binyu•1m ago•0 comments

Show HN: Codex Reset – A tracker for public Codex reset signals

https://codexreset.live
1•Jiangshan•4m ago•0 comments

Claude Microfactory

https://claude.ai/artifact/7nCPrrWTcQsWFfkXFRHDLR
1•jaksa•6m ago•1 comments

London buses in decline? Why public transport in global cities is slowing

https://www.theguardian.com/uk-news/ng-interactive/2026/sep/23/london-buses-in-terminal-decline-w...
2•world2vec•7m ago•0 comments

Longtime SUSE staff asked if they'd opt for 'voluntary separation'

https://www.theregister.com/software/2026/09/22/longtime-suse-staff-asked-if-theyd-opt-for-volunt...
1•pelasaco•8m ago•0 comments

Nemotron-H: A Family of Accurate, Efficient Hybrid Mamba-Transformer Models

https://research.nvidia.com/labs/adlr/nemotronh/
1•Bluestein•10m ago•0 comments

Show HN: What's Next – make Claude Code respond with choice, not prose

https://github.com/kvitapp/kvit-plugins
1•skolos•11m ago•0 comments

Enables Nvidia DLSS Frame Generation (DLSS-G) on RTX 30-series and RTX 20-series

https://github.com/sdli1995/dlssg_for_sm86
1•metrofun•12m ago•0 comments

Show HN: ToolRoots, local alternatives to the tools you use

https://toolroots.com
1•drdruide•14m ago•0 comments

Qwen-Audio-3.1-TTS

https://fun-resource-shanghai.oss-cn-shanghai.aliyuncs.com/cuijiayan.cjy/tmp/exp/qwen_audio_3_tts...
1•nthypes•15m ago•0 comments

Tokens Too Cheap to Meter

https://jyn.dev/tokens-too-cheap-to-meter/
1•teoruiz•15m ago•0 comments

MNT Station – A modular, open hardware desktop computer and server

https://www.crowdsupply.com/mnt-research/mnt-station
1•birdculture•17m ago•0 comments

Directus The back end for your whole team

https://directus.com/
1•Bluestein•19m ago•0 comments

Next version of OpenClaw uses a decision model to decide between steer or queue

https://twitter.com/steipete/status/2102667004557832497
1•tosh•21m ago•0 comments

Show HN: A running app that turns your runs to a garden

https://apps.apple.com/us/app/run-tracker-run-grow/id6745428070
1•Utkarshn101•24m ago•0 comments

Positive emotions toward AI outweigh negative ones in 34 out of 37 countries

https://news.gallup.com/poll/714593/optimism-globally-widespread-despite-uneven.aspx
1•giuliomagnifico•24m ago•0 comments

Netherlands bracing for potentially devastating US sanctions against the ICC

https://apnews.com/article/icc-trump-sanctions-eu-israel-netherlands-2c1cc314732f920c2de59396d3b5...
19•vrganj•26m ago•0 comments

A New DNA Analysis May Solve the Centuries-Old Medici Mystery

https://www.smithsonianmag.com/smart-news/did-this-duke-poison-his-brother-a-new-dna-analysis-may...
2•thunderbong•39m ago•0 comments

Oryn, an ultra fast compact decision model

https://huggingface.co/timosarkar/oryn
2•timosarkar•40m ago•0 comments

Agent-Shell 0.78 Updates

https://xenodium.com/agent-shell-0-78-updates
1•xenodium•40m ago•0 comments

Synchrony AI – AI Powered Investment Research and Portfolio Management Platform

https://www.synchrony-ai.com
1•emmanuelcooke•43m ago•0 comments

Responsive Iframes in Chrome 154

https://developer.chrome.com/blog/responsive-iframes
3•twapi•45m ago•0 comments

Trump TV Flops in Embarrassing Numbers Disaster

https://www.thedailybeast.com/trump-tv-immediately-flops-in-embarrassing-numbers-disaster/
4•doener•45m ago•0 comments

New U.S. sanctions against the ICC threaten European sovereignty

https://ioplus.nl/en/posts/new-us-sanctions-against-the-icc-threaten-european-sovereignty
5•doener•46m ago•1 comments

Using shallow-Git tarballs for CI

https://people.kernel.org/monsieuricon/using-shallow-git-tarballs-for-ci
1•garo-pro•47m ago•0 comments

AiNetProfit

https://ainetprofit.com/
1•weeber•48m ago•0 comments

Abandoning Scientific Linux Was a Mistake

https://blog.melashri.net/posts/scientific-linux-mistake/
24•elashri•50m ago•12 comments

I used to get paid to hang out with famous people

https://www.blackbirdspyplane.com/p/i-used-to-get-paid-to-hang-out-with-famous-people
1•pr337h4m•53m ago•0 comments

Ju Ju Tsu A book about jj / jujutstu

https://arialdo.codeberg.page/ju-ju-tsu/
3•fanf2•54m 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