frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Why AI Won't Replace Your Job but Will Change How You Do It

https://daydreamsinruby.com/blog/2026-04-08-ai-changing-your-job/
1•mooreds•2m ago•0 comments

Superfile – A modern terminal file manager written in Go

https://digitalescapetools.com/tools/tool.html?id=superfile
1•xabd•2m ago•0 comments

AI Agents Need Good Management Too

https://www.danstroot.com/posts/2026-08-17-ai-needs-good-management-too
1•speckx•2m ago•0 comments

What's in a PowerPoint File?

https://editide.com/blog/what-is-a-pptx-file/
1•danielochoa0620•3m ago•0 comments

Link to Pane – Link to Windows Alternative for Mac

https://link-to-pane.com
1•zond80•6m ago•1 comments

Introduction to GIS Programming

https://gispro-fall26.gishub.org/
1•jonbaer•6m ago•0 comments

So, we found a live bat in our galleries

https://bsky.app/profile/themerl.bsky.social/post/3mtgldke3s22q
1•mooreds•7m ago•0 comments

Does whispering to agents in docs help?

https://passo.uno/if-you-are-an-agent-read-this/
1•theletterf•8m ago•0 comments

Common Expression Language: Fast, safe expression language

https://cel.dev/
1•mooreds•8m ago•0 comments

Packing Malware in Rosetta 2

https://kernelkennel.com/blog/summercon2026-rosetta/
2•gok•9m ago•0 comments

Geolocating a random island using geometry and CUDA programming

https://yassa9.github.io/osint/gralhix-004/
2•yassa9•12m ago•0 comments

Mapping out the relations between different equational theories of Magmas

https://teorth.github.io/equational_theories/
1•binyu•13m ago•0 comments

I run AI coding agents as a team with AI DevKit

https://codeaholicguy.com/2026/08/19/how-i-run-ai-coding-agents-as-a-team-with-ai-devkit/
1•hoangnnguyen•14m ago•0 comments

Why Legacy Systems Block Real-Time AI Decision-Making

https://geekyants.com/blog/why-legacy-systems-block-real-time-ai-decision-making
1•mark6•15m ago•0 comments

Show HN: Func – Build CLIs like TypeScript applications

https://github.com/unix/func
1•heywitt•15m ago•0 comments

Ask HN: Worst bug from vibe-coded code you didn't review?

2•Harish_0089•15m ago•0 comments

Show HN: Skillorum – an RPG-style time tracker for real-life skills

https://skillorum.com/
2•luclom•16m ago•1 comments

The C Seed Bugatti N1 Super TV

https://newsroom.bugatti.com/en/press-releases/the-c-seed-bugatti-n1-super-tv
1•robin_reala•18m ago•1 comments

OpenAI slows model training to bolster security after Hugging Face hack

https://www.reuters.com/technology/openai-slows-model-training-bolster-security-after-hugging-fac...
2•ArcHound•19m ago•0 comments

Jet – Ultrafast C++17 3D renderer for Embedded Devices

https://github.com/CubeCoders/Jet
1•unprovable•19m ago•0 comments

Anthropic Posts First Profitable Quarter in Frontier AI

https://www.forbes.com/sites/jonmarkman/2026/08/17/anthropics-groundbreaking-second-quarter-deliv...
2•leumon•19m ago•1 comments

Halstead Complexity Measures

https://en.wikipedia.org/wiki/Halstead_complexity_measures
1•tosh•20m ago•0 comments

Why LLMs can't make your code simpler

https://www.answer.ai/posts/2026-08-19-llms-code-simpler.html
1•tosh•22m ago•0 comments

We plan to erase the Microsoft Word document resume

https://userezy.com/about
2•gmalisa•23m ago•1 comments

Cyber spies used malware from GitHub to hack EncroChat cryptophone network

https://www.computerweekly.com/news/366649396/Revealed-Cyber-spies-used-malware-from-GitHub-to-ha...
2•rdmuser•23m ago•0 comments

MirrorSpeaker – Use your Windows PC as an iPhone speaker

https://github.com/codyabraham/MirrorSpeaker
2•codyabraham•23m ago•0 comments

Protecting the grid with artificial intelligence (2025)

https://www.sandia.gov/labnews/2025/09/04/protecting-the-grid-with-artificial-intelligence/
2•bryanrasmussen•23m ago•0 comments

NASA estimates the size of the hole SpaceX made in the moon

https://www.theregister.com/offbeat/2026/08/19/nasa-estimates-the-size-of-the-hole-spacex-made-in...
3•sbulaev•24m ago•0 comments

Show HN: LLM-Shield-Proxy Zero-Egress PII Streaming Proxy (55MB RAM)

https://github.com/ninadphalak/LLM-Shield-Proxy
2•ninadphalak•25m ago•0 comments

The OTA tax is optional

https://lbm.co/journal/the-ota-tax-is-optional
3•jon-lbm•25m 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