frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

When LLMs Get Personal

https://joshbudman.substack.com/p/when-llms-get-personal
1•gmays•2m ago•0 comments

Self-hosting isn't scary: a practical guide with Coolify and Hetzner

https://darko.io/posts/self-hosting-with-coolify-and-hetzner/
1•speckx•2m ago•0 comments

U.S. Department of State on Flickr

https://www.flickr.com/photos/statephotos/
1•Tomte•3m ago•0 comments

Does reading do us any good?

https://aeon.co/essays/the-role-of-literature-as-the-key-to-personal-freedom
2•dinosor•4m ago•0 comments

How to Get Traction or First Clients?

https://www.indiehackers.com/post/how-to-get-traction-or-first-clients-USofzBJgR4Oqr1VMb2sw
2•escrowsai•7m ago•0 comments

70x faster cold(ish) starts for SGLang

https://fergusfinn.com/blog/fast-sglang-starts/
1•somnial•7m ago•0 comments

Durable, durable, durable: the AI infrastructure category is forming

https://blog.mattheworiordan.com/p/ive-mapped-the-durable-ai-ecosystem
5•matt_oriordan•7m ago•0 comments

EFF Challenges Secrecy in Eastern District of Texas Patent Case

https://www.eff.org/deeplinks/2026/04/eff-challenges-secrecy-eastern-district-texas-patent-case
4•hn_acker•10m ago•0 comments

Stop California's Paternalistic and Privacy-Destroying Social Media Ban

https://www.eff.org/deeplinks/2026/04/act-now-stop-californias-paternalistic-and-privacy-destroyi...
3•hn_acker•11m ago•1 comments

Shareholder primacy undermined its own logic

https://www.seeingthesystem.com/p/the-map-that-became-the-territory
2•TinyBig•12m ago•0 comments

From Ms to 26 Ns: How a $20 eBay SFP Module Beat My NTP Setup

https://austinsnerdythings.com/2026/04/26/ptp-osa5401-26-nanoseconds-raspberry-pi/
3•speckx•12m ago•0 comments

Agentic AI made DevOps and Agile obsolete

https://avkcode.github.io/blog/self-healing-platform-agent-store.html
2•KyleVlaros•14m ago•1 comments

Will I ever retire? It doesn't look like it

https://www.theguardian.com/commentisfree/2026/apr/25/retirement-finances-work
3•robtherobber•14m ago•0 comments

Show HN: Slatewave – a single color palette across terminals, editors, and apps

https://getslatewave.com/
2•kevinlangleyjr•15m ago•1 comments

I did no work for a year and no one noticed

https://leylakazim.substack.com/p/i-did-no-work-for-a-year
2•mellosouls•15m ago•0 comments

Human biology is ill-adapted to modern cities

https://www.lboro.ac.uk/media-centre/press-releases/2025/november/human-biology-is-ill-adapted-to...
3•rramadass•15m ago•1 comments

Tell HN: GitHub PRs disappearing but only from search

4•ojno•16m ago•1 comments

"Parse, don't validate" through the years with C++

https://derekrodriguez.dev/parse-dont-validate-through-the-years-with-c-/
3•dwrodri•16m ago•0 comments

Google's A2A Protocol: How AI Agents Will Talk to Each Other

https://www.ismatsamadov.com/blog/a2a-protocol-agent-to-agent-google
2•ismats•17m ago•0 comments

The Signal is Broken

https://dataxam.com/blog/the-signal-is-broken/
2•DLarsen•17m ago•1 comments

Three reasons why DeepSeek’s new model matters

https://www.technologyreview.com/2026/04/24/1136422/why-deepseeks-v4-matters/
2•jonbaer•18m ago•0 comments

Show HN: Terminal UI for managing SSH servers (users admin, file transfers)

https://github.com/Frytskyy/deflect-one
2•whitemanv•19m ago•0 comments

Show HN: 2 weeks of coding, 3 months of OpenAI review, my ChatGPT App is live

3•Aldipower•20m ago•0 comments

Show HN: Vibe-coding video games with Claude (Day 14: Tetris)

https://gamevibe.us/14-tetromino
2•pzxc•22m ago•0 comments

GitHub Copilot is moving to usage-based billing

https://github.blog/news-insights/company-news/github-copilot-is-moving-to-usage-based-billing/
49•frizlab•22m ago•19 comments

The Nix Moment

https://determinate.systems/blog/the-nix-moment/
3•biggestlou•23m ago•0 comments

Managed PostgreSQL Comparison (2026)

https://selfhost.dev/managed-postgresql-comparison-2026/
2•iaziz786•23m ago•1 comments

Microsoft Sovereign Private Cloud Scales to Nodes with Azure Local

https://blogs.microsoft.com/blog/2026/04/27/microsoft-sovereign-private-cloud-scales-to-thousands...
1•salkahfi•23m ago•0 comments

Where is Silver Spring? It depends who you ask (2018)

https://ggwash.org/view/103217/big-silver-spring-or-little-silver-spring-it-depends-who-you-ask
1•mooreds•24m ago•0 comments

I won my FOIA against Twelve South to open up the electrical for the PlugBug 120

https://archive.org/details/pb120-us
3•reesericci•25m ago•0 comments
Open in hackernews

Ask HN: Any good tools to pgdump multi tenant database?

3•polishdude20•11mo 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•11mo 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•11mo 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•11mo 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•11mo 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•11mo ago
Oh yes I agree with you. It may become a big push to convince my org to do that