frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

European heatwave is worst ever and impossible without climate crisis

https://www.theguardian.com/environment/2026/jun/26/europe-heatwave-impossible-without-climate-cr...
1•novaRom•3m ago•0 comments

Linux Kills Strncpy

https://smist08.wordpress.com/2026/06/25/linux-kills-strncpy/
1•ingve•4m ago•0 comments

Show HN: Stackzero - The Smarter Way to Discover Free Developer Tools

https://stackzero.revoseek.com
1•izoom•5m ago•0 comments

Show HN: Visual AWS infrastructure builder that generates Terraform

https://infra-as-a-code.vercel.app
1•Babkv90•6m ago•0 comments

Remembrance Agent: A continuously running information retrieval system (1996) [pdf]

https://cdn.aaai.org/Symposia/Spring/1996/SS-96-02/SS96-02-022.pdf
1•fhars•8m ago•0 comments

Show HN: Every site gives a different P/E ratio, so I open-sourced the math

https://github.com/JerBouma/FinanceToolkit
1•JerBouma•10m ago•0 comments

An LLM verifier rated math proofs near-perfect; an expert found 17% correct

https://korbonits.com/blog/2026-06-12-easier-to-convince-than-to-prove/
1•korbonits•14m ago•0 comments

Ask HN: What size is your journal book and why?

1•herodoturtle•14m ago•0 comments

Why have papers by Max Planck been retracted?

https://www.science.org/content/article/why-have-papers-one-history-s-most-famous-physicists-been...
3•adsche•15m ago•1 comments

Soumitra Dutta – Technology, Innovation and Global Policy

https://soumitradutta.mobirisesite.com/
1•davidwilliam26•19m ago•1 comments

Optimus Cirrus

https://github.com/morganstanley/optimus-cirrus
1•tosh•21m ago•0 comments

A Fake Shell for Pangenomics

https://www.cs.cornell.edu/~asampson/blog/flash.html
1•matt_d•21m ago•0 comments

Stop the bloatware in modern Linux. Noctalia V5 and labwc and dinit [video]

https://www.youtube.com/watch?v=z3sg8nXkvgo
1•grigio•28m ago•0 comments

Imaging exoplanets using Einstein Rings within 1 lifetime [video]

https://www.youtube.com/watch?v=go-50Dpzs20
2•OSaMaBiNLoGiN•35m ago•0 comments

Make a devtool agents want

https://betocmn.com/blog/make-a-devtool-agents-want/
3•thedreammachine•35m ago•2 comments

New quantum computer sets a high watermark for accuracy

https://theconversation.com/a-new-quantum-computer-sets-a-high-watermark-for-accuracy-are-we-on-t...
2•giuliomagnifico•38m ago•0 comments

Heat, humidity and housing: why British heatwaves hit differently

https://theconversation.com/heat-humidity-and-housing-why-british-heatwaves-hit-differently-286064
4•zeristor•39m ago•0 comments

Show HN: I replaced my X analytics dashboard for a daily "what to do next" brief

https://trumpet.house
4•chrislxy•43m ago•1 comments

We All Depend on Open Source. We Will Defend It Together

https://akrites.org/letter/
3•dhruv3006•43m ago•0 comments

Show HN: Turn any X account into an RSS feed

https://rss.gurify.com/
4•slavba•45m ago•1 comments

Ask HN: What do you still love most about AI?

3•akashwadhwani35•48m ago•1 comments

Increasing Photon Upconversion Efficiency with Structural Exciton Localization

https://hackaday.com/2026/06/25/increasing-photon-upconversion-efficiency-with-structural-exciton...
2•grajmanu•48m ago•0 comments

A Charter School Spent $500k on AI-Powered Humanoid Robots. Was It Worth It?

https://voiceofsandiego.org/2026/06/24/a-charter-school-spent-500000-on-ai-powered-humanoid-robot...
2•the-mitr•48m ago•0 comments

Show HN: OmniCore – A neural engine for multimodal NPC agency (Beta)

https://medium.com/@www.ahadprogamer/introducing-omnicore-a-neural-brain-for-your-games-npcs-1612...
2•Ahadprogamer•49m ago•0 comments

Following a USPS smishing kit through censys DNS data

https://censys.com/blog/following-a-usps-smishing-kit-through-censys-dns-data/
2•sans_souse•49m ago•0 comments

I feed my coding agent JSON instead of screenshots

https://slimsnap.ai/blog/json-not-screenshots
3•bickov•51m ago•0 comments

Daily Stock Analysis

https://github.com/ZhuLinsen/daily_stock_analysis
1•grajmanu•51m ago•0 comments

Turning brain prediction models into testable explanations

https://www.microsoft.com/en-us/research/blog/understanding-the-brain-with-ai-driven-explanations...
1•grajmanu•53m ago•0 comments

Elon Musk's SpaceX plans Starlink mobile push into US consumer market

https://www.ft.com/content/42af0f15-3aa9-49b7-b429-4a39540af03e
2•ilreb•54m ago•0 comments

Crypto Bear Market Playbook 2026: How to win by not dying

https://hduynam99.substack.com/p/crypto-bear-market-playbook-2026
2•hoangthuytrang•55m 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