frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Security Flaw Placed 30 Years of DNA Evidence at Risk of Hacking

https://www.wsj.com/tech/cybersecurity/security-flaw-placed-30-years-of-dna-evidence-at-risk-of-h...
1•impish9208•3m ago•1 comments

The Impending, Inescapable Deluge of A.I

https://www.nytimes.com/interactive/2026/07/29/technology/ai-chips-data-center-boom.html
2•bookofjoe•3m ago•1 comments

Show HN: A fixed harness for comparing LLM agent memory systems

https://github.com/AML-memory/agent-memory-leaderboard
1•IreneAI•4m ago•0 comments

VC-backed startups commit more fraud, and researchers think they know why

https://techcrunch.com/2026/07/31/vc-backed-startups-commit-more-fraud-and-researchers-think-they...
1•richardchilders•4m ago•0 comments

Mozilla's Inaugural 'State of Open Source AI' Report Is Here

https://blog.mozilla.org/en/mozilla/mozilla-state-of-open-source-ai-report/
1•nlpnerd•6m ago•0 comments

Stack Trace for Distributed Systems

https://github.com/leandromoreira/distributed-stack-trace/tree/main
1•dreampeppers99•12m ago•0 comments

Claude on Political Compass

https://utopiagov.com/blog/political-compass
1•makosst•15m ago•0 comments

Ask HN: What cloud agents do you use?

1•mopatches•19m ago•0 comments

Cross compiling Swift (including SwiftUI) to WASM

https://github.com/patch-release/patch-swift
2•jasolomon•19m ago•0 comments

Show HN: DFAH-Bench – same agent decision, different tool paths

https://github.com/ibm-client-engineering/output-drift-financial-llms
1•raffisk•19m ago•0 comments

The Triangle Game, from Zero

https://muchmirul.github.io/conjectures/multicolor-ramsey/
1•jdkee•23m ago•0 comments

Thoroughly Understanding C++ ABI

https://ykiko.me/en/articles/692886292/
1•rramadass•24m ago•1 comments

Waymo Bites Passenger

https://www.instagram.com/p/DbGsc_yicao/
6•liamnorm•24m ago•0 comments

Show HN: Turn a Nintendo Joy-Con into a Codex Micro Alternative

https://github.com/Jinjiang/joy-con-codex-micro
1•jinjiang•25m ago•0 comments

China Crosses Energy Milestone as Coal Falls Below 50% of Power

https://financialpost.com/pmn/business-pmn/china-crosses-energy-milestone-as-coal-falls-below-50-...
2•thunderbong•26m ago•0 comments

ImHex: Visualizing Hex Editor for Reverse Engineers, Programmers

https://github.com/WerWolv/ImHex
1•zdw•26m ago•0 comments

Adam Aleksic: Why are people starting to sound like ChatGPT? [video]

https://www.ted.com/talks/adam_aleksic_why_are_people_starting_to_sound_like_chatgpt
4•fagnerbrack•30m ago•1 comments

Ursula K. Le Guin: A Rant About "Technology" (2005)

https://www.ursulakleguin.com/a-rant-about-technology
41•jamesgill•31m ago•7 comments

Finding zombies in our systems: A real-world story of CPU bottlenecks

https://medium.com/pinterest-engineering/finding-zombies-in-our-systems-a-real-world-story-of-cpu...
1•fagnerbrack•31m ago•0 comments

YouTube AI slop prevention targeting known good channels

https://www.youtube.com/watch?v=OX1yHmeLPy8
4•savrajsingh•31m ago•0 comments

Pluralistic: Why businesses lie about AI

https://pluralistic.net/2026/08/01/dare-snot/
3•Brajeshwar•33m ago•0 comments

A Cross-Platform Rust UI Framework via Qt's Bridging Technology

https://www.qt.io/blog/rust-ui-framework-via-bridging-technology
1•mellosouls•34m ago•0 comments

An old-new take on argument parsing in Rust

https://blogsystem5.substack.com/p/hello-getoptsargs
1•supermatou•35m ago•0 comments

Show HN: NoDiff, a framework that lives in your monorepo

https://github.com/hbbio/nodiff
1•hbbio•40m ago•0 comments

Binomial Expressions

https://blog.oup.com/2026/07/binomial-expressions/
1•jruohonen•41m ago•0 comments

Show HN: A mod for Grand Prix Circuit (DSI/Accolade, 1988)

https://marnetto.net/projects/grand-prix-circuit
1•alberto-m•41m ago•0 comments

The Seven-Action Documentation Model

https://passo.uno/seven-action-model/
1•theletterf•42m ago•0 comments

RFC/The future of Abstract Wikipedia

https://meta.wikimedia.org/wiki/Requests_for_comment/The_future_of_Abstract_Wikipedia
2•quuxplusone•42m ago•1 comments

The Extras Are Tired

https://www.theatlantic.com/culture/2026/07/influencer-job-controversial-nantucket-store/688132/
1•thm•42m ago•1 comments

Weisswurst with insect flour? Bavaria's classic dish re-imagined [video]

https://www.youtube.com/watch?v=b8N2m0oYXxs
1•bushwart•43m 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