frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Tactile, feel a trackpad tick over everything clickable on macOS

https://github.com/Mason363/Tactile
2•MasonChen•3m ago•0 comments

Hatching in 1PDG (2019)

https://www.patreon.com/watawatabou/posts/hatching-in-1pdg-31716880
1•andsoitis•4m ago•0 comments

Hyperblam – make music using Web Audio API only

https://hyperblam.how/
1•8bitsrule•5m ago•0 comments

Real Hack History Collection

https://archive.org/details/realhackinghistory
1•toomuchtodo•12m ago•1 comments

Want to own a real T. rex?

https://www.npr.org/2026/07/12/nx-s1-5890988/t-rex-gus-dinosaur-auction-sothebys-millions
1•defrost•12m ago•0 comments

Vibecoder Quin69 realizes programming is a real job [video]

https://old.reddit.com/r/LivestreamFail/comments/1uss5x8/vibecoder_quin69_realizes_programming_is...
2•ivewonyoung•14m ago•0 comments

Show HN: A 10-chapter synthesizer course in a single HTML file

https://grahampaasch.itch.io/oscillaedu
2•gpaasch•14m ago•0 comments

Show HN: Clark – AI assistant with own computer

https://www.clarkchat.com/
1•stan_kirdey•21m ago•0 comments

Show HN: Topsoil – a notch dashboard for coding agents, music, and files

https://topsoil-two.vercel.app/
1•davey2wavey•22m ago•0 comments

Found Better Pagerduty Alternative

https://github.com/FluidifyAI/Regen
2•furyman•25m ago•0 comments

I tracked down an animal abuser using OSINT [video]

https://www.youtube.com/watch?v=nzytWZPyuEw
2•Bender•27m ago•0 comments

Major forest fire only 50km from Paris

https://www.reddit.com/r/paris/s/8wXGehfCCY
1•Arodex•28m ago•0 comments

Separating Logic and Language

https://news.mit.edu/2026/separating-logic-and-language-0708
1•alexwwang•31m ago•0 comments

The Work of Helping A.I. Destroy Work

https://www.nytimes.com/2026/07/10/business/ai-white-collar-jobs.html
1•pseudolus•33m ago•1 comments

Closing a three-year-old issue using Rust arenas

https://giacomocavalieri.me/writing/gleam-rust-arenas
1•ryantsuji•44m ago•0 comments

The great (fire)wall: the technical details behind how China's internet works

https://kylejeong.com/blog/great-firewall
2•Kylejeong21•44m ago•0 comments

Embedcache – Cut embedding API costs by caching redundant requests

https://github.com/Ajay6601/embedcache
1•Ajay3043•45m ago•0 comments

Show HN: Whop Downloader – Bulk save videos from Whop in one click

https://chromewebstore.google.com/detail/whop-downloader/lfnmkoipepgcllbonheeogljjgcjhjaa
1•qwikhost•45m ago•0 comments

Llambda.lisp

http://funcall.blogspot.com/2026/07/llambdalisp.html
2•lemonberry•46m ago•0 comments

Gameboy is back ( no signup)

https://gb.omniiii.com/
3•djxjxjcjcjc•48m ago•0 comments

MacKenzie Scott's Giving, in Quality-Adjusted Life Years (QALYs)

https://maxghenis.com/mackenzie-scott-qaly/
19•383toast•56m ago•4 comments

Performant C/CUDA inference engine for Qwen 3.6 35B on RTX 5090 / Blackwell

https://github.com/ambud/q36
2•ambuds•1h ago•0 comments

Claude Code Usage Global Leaderboard

https://www.claudeusage.com
2•bazarkua•1h ago•0 comments

Apple's "Thermonuclear" Response to OpenAI's Threat

https://www.wsj.com/tech/ai/apples-thermonuclear-response-to-the-openai-threat-8d51c814
5•mful•1h ago•1 comments

Tacit Knowledge

https://en.wikipedia.org/wiki/Tacit_knowledge
12•chistev•1h ago•1 comments

Show HN: Let your coding agent iterate by seeing the browser

https://github.com/puffinsoft/peek-cli
5•G3819•1h ago•0 comments

Quintile – keyboard N×M grid tiling for macOS

https://github.com/stefanopineda/quintile
2•stefanopineda•1h ago•0 comments

Universal Learning of Nonlinear Dynamics

https://arxiv.org/abs/2508.11990
2•E-Reverance•1h ago•0 comments

Collections: How to Polis, 101, Part I: Component Parts

https://acoup.blog/2023/03/10/collections-how-to-polis-101-part-i-component-parts/
2•vinnyglennon•1h ago•0 comments

Matthew Effect

https://en.wikipedia.org/wiki/Matthew_effect
8•chistev•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