frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Mrr.fyi – median indie hacker income for July 2026 was $600

https://mrr.fyi
1•lime66•23s ago•0 comments

Enterprise cloud infrastructure uptake shows no sign of slowing

https://www.theregister.com/off-prem/2026/08/01/enterprise-cloud-infrastructure-uptake-shows-no-s...
2•magoghm•1m ago•0 comments

How to Prompt Any LLM?

https://blog.sparsh.dev/how-to-prompt-llms/
1•sparshrestha•2m ago•1 comments

BitChat: When the government bans the app, but not the network

https://ownyourdatamp.substack.com/p/bitchat-when-the-government-bans
1•marcoparisi•3m ago•0 comments

What is distributed Key Generation (DKG)?

https://stoffelmpc.com/stoffel-blog/what-is-distributed-key-generation-(dkg)
1•badcryptobitch•5m ago•0 comments

Show HN: WordJS – Open-source CMS where plugins run in OS sandboxes

https://github.com/jaimemartinez/wordjs
1•jaimedmartinezh•9m ago•0 comments

Startup Game

1•FDX2018•11m ago•0 comments

A Surveillance Treaty in Disguise: Canada Signs UN Cybercrime Convention

https://www.michaelgeist.ca/2026/07/a-surveillance-treaty-in-disguise-the-trouble-with-canadas-qu...
3•iamnothere•12m ago•0 comments

The World First AI Agentic Radio, for vibe coders, good vibes only

https://www.twitch.tv/myimaginationai
1•myimaginationai•14m ago•1 comments

Codex reimplemented in 8k lines of C++, <1MB binary

https://github.com/paoloanzn/microcodex
1•paoloanzn•19m ago•0 comments

Show HN: CSP Validator and Generator

https://dmarcguard.io/tools/csp-validator/
1•meysamazad•21m ago•0 comments

China's tech advances are causing chaos from Silicon Valley to the White House

https://www.theguardian.com/technology/2026/aug/01/china-silicon-valley-white-house
5•beardyw•21m ago•1 comments

Ask HN: Can AI breakthroughs in mathematics help non-mathematicians feel better?

1•amichail•23m ago•1 comments

The Art of 64-bit Assembly

https://nostarch.com/art-64-bit-assembly-v2
1•0x54MUR41•23m ago•0 comments

Cradle. Animated Web Companions

https://cradlestudio.vercel.app/
1•maranga•24m ago•1 comments

Beauty in My Backyard

https://worksinprogress.co/issue/beauty-in-my-backyard/
1•jger15•25m ago•0 comments

Grok: Imagine Video 1.5

https://twitter.com/grok/status/2083353607370416632
2•tosh•32m ago•0 comments

The Collatz conjecture was false [video]

https://www.youtube.com/watch?v=RnfFC_LowtU
2•ykonstant•32m ago•1 comments

Supply and Demand Is Not What Most People Think

https://shonczinner.substack.com/p/supply-and-demand-is-not-what-most
2•kjshsh123•34m ago•0 comments

Strategic Petroleum Reserve

https://en.wikipedia.org/wiki/Strategic_Petroleum_Reserve_(United_States)
4•tosh•34m ago•0 comments

Show HN: Aurora – AI Gateway built in Go

https://github.com/aurorallm/aurora
4•gurveer51•36m ago•0 comments

What a Growing Telegram Disinformation Network Reveals About the DSA

https://www.techpolicy.press/what-a-growing-telegram-disinformation-network-reveals-about-the-dsa/
2•donohoe•36m ago•0 comments

Show HN: TUFHub – Autosync TakeUForward DSA Solutions to GitHub Accepted Verdict

https://github.com/Arora-Sir/TUFHub
2•arora-sir•36m ago•0 comments

A low-latency sandbox for untrusted Python execution

https://sucuri.abstra.io/
3•brunovcosta•39m ago•0 comments

Don't stop early: Case-folding source code at memory speed

https://github.blog/engineering/architecture-optimization/dont-stop-early-case-folding-source-cod...
2•Brajeshwar•40m ago•0 comments

Open-Source AI Platform Orbit

https://github.com/schmitech/orbit
2•r_martinez•40m ago•0 comments

Genshin Impact 7.0 Adds a TPS Mode and the Eye of Graeae in Snezhnaya

https://www.notebookcheck.net/Genshin-Impact-7-0-adds-a-TPS-mode-and-the-Eye-of-Graeae-in-Snezhna...
2•DarrylLinington•42m ago•0 comments

The hallmarks of protein and amino acid restriction in aging and longevity

https://www.cell.com/cell-press-blue/fulltext/S3051-3839(26)00077-0
1•bookofjoe•42m ago•0 comments

GhostMetadata – strip EXIF/GPS data from images locally, runs on mobile term

https://github.com/Zakariaghoudi/Privacy-Cleaner-Tool-
1•zakariaghoudi•44m ago•0 comments

The Anarchist Agent of Artificial Intelligence

https://zeroclue.vercel.app/
1•curzio•45m 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