frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Industrialized Quantum-Grade Protection for Critical Infrastructure

https://www.zerothird.com/
1•mnewme•2m ago•0 comments

Apple Strikes Siri AI Deals with News Outlets Including CNN, LA Times

https://variety.com/2026/digital/news/apple-siri-ai-news-outlets-deals-cnn-conde-nast-la-times-12...
1•gmays•2m ago•0 comments

Speed up code reviews by derisking them: open sourcing Trellis

https://grovehq.com/blog/trellis-open-source
1•rbrtyts•7m ago•0 comments

on Carbone: Or how a restaurant converts money into status

https://notnottalmud.substack.com/p/on-carbone-or-how-a-restaurant-converts
1•jger15•7m ago•0 comments

2026 Saudi Arabia–United States Nuclear Deal

https://en.wikipedia.org/wiki/2026_Saudi_Arabia%E2%80%93United_States_nuclear_deal
1•defrost•8m ago•0 comments

PanoScroll – Fresh Street Views

https://panoscroll.mapcomplete.org/
1•altilunium•8m ago•0 comments

Paradox Interactive AB will offer a voluntary severance program in Sweden

https://news.cision.com/paradox-interactive-ab/r/paradox-interactive-ab--publ--will-offer-a-volun...
1•haunter•11m ago•0 comments

We stopped worrying OpenAI/Anthropic profits and built our own humble system

https://vektormemory.com/blog/v2-0-12-vektor-memory-now-does-more-than-agent-memory
1•minimaxa•11m ago•0 comments

Trump's Obsession with Renaming AI

https://www.theatlantic.com/newsletters/2026/12/trumps-name-change-obsession-super-intelligence/6...
3•monk_grilla•14m ago•0 comments

Validate emails before they cost you

https://validateemail.io/
1•buzzlightyear•16m ago•0 comments

Nvidia CEO Jensen Huang concedes AI chips being smuggled to China

https://www.rnz.co.nz/news/world/2972950/nvidia-ceo-jensen-huang-concedes-ai-chips-being-smuggled...
5•billybuckwheat•16m ago•1 comments

NERFBench: Open-Source Forensic Auditor for AI Coding Agents

https://github.com/nanogenomic/NERFBench
1•htrp•20m ago•0 comments

Bunnings will soon scan Australian customers' faces. Why is this allowed?

https://theconversation.com/bunnings-will-soon-start-scanning-customers-faces-around-australia-wh...
4•bentocorp•26m ago•0 comments

Rebuilding PyTorch

https://blog.pgmesa.com/series/rebuilding-pytorch/
1•sonabinu•26m ago•0 comments

Multi-large language model systems exhibit robust semantic collapse

https://www.nature.com/articles/s42256-026-01345-2.epdf
2•slopinthebag•26m ago•1 comments

Show HN: Kantrip is a CLI to switch Kafka client profiles

https://sauljabin.dev/kantrip/
1•sauljp•27m ago•0 comments

Sack unpatriotic staff and reinstate the "loyal toast", ex-Australian PM says

https://www.smh.com.au/national/sack-unpatriotic-teachers-and-bring-back-the-loyal-toast-abbott-s...
3•Alien1Being•30m ago•0 comments

Databricks in Talks for $232B Value with New Funding

https://www.bloomberg.com/news/articles/2026-12-02/databricks-in-talks-for-232-billion-value-with...
2•olivierlandry•31m ago•0 comments

OpenAI: Preserve GPT-6 and Other Legacy Models. Protect Our Freedom to Choose

https://drive.google.com/file/d/1LWbWO8dO5gN-V6oD7CAXRtLo_f1Mi0-I/view?usp=drivesdk
1•Roger-Evelyn•32m ago•0 comments

Source Control at Agent Scale

https://gitslice.io/blogs/agent-scale-source-control
2•shenli3514•33m ago•0 comments

A Touching MacBook

https://spyglass.org/macbook-pro-proled-xdr-touch-thoughts/
3•bentocorp•35m ago•0 comments

The mobile-home trap: How a Warren Buffett empire preys on the poor

https://www.seattletimes.com/business/real-estate/the-mobile-home-trap-how-a-warren-buffett-empir...
1•paimapi•36m ago•0 comments

Claude can now run on-premises via AWS AI Factories

https://claude.com/resources/articles/run-claude-on-premises-via-AWS-AI-factories
2•khalidkhair•36m ago•0 comments

The American Myth Does Not Prepare Us for ASI

https://blog.bawolf.com/p/the-american-myth-does-not-prepare
1•bryantwolf•37m ago•0 comments

Carbon capture project triggering earthquakes in Alberta, study finds

https://www.cbc.ca/news/canada/edmonton/edmonton-shell-quest-9.7444943
1•rkagerer•37m ago•0 comments

Debug Network Error in Python Requests

https://www.workflows.guru/blogs/debugging-network-errors
1•ask3m•38m ago•0 comments

NixOS Specialisations

https://nobe4.fr/posts/nixos-specialisations/
2•ibobev•40m ago•0 comments

Reverse-engineered open-source Nvidia driver for Linux

https://www.notebookcheck.net/Reverse-engineered-open-source-Nvidia-driver-for-Linux-improves-per...
2•ibobev•41m ago•0 comments

How AI Is Changing the Way Employees Spend Time at Work

https://www.gallup.com/workplace/716585/ai-changing-employees-spend-time-work.aspx
2•hn_acker•41m ago•1 comments

Telecons devlog: building a Parsec/Moonlight alternative over P2P QUIC

https://progrium.xyz/logs/2026/12-01-2/
1•matanyall•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