frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Calm Engineering Dashboard

https://gitbiased.com/
1•skyfantom•2m ago•0 comments

Catastrophe theory; geniuses and maniacs (2011)

http://glassbottomblog.blogspot.com/2011/01/catastrophe-theory-geniuses-and-maniacs.html
1•mbustamanter•3m ago•0 comments

Researchers find ways to keep homes cooler in summer

https://www.bbc.com/news/articles/cly94l8xjlqo
1•rustoo•4m ago•0 comments

Tensorless – An exact thermodynamic execution sandbox in C++20

https://github.com/AperioGenix/Tensorless-Public
1•alxspiker•8m ago•0 comments

Open-source prompt infrastructure toolkit

https://px0.ai/
1•prakashqwerty•9m ago•0 comments

A Story of Screwdriver Drivers

https://carette.xyz/posts/a_story_of_screwdriver_drivers/
5•LucidLynx•10m ago•0 comments

Phosh 0.56.0

https://phosh.mobi/releases/rel-0.56.0/
2•edward•10m ago•0 comments

Show HN: Hacker-News Jobs

1•freakynit•11m ago•0 comments

Graphify: Turn any codebase into a queryable knowledge graph

https://github.com/Graphify-Labs/graphify
1•domysee•13m ago•0 comments

I spent 100 hours building a website you will use for 20 minutes a week

https://www.dailicle.com/
2•lucky-solanki•13m ago•2 comments

Show HN: UATC-Closed-loop VRAM control and dynamic data pruning for LLM training

https://github.com/sajjaddoda72-design/UATC
1•L_u_u_6•14m ago•0 comments

The Lion, The Witch, and the audacity of recruiters

https://hauleth.dev/post/the-lion-the-witch-and-the-aduacity-of-recruiter/
1•birdculture•16m ago•0 comments

Matrix Multiplication on Blackwell

https://www.modular.com/blog/matrix-multiplication-on-nvidias-blackwell-part-1-introduction
1•skidrow•19m ago•0 comments

Saving tokens and "Let me try something else" infinite loop in Coding Agents

https://cimons.com/article/saving-tokens-let-me-try-something-else-infinite-loop-in-coding-agents
1•etcimon•19m ago•1 comments

Toward Better Hip Kernel Generation for AMD GPUs

https://scalingintelligence.stanford.edu/blogs/hipkernels/
1•skidrow•19m ago•0 comments

FlashAttention-4: Algorithm and Kernel Pipelining Co-Design

https://research.colfax-intl.com/flashattention-4-algorithm-and-kernel-pipelining-co-design-for-a...
1•skidrow•20m ago•0 comments

Notes on Amazon vs. Perplexity

https://educatedguesswork.org/posts/notes-amazon-perplexity/
1•gmays•21m ago•0 comments

Why Your Brain Will Always Defend Complexity

https://savvynormie.com/why-your-brain-will-always-defend-complexity/
1•ExMachina73•25m ago•0 comments

TabFont – guitar tabs rendered as you type

https://philatype.com/tabfont/
2•ChrisArchitect•25m ago•0 comments

Scheme Is a Hoot

https://gracefulliberty.com/notes/scheme-is-a-hoot/
1•signa11•26m ago•0 comments

Anatomy of Prompt Injection

https://medium.com/@kirill89/anatomy-of-prompt-injection-d97ddaea9089
1•k1r111•27m ago•0 comments

Show HN: Neil the Seal Game

https://neiltheseal.app/
2•dalemhurley•27m ago•0 comments

Tell HN: FileVault does not protect Wi-Fi passwords on macOS 26

2•turbidimeter•27m ago•0 comments

Show HN: CAVS – Open-source content-addressable updates for game assets

https://github.com/orelvis15/cavs-oss
2•orelvis15•29m ago•0 comments

Show HN: Essential Media Player – A web-based (PWA) local media player

https://essentialmediaplayer.com/
1•ZuLuuuuuu•29m ago•0 comments

Researchers Create Self-Replicating Seedbox in Quest for Decentralized Democracy

https://torrentfreak.com/researchers-create-self-replicating-seedbox-in-quest-for-decentralized-d...
1•synctext•29m ago•0 comments

Help Us Save MeshCore

https://blog.meshcore.io/2026/07/04/help-us-save-meshcore
2•geerlingguy•34m ago•0 comments

No-AI Label

https://en.wikipedia.org/wiki/No-AI_label
3•amelius•41m ago•0 comments

Social Geo App on AT Proto

https://pinnd.place/login
1•colomolo•42m ago•1 comments

JadePuffer ransomware used AI agent to automate entire attack

https://www.bleepingcomputer.com/news/security/jadepuffer-ransomware-used-ai-agent-to-automate-en...
2•Brajeshwar•43m 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