frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Browser extension shows where to buy domain names

https://domdb.com/tools/browser-extension
1•timbowhite•2m ago•0 comments

Ex-PlayStation boss says "true innovation" would be making a $300 console again

https://www.gamesradar.com/platforms/playstation/ps6-doesnt-need-more-power-ex-playstation-boss-s...
2•haunter•3m ago•0 comments

Write your own Wayland compositor: Rendering windows

https://nekidev.github.io/2026/11/07/1-welcome-to-wlroots-part-3.html
1•nyeki•4m ago•0 comments

Show HN: An offline desktop companion to help maintain a healthy blink rhythm

https://eyesrhythm.com/
3•prnysoni•9m ago•0 comments

Billion Watts in the Speaker [video]

https://www.youtube.com/watch?v=PHOcTXYaMfg
2•Element_•10m ago•0 comments

Learning in a World of Notes

https://engram.com/blog/learning-in-a-world-of-notes
1•cat-whisperer•11m ago•0 comments

Show HN: Levithas

https://levithas.app
2•monidp•17m ago•0 comments

AI productivity boost UK firms

https://www.theregister.com/ai-and-ml/2026/11/06/bank-of-england-pours-cold-water-on-ai-productiv...
1•frevib•19m ago•0 comments

The Behavior Gap: Why Investors Earn Less Than Their Own Funds [video]

https://www.youtube.com/watch?v=Fnmhunxb2l0
1•enjoyyourlife•20m ago•0 comments

Skitch.app Abandoned. Sitch Is MIT Alternative

https://phalladar.github.io/Sitch/
1•michael-sumner•21m ago•3 comments

The French Cake Cooked on a Spit (2018) [video]

https://www.youtube.com/watch?v=havcACdx0Y0
1•NaOH•27m ago•0 comments

Unfix – we unfix your fix, to prove it

https://unfix.dev/
1•_doctor_love•29m ago•0 comments

Prediction as Grounds: On How the State Is Learning to Punish Before the Crime

https://medium.com/@smoking2man/prediction-as-grounds-on-how-the-state-is-learning-to-punish-befo...
1•Aldus551•31m ago•0 comments

The Paradox of Standardisation

https://paulitaylor.com/2026/05/05/the-paradox-of-standardisation/
1•andsoitis•33m ago•0 comments

World of Warcraft: Forever Has Its First Level 60 Player

https://www.vice.com/en/article/world-of-warcraft-forever-has-its-first-level-60-player/
3•doener•33m ago•0 comments

Amutable Foundations: A Technical Overview

https://lwn.net/Articles/1105934/
1•jruohonen•33m ago•0 comments

A new open-source browser engine in V

https://vox-browser.org/
4•rakibtg•37m ago•1 comments

Segmentation Drives Market Share Wins in AI

https://tomtunguz.com/anthropic-repriced-the-enterprise/
2•gmays•41m ago•0 comments

MeccanicOS

https://meccanicos.com/
2•tomcam•43m ago•0 comments

Open source Chrome plugin for lowercased browsing

https://chromewebstore.google.com/detail/lowercase-is-a-mood/pdbkpobppnhekkcnahnabccppcbmahbe
1•rkovashikawa•43m ago•0 comments

Shadow of the Sun

https://mattlakeman.org/2021/07/27/shadow-of-the-sun/
5•andsoitis•45m ago•2 comments

Show HN: Where Were We

https://wherewerewe.app/
11•zkiihne•48m ago•4 comments

Conquest of the Incas

https://mattlakeman.org/2025/03/24/conquest-of-the-incas/
1•andsoitis•49m ago•2 comments

Codex SSHd into my router and found an extra 1 Gbps I didn't know I was missing

https://notes.ciechanowi.cz/notes/finding-the-missing-gigabit-in-my-pfsense-firewall/
2•lci•50m ago•1 comments

Major construction ongoing near Iran missile bases, satellite images suggest

https://www.bbc.com/news/articles/ckjrwx1r2d5ro
6•spzx•52m ago•0 comments

Good Riddance to the Cybertruck, the Chariot of the Dumbest Gods

https://www.rollingstone.com/culture/culture-commentary/good-riddance-elon-musk-cybertruck-123565...
10•toomanyrichies•54m ago•1 comments

Pasta & Puppetry

https://offbeat.amsterdam/event/pasta-and-poetry-1
1•jruohonen•56m ago•0 comments

L Coding is the new Vibe Coding

1•zahirbmirza•56m ago•3 comments

Isometric Seattle

https://isometricseattle.fun/
2•dmarticus•58m ago•0 comments

HP and Asus shift some PC making back to China due to AI-driven cost hikes

https://asia.nikkei.com/business/technology/tech-asia/hp-and-asus-shift-some-pc-making-back-to-ch...
1•yogthos•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