frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Why and How China Will Win AI: A Systems Understanding of China's AI Playbook

https://www.zackaryia.com/blog/2025-12-11/why-and-how-china-will-win-ai/
1•Zackaryia•2m ago•0 comments

RFC1087 Ethics and the Internet (1989)

https://www.ietf.org/rfc/rfc1087.txt
2•1vuio0pswjnm7•3m ago•1 comments

Worst Technology Flops of 2025

https://www.technologyreview.com/2025/12/18/1130106/the-8-worst-technology-flops-of-2025/
3•devonnull•7m ago•0 comments

Microsoft Updates Windows 'To Stop Users from Downloading Google Chrome'

https://www.forbes.com/sites/zakdoffman/2025/12/18/microsoft-updates-windows-to-stop-users-downlo...
1•72f988bf•7m ago•1 comments

Recent discoveries on the acquisition of the highest levels of human performance

https://www.science.org/doi/10.1126/science.adt7790
1•tchalla•7m ago•1 comments

Evaluating Chain-of-Thought Monitorability

https://openai.com/index/evaluating-chain-of-thought-monitorability/
1•mfiguiere•8m ago•0 comments

Reimplementing Unix Correct: The Lost Bayesian Spelling Corrector

https://learningloom.substack.com/p/reimplementing-unix-correct-the-lost
1•atomicnature•8m ago•0 comments

Code Coverage

https://keploy.io/blog/community/understanding-code-coverage-in-software-testing
1•sophielane•13m ago•0 comments

A quantum mystery that stumped scientists for decades is solved

https://www.sciencedaily.com/releases/2025/12/251217082509.htm
2•croes•19m ago•0 comments

2026 Apple introducing more ads to increase opportunity in search results

https://ads.apple.com/app-store/help/ad-placements/0082-search-results
2•punnerud•19m ago•2 comments

Gut microbe Turicibacter prevents weight gain

https://newatlas.com/diet-nutrition/weight-gain-gut-microbe/
2•thunderbong•20m ago•0 comments

Getting bitten by Intel's poor naming scenes

https://lorendb.dev/posts/getting-bitten-by-poor-naming-schemes/
6•LorenDB•22m ago•2 comments

Caro – a local offline shell companion for when you forget commands (alpha)

https://www.caro.sh/
1•kobi_kadosh•22m ago•1 comments

Linux Foundation Annual Report 2025

https://www.linuxfoundation.org/resources/publications/linux-foundation-annual-report-2025
1•lawrencejgd•25m ago•0 comments

Brown University Shooting Suspect Found Dead in New Hampshire

https://www.vanityfair.com/news/story/person-of-interest-arrested-in-brown-shooting
1•sampo•26m ago•1 comments

Why OpenAI’s Move to Skills Matters If You’re Shipping AI Agents

https://medium.com/@ohansemmanuel/why-openais-move-to-skills-matters-if-you-re-shipping-ai-agents...
2•ohans•28m ago•1 comments

Nob – Turn any terminal AI-powered (Open Source)

https://github.com/hetpatel-11/nob
1•hkpatel•28m ago•0 comments

Building ScrapeForge in public starting tomorrow

1•Vishwas-Batra•30m ago•0 comments

Meta Is Developing a New AI Image and Video Model Code-Named 'Mango'

https://www.wsj.com/tech/ai/meta-developing-new-ai-image-and-video-model-code-named-mango-16e785c7
1•fortran77•34m ago•1 comments

Blackbox open source agentic coding tool that lives in your terminal

https://github.com/blackboxaicode/cli
1•rizkrob•35m ago•1 comments

Administration Plans to Break Up Premier Weather and Climate Research Center

https://www.nytimes.com/2025/12/17/climate/national-center-for-atmospheric-research-trump.html
1•zekrioca•35m ago•0 comments

Mistakes marred Australian telco firewall upgrade, contributing to deaths

https://www.theregister.com/2025/12/19/optus_emergency_outages_cause_report/
3•defrost•43m ago•0 comments

CDC Spelling Error Dictionary

https://ftp.cdc.gov/pub/health_Statistics/nchs/Software/mmds/2009/spell/mmds_spell.txt
1•gregsadetsky•46m ago•0 comments

I Made UTM Triggered Popups

1•matanblay•49m ago•0 comments

Man suspected in shooting at Brown and nuclear physicist has been found dead

https://www.theguardian.com/us-news/2025/dec/18/suspect-brown-university-shooting
2•pogue•50m ago•0 comments

Show HN: I Built UTMKit to Save Time on Popups Specifically UTM Triggered Popup

https://utmkit.io/
1•matanblay•50m ago•0 comments

An Alternative to Khan Academy

https://books.innings2.com/blog/general/khan_academy_alternative/
2•nutanc•55m ago•0 comments

My Downloads – Chrome Web Store

https://chromewebstore.google.com/detail/my-downloads/ienfdfooajmkbebiaplehejbamefbboi
1•mnunkowme•56m ago•0 comments

AI Vibe Coding, Is It Working? No

https://www.mindprison.cc/p/ai-vibe-coding-is-it-working-no
1•13years•57m ago•0 comments

Jax-JS

https://jax-js.com/
1•aizk•59m ago•0 comments
Open in hackernews

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

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