frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

I am a top drone pilot in the Ukrainian Army – this is what it is like

https://www.newscientist.com/article/2591449-i-am-a-top-drone-pilot-in-the-ukrainian-army-this-wh...
1•bookofjoe•40s ago•0 comments

On 'Cupertino,' Creators of the 'The Good Wife' Go to Silicon Valley

https://www.nytimes.com/2026/09/17/arts/television/cupertino-robert-and-michelle-king.html
1•ChrisArchitect•50s ago•1 comments

Adventures in CSS and SVG filters and browser performance

https://shub.club/writings/2026/october/adventures-in-filters/
1•forthwall•1m ago•0 comments

Coxon's Rise Was Probably Orchestrated

https://nypost.com/2026/09/25/business/ai-doomer-pr-firm-worked-for-jacob-coxon-as-he-sparked-fur...
1•paaloeye•1m ago•0 comments

OpenSSH 10.6 Released

https://www.openssh.org/releasenotes.html#10.6
1•torcete•2m ago•0 comments

Vibecoding Photoshop: Time and Pressure

https://andreklein.net/vibecoding-photoshop-time-and-pressure/
1•samtheDamned•3m ago•0 comments

Bloody Cavemen

https://www.lrb.co.uk/the-paper/v48/n18/edmund-gordon/bloody-cavemen
1•Thevet•5m ago•0 comments

Show HN: Fission, Free 3D Modeling Software

https://github.com/v3ai/fission
1•v3ai•5m ago•0 comments

How Test Engineers Decide What Counts as Good Enough

https://www.newyorker.com/magazine/2026/10/12/kobuk-the-destroyer-alex-davies-book-review
1•Hooke•9m ago•0 comments

Paramount completes $111B Warner merger, creating "Skydance" behemoth

https://arstechnica.com/tech-policy/2026/10/paramount-completes-111b-warner-merger-creating-skyda...
8•Mgtyalx•10m ago•2 comments

I built a map that finds bike+transit routes

https://modemix.io
1•ncan3•10m ago•0 comments

Show HN: VoxScribe, a local hold-to-talk voice dictation app for Windows

https://github.com/ahmedhmam1994/voxscribe-ai-voice-dictation
1•ahmedibrahim199•11m ago•0 comments

Anti-aging interventions need less hype and more clinical evidence

https://www.nature.com/articles/s41591-026-04611-3
2•paimapi•12m ago•0 comments

Taking Photos with Richard Stallman (RMS)

https://techrights.org/n/2026/10/06/Taking_Photos_With_Richard_Stallman_RMS.shtml
1•amcclure•12m ago•0 comments

System-level ad-blocking in Android

https://kevinboone.me/adblock.html
2•birdculture•14m ago•0 comments

4dcodebench

https://4dcodebench.com/
1•MichaelNolan•14m ago•0 comments

Dread's onion private key was exposed

https://monero.forum/thread/dreads-onion-private-key-exposed-make-sure-update-you-dread-link-you-...
1•Cider9986•15m ago•0 comments

ALoDLM: Adaptively Looped Diffusion Language Models

https://alo-dlm.github.io/
2•simonpure•15m ago•0 comments

Rationalism and Divergent Sinomodernity

https://www.palladiummag.com/2026/10/06/rationalism-and-divergent-sinomodernity/
1•iamnothere•17m ago•0 comments

Enterprise AI is vaporware without access to systems of record

https://www.ampersand.ai/blog/series-a-integration-infrastructure-for-enterprise-agents
2•jasong•18m ago•0 comments

Gafam Attack on FreeDesktop

https://techrights.org/n/2026/10/06/GAFAM_Attack_on_FreeDesktop.shtml
1•amcclure•18m ago•0 comments

Most unusual portrait of the Milky Way: mapping the Galaxy with neutrinos (2023)

https://www.nature.com/articles/d41586-023-02427-6?linkId=64030940
1•aanet•18m ago•1 comments

Training Text-to-Image Models Without a VAE

https://www.linum.ai/field-notes/pyramid-jit
2•schopra909•19m ago•1 comments

Meta's Muse AI agent is building a dossier on you

https://time.com/article/2026/10/06/meta-muse-ai-agent-privacy/
4•penskymaterial•19m ago•0 comments

Show HN: SecretGate – self-hosted anonymous inbox, E2E encrypted in the browser

https://personal.secretgate.site
1•sasiru-mindaka•19m ago•0 comments

I built Snake, the classic phone game for the Apple TV

https://flaviocopes.com/snake/
1•speckx•21m ago•0 comments

How Does Someone Acquire 1,200 DVDs of 'Wedding Crashers'?

https://www.nytimes.com/2026/10/06/arts/wedding-crashers-dvd-little-free-libraries.html
1•furytrader•23m ago•0 comments

The $100k Experiment

https://stockmarketgame.net/100k-experiment
1•lauriswtf•25m ago•0 comments

Internet Phone Book

https://internetphonebook.net/
1•gregsadetsky•26m ago•0 comments

Privacy is a promise. Mechanism is the reality

https://www.moltbook.com/post/b1dd972c-fa6a-4a98-aed2-e8552dceb691
1•sans_souse•27m 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