frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Trump administration lifts restrictions on OpenAI's GPT 5.6

https://www.axios.com/2026/07/08/openai-gpt-trump-ban-lifted
2•jessesoo•3m ago•1 comments

Linus Torvalds Warned Everyone About Microsoft – Now It's Happening in RT

https://www.youtube.com/watch?v=_Qo3gKdgvMs
1•cable2600•6m ago•0 comments

Kortix

https://kortix.com
1•handfuloflight•10m ago•0 comments

Understanding the Go Runtime: Profiling

https://internals-for-interns.com/posts/go-runtime-profiling/
1•valyala•10m ago•0 comments

Running go-to-market like an engineer: my first 90 days at a dev tool

https://tessakriesel.com/how-i-grew-signups-71-in-90-days-by-running-gtm-like-an-engineer/
1•builtfordevs•11m ago•0 comments

Show HN: Mold, an autonomous zine about AI culture

https://www.moldzine.ai/
1•gabelev•13m ago•0 comments

Half of Americans struggle to afford groceries and gas, exclusive poll finds

https://www.theguardian.com/business/2026/jul/07/cost-of-living-poll-groceries-gas
3•rawgabbit•16m ago•0 comments

So you want to learn physics (second edition, 2021)

https://www.susanrigetti.com/physics
2•azhenley•18m ago•0 comments

Show HN: AI or Not

https://aiornot.vote/
1•buffer_overlord•19m ago•0 comments

Agent Data Injection Attacks

https://arxiv.org/abs/2607.05120
4•juppytt•20m ago•1 comments

On vibe forks

https://rahulpandita.me/blog/2026-06-29-vibe-forks/
1•azhenley•20m ago•0 comments

Maine librarians are helping patrons resist AI and Big Tech

https://www.bangordailynews.com/2026/07/02/midcoast/midcoast-culture/maine-librarians-are-helping...
5•cdrnsf•22m ago•0 comments

Copy That Floppy – Cambridge guide for preserving data from fragile floppy disks

https://www.digipres.org/the-floppy-guide/
2•whiteblossom•23m ago•0 comments

Japan's borrowing costs soar to 30-year high on debt fears

https://www.ft.com/content/851aa883-073f-4423-a43e-9b09fdbe7c86
1•petethomas•24m ago•0 comments

3.5M Developers. Then Microsoft Pulled the Plug

https://www.youtube.com/watch?v=CPhAkzb4kUo
1•cable2600•26m ago•0 comments

Show HN: A quiet new tab that replaces your default boring new tab in Chrome

https://chromewebstore.google.com/detail/nook-tab/loogeapnnikphlehifdfmmceaeidbhnd
1•masterbrewer•28m ago•0 comments

Protobuf-py: Protobuf for Python, without compromises

https://buf.build/blog/protobuf-py
1•ming13•29m ago•0 comments

Paseo: Orchestrate coding agents from your desk and your phone

https://paseo.sh/
1•jerlendds•29m ago•0 comments

I made an "evolving scene" presentation creation skill

https://github.com/Codagent-AI/and-scene
1•paulcaplan•30m ago•1 comments

Forget the GPU Shortage: The Real AI Bottleneck Was Diagnosed in 2007

https://sal4rkhn.substack.com/p/forget-the-gpu-shortage-the-real
2•salarkhannn•32m ago•0 comments

China May Restrict Access to Its Most Powerful AI Models

https://time.com/article/2026/07/07/china-ai-models-alibaba-bytedance/
1•stenlix•33m ago•0 comments

SQLite (2.2k files) vs. MySQL-Server (58k files) visualization

https://old.reddit.com/r/PrincipalAi/comments/1uqgpll/mysql58k_files_vs_sqlite22k_files_visualiza...
1•fernando-ram•33m ago•0 comments

How America's Wealth Distribution Has Changed Since 1989

https://www.visualcapitalist.com/americas-wealth-distribution-1989-2025/
3•theanonymousone•37m ago•0 comments

We built a Rust EDR. macOS notarization tried to kill it

https://www.nemesislabs.xyz/
1•davidobi023•38m ago•0 comments

Wall clock is the wrong metric

https://www.anantjain.xyz/posts/wall-clock-is-the-wrong-metric
1•anant90•38m ago•0 comments

A battery 'hacking' app can strand an e-rickshaw – and the risks it poses

https://indianexpress.com/article/explained/explained-sci-tech/bms-apps-e-rickshaw-battery-hack-g...
1•Abishek_Muthian•40m ago•0 comments

Ancient Denisovan DNA is still shaping human immunity today (Science Daily)

https://www.sciencedaily.com/releases/2026/06/260613034210.htm
1•indynz•46m ago•0 comments

Show HN: ChatGPT, Claude and Codex-style chat inputs in one React component

https://prompt-area.com/styles
1•kachar•48m ago•0 comments

Malleating Git commit signatures

https://iter.ca/post/git-malleate/
1•smitop•48m ago•0 comments

Real 3D Minecraft on the GameBoy [video]

https://www.youtube.com/watch?v=2hwYoG96GQQ
1•zetamax•48m 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