frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Computer Science Achievement and Writing Skills Predict Vibe Coding Proficiency

https://arxiv.org/abs/2603.14133
1•rurban•55s ago•0 comments

Where Edge Cases Reshape the System

https://medium.com/@gurvinder372/article-9-where-edge-cases-reshape-the-system-c5884b3b51b2
1•gps372•3m ago•0 comments

Show HN: Mercur – open-source multi-vendor marketplace platform

https://github.com/mercurjs/mercur
1•GregTomaka•7m ago•0 comments

Inverse Kinematics and Foot Locking

https://theorangeduck.com/page/inverse-kinematics-foot-locking
1•airhangerf15•8m ago•0 comments

What Does a Wikidata-Powered Abstract Wikipedia Article Look Like?

https://jsamwrites.substack.com/p/what-does-a-wikidata-powered-abstract
1•rapnie•9m ago•0 comments

Chess5.ai – Play Chess, Go, Xiangqi, Gomoku, and Othello Against LLMs

https://chess5.ai/en
1•wilsonye•14m ago•1 comments

Show HN: TestLab – open-source UDS testing without ECU hardware

https://github.com/Xaloqi/xaloqi-testlab-core
2•Xaloqi•14m ago•0 comments

Cory Doctorow on the AI lie [video]

https://www.youtube.com/watch?v=nTqCVJFr7XM
2•dgellow•21m ago•0 comments

Moral Competence Before Moral Content: Why LLM Agents Lack the Prerequisites

https://arxiv.org/abs/2609.05036
1•sbulaev•23m ago•0 comments

Show HN: H200 GPUs under $1.99/hour, H100s at $1.19/hour

https://compute.cheap/#new-launch
2•EmiCorleone•23m ago•0 comments

Programming is Art

https://orchidfiles.com/programming-is-art/
2•theorchid•25m ago•0 comments

Zero Is the Worst Return Value

https://www.claudecertifiedarchitects.com/blog/zero-is-the-worst-return-value/
1•jockorules•26m ago•0 comments

H200 GPUs $1.99/hour, H100s at $1.19/hour

https://compute.cheap/#new
2•gpuguy•27m ago•0 comments

The new frontier of Japan's rearmament is cyberspace

https://english.elpais.com/international/2026-08-21/the-new-frontier-of-japans-rearmament-is-cybe...
1•rdmuser•30m ago•0 comments

It's time for Mark Zuckerberg to resign from Meta

https://www.theguardian.com/technology/commentisfree/2026/sep/04/mark-zuckerberg-resign-meta
6•domhudson•31m ago•1 comments

Show HN: Nitter Redirector – Find a Working Instance Automatically

https://xcancel.com/antibot/captcha
2•DavCreator•34m ago•0 comments

I was on Ubuntu's first design team in 2009 London

https://twitter.com/dvdsgl/status/2096775107989672007
4•tosh•34m ago•1 comments

Australians will be able to switch off social media algorithms

https://www.bbc.co.uk/news/articles/cn9wyvxn95vo
2•rwmj•35m ago•0 comments

When 'if' slows you down, avoid it

https://easylang.online/blog/branchless
2•signa11•39m ago•0 comments

Agent memory that forgets and distorts on purpose

https://github.com/jbsalles/Selmem
1•Jibs79•39m ago•0 comments

IKEA Hacks and DIY Ideas – IKEA Hackers

https://ikeahackers.net
1•thunderbong•40m ago•0 comments

Forge: Go Library and CLI for Working with GitHub, GitLab, Forgejo

https://github.com/git-pkgs/forge
1•joooscha•42m ago•0 comments

Understanding Inference and the Economics of Enterprise AI

https://www.vistaequitypartners.com/insights/inference-economics-enterprise-ai/
1•nlpnerd•42m ago•1 comments

Show HN: Crew — Let Claude/Codex/OpenCode agents talk to each other

https://github.com/0xmmo/crew/
2•mmoustafa•45m ago•1 comments

Show HN: Mailward – Open Outlook PST/OST files in the browser, nothing uploaded

https://pst.aivismonitor.com
1•xsxs89757•45m ago•0 comments

A World Away from Family

https://www.ajarn.com/blogs/bangkok-phil/world-away-family
1•rzk•48m ago•0 comments

Should You Buy a ThinkPad?

https://www.rubenerd.au/should-you-buy-a-thinkpad/
4•Tomte•49m ago•2 comments

Outrageously Small Neural Networks: 6,616 tok/s on One Intel AMX Core [pdf]

https://huggingface.co/gdiamos/amx-reasoning-v1-instruct/blob/main/paper.pdf
2•gdiamos•53m ago•1 comments

AI economics. OpenAI financials leaked ahead of IPO

https://nixie.substack.com/p/ai-economics-openai-financials-leaked
1•u1hcw9nx•53m ago•1 comments

Show HN: DiskBuddy – Visualize Your Mac Storage in 8 Different Ways

https://www.diskbuddy.com
1•mohitvaswani•1h 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