frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: I turned X's ranking algorithm into a game video

https://x-algorithm-weights.vercel.app
1•lime66•2m ago•0 comments

Are You Using AI? Do Not Forget Your Whip

https://skyecleary.substack.com/p/are-you-using-ai-do-not-forget-your
1•plastic-enjoyer•3m ago•0 comments

Roadmaps to Unicode Plane 1: Supplementary Multilingual Plane

https://www.unicode.org/roadmaps/smp/
1•Bluestein•5m ago•0 comments

OpenRouter: Unified LLM API with Routing and Fallbacks

https://trpevski.com/blog/openrouter-unified-llm-api-with-routing-and-fallbacks/
1•dzugumot•6m ago•0 comments

Multi-model chatbot back ends: contracts, routing, and fallbacks

https://medium.com/@CometAPI_/choose-the-best-backend-api-for-a-multi-model-ai-chatbot-b1e843f9cbf4
1•WavyPeng•8m ago•0 comments

Beyond Source: An Empirical Study of Python Bytecode Security Risks

https://arxiv.org/abs/2608.12853
1•runningmike•10m ago•0 comments

Of felt hats, feathers, macaroni, and weasels

https://languagelog.ldc.upenn.edu/nll/?p=24590
1•Bluestein•10m ago•0 comments

NASA Swift Boost Spacecraft Prepares to Continue Mission

https://science.nasa.gov/blogs/swift/2026/08/11/nasa-swift-boost-spacecraft-prepares-to-continue-...
2•croes•15m ago•0 comments

Show HN: Security scanner for SaaS build with AI

https://sentrint.com/sample
1•Gourabdg•15m ago•0 comments

Not Even Taste Would Be Left (Probably)

https://sebastian.graphics/blog/not-even-taste-would-be-left-probably.html
1•kasumispencer2•15m ago•0 comments

DeepSeek Harness developer preview: Everything is a plugin

https://www.deepseek.com/harness/en/
2•fernvenue•20m ago•0 comments

Spain extends Almaraz nuclear plant operations through 2030

https://www.reuters.com/business/energy/spain-extends-almaraz-nuclear-plant-operations-through-20...
2•mpweiher•20m ago•0 comments

Gitlawb Node, Federated Git server in Rust

https://github.com/Gitlawb/node
2•amrit_mirch•24m ago•0 comments

Noviz AI open source code launched for ERP agent architecture

2•tajdink•24m ago•0 comments

Using agents to create 3Blue1Brown-style visual explanations of research papers [video]

https://www.youtube.com/watch?v=nWOWlb0596o
3•yllberisha•26m ago•0 comments

From assistance to execution: How enterprises put AI to work

https://openai.com/index/how-enterprises-put-ai-to-work/
2•vismit2000•28m ago•0 comments

Why Not Always OCR?

https://bankstatementconverter.com/blog/posts/2026-08-14-why-not-always-ocr/
2•4pkjai•28m ago•1 comments

Ask HN: Move AI news from Hacker News to somewhere else?

4•thomasfl•33m ago•2 comments

37signals Manager Playbook

https://basecamp.com/managers
2•damethos•34m ago•0 comments

Issues Reaching Status.claude.com

https://anthropic.statuspage.io/incidents/kmbpgrsszf72
2•mohsen1•35m ago•0 comments

Show HN: Native macOS SSH config manager with in-process tunnels

https://www.sshmanager.app/
1•CodeLieutenant•36m ago•0 comments

What Most Developers Get Wrong About Building a Career in Tech [video]

https://www.youtube.com/watch?v=K3SR37pIzVs
1•pierrephpguru•38m ago•0 comments

Show HN: Headlines

https://pzlgames.com/games/headlines/
1•pompomsheep•39m ago•0 comments

AirSpace, Redux

https://kylechayka.substack.com/p/airspace-redux
1•aloukissas•40m ago•0 comments

Smartphone Innovation Is Moving Beyond Annual Hardware Upgrades

https://www.forbes.com/sites/timbajarin/2026/08/11/smartphone-innovation-is-moving-beyond-annual-...
1•01-_-•40m ago•0 comments

OpenAI's Hugging Face Breach Fuels Fresh Calls for AI Regulation

https://www.forbes.com/sites/barrycollins/2026/07/22/rogue-openai-attack-fuels-demands-to-rein-in...
1•01-_-•40m ago•0 comments

NSA spied through Angry Birds, other apps: report (2014)

https://www.nbcnews.com/tech/tech-news/nsa-spied-through-angry-birds-other-apps-report-flna2d1200...
2•downbad_•40m ago•0 comments

Superluminal Profiler is now available for Linux

https://superluminal.eu/applications/linux/
1•dodomodo•41m ago•1 comments

You're Back in the Room (Citrix NetScaler Pre-Auth RCE CVE-2026-8452(?))

https://labs.watchtowr.com/youre-back-in-the-room-citrix-netscaler-pre-auth-rce-cve-2026-8452/
1•unknownhad•42m ago•0 comments

Phones should have a 'guest lock' feature

https://curvise.net/the-phone-features-i-cant-believe-we-dont-have/
20•crisdias•43m ago•27 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