frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The Panic That Built WeChat's $700B Super-App

https://howardyu.substack.com/p/the-panic-that-built-wechats-700
1•pieterr•2m ago•0 comments

Fear and Loathing in America by Hunter S. Thompson

https://www.espn.com/espn/page2/story?id=1250751
1•yesbabyyes•2m ago•0 comments

What Is Good?

https://www.howtomakesenseofanymess.com/chapter2/33/what-is-good/
1•righthand•2m ago•0 comments

Ai.com bought by Crypto.com founder for $70M in biggest-ever website name deal

https://www.ft.com/content/83488628-8dfd-4060-a7b0-71b1bb012785
1•jmsflknr•4m ago•0 comments

How Much Would Continued Low Fertility Affect the US Standard of Living?

https://pubs.aeaweb.org/doi/pdfplus/10.1257/jep.20251462
1•jeffreyrogers•5m ago•0 comments

Mob Together: When AI Joins the Team

https://blog.flurdy.com/2026/02/mob-together-when-ai-joins-the-team
1•flurdy•6m ago•0 comments

BitBills Zero-Day (non-destructive private key sweeping)

https://bitcointalk.org/index.php?topic=5573683.0
1•tcatm•6m ago•1 comments

AI is becoming a go-to reason for layoffs. But is it replacing workers?

https://sherwood.news/markets/ai-is-becoming-a-go-to-reason-for-layoffs-but-is-it-actually-replac...
2•speckx•7m ago•1 comments

Waterloo Style

http://theprogrammersparadox.blogspot.com/2023/04/waterloo-style.html
1•brodouevencode•7m ago•0 comments

Burn Selection: How Fire Injury Shaped Human Evolution

https://onlinelibrary.wiley.com/doi/10.1002/bies.70109
1•bookofjoe•7m ago•0 comments

Spies arrested in France trying to intercept Starlink communication

https://www.france24.com/en/france/20260205-france-places-two-chinese-nationals-under-investigati...
1•RyanShook•8m ago•0 comments

I Take Spam Personally (And how Shopify enables it)

https://blog.mxroute.com/why-i-take-spam-personally/
1•hippich•8m ago•0 comments

Show HN: A customer billing portal built to reduce "can you resend the invoice?

https://flexprice.io/
2•ShreyaChaurasia•10m ago•1 comments

Ask HN: What book are you reading?

1•diggyhole•11m ago•0 comments

Once Operations: Why Idempotency Belongs in the Business Layer

https://equatorops.com/resources/blog/idempotency-business-layer
1•bobjordan•12m ago•0 comments

Show HN: Cbx – Local TTS CLI Wrapping Chatterbox ONNX (Single Rust Binary)

https://github.com/srv1n/cbx
1•Tsarp•12m ago•0 comments

FOSDEM 2026 – Making Web Components work: a framework's perspective [video]

https://fosdem.org/2026/schedule/event/9MJ8LX-making-web-components-work/
1•todsacerdoti•12m ago•0 comments

Codex Is a Surprisingly Competent Research Assistant

https://nicholasclark.org/Blog/Codex+Is+a+Surprisingly+Competent+Research+Assistant
1•batterylake•12m ago•0 comments

I stopped using JWT for my admin dashboards and switched to HttpOnly cookies

https://admincore.gumroad.com/l/kgevy
1•aymrick•13m ago•1 comments

Seas to Rise Around the World – But Not in Greenland

https://e360.yale.edu/digest/greenland-sea-levels-fall
1•speckx•13m ago•0 comments

Blind Men and an Elephant

https://en.wikipedia.org/wiki/Blind_men_and_an_elephant
1•tavro•14m ago•0 comments

Music Distro MCP – AI agents can release music to Spotify and Apple Music

https://github.com/lp-opul/music-mcp
2•lpopul•15m ago•1 comments

The Art of Being Lazy(log)

https://www.warpstream.com/blog/the-art-of-being-lazy-log-lower-latency-and-higher-availability-w...
1•WookieRushing•19m ago•0 comments

Issues with AI: Toxic Dependencies

https://blog.mathieui.net/ai-and-sovereignty.html
2•ge0rg•20m ago•0 comments

Why and how to write things on the Internet

https://paco.bearblog.dev/why-and-how-to-write-things-on-the-internet/
2•speckx•20m ago•0 comments

A farfetched but feasible imagining of meetings that don't suck

https://pragmaticperfectionist.substack.com/p/a-farfetched-but-feasible-imagining
1•cheapsteak•20m ago•0 comments

Show HN: Latch – Open-source security middleware for AI agents

https://www.latchagent.com/
1•cblovescode•22m ago•0 comments

Choosing an AI sandbox provider in 2026

https://cto.new/blog/choosing-an-ai-sandbox-provider-in-2026
1•janpio•22m ago•0 comments

Updates on GNU/Hurd progress [video]

https://fosdem.org/2026/schedule/event/7FZXHF-updates_on_gnuhurd_progress_rump_drivers_64bit_smp_...
1•todsacerdoti•22m ago•0 comments

Explaining Tokens – The Language and Currency of AI

https://blogs.nvidia.com/blog/ai-tokens-explained/
1•brudgers•24m ago•0 comments
Open in hackernews

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

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