frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Falsehoods programmers believe about addresses (2013)

https://www.mjt.me.uk/posts/falsehoods-programmers-believe-about-addresses/
1•throw0101a•1m ago•0 comments

ChainDrop supply chain compromise: Anatomy of a self-propagating worm

https://www.microsoft.com/en-us/security/blog/2026/08/04/chaindrop-supply-chain-compromise-anatom...
1•mooreds•1m ago•0 comments

John Crowley Has Died

https://www.programmablemutter.com/p/john-crowley-has-died
2•paulpauper•2m ago•0 comments

Poll shows support for proportional representation in the US

https://www.npr.org/2026/08/10/nx-s1-5920312/proportional-representation-poll
1•marojejian•2m ago•1 comments

Just how big is the hidden leverage of AI hyperscalers?

https://www.ft.com/content/a0a07cce-6d19-4b1e-a73b-9855a06ba7b3
1•petethomas•3m ago•0 comments

Stop Fleeing the Base: Security Needs to Learn to Code

https://oreillyradar.substack.com/p/the-base-is-under-attack
1•tmo9d•3m ago•0 comments

Show HN: Jsonseek – Token-efficient JSON/JSONL navigation for LLM agents

https://github.com/lo2589/JSONSEEK
1•yoliliya•3m ago•0 comments

Bill Goichberg, Who Reshaped Competitive Chess in the U.S., Dies at 83

https://www.nytimes.com/2026/08/08/us/bill-goichberg-dead.html
2•paulpauper•4m ago•0 comments

The Resident Project

https://snowballons.com/writing/the-resident-project/
1•jonniebullie•5m ago•0 comments

Kyutai MuScriptor: Automatic Multi-Instrument Transcription

https://kyutai.org/blog/2026-07-10-muscriptor/
1•Sebastian_09•5m ago•0 comments

Show HN: Is your AI hallucinating? The big labs won't tell you but we will

https://www.telluvian.ai/blog/is-your-ai-hallucinating
2•galois123•5m ago•0 comments

Neo

https://hughhowey.com/introducing-neo/
3•hentrep•6m ago•0 comments

Mcmaster.ai

https://www.mcmaster.com/
3•gregsadetsky•6m ago•1 comments

Launch HN: Stoa Markets (YC S26) – A Marketplace for GPUs and AI Servers

https://www.stoaexchange.com
3•erenberke•7m ago•0 comments

The Day the AI Act Grew Teeth: GPAI Enforcement Goes Live

https://simonroses.com/2026/08/the-day-the-ai-act-grew-teeth-gpai-enforcement-goes-live/
1•speckx•7m ago•0 comments

Don't Build Mindreading

https://www.lesswrong.com/posts/CAdG5dzkWrrK2NQg8/don-t-build-mindreading
3•paulpauper•10m ago•0 comments

UK Discover Naval Drone Component Sent Signals to China

https://www.wsj.com/world/uk/u-k-discovers-component-in-its-naval-drones-sent-signals-to-china-6a...
1•SegfaultSeagull•10m ago•0 comments

The New Craftsmanship

https://www.alexkroman.com/p/the-new-craftsmanship
2•SaladFork•12m ago•0 comments

Centaur 2.0: Permissions, Context, and MCP

https://www.paradigm.xyz/writing/centaur-2-0-permissions-context-and-mcp
1•ckraeuter•13m ago•0 comments

What's the best programming language for coding agents?

http://danluu.com/pl-tokens/
3•chaychoong•13m ago•0 comments

Show HN: Save Button for HN Comments

https://github.com/overflowy/hn-comment-saver
1•overflowy•13m ago•0 comments

Why I Quit the Tenure Track

https://www.theatlantic.com/magazine/2026/09/elite-academia-leadership-hypocrisy/687969/
1•apparent•17m ago•0 comments

Visuali: Agentic architecture designs, concepts and more

https://visuali.io
2•yooo00•17m ago•0 comments

Five ways to evaluate AI agent orchestration platforms

https://www.infoworld.com/article/4204665/five-ways-to-evaluate-ai-agent-orchestration-platforms....
1•foxtrot8672•17m ago•1 comments

The Missing Developer UI for Spring Boot and Quarkus

https://github.com/jdubois/boot-ui
2•saikatsg•18m ago•0 comments

Oil in US Strategic Petroleum Reserve falls lowest since 1983

https://www.cnbc.com/2026/08/10/oil-in-strategic-petroleum-reserve-falls-below-300-million-barrel...
1•ck2•18m ago•2 comments

More than half of AI-generated patches are broken

https://cyberscoop.com/ai-code-patching-security-risks/
3•speckx•19m ago•0 comments

Restored clearance of senescent neutrophils by macrophages limits organ aging

https://www.science.org/doi/10.1126/science.aea3075
1•zeristor•20m ago•0 comments

Show HN: Bluhe – One search bar for Instagram, TikTok, Reddit, YT, X and others

https://www.bluhe.ai/search?q=Fable%205%20model
2•dhavd•20m ago•0 comments

Fructose Appears to Loosen Cancer Cells and Help Them Spread

https://www.sciencealert.com/common-sugar-appears-to-loosen-cancer-cells-and-help-them-spread
3•Jimmc414•21m 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