frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

OpenAI did not notice Hugging Face hack for a week

https://www.reuters.com/business/its-ai-agent-spent-days-hacking-company-sources-say-openai-did-n...
1•himaraya•3m ago•0 comments

The SharePoint zero-day panic this week is a marketing event

https://tensorust-site.vercel.app/
1•Shmungus•4m ago•0 comments

The computer has been surprising us

https://iwhalen.com/computer-surprise/
1•iwhalen•6m ago•0 comments

Claude used my pipeline to find a counterexample to the Jacobian conjecture

1•JGPTechCo•12m ago•1 comments

The final frontier – 01005 passives (2012)

http://siliconexposed.blogspot.com/2012/06/final-frontier-01005-passives.html
1•gregsadetsky•14m ago•0 comments

The Shape of Apps

https://parakeet.co/blog/the-shape-of-apps/
2•wpm•24m ago•0 comments

Bonsai – a toolkit for building AI chat apps with branchable conversations

https://github.com/Joaoha/Bonsai
1•joaoha•26m ago•0 comments

In desperate need of money so im willing to make anything

1•lowke•26m ago•0 comments

Ask HN: How would I restore this 101 year old postcard?

2•Waterluvian•29m ago•1 comments

Project Babylon: Gerald Bull's Downfall (2006)

https://www.damninteresting.com/project-babylon-gerald-bulls-downfall/
1•networked•30m ago•0 comments

Stripe closed my account with a 0.18% dispute rate

3•rellyattd•32m ago•2 comments

What Happened to WordPerfect? Why the Dominant Word Processor Disappeared

https://www.youtube.com/watch?v=cMnjphv3DQo
3•cable2600•40m ago•1 comments

Show HN: Made a Free Shownotes Generator Website

https://shownotesgenerator.com/
1•wbemaker•41m ago•0 comments

Show HN: OneWayInterview – type a job role, AI builds the async video interview

https://onewayinterview.com/
1•emunova•43m ago•0 comments

LoRA Adapters Generated from Skill.MDs

https://terradev.cloud/tessera
1•Facingsouth•43m ago•0 comments

Open Weights and American AI Leadership

https://www.microsoft.com/en-us/corporate-responsibility/topics/open-weight/
3•haritha1313•49m ago•0 comments

BackSearch – Letting agents search the web

https://www.gr.inc/releases/introducing-backsearch
1•haritha1313•49m ago•0 comments

Cultural moderation of demographic differences in narcissism

https://www.tandfonline.com/doi/full/10.1080/15298868.2025.2593298#abstract
2•bushwart•49m ago•0 comments

Show HN: I rebuilt Microsoft Comic Chat's layout engine in one HTML file

https://arcade.pirillo.com/comic-chatter.html
1•ChrisPirillo•50m ago•0 comments

Amazon cracks down on use of AI images by sellers after New York law

https://www.cnbc.com/2026/07/23/amazon-makes-sellers-label-ai-generated-people-in-images-after-ny...
5•baranul•50m ago•0 comments

Ask HN: Multi dimensional sort (beyond Hilbert curve)

1•adec314•51m ago•0 comments

Florida's Ban on Unnaturally Posed Stuffed Baby Crocodilians

https://www.loweringthebar.net/2026/07/florida-bans-oddly-posed-alligators.html
1•samizdis•51m ago•0 comments

Dimmd – Dark mode for the macOS Apple Mail app

https://www.dimmd.app/
1•spacedawwwg•56m ago•0 comments

Always Tell Your Kids the Truth (2019)

https://www.outsideonline.com/culture/active-families/tell-your-kids-truth/
1•downbad_•58m ago•0 comments

Show HN: Openleetcode – local LeetCode runner where tests live in the repo

https://github.com/therepanic/openleetcode
2•therepanic•1h ago•0 comments

SignFile – Sign anything. One flat price

https://signfile.io/
2•abdullah_eldoud•1h ago•0 comments

There is no free benchmark

https://www.pnas.org/doi/10.1073/pnas.2509757122
1•hhs•1h ago•0 comments

Show HN: A Kakeya Conjecture Game

https://quantisan.github.io/kakeya-game/
1•quantisan•1h ago•1 comments

Sperm Whales blow bubbles to achieve restful, vertical sleep

https://news.st-andrews.ac.uk/archive/sperm-whales-blow-bubbles-to-achieve-restful-vertical-sleep/
8•hhs•1h ago•1 comments

The 0,5 MB of nothing in all Apple Music files (2020)

https://www.ctrl.blog/entry/apple-music-nullbytes.html
6•downbad_•1h 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