frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

What Happens on the Emergency Docket

https://www.scotusblog.com/2026/04/what-actually-happens-on-the-emergency-docket/
1•Tomte•28s ago•0 comments

Slap: Functional Concatenative Language with a Borrow Checker?

https://taylor.town/slap-000
1•surprisetalk•46s ago•0 comments

Knit File Formats

https://soup.agnescameron.info//2026/03/25/kniterate-waste-section.html
1•surprisetalk•48s ago•0 comments

Ice Blocks to Electrons: The Rise of Refrigeration Abundance

https://humanprogress.org/ice-blocks-to-electrons-the-rise-of-refrigeration-abundance/
1•surprisetalk•49s ago•0 comments

What Does It Mean to "Write Like You Talk"?

https://arjunpanickssery.substack.com/p/what-does-it-mean-to-write-like-you
1•surprisetalk•51s ago•0 comments

Git Merge Conflicts: Understanding Ours, Theirs, and Base

https://codeinput.com/blog/git-conflict-revisions
1•codeinput•1m ago•0 comments

Business Partnership Network

https://www.businesspartnershipnetwork.com/
1•BPN-PB•2m ago•0 comments

Interview, Axios co-founder Mike Allen sits down with OpenAI CEO Sam Altman [video]

https://www.youtube.com/watch?v=B21KxGs8zDI
2•Alifatisk•6m ago•0 comments

When Virality Is the Message: The New Age of AI Propaganda

https://time.com/article/2026/04/02/when-virality-is-the-message-the-new-age-of-ai-propaganda/
3•virgildotcodes•7m ago•0 comments

Size matters, even on fast connections

https://maurycyz.com/misc/13kb/
1•birdculture•8m ago•0 comments

Data Agents with Shreya Shankar – Weaviate Podcast #135

1•CShorten•8m ago•0 comments

Claude Stole the HR Docs

https://usize.github.io/blog/2026/april/claude-stole-the-hr-docs.html
1•plaidthunder•8m ago•1 comments

How Pitchfork Works (A process manager for developers)

https://pitchfork.jdx.dev/concepts/how-it-works.html
1•bjornroberg•9m ago•0 comments

In the Gulf, GPS jamming leaves delivery drivers navigating blind

https://restofworld.org/2026/gps-disruption-gulf-gig-workers/
2•Duplicake•13m ago•0 comments

Redesigned my email privacy tool's landing page with Claude and signups tripled

https://eml.monster
1•platformx•18m ago•0 comments

The device that kept the downed F-15E navigator alive

https://www.calcalistech.com/ctechnews/article/rkfjlgghzg
2•maxloh•19m ago•0 comments

Improving OpenAI Codex with Repo-Specific Context

https://codeset.ai/blog/improving-openai-codex-with-codeset
1•andre15silva•22m ago•0 comments

Implantable 'charging station' boosts fight against cancer

https://medicalxpress.com/news/2026-03-implantable-station-boosts-cancer.html
1•PaulHoule•22m ago•0 comments

The Team Behind a Pro-Iran, Lego-Themed Viral-Video Campaign

https://www.newyorker.com/culture/infinite-scroll/the-team-behind-a-pro-iran-lego-themed-viral-vi...
2•tantalor•22m ago•2 comments

VisiCalc: The First 'Killer App'

https://www.spacebar.news/visicalc-the-first-killer-app/
1•firasd•22m ago•0 comments

Nash Equilibrium for Terminal Maneuvers

https://r6.ca/blog/20260402T135216Z.html
1•EthanHeilman•23m ago•0 comments

What Running a Multi-Agent Software Project Looks Like

https://www.yella.dev/blog/run-multi-agent-software-project/
1•nyell•23m ago•0 comments

Can AI responses be influenced? The SEO industry is trying

https://www.theverge.com/tech/900302/ai-seo-industry-google-search-chatgpt-gemini-marketing
1•gargan•23m ago•0 comments

Ask HN: How do you track competitor moves without an enterprise budget?

1•peerscope•23m ago•0 comments

San Francisco Sobers Up

https://www.nytimes.com/2026/04/06/opinion/san-francisco-drugs-decriminalization-fentanyl.html
2•mitchbob•24m ago•0 comments

Show HN: I built a navigation app that displays weather along the route

https://navimodo.com/
1•vkatluri•24m ago•0 comments

Tiny Corp Begins Accepting Pre-Orders for Their $10M Exabox

https://www.phoronix.com/news/Tiny-Corp-Exabox-Pre-Order
2•LorenDB•25m ago•0 comments

This Protein Slows the Aging Brain, and We Know How to Counter It

https://www.ucsf.edu/news/2025/08/430551/protein-slows-aging-brain-and-we-know-how-counter-it
1•Anon84•26m ago•0 comments

Latch: Terminal multiplexer, like tmux, with SSH, mosh, and web access built in

https://github.com/unixshells/latch
1•rasengan•26m ago•1 comments

Enduring constraints on grammar revealed by Bayesian spatiophylogenetic analyses

https://www.nature.com/articles/s41562-025-02325-z
1•derbOac•30m ago•0 comments
Open in hackernews

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

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