frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Revisiting mshare in Linux

https://lwn.net/SubscriberLink/1072333/c5c762d9490916e5/
1•chmaynard•53s ago•0 comments

A spatial canvas of every public US Government UAP record

https://openuap.space
1•dominikmartn•2m ago•0 comments

OpenCS2 – 5k hours recording of Counter Strike for world model training

https://blanchon-opencs2-dataset-viewer.hf.space/
1•blanchon•4m ago•0 comments

Stupidly Simple SVG Sparklines

https://shkspr.mobi/blog/2026/05/stupidly-simple-svg-sparklines/
1•Brajeshwar•4m ago•0 comments

Show HN: Promptcellar – capture every Claude Code prompt as JSONL in your repo

https://github.com/dominiek/promptcellar-for-claude-code
1•dominiek•5m ago•0 comments

What if your AI could buy you a car?

https://medium.com/@alex_21933/what-if-your-ai-could-actually-buy-you-a-car-7ba84bae4a55
1•yankouskia•5m ago•0 comments

The US Is Winning the AI Race

https://avkcode.github.io/blog/us-winning-ai-race.html
1•akrylov•7m ago•0 comments

Styled-Components v7 Alpha

https://styled-components.com/docs/v7
1•quantizor•7m ago•1 comments

California mayor resigns, admitting to being an agent for China

https://time.com/article/2026/05/12/arcadia-california-mayor-eileen-wang-agent-china/
1•wslh•8m ago•0 comments

Open-source AI modding tool for Rimworld (and soon Factorio)

1•lebek•9m ago•0 comments

California Mayor Resigns, Admitting to Being an Agent for China

https://twitter.com/time/status/2054147083821801678
2•wslh•11m ago•0 comments

The wildlife sanctuary you can visit from anywhere [video]

https://www.ted.com/talks/maya_higa_the_wildlife_sanctuary_you_can_visit_from_anywhere
1•MattIPv4•11m ago•0 comments

Show HN: Hashiverse, an open-source decentralized social network in Rust

https://www.hashiverse.com/en/
1•jamesjardine•12m ago•0 comments

Wikipedia's bot traffic to overtake human readers by late 2026 (original data)

https://technicalseonews.com/analysis/wikipedia-bot-traffic-replacing-humans
1•SimilarWeb•14m ago•0 comments

Tracking historical progress against slavery and forced labor

https://ourworldindata.org/slavery
1•surprisetalk•15m ago•0 comments

Coders in 2030 be like: (Rick Rubin, Vibe Producer)

https://old.reddit.com/r/ClaudeAI/comments/1tbgj86/coders_in_2030_be_binlike/
1•consumer451•16m ago•1 comments

Conway's Law Teaches a Grim Lesson About AI in Product Development

https://brodzinski.com/2026/04/conways-law-ai-product-development.html
1•flail•16m ago•0 comments

AI agents make small companies bigger

https://text-incubation.com/ai-agents-make-small-companies-bigger
1•krrishd•16m ago•0 comments

Show HN: RedactScreen – Share your screen, not secrets

https://redactscreen.com/
1•madospace•16m ago•0 comments

Show HN: Rotunda - A Browser Built for Agents

https://github.com/monkeysee-ai/rotunda
2•icyfox•17m ago•0 comments

Publishers: Google's eBook Ad "Ban" Blocked Legitimate Sellers, Not Pirates

https://torrentfreak.com/publishers-googles-ebook-ad-ban-blocked-legitimate-sellers-not-pirates/
1•Brajeshwar•17m ago•0 comments

The syrup of crime bears sticky fruit

https://www.metafilter.com/212975/The-syrup-of-crime-bears-sticky-fruit
1•PaulHoule•18m ago•0 comments

What Inference-Platform Benchmark Posts Leave Out

https://ingero.io/inference-platform-benchmark-posts-leave-out/
1•ingero_io•18m ago•0 comments

Fine-Tuning TranslateGemma-4B for Better Welsh Translations on an H200 GPU

https://metalglot.com/blog/welsh-translategemma-finetuning-guide/
1•metalglot•18m ago•1 comments

Show HN: A "Git history" for Twitter/X profiles

https://tracktweets.com
1•code-less•20m ago•0 comments

WordStar

https://www.sfwriter.com/wordstar.htm
2•andsoitis•22m ago•1 comments

Reliance on Middle East Oil and Gas Supplies by Country

https://www.iea.org/data-and-statistics/data-tools/reliance-on-middle-east-oil-and-gas-supplies-b...
1•gmays•22m ago•0 comments

Linguistic workaround allows Marco Rubio to travel to China

https://www.theguardian.com/us-news/2026/may/13/marco-rubio-china-visit-new-character-name-trump-...
1•neaden•23m ago•0 comments

Social market liberalism has no political home in India

https://ordinaryanalysis.substack.com/p/the-inner-dialogue-of-a-social-market
1•shibaprasadb•24m ago•0 comments

Fragnesia: Linux kernel local privilege escalation via ESP-in-TCP

https://www.wiz.io/blog/fragnesia-linux-kernel-local-privilege-escalation-via-esp-in-tcp
2•ljahier•24m ago•0 comments
Open in hackernews

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

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