frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

FreeBSD Pkgbase Minor Upgrades

https://vermaden.wordpress.com/2026/05/10/freebsd-pkgbase-minor-upgrades/
1•vermaden•3m ago•0 comments

A Framework of Modular Structure – Made Visible Through Representations

https://github.com/A19dammer91/Linear-Diophantine-Representation-Systems-p-1-mod-q-
1•A19dammer91•4m ago•0 comments

Kryptor – Simple, modern, secure file encryption and signing tool

https://www.kryptor.co.uk
2•rickcarlino•10m ago•0 comments

Why Apple Is Launching a Touchscreen MacBook [video]

https://www.youtube.com/watch?v=8zGNeT8fU9Y
1•mgh2•11m ago•0 comments

VBM – a VTT that feels like Saturday night at the game table

https://vbm.games/
2•burtonmiller•21m ago•0 comments

Endo: JavaScript plugin framework with built-in supply chain attack resistance

https://github.com/endojs/endo
2•ignoramous•23m ago•0 comments

In CRHQ, agents don't just reply with text. They ship live HTML artifacts

https://andrej.crhq.ai/artifact/Us0QJs48JGh3dK3uoEDQLw
2•taubek•24m ago•0 comments

Swift bricks to be installed on all new buildings in Scotland

https://www.theguardian.com/environment/2026/jan/28/swift-bricks-to-be-installed-in-all-new-build...
1•bookofjoe•28m ago•0 comments

React-AI-stream – back end-agnostic SSE streaming hook for React

https://github.com/trimooo/react-ai-stream
1•devleoo•39m ago•0 comments

Reducing TTFT by CPUMaxxing Tokenization

https://www.crusoe.ai/resources/blog/reducing-ttft-by-cpumaxxing-tokenization
1•intrepidsoldier•43m ago•0 comments

Kit that converts film to digital

https://www.digitalcameraworld.com/cameras/film-cameras/the-trending-kit-that-converts-film-to-di...
2•Alupis•44m ago•0 comments

Implementation Details of Codex /Goal

https://gist.github.com/patleeman/b1b5768393f9bf2f60865b1defeeb819
1•dnw•44m ago•0 comments

Nocturne Is the Latest Music Player for Gnome to Hit v1.0

https://www.phoronix.com/news/Nocturne-1.0-GNOME-Music
1•Bender•45m ago•0 comments

Canvas Breach Disrupts Schools and Colleges Nationwide

https://krebsonsecurity.com/2026/05/canvas-breach-disrupts-schools-colleges-nationwide/
2•Bender•46m ago•1 comments

Build native desktop and mobile apps with web UI and Zig

https://github.com/vercel-labs/zero-native
1•kindkang2024•49m ago•0 comments

The Las Vegas Sphere Looked Like a Disaster. It's Become a Huge Hit Instead.

https://www.wsj.com/business/media/sphere-vegas-dolan-disaster-hit-fa0e6b17
1•bookofjoe•50m ago•1 comments

Ask HN: Before Open Source took over the server, what was the discourse like?

2•mbgerring•51m ago•0 comments

Trump reportedly plans to fire FDA Commissioner Marty Makary

https://arstechnica.com/health/2026/05/trump-reportedly-plans-to-fire-fda-commissioner-marty-makary/
1•Bender•52m ago•0 comments

Show HN: Countries where you can leave your MacBook at a random coffee shop

https://vouchatlas.com
2•canergl•52m ago•0 comments

Koide Formula for the Down Quarks

https://doi.org/10.1016/j.physletb.2026.140510
1•arivero•54m ago•1 comments

I built an AI to stress-test my thinking

https://mindmilker.com
1•afxuh•1h ago•0 comments

Ryan Cohen, the rebel CEO who disdains corporate America

https://www.ft.com/content/c0023a3e-08ec-44e8-80a6-f9abb343c52e
2•petethomas•1h ago•0 comments

Data center drains 30M gals of water — until residents complained of pressure

https://www.politico.com/news/2026/05/08/georgia-data-centers-water-00909988
11•thehoff•1h ago•5 comments

Hasan Piker Media Tracker

https://hasanabi.m44.cl/
1•abdelhousni•1h ago•1 comments

ToolOps: One Decorator Away from Production-Ready AI Agents

https://github.com/hedimanai-pro/toolops
2•hedimanai•1h ago•1 comments

Instagram DMs Lose End-to-End Encryption Starting Today

https://www.macrumors.com/2026/05/08/instagram-end-to-end-encryption/
4•0in•1h ago•1 comments

After USDA request, Indiana plant biologist locked out of lab by school

https://www.science.org/content/article/after-usda-request-indiana-plant-biologist-locked-out-lab...
4•petethomas•1h ago•0 comments

macOS 26 adoption rate lower than prior macOS versions

https://forums.macrumors.com/threads/tahoe-adoption-rate.2474641/page-2
2•seam_carver•1h ago•0 comments

The Real Story of Troy

https://storica.club/blog/troy-was-real/
1•cemsakarya•1h ago•0 comments

McDonald's is taking away your fountain machine. Burger King not so much.

https://finance.yahoo.com/markets/article/mcdonalds-is-taking-away-your-fountain-machine-burger-k...
2•phyzix5761•1h ago•2 comments
Open in hackernews

Ask HN: Any good tools to pgdump multi tenant database?

3•polishdude20•11mo 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•11mo 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•11mo 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•11mo 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•11mo 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•11mo ago
Oh yes I agree with you. It may become a big push to convince my org to do that