frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Why Inventing Color TV Was So Difficult

https://www.openculture.com/2026/09/why-inventing-color-tv-was-so-difficult.html
1•mdp2021•19s ago•0 comments

Lorenz and Little: How Much Does Your Tail Cost?

https://brooker.co.za/blog/2026/07/29/lorenz-and-little.html
1•halit_okumus•2m ago•0 comments

Built Carvitals for a hackathon, car service and realtime value tracking

https://carvitals.org/
1•andrewsbarbaro•2m ago•1 comments

Show HN: BullSniff – Sniff out bullshit AI sites

https://bullsniff.com
1•steejk•2m ago•1 comments

A flickering light eases pain in mice

https://medium.com/@6thMind/a-flickering-light-eases-pain-in-mice-and-the-reason-also-explains-th...
1•smanuel•4m ago•0 comments

What 119 real expense-splitting groups look like

https://getsplitright.com/what-expense-splitting-groups-look-like.html
1•sleipner42•6m ago•0 comments

OpenWhispr – Open-source, privacy-first voice-to-text with local AI

https://digitalescapetools.com/tools/tool.html?id=openwhispr
1•xabd•6m ago•0 comments

Orange hydrogen, Yilgarn Craton: production with carbon dioxide mineralization

https://www.sciencedirect.com/science/article/pii/S036031992602269X
1•defrost•6m ago•0 comments

Web-based interactive static pattern discovery tool to locate structures

https://github.com/HexLasso/FF-16-Web
1•HexLasso•7m ago•0 comments

Volkswagen says it is cutting 100k jobs by the end of the decade

https://techxplore.com/news/2026-09-volkswagen-jobs-decade.html
3•mdp2021•12m ago•0 comments

Large Blast Radius Coder Registry Hijack

https://www.optimuslabs.io/research/briefings/coder-registry-infrastructure-hijack
1•rickdeaconx•12m ago•1 comments

Where were you when reality died?

https://www.unite.ai/where-were-you-when-reality-died/
1•50kIters•13m ago•0 comments

Norway's Oil Fund Proposes Selling Roughly $80B in U.S. Treasurys

https://www.wsj.com/finance/investing/norways-oil-fund-proposes-cut-to-government-bond-holdings-d...
3•toomuchtodo•14m ago•0 comments

The Life of a Metric

https://victoriametrics.com/blog/the-life-of-a-metric/index.html
1•func25•14m ago•0 comments

AI engineer breaks part of RSA encryption protocol by hand

https://www.scientificamerican.com/article/whats-the-tech-behind-the-record-breaking-rsa-260-crack/
2•chc2889•14m ago•0 comments

ChatGPT now limits prompts per week, even on their most-expensive plans

https://help.openai.com/en/articles/20001354-gpt-56-and-gpt-6-pro-in-chatgpt
1•zof3•15m ago•0 comments

China's Rare Earths Duopoly

https://www.chinatalk.media/p/chinas-rare-earths-duopoly
1•baud147258•17m ago•0 comments

Keepalived Track Scripts for Application-Aware Failover

https://www.virtualizationhowto.com/2026/09/i-thought-keepalived-only-protected-my-home-lab-serve...
1•bleevht•17m ago•1 comments

To do your best work you need to work like a sculptor

https://livingsystems.substack.com/p/to-do-your-best-work-you-need-to
3•samuell•18m ago•0 comments

Dogpark is a message board for a handful of software agents and one human

https://github.com/pjlsergeant/dogpark
2•Bluestein•21m ago•0 comments

Scientists Find Worms in Almost Every Fish in a Tuna Haul – 96% Were Infected

https://www.sciencealert.com/scientists-find-parasites-in-almost-every-fish-from-a-recent-tuna-ha...
4•arto•21m ago•0 comments

The Corruption of Christianity

https://medium.com/freedomofthought/the-corruption-of-christianity-b05b7543baa6
1•raynchad•22m ago•0 comments

Will the AI Boom Price the Rest of the Economy Out of Capital?

https://publicemails.com/blog/display/659255/Will-the-AI-Boom-Price-the-Rest-of-the-Economy-Out-o...
1•arbuge•22m ago•0 comments

Colorlight 5A-75B: A dive into a popular low-cost ECP5 (FPGA) development board

https://blog.yosyshq.com/p/colorlight-part-1/
1•gregsadetsky•24m ago•0 comments

Buried underpants and a new definition of kissing win 2026 Ig Nobel prizes

https://www.nature.com/articles/d41586-026-02650-x
1•jhncls•25m ago•0 comments

Equal Earth (2018)

https://equal-earth.com/
1•turtleyacht•25m ago•0 comments

The Future of Security Compliance Is AI-Native

https://www.pentesty.co/blog/ai-native-compliance-infrastructure-continuous-security
1•josanjohnata•25m ago•0 comments

You Cannot Know the Future. You Can Only Model It

https://www.saul.at/posts/you-cannot-know-the-future
2•Essa•26m ago•0 comments

Tesla Cybercabs Hit Austin Streets in Expansion of Robotaxi Service

https://www.wsj.com/business/autos/tesla-cybercabs-hit-austin-streets-in-expansion-of-robotaxi-se...
2•bookofjoe•26m ago•2 comments

Reverse recruiting and the HR shift: what changes when talent also chooses

https://www.foxapply.com/blog/en/reverse-recruiting-hr-talent-also-chooses
2•johnzoro107•27m 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