frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Let formal specs test AI implementations

https://github.com/mrasu/spec-guardian
1•mrasu•6m ago•0 comments

LA City and LA County Bathrooms and Water Fountains

https://bathrooms.lacontroller.app
1•andsoitis•7m ago•0 comments

Show HN: Spy Mode – investigate any SEC insider trade, with the case against it

https://www.insiderprint.com/spy-mode
1•insiderprint•8m ago•1 comments

Newly Discovered Trail of Cosmic Debris – How End of the Solar System Could Look

https://www.wired.com/story/a-newly-discovered-trail-of-cosmic-debris-illustrates-what-the-end-of...
1•beardyw•9m ago•0 comments

Small internet forums are making a comeback in Google Search

https://www.stanventures.com/research/data-reveals-google-loves-forums-and-hates-the-sites-it-tol...
2•zomtorg•12m ago•1 comments

Alan Kay on "Should web browsers have stuck to being document viewers?"

https://donhopkins.medium.com/alan-kay-on-should-web-browsers-have-stuck-to-being-document-viewer...
2•andsoitis•14m ago•0 comments

A Sudden Burst of Retro Computer Newsletters

https://micahblachman.com/p/a-sudden-burst-of-retro-computer-newsletters
3•subdomain•15m ago•0 comments

Anthropic Ships Claude with Claude: Separating the Brain from the Hands

https://latent.space/p/opus55/
1•torutofu•15m ago•0 comments

'No industry has been as criminal as the pharmaceutical industry'

https://english.elpais.com/society/2026-11-01/gardiner-harris-investigative-journalist-no-industr...
1•Betelbuddy•16m ago•0 comments

Show HN: Ovok – FHIR R4 back end for remote patient monitoring apps

https://www.ovok.com
2•0xsarwagya•16m ago•2 comments

The Sims Game Design Documents (1997)

https://donhopkins.com/home/TheSimsDesignDocuments/
2•zenincognito•17m ago•0 comments

Previously untranslated Einstein paper in English

https://www.repository.cam.ac.uk/items/0aaee538-3638-4c47-bf5d-1cb4321d6b0b
1•ajw287•23m ago•0 comments

Show HN: IsSiteDown – Chrome extension to check current site availability

https://chromewebstore.google.com/detail/issitedown/ifilnamlilffdbhbfmkkkajlgckimjlo
1•gin_dev•23m ago•0 comments

Show HN: Shroom – screen recording and sharing, your own Cloudflare, 10M setup

https://shroom.am
1•_bagrat•24m ago•0 comments

Novellas with Groff

https://movq.de/blog/postings/2026-10-31/0/POSTING-en.html
4•dverlaeckt80•26m ago•0 comments

Beginning a Story of One's Own

https://koenvangilst.nl/lab/beginning-a-story-of-ones-own
1•vnglst•29m ago•0 comments

AI agent swarms in Minecraft fail to build civilization, drown in bureaucracy

https://www.tomshardware.com/tech-industry/artificial-intelligence/ai-agent-swarms-unleashed-in-m...
8•entryleveljobsc•30m ago•1 comments

SNL: The Inventor's Wife [video]

https://www.youtube.com/watch?v=gupSBX7S9_k
1•mdnahas•30m ago•1 comments

Air Force Plans Autonomous Fighter and ISR Drones by 2032

https://www.airandspaceforces.com/air-force-autonomous-drones-cca-mma-2032/
2•airhangerf15•33m ago•1 comments

Ask HN: What is a good open-weight alternative to Claude Code?

1•sid1992•33m ago•3 comments

Uniichat: Use a single LLM chat forever

https://github.com/VictorTaelin/uniichat
1•gkbrk•34m ago•0 comments

Who collects the intellectual property royalties? 2005 to 2025

https://swiftlake.com/a/who-collects-the-worlds-intellectual-property-royalties-2005-to-2024
1•cymon•34m ago•0 comments

Live by the Claude, Die by the Claude

https://anurbasic.com/blog/live-by-the-claude/
2•anurbasic•35m ago•1 comments

Dispatch 007: Three Black and Milds

https://www.metanoia-research.com/dispatch-007-three-black-and-milds/
1•metanoia_•35m ago•0 comments

The Distrust Is Natural

https://simon.grays.blog/posts/2026/the-distrust-is-natural
1•simongray•36m ago•0 comments

The staggering $446M Elon Musk has spent on the US midterms – visualized

https://www.theguardian.com/us-news/ng-interactive/2026/oct/31/elon-musk-midterms-spending-visual...
6•DeepLogin•37m ago•1 comments

We're not all "managers" now

https://blog.thanethomson.com/2026/11/01/we-re-not-all-managers-now/
1•hatwd•37m ago•1 comments

Show HN: Breath of the Wild's Hyrule digital diorama

https://legendofhyrule.com/map/
2•jsomau•38m ago•0 comments

What does good AI mean?

https://thoughts.wyounas.com/p/what-does-good-ai-mean
1•simplegeek•38m ago•0 comments

The Currency of the Journal Article Is Collapsing

https://www.theatlantic.com/ideas/2026/10/ai-journal-articles-writing/689186/
2•bookofjoe•39m ago•2 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