frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

World's First: Minor Authors Public License for Expression (Maple-1.0)

https://openrockets.com/research/maple/v1/
1•interkids•3m ago•1 comments

Prosecutors allege man used AI to scrape court website

https://www.abc.net.au/news/2026-09-10/christopher-duff-to-stand-trial-over-nsw-ai-court-data-bre...
1•yeetosaurusrex•9m ago•0 comments

Artificial Intelligence Markup Language

https://en.wikipedia.org/wiki/Artificial_Intelligence_Markup_Language
2•marvinborner•12m ago•0 comments

A Design Space Exploration of Async/Await

https://cel.cs.brown.edu/blog/design-space-async-await/
1•matt_d•13m ago•0 comments

SubmitSafe

https://submitsafe.app/
2•igrik•14m ago•0 comments

Show HN: Model meets Reality: Model and test your understanding

https://modelmeetsreality.xyz/
1•sauronsrv•14m ago•0 comments

Automatic Key Exchange: faster, post-quantum secure origin handshakes

https://blog.cloudflare.com/automatic-key-exchange-for-origins/
1•ackackack•14m ago•0 comments

What AI Means for Technical Competence

https://letters.unchartedpathbreakthroughs.com/posts/what-ai-means-for-technical-competence
2•mooreds•17m ago•0 comments

The Evolution of the Agent Harness – By Dan McAteer

https://www.latent.space/p/attention-interface
1•JohnBerryman•18m ago•0 comments

Largest AI Infrastructure in Space announced by the president of France

https://www.businesswire.com/news/home/20260909411854/en/Worlds-Largest-AI-Infrastructure-in-Spac...
1•4thelol•20m ago•0 comments

Diagnosing schizophrenia is tricky. Can AI help?

https://knowablemagazine.org/content/article/mind/2026/how-ai-can-listen-for-signs-of-schizophrenia
2•knowablemag•21m ago•1 comments

Chrome tells ~1M users Magic Actions is malware, despite Safe Browsing clearance

https://groups.google.com/a/chromium.org/g/chromium-extensions/c/MUe0EkfKCnY
3•OzzyOzbour•22m ago•0 comments

Apple Unveils $1,999 Foldable iPhone Duo

https://www.bloomberg.com/news/videos/2026-09-09/apple-unveils-1-999-foldable-iphone-duo-video
1•sbulaev•23m ago•0 comments

Design for iPhone Duo

https://www.youtube.com/watch?v=do3UqxfYc3I
1•hbarka•26m ago•0 comments

Andrew Tulloch Departs Mark Zuckerberg's Meta AI Lab

https://www.wsj.com/tech/ai/star-ai-researcher-is-leaving-meta-8906e4aa
3•bobrenjc93•28m ago•0 comments

Japan's 'killing stone' splits in two (2022)

https://www.theguardian.com/world/2022/mar/07/japans-killing-stone-splits-in-two-releasing-supers...
2•robotnikman•28m ago•0 comments

Pro wrestling for reinforcement-learning ducks

https://duckfight.club
1•ecares•29m ago•0 comments

WeatherNext 3 by Google in the simplest weather app

https://weather.alen.ro/
1•alentodorov•33m ago•0 comments

Core War: three crowns on the King of the Hill

https://dm2tim.de/en/offtopic/core-war.html
2•Levitating•33m ago•0 comments

US airports to let some people without tickets pass through security

https://www.theguardian.com/us-news/2026/sep/09/airport-security-tsa-precheck
1•bookofjoe•36m ago•0 comments

HexOS Buddy Backups

https://docs.hexos.com/blog/2026-09-09
2•abraham•43m ago•0 comments

How safe are digital driver's licences?

https://www.rnz.co.nz/news/community/1309151/how-safe-are-digital-driver-s-licences
3•billybuckwheat•45m ago•0 comments

Engineering students made a self playing piano from scratch [video]

https://www.youtube.com/watch?v=Se_admCx8cM
2•duck•48m ago•1 comments

United States Ships War Material to Israel Aboard Passenger Flights

https://theintercept.com/2026/09/09/united-airlines-flights-israel-weapons-hardware-transport/
6•jbegley•48m ago•0 comments

What makes $BigTechCompany's products bad, anyway?

https://herecomesthemoon.net/2026/09/why-is-big-tech-bad/
2•Mond_•48m ago•0 comments

The IBM PC, Part 2: Tsunami

https://technicshistory.com/2026/08/29/the-ibm-pc-part-2-tsunami/
1•cfmcdonald•49m ago•0 comments

Durable execution without history replay

https://trigora.dev/blog/durable-execution-without-history-replay/
1•hypervs•49m ago•0 comments

Google pixel 11 pro fold

https://store.google.com/product/pixel_11_pro_fold?hl=en-US
1•nothrowaways•51m ago•0 comments

Ask HN: Would you use an MCP server for your personality test result?

1•LeoLeaS•53m ago•0 comments

Show HN: Jobrake: Fetch Jobs from LinkedIn and Indeed

https://github.com/eyayaw/jobrake
1•eyayaw•56m ago•0 comments
Open in hackernews

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

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