frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Bash sandbox script for Claude and codex CLI

https://github.com/e6qu/sclaude
1•iwwr•35s ago•0 comments

Composr – a Rust rewrite of PHP's package manager

https://github.com/rabbiveesh/composr
1•rabbiveesh•1m ago•1 comments

Show HN: Pingtastic – heartbeat monitoring for cron jobs, plus HTTP/SSL checks

https://www.pingtastic.net
1•davearcher•2m ago•0 comments

Renewable Data Center Fantasy

https://energybadboys.substack.com/p/the-renewable-data-center-fantasy
1•leonidasrup•2m ago•0 comments

A photo editor where you describe the change instead of using layers

https://aiphotoreditor.com/
1•wangxili1997•3m ago•0 comments

Diplodocus, Long Thought Exclusively American, Turns Up in Spain

https://www.sci.news/paleontology/spanish-diplodocus-15064.html
2•embedding-shape•6m ago•1 comments

DDD matters more when AI writes your code

https://threedots.tech/post/ddd-and-ai-coding/
1•roblaszczak•7m ago•0 comments

Quantum Cyclic Cosmology with Sean Carroll [video]

https://www.youtube.com/watch?v=eZca3stQegc
2•binyu•8m ago•0 comments

Randomized query complexity can beat certificate complexity

https://arxiv.org/abs/2609.15063
1•porridgeraisin•9m ago•0 comments

Reality check. This is where we stand

https://devplace.net/posts/8d36a1390389-reality-check-this-is-where-we-stand
1•airhangerf15•11m ago•0 comments

Initial Thoughts on the Social Media Platforms (Ofcom Licensing) Bill

https://neilzone.co.uk/2026/09/initial-thoughts-on-the-social-media-platforms-ofcom-licensing-bill/
3•ColinWright•11m ago•0 comments

Khronos Group opens EU Entity to support European Projects with open standards

https://www.gamingonlinux.com/2026/09/khronos-group-opens-eu-entity-to-support-european-projects-...
1•rdmuser•12m ago•0 comments

Sugar Clear

https://sites.google.com/view/sugarclearreview/
1•haykjauz•14m ago•0 comments

Motivation of Vieta's Transformation (2015)

https://math.stackexchange.com/questions/1520458/motivation-of-vietas-transformation
1•vismit2000•16m ago•0 comments

Oblivious HTTP

https://en.wikipedia.org/wiki/Oblivious_HTTP
1•edward•19m ago•0 comments

YC batches got twice as likely to repeat an earlier YC company, from 18% to 47%

https://fundingwatcher.com/research/yc-batch-similarity/
1•jakobgreenfeld•20m ago•0 comments

Should AI friendliness be a priority for your projects?

1•rumatoest•20m ago•0 comments

A wrong turn become a nightmare

https://spectrumlocalnews.com/nys/central-ny/news/2026/09/14/upstate-medical-researcher-detained-...
1•pregreplace•22m ago•0 comments

ZTE B860H: Getting Armbian into It

https://pen.waltuh.cyou/yonle/zte-b860h-getting-armbian-into-it
1•airhangerf15•23m ago•0 comments

Waspinator

https://waspinator.dev
1•yoavm•23m ago•1 comments

I think roguelikes should steal Noita's philosophy

https://mattbusel.itch.io/chaos-rpg
1•Shmungus•25m ago•1 comments

A live board game where every lot is a billboard, forever

https://theestatewars.com/
1•heypetar•27m ago•0 comments

We all wanted to be Netflix, who do we want to be next?

https://www.architecture-weekly.com/p/we-all-wanted-to-be-netflix-who-do
2•theanonymousone•27m ago•0 comments

Issues with unsigned long int vs. unsigned long long int on Linux vs. 32-bit OS

https://submatrix.net/article/Projects/66bVJsDyXK
1•birdculture•27m ago•0 comments

Suspected sabotage causes major Netherlands rail disruption

https://www.bbc.com/news/articles/c8ly49w9g1edo
18•choult•29m ago•0 comments

Meta Kicks Muse Off Their Social Handles to Launch New AI Agent

https://stereogum.com/2510793/meta-kicks-muse-off-their-social-handles-to-launch-new-ai-agent/news
2•rdmuser•35m ago•0 comments

Show HN: 2D and 3D printable QR-code generator (.3MF / STL) with magnets and NFC

https://www.s0lve.it/tools/qrcode.html
1•Minimaator•36m ago•0 comments

V/H/S SCP: When fandom meets law and Creative Commons

https://www.technollama.co.uk/v-h-s-scp-when-fandom-meets-law-and-creative-commons
2•rdmuser•36m ago•0 comments

Measuring Gauss-Seidel loop-carried dependency and fixing it via loop unrolling

https://loiseaujc.github.io/posts/blog-title/make_gauss_seidel_great_again.html
1•loiseaujc•38m ago•0 comments

Amazon Bets on Hollow Core Fiber to Keep a Million Chips in Sync

https://en.sedaily.com/international/2026/09/12/amazon-bets-on-hollow-core-fiber-to-keep-a-millio...
1•giuliomagnifico•40m 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