frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Ask HN: Does anyone have their PMs shipping code to customer-facing products?

2•reluctant_dev•5m ago•0 comments

Earn lending-market yield on internet dollars

https://www.askthehive.ai/
1•prismoonprismo•9m ago•0 comments

Ratchets: a Rust tool that polices style violations with a flexible budget

https://github.com/imbue-ai/ratchets
1•nvader•10m ago•0 comments

Ai2 ACE2S – Simulate atmospheric variability – Scale of days to centuries

https://huggingface.co/allenai/ACE2S-SHiELD-plus
1•embedding-shape•15m ago•0 comments

Free Full on App Opensource. This One Is an Absolute Gem Find on GitHub

https://github.com/Prithvi-Web/Treemap
1•DaGoat487•15m ago•4 comments

Amazon Announces Multibillion-Dollar Data Center in Missouri

https://www.narracomm.com/amazon-announces-multibillion-dollar-data-center-in-missouri/
2•thelonelyborg•17m ago•1 comments

How the PH1 barrel became a legend in America's craft beer scene

https://www.washingtonpost.com/food/2026/06/15/how-ph1-barrel-became-legend-america-craft-beer-sc...
1•bookofjoe•19m ago•2 comments

The US just treated an LLM as a munition

https://substack.productmind.co/p/four-thoughts-on-anthropics-fable
2•okosisi•23m ago•1 comments

DeepFork – reverse-engineer any OSS repo into a clean-room rebuild blueprint

https://github.com/GerardoRdz96/deepfork
2•gerardordz96•28m ago•1 comments

Reviews have become expensive, rewrites have become cheap

http://ishmeetbindra.com/posts/reviews-have-become-expensive-rewrites-have-become-cheap/
2•arzh2•32m ago•0 comments

Explosions in Iran IRGC Infighting over "Deal", Hezbollah Attacks Israel [video]

https://www.youtube.com/watch?v=ZehgwIxh4eA
2•Bender•33m ago•0 comments

The Org Harness

https://pub.towardsai.net/the-org-harness-edef5844ba10?source=friends_link&sk=c7ddedd34684476842b...
1•tacoda•37m ago•0 comments

Xiaomi's agentic AI coding harness MiMo Code beats Claude Code at 200 step tasks

https://venturebeat.com/technology/xiaomis-new-open-source-agentic-ai-coding-harness-mimo-code-be...
3•gmays•39m ago•0 comments

Show HN: An Information Exchange for Agents

https://callsign.sh/
1•ric2z•40m ago•4 comments

FreeBSD 15.1-Release Now Available

https://lists.freebsd.org/archives/freebsd-announce/2026-June/000274.html
1•cperciva•41m ago•0 comments

Startup supposed to revolutionize California's wine industry 'It failed'

https://www.latimes.com/business/story/2026-06-15/this-startup-was-supposed-to-revolutionize-cali...
4•iancmceachern•45m ago•0 comments

The Exe.dev iOS App

https://blog.exe.dev/ios
1•bryanmikaelian•47m ago•0 comments

As a potential bug bounty hunter need an advice from bounty hunting veterans

1•SunShineDust•47m ago•0 comments

Eight Crew Members Believed Dead in B-52 Bomber Crash at California Air Base

https://www.wsj.com/us-news/b-52-bomber-crashes-shortly-after-take-off-at-california-air-base-253...
1•fortran77•48m ago•2 comments

UK social media ban for children: the privacy problems Australia exposed

https://proton.me/blog/uk-social-media-ban-privacy
3•jethronethro•49m ago•0 comments

Continue has been acquired by Cursor

https://www.continue.dev
2•platevoltage•50m ago•3 comments

Ultracoding: The Next Frontier

https://www.jay.ai/blog/ultracoding-the-next-frontier
2•_jayhack_•52m ago•0 comments

The Productivity J-Curve [pdf]

https://ide.mit.edu/sites/default/files/publications/jcurve.pdf
1•kioku•57m ago•0 comments

Www.ander.com

https://blog.cloudflare.com/es-es/welcome-to-connectivity-cloud/
1•the-art•58m ago•0 comments

Stolen fries are spicier than justice: How covert larceny enhances taste

https://www.sciencedirect.com/science/article/abs/pii/S0950329326001126
3•gnabgib•1h ago•0 comments

Beyond Transcription: ASR Model Delivers Words, Emotion, and Intent in 200ms

https://whissle.ai/blogs/multilingual-asr-benchmark-ngram-language-models
1•ksingla025•1h ago•0 comments

Egyptian Fractions

https://blog.plover.com/math/egyptian-fractions.html
3•luu•1h ago•0 comments

Show HN: HashMeterAi – Private AI Token Real Usage Meter for All Models

https://github.com/Hash-7777/HashMeterAi
2•Hash7777•1h ago•1 comments

Beneath the Enshittification, Something Is Growing

https://www.techdirt.com/2026/06/10/beneath-the-enshittification-something-amazing-is-growing/
4•doener•1h ago•0 comments

AI demands more engineering discipline. Not less

https://charity.wtf/2026/06/15/ai-demands-more-engineering-discipline-not-less-xpost/
2•zdw•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