frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

U.S. Customs and Border Protection Officer Charged with Bribery Offenses

https://www.justice.gov/usao-sdny/pr/us-customs-and-border-protection-officer-charged-bribery-off...
2•737min•5m ago•1 comments

I Have to Live in a Forest to Work on Open Source

https://trop.in/blog/i-have-to-live-in-a-forest-to-work-on-open-source
1•alikhil•6m ago•0 comments

Killing the 'brain trust': How Israel targeted Iran's nuclear scientists

https://www.washingtonpost.com/national-security/2025/12/17/iran-israel-war-nuclear-scientists-fr...
1•mhb•8m ago•0 comments

Anthakshari AI

https://anthakshari.ai/
1•hareeshimo•10m ago•0 comments

The Revolution Will Not Make the Hacker News Front Page

https://soatok.blog/2025/12/17/the-revolution-will-not-make-the-hacker-news-front-page/
3•blackhole•13m ago•0 comments

Bortle Scale: Measuring Your Night‑Sky Darkness

https://spectralore.com/astronomy-stargazing/bortlescale/
2•thunderbong•14m ago•0 comments

Why Taylor Swift's Frequent Flights Probably Won't Give Her Cancer

https://duncansnotes.substack.com/p/cosmic-radiation-at-10000-feet-why
1•likethefish•17m ago•0 comments

Why does my hip hurt?

https://theconversation.com/why-does-my-hip-hurt-hip-pain-can-have-many-causes-and-mostly-doesnt-...
1•0in•18m ago•0 comments

SlimeMoldCrypt – Biological Encryption Engine

https://www.tomshardware.com/tech-industry/cyber-security/slimemoldcrypt-relies-on-gloopy-living-...
1•embedding-shape•21m ago•0 comments

Oracle's $10B Michigan data centre in limbo after Blue Owl pulls out

https://www.ft.com/content/84c147a4-aabb-4243-8298-11fabf1022a3
1•mgh2•22m ago•0 comments

OBS Studio Merges WebRTC/Whip Simulcast Support

https://github.com/obsproject/obs-studio/commit/cd4d624ec3e6fdb149effa4285beef4f948c565b
1•Sean-Der•23m ago•2 comments

Show HN: Largest Public Dataset of Electronic Circuit Files

https://huggingface.co/datasets/bshada/open-schematics
2•_bshada•30m ago•0 comments

Parallelizing ClickHouse aggregation merge for fixed hash map

https://blog.incfly.org/parallelize-clickhouse-aggregation-merge-for-fixed-hash-map/
2•zX41ZdbW•32m ago•0 comments

Preferred Sources in [Google] Search Expands Worldwide in English

https://blog.google/feed/preferred-sources-expands/
1•healsdata•37m ago•0 comments

What AI Learned from Cancer Slides Shocked Researchers

https://scitechdaily.com/what-ai-learned-from-cancer-slides-shocked-researchers/
2•ashishgupta2209•38m ago•1 comments

Why Not Make All Car Brakes Like Hybrid Car Brakes

https://www.bogleheads.org/forum/viewtopic.php?t=465077
1•ilamont•43m ago•0 comments

Review: The Little Book of Data

https://bobonbooks.com/2025/06/16/review-the-little-book-of-data/
1•teleforce•44m ago•0 comments

Apple releases 2d to 3D image generator open source

https://twitter.com/minchoi/status/2000951667416875081
1•tomcam•47m ago•1 comments

Act-1: A Robot Foundation Model Trained on Zero Robot Data

https://www.sunday.ai/journal/no-robot-data
2•jinqueeny•47m ago•0 comments

South Korean contractors on Taiwan submarines jailed for leaking documents

https://www.reuters.com/world/china/south-korean-contractors-taiwan-submarines-jailed-leaking-doc...
3•wslh•50m ago•0 comments

Magic Link

https://megafunnels.olspsystem.com/mega_team-builders-8507?referrer_id=1586259&source=d1
1•limodave•51m ago•0 comments

Show HN: Injector – Field-tag-only dependency injection for Go

https://github.com/mickamy/injector
1•mickamy•52m ago•0 comments

Venezuela's Maduro says Trump's comments on land and oil reveal his true motives

https://www.cnn.com/2025/12/17/americas/venezuela-oil-land-trump-motives-intl-latam
6•Bender•57m ago•1 comments

Langgraph – Low Level Orchestration Framework

https://github.com/langchain-ai/langgraph
1•rammy1234•57m ago•0 comments

Ask HN: Those making $500/month on side projects in 2025 – Show and tell

3•cvbox•57m ago•1 comments

Electric soup cup that enhances salty taste

https://www.japantimes.co.jp/news/2025/09/10/japan/kirin-electric-cup-enhances-salty-taste/
3•geox•1h ago•2 comments

Mini-SGLang: A lightweight yet high-performance inference framework for LLM

https://github.com/sgl-project/mini-sglang
1•limoce•1h ago•0 comments

US admits liability in helicopter collision with American jet that killed 67

https://www.cnbc.com/2025/12/17/us-army-helicopter-collision-american-airlines-jet.html
12•pseudolus•1h ago•1 comments

Show HN: Solance – Discover Music Through Friends

https://www.solance.app/
1•Solance•1h ago•0 comments

I made a simple form for restaurants and cafes to list their location on OSM

https://localcafe.org/locations/submit/new
2•fullstacking•1h ago•2 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•6mo 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