frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Cryptography Incident Review Group Review Group

https://cirgrg.org/
1•nilsherzig•1m ago•0 comments

Show HN: LazygitGo – A native Git GUI powered by Lazygit (pure Go)

https://github.com/FleetingEcho/lazygitGo
1•FleetingSound•3m ago•0 comments

Run OpenCode on a local model with QVAC: no cloud, no API key, works offline

https://qvac.tether.io/blog/run-opencode-locally-with-qvac-a-coding-agent-with-no-cloud
1•thomasblanc•3m ago•0 comments

Claude Code and AI agents read local files directly

1•PromptSic•4m ago•0 comments

Strata: Ruby 0.49 – 1.8.7 in the Browser

https://strata.matiaskorhonen.fi/
1•thunderbong•8m ago•0 comments

HN: Sigvard – Goal-driven workflows for LLM fine-tuning

https://tour.sigvard.ai/guided-scenarios/
1•andreyserdyukde•8m ago•0 comments

Show HN: A Feynman-technique skill that explains security issues to developers

https://github.com/omarkurt/feynman-sec-tutor
2•dns•9m ago•0 comments

I built a better way to do A/B testing

https://kumailht.com/why-i-built-a-better-way-to-do-a-b-testing/
1•khet•13m ago•0 comments

Show HN: Gistsmith – AI meeting notes for Mac and iPhone, no bot joins

https://gistsmith.com/
1•senoldoganx•14m ago•0 comments

Show HN: Dohodnuto.com (Agreed) – Don't do additional work for free

https://dohodnuto.com/en/
1•matronator•17m ago•1 comments

DeepSeek Harness default data uploads raise concerns over $1M crypto theft

https://crypto.news/deepseek-harness-private-key-leak-crypto-theft/
1•ersinesen•18m ago•0 comments

Kubernetes 1.38: Deep dive into new alpha features

https://palark.com/blog/kubernetes-1-38-release-features/
1•airandme•19m ago•0 comments

SK Telecom to roll out standalone 5G for robots, factories

https://www.techinasia.com/news/sk-telecom-roll-standalone-5g-robots-factories
1•pryanshu89•21m ago•2 comments

Crawling individual hiring posts on X/LinkedIn with BERT instead of an LLM

https://github.com/samyak112/Good-Job
2•spidy__•28m ago•0 comments

Catching 5% poisoned LoRAs in 1.5s and repairing without math loss

https://huggingface.co/blog/Aburvan/detection-depth-repair-depth-auditing-silent-lora
4•aburvan•33m ago•0 comments

Ow HN: Envelock – Open-source PHP code protection, now supporting PHP 8.6

https://github.com/miguelenred/envelock
2•miguelenred•34m ago•0 comments

Rumors that one of the frontier AI labs cracked 2048-bit RSA

https://twitter.com/franzbruckhoff/status/2126472666718613584
2•tosh•35m ago•0 comments

CPU-Eval: Evaluating Large Language Models for CPU Hardware Code Generation

https://github.com/next-edge-ai-ishihara/cpu-eval
2•matt_d•39m ago•0 comments

Crypto Forum Research Group CFRG

https://www.irtf.org/cfrg.html
2•oger•42m ago•1 comments

Independent2Credit: How to Get Credit for Any Research at Zero Cost

https://v4bel.github.io/linux/2026/11/30/independent2credit.html
2•daremocooon•43m ago•0 comments

Notes on the Martinez-Rueda Polygon Clipping Algorithm: Segments to Paths

https://liorsinai.github.io/mathematics/2026/11/28/graph-computation.html
2•the_origami_fox•43m ago•0 comments

You Know What's Funny?

https://nosnomina.com/records/you-know-whats-funny
2•Kasper_LK•47m ago•1 comments

How We Got RCE in Artex

https://baldur.dk/blog/artex-go-hack-yourself/
3•jiveturkey•50m ago•0 comments

Windows Vista ("Longhorn") Build 4051 [video]

https://www.youtube.com/watch?v=k0v93tCLiqA
2•alexforster•55m ago•0 comments

Beyond Glühwein: What You Can Eat at Hamburg's Christmas Markets

https://alsterrunde.com/beyond-gluhwein-what-you-can-eat-at-hamburgs-christmas-markets/
2•mertbio•1h ago•1 comments

Zsh-help-complete – Tab-complete any CLI's options from its –help

https://github.com/tanaydin/zsh-help-complete
2•tanaydinsirin•1h ago•0 comments

Best Dashboard Designs to Learn from in 2027

https://www.browserlondon.com/blog/2026/11/23/best-dashboard-designs-to-learn-from-in-2027/
2•browserlondon•1h ago•0 comments

Ask HN

1•anragyadev•1h ago•2 comments

Show HN: Knarra – Self-hosted Laravel commerce with 1-click Shopify migrator

https://knarra.com/
1•mhsantonu•1h ago•0 comments

Show HN: Skp2kmz – Convert SketchUp Models to Google Earth Without SketchUp

https://github.com/richard-epsilla/skp2kmz
1•songrenchu•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