frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The "empathy paradox" of LTR vs. RTL readers

https://gemini.google.com/share/4c9aadaf7f0e
1•mobileturdfctry•1m ago•0 comments

Agent Listen Music Skill

https://github.com/tigrohvost/music-hearing
1•tigrohvost•2m ago•0 comments

AI content flood: why the web's signal is dying

https://psyll.com/articles/technology/ai-machine-learning/ai-content-flood-why-the-webs-signal-is...
1•lucasfletcher•3m ago•0 comments

Rust Is Not a Memory-Safe Language

http://unsoliciteddave.blogspot.com/2026/07/rust-is-not-memory-safe.html
1•DaveParkCity•3m ago•0 comments

Show HN: Napkinbook – an infinite computational whiteboard/dashboard

https://napkinbook.com/boards
1•tccole•4m ago•0 comments

Lightning Memory-Mapped Database Manager (LMDB) 1.0

http://www.lmdb.tech/doc/
2•radiator•6m ago•0 comments

U.S. murder rate approaches a record low

https://www.npr.org/2026/06/30/nx-s1-5866810/us-murder-rate-record-low-crime-homicide
2•adventured•7m ago•0 comments

U.S. babies born this year to receive Social Security cards w 'Freedom 250' logo

https://www.washingtonpost.com/politics/2026/07/03/babies-born-this-year-will-receive-social-secu...
1•bookofjoe•8m ago•1 comments

ProteinTensor – a Parquet-like tensor format for protein-structure ML

https://github.com/mooreneural/HelixDB
1•ramen0w0•8m ago•0 comments

Show HN: Visualize Model Spikiness in 3D

https://www.modelmap.tech/
1•afunk•9m ago•0 comments

Quantifying the impact of AI data centers in a warming world [pdf]

https://dcmag.fr/wp-content/uploads/2026/04/2603.20897v2.pdf
1•rixed•9m ago•0 comments

The Effective Agent: what technical leaders should know about agentic AI today

https://gkanellopoulos.com/ai-in-the-enterprise/the-effective-agent/
1•gkanellopoulos•10m ago•1 comments

Show HN: AnythingLLM Fork as NPM Package

https://github.com/fred-terzi/totem-llm
1•fred_terzi•11m ago•0 comments

Understanding Is the New Bottleneck

https://www.geoffreylitt.com/2026/07/02/understanding-is-the-new-bottleneck.html
2•alpaylan•12m ago•0 comments

EFF and Allies: X's FTC Petition to Waive Privacy Violation Should Be Rejected

https://www.eff.org/deeplinks/2026/06/eff-and-allies-xs-ftc-petition-waive-privacy-violation-orde...
1•ChrisArchitect•15m ago•0 comments

Sketchpad (1963)

https://en.wikipedia.org/wiki/Sketchpad
1•giancarlostoro•16m ago•0 comments

Why build AI data center in cornfield, Saudi Arabia has cheap oil, cheaper power

https://fortune.com/2026/07/02/meta-cloud-computing-detour-not-strategy-for-attention/
1•1vuio0pswjnm7•16m ago•0 comments

We Always Leave Things Unfinished

https://bigreaderbadgrades.substack.com/p/we-always-leave-things-unfinished
1•bryanrasmussen•17m ago•0 comments

Photocore – Local AI – Find and organize your photos

https://photocore.pro/en
1•amennox•19m ago•0 comments

Show HN: Collection of skills to help improve UX and AI Product design

https://github.com/tommyjepsen/awesome-ux-skills
1•tommyjepsen•21m ago•0 comments

The Plumbing That Decides a Machine Learning Competition

https://medium.com/@alanscottencinas/the-plumbing-that-decides-a-machine-learning-competition-bf0...
1•encinas88•22m ago•0 comments

Hideo Kojima afraid that 'digital data will no longer be owned by individuals'

https://www.pcgamer.com/gaming-industry/even-hideo-kojima-is-afraid-that-digital-data-will-no-lon...
3•evo_9•22m ago•0 comments

Framesmith 1.8 – click an element to give an AI agent design feedback

https://github.com/vicmaster/framesmith
1•vicvelazquez•25m ago•0 comments

The Linux Foundation Uses DNS to Give AI Agents a Trusted Identity

https://www.linuxinsider.com/story/the-linux-foundation-uses-dns-to-give-ai-agents-a-trusted-iden...
1•losgehts•26m ago•0 comments

California bans 'sell by' food labels to cut food waste

https://apnews.com/article/california-sell-by-food-labels-ban-bf426a5c0146cc9435d371c072e6a9d3
2•ChrisArchitect•27m ago•1 comments

Tech and Finance Sectors Losing 28,000 Jobs Monthly

https://www.bloomberg.com/news/articles/2026-07-01/tech-and-finance-sectors-losing-28-000-jobs-mo...
1•1vuio0pswjnm7•28m ago•0 comments

Why I Love Coding (2012)

https://henrikwarne.com/2012/06/02/why-i-love-coding/
1•downbad_•31m ago•0 comments

Burned out creating public software

https://mkagenius.substack.com/p/burned-out-creating-public-software
2•mkagenius•31m ago•0 comments

Wireless LAN SD

https://www.sdcard.org/developers/sd-standard-overview/sdio-isdio/wireless-lan-sd/
1•sharpshadow•32m ago•0 comments

FBI Director Kash Patel Amends Disclosure to Add MicroStrategy Stock Purchase

https://www.yahoo.com/news/politics/articles/fbi-director-kash-patel-amends-075544759.html
2•petethomas•32m 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