frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Run frontier models on gaming GPUs

https://twitter.com/andy_shuoyang/status/2090856982383300898
1•eob•3m ago•0 comments

Guitar Tuner (2015)

https://aerotwist.com/blog/guitar-tuner/
1•kaycebasques•3m ago•0 comments

[BOOK REVIEW] The Escape Artist

https://www.astralcodexten.com/p/your-book-review-the-escape-artist
1•barry-cotter•4m ago•0 comments

How fast is C++26's std:hive?

https://lemire.me/blog/2026/08/02/how-fast-is-c26s-stdhive/
2•signa11•8m ago•0 comments

Próspera- libertarian utopia on Caribbean island off the coast of Honduras

https://www.abc.net.au/news/2026-08-22/honduras-prospera-libertarian-utopia-caribbean-roatan/1070...
1•defrost•9m ago•0 comments

Single file apps with Gleam and Bun

https://alistair.sh/gleam-bun-apps
1•alistaiir•13m ago•0 comments

Ask HN: How to Claude Like Anthropic

1•haint_•23m ago•1 comments

A Stronger Goldbach Conjecture

https://ewlevitt.com/goldbach
2•ggossel•27m ago•0 comments

Syntax

https://www.doc.cc/syntax
2•pentagrama•38m ago•0 comments

S&P 500 CEO median pay hits $17.3M, widening CEO-worker ratio to 312-to-1

https://finance.yahoo.com/markets/stocks/articles/p-500-ceo-median-pay-234900518.html
2•newsomix9xl•39m ago•0 comments

Early Humans Likely Ate Carbs and Sugary Foods

https://www.history.com/articles/early-human-ancestors-diet-sugar-carbs
3•gmays•40m ago•0 comments

Show HN: I let an subagent workflow refactor my codebase for three days

https://github.com/ringlochid/oh-my-subagents
3•ringlochid•44m ago•2 comments

New human genome has almost no gaps

https://cen.acs.org/biological-chemistry/genomics/single-complete-diploid-human-genome/104/web/20...
2•gmays•46m ago•0 comments

Robots running into walls go viral ahead of 2026 World Humanoid Robot Games

https://mashable.com/tech/world-humanoid-robot-games-2026-running-fall-accident
1•newsomix9xl•47m ago•0 comments

Tesla's Solar Roof is Dead – Here's what went wrong

https://techcrunch.com/2026/08/21/teslas-solar-roof-is-dead-heres-what-went-wrong/
1•freediddy•50m ago•1 comments

'Betrayal': Ranchers lash out at Donald Trump's plan to cut tax on beef imports

https://www.ft.com/content/7aabb591-ca73-4d87-96ad-dac9a210e1d0
4•petethomas•52m ago•2 comments

China's robots rock, box and mix drinks. Can they outperform humans?

https://www.ft.com/content/e16ded89-b618-4952-a0ab-96ef11d06582
1•newsomix9xl•57m ago•0 comments

Anthropic Could Aim to Raise $100B in Blockbuster IPO

https://www.nytimes.com/2026/08/21/technology/anthropic-ipo-100-billion.html
1•mfiguiere•1h ago•0 comments

Show HN: Anjadhe – privacy first AI assistant, no account, no server DB

https://www.anjadhe.com/demo
1•ram-bv•1h ago•1 comments

Execution Is the Moat

https://aspiringforintelligence.substack.com/p/execution-is-the-moat
3•navjeetgill307•1h ago•0 comments

Show HN: ServerKit - Self-hosted control panel for apps, Docker, and databases

https://github.com/jhd3197/ServerKit
2•jhd3197•1h ago•0 comments

The Lexus LS 400 Happened When the Government Tried to Protect Detroit [video]

https://www.youtube.com/watch?v=i15Ii4yetLM
3•xeonmc•1h ago•0 comments

Show HN: Heimdall – Trust-verified knowledge layer for AI coding agents

https://github.com/ArihantDeva/heimdall
2•arihantdeva•1h ago•0 comments

Rocket Lab Announces Flatellite: A New Satellite Designed for Mass Manufacture

https://rocketlabcorp.com/updates/rocket-lab-announces-flatellite-a-new-satellite-designed-for-ma...
2•walrus01•1h ago•0 comments

A checklist is a letter to the untuned self

https://pilgrima.ge/p/the-untuned-self
2•momentmaker•1h ago•0 comments

Jason Arday Did a Lot of Harm

https://etanaedelman.substack.com/p/jason-arday-actually-did-a-lot-of
4•barry-cotter•1h ago•1 comments

Obsession with AI

https://unmeshed.io/blog/using-ai-wisely-starts-before-the-first-prompt
1•jusonchan81•1h ago•0 comments

Stalking the Wily Hacker: 40 years later – Cliff Stoll [video]

https://www.youtube.com/watch?v=656058JxTM0
4•zoenolan•1h ago•1 comments

I'd Rather Risk Cancer Than See AI Move This Fast

https://www.theatlantic.com/technology/2026/06/ai-cancer-progress/687654/
2•jdkee•1h ago•2 comments

Ask HN: What types of alternative communities have you seen work or not and why?

1•tmnvix•1h ago•1 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