frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

How HN: Specwatch – Generate OpenAPI specs by watching live API traffic

https://github.com/rajeevramani/specwatch
1•rajeevramani•3m ago•1 comments

Storm [video]

https://www.youtube.com/watch?v=HhGuXCuDb1U
1•nomilk•5m ago•0 comments

Zig – Type Resolution Redesign and Language Changes

https://ziglang.org/devlog/2026/#2026-03-10
2•Retro_Dev•17m ago•0 comments

The tests are the code now

https://softwaredoug.com/blog/2026/03/10/the-tests-are-the-code-now.html
2•zdw•18m ago•0 comments

Show HN: Assemble – Claude Code skill for parallel AI team execution

https://github.com/LakshmiSravyaVedantham/assemble
1•sravyavedantham•20m ago•0 comments

Breaking Control Flow Integrity by Abusing Modern C++ (Coroutines) – BH USA 2025 [video]

https://www.youtube.com/watch?v=hxIPoi4ONNA
2•matt_d•25m ago•0 comments

Show HN: ImageHost.ing – burn-after-reading image host on Cloudflare's free tier

https://imagehost.ing
1•lzy•25m ago•0 comments

Show HN: Polymorph (YC W26) – AI personalization for consumer app engagement

https://usepolymorph.com/
1•andrewsy•27m ago•0 comments

The Highly Exclusive Way That Everybody Shops Now

https://www.theatlantic.com/culture/2026/03/shopping-drop-exclusive-selling-out/686308/
1•paulpauper•27m ago•0 comments

Programming the Loop

https://ianbarber.blog/2026/03/10/programming-the-loop/
1•matt_d•30m ago•0 comments

Terence Tao had a paper rejected

https://mathstodon.xyz/@tao/113721209277409929
2•paulpauper•32m ago•0 comments

Ask HN: How do you review gen-AI created code?

1•captainkrtek•33m ago•1 comments

Pristan: The simplest way to create a plugin infrastructure in Python

https://github.com/mutating/pristan
1•pomponchik•37m ago•0 comments

Pact – contracts-first multi-agent coding (212/212 ICPC vs. 79-92% Claude Code)

https://jmcentire.github.io/pact/
1•jmcentire2025•37m ago•0 comments

VPNs surge in Australia as mandatory age verification for adult content begins

https://www.techradar.com/vpn/vpn-privacy-security/vpns-surge-in-australia-as-mandatory-age-verif...
2•reassess_blind•39m ago•1 comments

xAI wins permit to build power plant in Mississippi despite pollution concerns

https://www.cnbc.com/2026/03/10/elon-musk-xai-permit-for-mississippi-plant-despite-pollution-conc...
2•spenvo•41m ago•2 comments

The No World Order: Meir Kahane, Netanyahu, Trump, and the War Beyond Iran

https://sarahkendzior.substack.com/p/the-no-world-order
3•hkhn•42m ago•0 comments

Show HN: ULLI – A Linux installer without a live USB flash drive

https://github.com/rltvty2/ulli
1•AlOwain•49m ago•0 comments

NYC considers increasing minimum wage to $30 by 2030

https://ny1.com/nyc/all-boroughs/mornings-on-1/2026/03/10/city-council-considers-increasing-minim...
2•geox•52m ago•0 comments

Show HN: Readhn – AI-Native Hacker News MCP Server (Discover, Trust, Understand)

https://github.com/xodn348/readhn
2•xodn348•52m ago•0 comments

Curly Prompt – An AI Prompting Language with Local LLM Powered AI Agent

https://github.com/jimthunderbird/curlyprompt
2•jimthunderbird•56m ago•0 comments

Saudi Arabia declares 2026 as the Year of AI

https://twitter.com/spagov/status/2031365339376660682
2•sibilsalim•58m ago•1 comments

The Creator of Wordle Tries to Solve the Cryptic Crossword

https://www.newyorker.com/culture/the-lede/the-creator-of-wordle-tries-to-solve-the-cryptic-cross...
1•duck•59m ago•0 comments

Microsoft Patch Tuesday, March 2026 Edition

https://krebsonsecurity.com/2026/03/microsoft-patch-tuesday-march-2026-edition/
1•todsacerdoti•1h ago•0 comments

Embrace the Uncertainty

https://brittanyellich.com/embrace-the-uncertainty/
3•todsacerdoti•1h ago•0 comments

AEO: What happens when AI answers instead of linking (4-part series)

https://xergioalex.com/blog/series/aeo-from-invisible-to-cited/
1•xergioalex•1h ago•0 comments

Datafly – data agent that automatically understands any database you connect

https://github.com/dkeviv/datafly
1•aichelles•1h ago•3 comments

Apple's New MacBooks Have a Keyboard Change You Might Have Missed

https://www.macrumors.com/2026/03/10/macbook-keyboard-change/
2•samsolomon•1h ago•1 comments

Show HN: Principled Agentic Software Development

https://www.joegaebel.com/articles/principled-agentic-software-development/
3•joegaebel•1h ago•0 comments

Lynas locks Japanese rare earths deal

https://www.australianmining.com.au/lynas-locks-japanese-rare-earths-deal/
1•dwd•1h ago•2 comments
Open in hackernews

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

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