frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Best of Bootc Issue #1

https://kheeper.com/best-of-bootc/1
1•areed•1m ago•1 comments

Ask HN: How angry are you about Apple's walled garden when using Android?

2•yashkamireddi•1m ago•0 comments

Compress any LLM 3x in one click,near-lossless,in under 50 MB RAM

https://neuracryption.com/research
2•anushka_gandhi•1m ago•0 comments

Goodyear Inflatoplane

https://en.wikipedia.org/wiki/Goodyear_Inflatoplane
1•ZeljkoS•1m ago•0 comments

Show HN: RemoteCrab – an iPhone as your computer's camera, mic and screen

https://vgoapp.com/remotecrab/
1•edwinhao88•2m ago•0 comments

Show HN: Relinos – A Hacker's Web Browser – Any Site to API (Open-Source)

https://github.com/realsirjoe/relinos
1•realsirjoe•4m ago•0 comments

Cyberattack hits French blood bank freezer – thwarted by failsafes

https://apnews.com/article/france-plasma-blood-bank-cyberattack-temperature-fridge-12b80bcf93b840...
1•quaffcode•4m ago•1 comments

We made the first 1 PFLOP/s FlashAttention on a single H100 GPU

https://streamhpc.com/blog/2026-11-09/we-made-the-worlds-first-1-pflops-flash-attention-on-a-sing...
1•ibobev•4m ago•0 comments

Claude Code token cost explorer

https://entropicthoughts.com/claude-code-token-cost-explorer
1•ibobev•5m ago•0 comments

Old Vintage Computing Research

http://oldvcr.blogspot.com/2026/11/the-classic-console-corners-crt.html
1•dverlaeckt80•8m ago•0 comments

Show HN: Pentimento – status and lineage for your coding agent's plan files

https://github.com/kjiwa/pentimento
3•kjiwa•9m ago•1 comments

Show HN: Usul – Express neural networks as raw math in C++23

https://github.com/crushr3sist/Usul-cpp
2•ronny2fresh•9m ago•1 comments

Why Morningstar Thinks Anthropic Is Worth $1.7T

https://www.morningstar.com/stocks/why-morningstar-thinks-anthropic-is-worth-17-trillion
1•RickJWagner•10m ago•1 comments

Don't Lie to Us, Finland: The Happiness Report Has a Problem

https://mikesbalance.com/lie-to-me-world-happiness-report/
1•speckx•11m ago•1 comments

$3B to 0: Blur, once the top NFT marketplace, is shutting down. I designed it

https://sortino.co/writing/from-0-to-3-billion-to-zero
1•joshuasortino•12m ago•0 comments

Show HN: Turnus – find cron, launchd and systemd jobs that won't run, and why

https://github.com/sanifhimani/turnus
1•sanifhimani•13m ago•0 comments

Woodpecker

https://woodpecker.everydaymactools.com/
1•bookofjoe•14m ago•0 comments

UniXNU – Run iOS and macOS on Non-Apple ARM64 Hardware Through UEFI

https://github.com/UniXNU/UniXNU
1•reimertz•14m ago•0 comments

Show HN: Skyloons – a balloon-popping Android game, 1,000 levels, works offline

https://play.google.com/store/apps/details?id=com.maniar.balloonpopquest&hl=en_US
1•connectmaniar•14m ago•0 comments

Show HN: Nekolike – a coin pusher roguelike you rebuild between floors

https://pickthewheel.com/nekolike-coin-pusher/
2•gigipandora•16m ago•0 comments

CAP theorem explained using Desi Metaphors

https://abhishekco.de/posts/cap-theorem-explained-bollywood-cricket-examples
1•fantasticwaddle•18m ago•0 comments

Sydney researchers uncover a hidden limit to AI predictability

https://www.sydney.edu.au/news-opinion/news/2026/11/06/sydney-researchers-uncover-a-hidden-limit-...
3•wjSgoWPm5bWAhXB•18m ago•0 comments

Product managers are (expensive) search functions with taste

https://www.theycallmesam.com/p/product-managers-were-expensive-search
1•01sadrasam•19m ago•0 comments

Ukraine's Fiber-Optic Drones Compete with Data Centers for Optical Fiber Supply

https://epyhia.com/ukraine-s-fiber-optic-drones-compete-with-ai-data-centers-for-china-s
1•arbuge•19m ago•0 comments

Show HN: pvewarden – let an AI agent patch Proxmox VMs without giving it a shell

https://github.com/matousfiser/pvewarden
1•mattyhunter•20m ago•0 comments

The natural alliance of everyone else

https://nonzerosum.games/naturalalliance.html
3•marjancek•20m ago•2 comments

Claude Fable 5.2, one day later [video]

https://twitter.com/xhenrikkvamme/status/2120137440169984242
2•henrikkvamme•20m ago•1 comments

29M Japanese Buildings

https://tech.marksblogg.com/japanese-building-footprints.html
2•marklit•20m ago•0 comments

Theory predicting an older Universe passes key cosmological tests

https://www.uottawa.ca/faculty-science/news-all/theory-predicting-older-universe-without-dark-mat...
3•wjSgoWPm5bWAhXB•20m ago•1 comments

Show HN: GuestVine – follow a person across every podcast they guest on

https://guestvine.fm
1•paulreaney•20m 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