frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Reinforcement Learning with Metacognitive Feedback

https://arxiv.org/abs/2606.32032
1•guard0g•2m ago•0 comments

The lawyer who beat Elon Musk, twice

https://www.theverge.com/column/959270/elon-musk-open-ai-bill-savitt-twitter
1•1vuio0pswjnm7•4m ago•0 comments

Looking into the Past with Nano Banana Pro

https://jacob.gold/posts/looking-into-the-past-with-nano-banana-pro/
1•oweiler•4m ago•0 comments

Mag 7 value shrinks by $2.3T amid AI spending jitters

https://www.cnbc.com/2026/06/30/magnificent-7-stocks-sell-off-investors-grow-jittery-on-ai-spendi...
2•1vuio0pswjnm7•5m ago•0 comments

Reply to: On the robustness of topological gap detection via transport

https://www.nature.com/articles/s41586-026-10568-7
1•doener•9m ago•0 comments

Amazon EC2 C9g and C9gd instances powered by AWS Graviton5 now available

https://aws.amazon.com/blogs/aws/amazon-ec2-c9g-and-c9gd-instances-powered-by-aws-graviton5-proce...
1•synack•9m ago•0 comments

Hyperbola declines FSF stance regarding machine learning (2024)

https://www.hyperbola.info/news/hyperbola-declines-fsf-stance-regarding-machine-learning/
1•keyle•9m ago•0 comments

Meta loses bid to dismiss states' claims Facebook, Instagram addict children

https://www.reuters.com/legal/government/meta-loses-bid-dismiss-us-states-claims-that-facebook-in...
1•1vuio0pswjnm7•12m ago•0 comments

Persona Fails on Vertical IDs

https://mketab.org/blog/broken_persona/
1•wps•13m ago•0 comments

Study reveals what people see when they read lips

https://news.ku.edu/news/article/study-reveals-what-people-really-see-when-they-read-lips
1•giuliomagnifico•15m ago•0 comments

Matrix Orthogonalization Improves Memory in Recurrent Models

https://ayushtambde.com/blog/matrix-orthogonalization-improves-memory-in-recurrent-models/
4•at2005•23m ago•0 comments

AI systems out-persuade expert humans

https://arxiv.org/abs/2606.16475
2•heyimada•25m ago•0 comments

The first early human eggs from stem cells

https://www.conception.bio/science-and-updates/the-first-early-human-eggs-from-stem-cells
10•dsr12•27m ago•2 comments

The Job archetypes of the future, according to Claude Code's creator

https://www.businessinsider.com/job-archetypes-ai-claude-codes-boris-cherny-2026-6
2•backlit4034•27m ago•0 comments

From Slop to Determinism – Shifting the Narrative Space

2•pyeri•29m ago•0 comments

The coach-horn: what to blow and how to blow it (1907)

https://www.gutenberg.org/ebooks/78978
2•petethomas•29m ago•0 comments

Investigating Linux Graphics

https://roscidus.com/blog/blog/2025/06/24/graphics/
3•signa11•34m ago•0 comments

We pay engineers to cut our infra bill

https://rootly.com/blog/we-pay-engineers-to-cut-our-infra-bill
4•backlit4034•34m ago•0 comments

RFC 9980 Post-Quantum Cryptography in OpenPGP

https://www.rfc-editor.org/info/rfc9980/
2•ognyankulev•35m ago•0 comments

Anthropic Is Hitting a Wall

https://www.vincentschmalbach.com/anthropic-is-hitting-a-wall/
3•vincent_s•35m ago•0 comments

What's new in Claude Sonnet 5

https://simonwillison.net/2026/Jun/30/claude-sonnet-5/
6•ankitg12•38m ago•0 comments

Indigenous leaders criticize claim that Ontario evacuees burdening Niagara Falls

https://www.theglobeandmail.com/canada/article-kashechewan-first-nation-evacuees-niagara-falls/
2•petethomas•42m ago•0 comments

GSApp2AppImage: Bundle a GNUStep app as a standalone AppImage

https://lists.gnu.org/archive/html/discuss-gnustep/2026-06/msg00000.html
2•tedge•43m ago•1 comments

Anthropic says US lifts export ban on Fable 5

https://www.bbc.com/news/articles/cdr42623e1do
4•tobr•48m ago•1 comments

ESA declares private Minecraft servers 'illegal' in StopKillingGames hearing

https://www.pcgamer.com/gaming-industry/esa-bafflingly-declares-private-minecraft-servers-illegal...
3•N_Lens•49m ago•0 comments

The Supreme Court just worsened the Democrats's fundraising

https://www.politico.com/news/2026/06/30/the-supreme-court-just-made-the-dncs-fundraising-woes-a-...
2•Alien1Being•51m ago•0 comments

Commerce Department gives green light for Anthropic to bring back Fable 5

https://www.nbcnews.com/business/business-news/commerce-department-gives-green-light-anthropic-br...
4•rw2•54m ago•1 comments

Show HN: The Sword of Ghix – a retro game made by a 13 yo with AI Assisted tools

https://paulinatorrr.itch.io/sword-of-ghix-chapter-1
3•fredliu•55m ago•2 comments

Google sunsets Tenor API, breaking GIFs in Discord and X

https://aiweekly.co/alerts/google-sunsets-tenor-api-breaking-gifs-in-discord-and-x
2•Gaishan•57m ago•2 comments

GovScape lets you easily search government documents

https://www.washington.edu/news/2026/06/24/govscape-lets-you-easily-search-millions-of-government...
3•gnabgib•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