frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Why Chinese Citizens Are More Optimistic About AI Than Americans

https://www.bloomberg.com/news/articles/2026-08-14/why-ai-optimism-is-so-much-higher-in-china-tha...
2•helsinkiandrew•40s ago•0 comments

A Generative Cramér-Rao Bound

https://arxiv.org/abs/2203.03695
1•hasley•1m ago•1 comments

AI Paper Trail: What does AI know about you?

https://proton.me/lumo/ai/ai-paper-trail
1•Gys•3m ago•0 comments

How to Invest in AI (2025)

https://reactionwheel.net/2025/09/how-to-invest-in-ai.html
1•rzk•3m ago•0 comments

Twitch Adds Opt-Out for Amazon AI Training After Enrolling All Creators

https://www.ghacks.net/2026/08/14/twitch-adds-opt-out-for-amazon-ai-training-after-enrolling-all-...
1•01-_-•4m ago•0 comments

Anthropic shares more details about how Claude's new watermarks will work

https://techcrunch.com/2026/08/15/anthropic-shares-more-details-about-how-claudes-new-watermarks-...
2•01-_-•4m ago•0 comments

Secrets live in six places and one of them is a DM

https://anthony.dev.profullstack.com/blog/009-post.html
1•buffer_overlord•4m ago•0 comments

A Taxonomy of Moats (2019)

https://reactionwheel.net/2019/09/a-taxonomy-of-moats.html
1•rzk•8m ago•0 comments

A diagnostic for the "be more proactive" performance review

https://medium.com/@mike.salari.dev/be-more-proactive-take-more-ownership-72a07c24232a
1•salari_dev•10m ago•0 comments

Show HN: Sol-Luna – adaptive Codex orchestration that can choose zero workers

https://github.com/mahadansar/sol-luna-orchestrator
1•mahadansar•10m ago•1 comments

The Experience Feedback Loop

https://peterbloem.nl/blog/experience-feedback
1•riskone•12m ago•0 comments

Morsel-Driven Parallelism: A NUMA-Aware Query Evaluation Framework [pdf]

https://15721.courses.cs.cmu.edu/spring2016/papers/p743-leis.pdf
1•ksec•13m ago•0 comments

Amiga OS (UAOS)

https://github.com/stevereaver/uaos
2•doener•17m ago•0 comments

Show HN: My queue model made in a game

1•Lluis_0x•17m ago•0 comments

TestFlight for Steam

https://userplay.io/
1•0xnyn•21m ago•0 comments

What if you could build your SaaS without paying upfront?

https://www.indiehackers.com/post/what-if-you-could-build-your-saas-without-paying-upfront-908423...
1•AutFlowStudio•22m ago•0 comments

Keep It Up – Cookie Clicker, for Uptime

https://simpleobservability.com/games/keep-it-up
1•khazit•24m ago•0 comments

Young people don't trust AI – or the billionaires that tell us we should love AI

https://www.techradar.com/pro/young-people-increasingly-dont-trust-ai-or-the-billionaires-that-ke...
2•ksec•26m ago•0 comments

RVA23 vs. ARMv9 a Small Experiment

https://gist.github.com/camel-cdr/3a7aed17e017e8cab675ad696c7d14af
2•birdculture•27m ago•0 comments

Schism Tracker

https://schismtracker.org/
2•Bluestein•30m ago•0 comments

Show HN: The Data Forge – Generate up to 100K rows of JSON/CSV/SQL test data

https://zlvox.com/tools/data-forge
1•zlvox•31m ago•0 comments

Show HN: Customhouse – deterministic MCP proxy that blocks agent exfiltration

https://github.com/vineetpant/customhouse
1•vineetpant•35m ago•1 comments

SSOG: Near linear Visual-Attention that doesn't score but steers

https://www.pisoni.ai/posts/ssog/
1•4rtemi5•37m ago•2 comments

Bubblewrap is the only sandbox you need

https://lorentz.app/blog-item.html?id=bubblewrap
1•baalimago•38m ago•0 comments

Bay Area House Party

https://www.astralcodexten.com/p/the-foothills-of-bay-area-house-party
1•sgt101•40m ago•0 comments

Why travellers are obsessed with foreign supermarkets

https://www.bbc.com/travel/article/20260811-the-supermarket-is-becoming-a-tourist-attraction
1•edward•42m ago•0 comments

The Economist Who Predicted 2008 Crash Says AI Bubble Bursts Soon – Steve Keen [video]

https://www.youtube.com/watch?v=nx5FiWfD5U4
1•SockThief•44m ago•2 comments

Public preview runtimes on AWS Lambda: Node.js 26 and Python 3.15

https://aws.amazon.com/blogs/compute/introducing-public-preview-runtimes-on-aws-lambda-starting-w...
1•lumpa•45m ago•0 comments

What Is Reinforcement Learning

https://www.mathworks.com/discovery/reinforcement-learning.html
1•teleforce•48m ago•0 comments

Is Software Still the Point?

https://janbosch.com/field-notes-is-software-still-the-point/
2•ftomassetti•49m 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