frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Phaistos Disc

https://en.wikipedia.org/wiki/Phaistos_Disc
1•hypertexthero•4m ago•0 comments

Git rebase -I is not that scary

https://cachebag.sh/journal/interactive-rebasing/
1•vinhnx•6m ago•0 comments

Everything Is a File

https://en.wikipedia.org/wiki/Everything_is_a_file
1•iacguy•6m ago•0 comments

Systems and Delays

https://martin.janiczek.cz/2026/07/24/systems-and-delays.html
1•vinhnx•6m ago•0 comments

Inflect-Micro-v2: complete voice in 9.36M parameters

https://huggingface.co/owensong/Inflect-Micro-v2
1•nateb2022•7m ago•0 comments

Zig by Example

https://zigbyexample.neocities.org/
1•vinhnx•8m ago•0 comments

Open-Weight Déjà Vu

https://peteridah.substack.com/p/open-weight-deja-vu
1•peteridah•10m ago•0 comments

SEC acquiring AI agents to monitor phone locations, social media, credit headers

https://jackpoulson.substack.com/p/securities-and-exchange-commission
1•iamnothere•12m ago•0 comments

PGSync adds semantic search without data leaving your infrastructure

https://pgsync.com/pro/
1•toluaina•13m ago•0 comments

George Hotz talk at AMD Advancing AI 2026 [video]

https://www.youtube.com/watch?v=QyrQeeDZUG4
2•chrsw•23m ago•0 comments

GNU Hurd gets 9pfs, OpenNTPD, dynamic /dev/ entries, and more

https://www.osnews.com/story/145603/the-hurd-gets-9pfs-openntpd-dynamic-dev-entries-and-more/
14•iamnothere•24m ago•2 comments

Personal AI Assistant, Anywhere

https://www.heysolin.com/
1•GreenKeewi•26m ago•0 comments

The real mathematics is the one that we dream – David Bessis

https://davidbessis.substack.com/p/the-real-mathematics-is-the-one-that
2•lioeters•34m ago•0 comments

Silicon Valley Splits over Closing the Borders to Chinese A.I

https://www.nytimes.com/2026/07/25/technology/open-source-silicon-valley-china.html
5•dkobia•35m ago•1 comments

Nepo – the largest database of nepotism and nepo babies

https://www.nepodb.com/
3•poppypetalmask•41m ago•1 comments

Triton: DirectX 11 driver for QEMU

https://blog.getutm.app/2026/introducing-triton-directx-11-driver-for-qemu/
1•generichuman•42m ago•0 comments

Show HN: Houhou – Resilience Policies Package for TypeScript Async Functions

https://hou2.vercel.app/
1•smokeeaasd•44m ago•0 comments

Stinkpot: SQLite-Backed Shell History

https://tangled.org/oppi.li/stinkpot
2•birdculture•48m ago•0 comments

Claude Usage Public Leaderboard

https://www.claudeusage.com/leaderboard
1•bazarkua•49m ago•0 comments

How the World Cup impacted global health?

https://ouraring.com/blog/2026-world-cup-data-story/
1•jenthoven•50m ago•0 comments

Books can't piss me off

3•emerongi•52m ago•2 comments

Should you use AI for a task? Here's a simple way to decide

https://www.theguardian.com/commentisfree/2026/jul/24/should-you-use-ai
3•flopsamjetsam•57m ago•2 comments

Brazil denies visas to U.S. officials who aimed to impugn electoral system

https://www.washingtonpost.com/world/2026/07/24/us-sending-envoys-question-brazilian-electoral-sy...
4•matheusmoreira•1h ago•2 comments

Dht-spy – BitTorrent DHT telemetry

https://dhtspy.net/
2•ogurechny•1h ago•1 comments

Show HN: Desktui – a remote desktop client for your terminal

https://github.com/mishushakov/desktui
4•ushakov•1h ago•0 comments

DeepSeek pause fundraise after comments on compute gap to US leaked (transcript) [pdf]

https://github.com/demo-zexuan/liang-wenfeng-investor-meeting-2026-7-22/blob/master/%E6%A2%81%E6%...
20•oliculipolicula•1h ago•7 comments

Htmx 4: The Game

https://swag.htmx.org/products/htmx-4-the-game
3•geophph•1h ago•0 comments

Show HN: Routeveil – Shared-element and page transitions engine for React Router

https://www.routeveil.dev/lab/shared-elements
2•milkeviich•1h ago•0 comments

The Assumption of Maria (near future sci-fi)

https://www.lightspeedmagazine.com/fiction/the-assumption-of-maria/
5•swernli•1h ago•0 comments

The Dundee Time Capsule

https://www.greatwardundee.com/the-home-front/the-dundee-time-capsule/
1•xg15•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