frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: GitHub – Burn – Rust tensor library and deep learning framework

https://github.com/tracel-ai/burn
1•criexe•31s ago•0 comments

ACX 2025 prediction contest retrospective

https://entropicthoughts.com/acx-2025-prediction-contest-retrospective
1•kqr•1m ago•0 comments

Software Crisis

https://en.wikipedia.org/wiki/Software_crisis
1•tin7in•3m ago•0 comments

Life Levels – Make choices and see your life in 15 years

https://mathgameshero.com/life-levels/
1•absurdwebsite•9m ago•1 comments

How the New Yorker Became Irrelevant

https://www.persuasion.community/p/how-the-new-yorker-lost-its-soul
1•simonebrunozzi•13m ago•0 comments

What does it mean to be a programming language, anyhow? (2021) [pdf]

https://dl.acm.org/doi/pdf/10.1145/3480947
1•hun3•13m ago•0 comments

Show HN: SharpSkill- Realign markets needs and developers

https://sharpskill.fr/en
1•MakeMilk•16m ago•0 comments

Ask HN: How to keep your product from fading into obscurity

1•alexpham14•18m ago•0 comments

California Gold Smelt [video]

https://www.youtube.com/shorts/f1QdvAl4YKY
2•thunderbong•19m ago•0 comments

You Don't Need an ORM

https://codebeameurope.com/talks/you-don-t-need-an-orm/
2•amalinovic•21m ago•1 comments

Show HN: Control center for Claude Code with plan review and parallel agents

https://www.heymedusa.net/
2•benodiwal•23m ago•0 comments

Bettershot an OSS Alternative of Cleanshot

https://github.com/KartikLabhshetwar/better-shot
2•kartik017•26m ago•0 comments

The Great Online Game

https://www.notboring.co/p/the-great-online-game
2•simonebrunozzi•28m ago•0 comments

AI-bots shall eat my docs

https://discourse.ubuntu.com/t/ubuntu-server-gazette-issue-11-ai-bots-shall-eat-my-docs/75029
2•DanieleProcida•30m ago•1 comments

59% of Republicans favor use of force immigration raids despite risk of deaths

https://www.reuters.com/world/republicans-split-trumps-aggressive-immigration-crackdown-reutersip...
2•willmarch•31m ago•1 comments

Support for C++26 Reflection has been merged into GCC trunk

https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=4b0e94b394fa38cdc3431f3cfb333b85373bd948
2•pjmlp•32m ago•0 comments

Work/life/pet project balance?

3•wiz21c•39m ago•0 comments

Python Basics Explained with Real-World Examples

https://medium.com/@pcodesdev/python-basics-the-complete-beginners-guide-to-programming-in-2026-a...
2•pcodesdev•43m ago•1 comments

Tolkien Society Awards 2026

https://www.tolkiensociety.org/society/awards/
2•BerislavLopac•44m ago•0 comments

KerasHub: a pretrained modeling library

https://keras.io/keras_hub/
2•saikatsg•45m ago•0 comments

Trial acquittal after 7yrs for aid workers prosecuted in Greece refugee crisis

https://www.theguardian.com/world/2026/jan/16/greece-refugee-crisis-aid-workers-people-smuggling-...
2•oriettaxx•47m ago•0 comments

Show HN: Hc: an agentless, multi-tenant shell history sink

https://github.com/alessandrocarminati/hc
1•acarminati•47m ago•0 comments

Sharing code on the blog not any more?

3•tetek•48m ago•0 comments

Porting MiniJinja to Go with an Agent

https://lucumr.pocoo.org/2026/1/14/minijinja-go-port/
1•BerislavLopac•50m ago•0 comments

Show HN: Markdown-table-repair – Fix broken Markdown tables from LLM streams

1•joulessies•50m ago•0 comments

Claude Code for Writers

https://www.platformer.news/claude-code-for-writers-tips-ideas/
1•7777777phil•51m ago•0 comments

Ask HN: Any Local Secret Manager?

2•spacemnstr42069•56m ago•0 comments

Keeping Secrets from Claude Code

https://patrickmccanna.net/keeping-secrets-from-claude-code/
2•gpi•58m ago•0 comments

Interactive eBPF

https://ebpf.party/
4•samuel246•59m ago•0 comments

How we made Python's packaging library 3x faster

https://iscinumpy.dev/post/packaging-faster/
1•rbanffy•1h ago•0 comments
Open in hackernews

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

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