frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The Wall of Shame

https://gagor.pro/2026/04/the-wall-of-shame/
1•___timor___•4m ago•0 comments

Verum, examined – a systems language for an age when humans write less code

https://verum-lang.org/blog/verum-examined
1•old8man•4m ago•0 comments

Show HN: Free PDF redactor that runs client-side

https://redactpdf.net
1•MrGuacamole•4m ago•0 comments

Presentator: Free and Open source design feedback and presentation platform

https://presentator.io/
1•thunderbong•7m ago•0 comments

Six Levels of Dark Mode

https://cssence.com/2024/six-levels-of-dark-mode/
2•Akcium•7m ago•0 comments

I Created OpenClaw – Peter Steinberger, TedTalk, YT)

https://www.youtube.com/watch?v=7rzYDM6vMtI
1•hbarka•7m ago•0 comments

A more troubling picture of sea level rise is coming into view

https://e360.yale.edu/features/sea-level-rise-land-subsidence
2•Brajeshwar•8m ago•0 comments

Europe has 'maybe six weeks of jet fuel left'

https://www.bbc.com/news/articles/czjw2kz0l22o
2•measurablefunc•11m ago•0 comments

PerryTS: Compile TypeScript to native executables with LLVM

https://www.perryts.com/
1•simjnd•15m ago•0 comments

Sagas vs. Process Managers

https://docs.eventsourcingdb.io/blog/2026/04/20/sagas-vs-process-managers/
1•goloroden•16m ago•0 comments

Epistemic Suicide: Why AI Is Collapsing into Mediocrity

https://medium.com/@erinacius4455/full-linkedin-article-english-version-6611a87d02c5
1•alex_gold•19m ago•0 comments

Cardynal – AI support agent for businesses, no code, WhatsApp and web chat

https://cardynal.io
1•Cardynal•19m ago•0 comments

Can You Hear an Ambulance Moving Faster Than Sound?

https://snoeprol.github.io/science/doppler-effect.html
1•Snoeprol•22m ago•0 comments

NNA (Natural Number Array)

https://users.rust-lang.org/t/this-is-my-first-project-i-invented-a-new-algorithm-that-even-ai-do...
1•Erenay09•24m ago•1 comments

PostgresBench: A Reproducible Benchmark for Postgres Services

https://clickhouse.com/blog/postgresbench
1•saisrirampur•25m ago•0 comments

New CDC pick may face "threat to follow ideology over evidence," ex-official say

https://www.cbsnews.com/news/jerome-adams-erica-schwartz-face-the-nation-surgeon-general-kennedy-...
1•rolph•28m ago•0 comments

Wind and solar power surge across the Mountain West as demand tests the grid

https://www.kunr.org/local-stories/2026-04-14/wind-solar-power-surge-mountain-west
1•Bender•29m ago•0 comments

Uber's AI Push Hits a Wall–CTO Says Budget Struggles Despite $3.4B Spend

https://finance.yahoo.com/sectors/technology/articles/ubers-anthropic-ai-push-hits-223109852.html
4•dakiol•30m ago•0 comments

Bronx officials try to rein social media 'takeovers' after events turn chaotic

https://gothamist.com/news/bronx-officials-try-to-rein-in-social-media-takeovers-after-winter-eve...
1•gnabgib•31m ago•0 comments

Fixing Unix Filenames (2009)

https://dwheeler.com/essays/fixing-unix-linux-filenames.html
2•LorenDB•34m ago•2 comments

How Can Make

https://www.forumvc.com
1•dongtam•35m ago•0 comments

Do Not Default to a Public VPN

https://avkcode.github.io/blog/do-not-default-to-a-vpn.html
1•KyleVlaros•42m ago•1 comments

The Missing Human Half of AI

https://www.utkarshapoorva.com/writing/missing-human-half-of-ai/
1•utkarsh_apoorva•43m ago•1 comments

Musk's SpaceX urges Trump to crack down on EU satellites

https://www.telegraph.co.uk/business/2026/04/19/musks-spacex-urges-trump-to-crackdown-on-eu-satel...
3•doener•44m ago•0 comments

An explainer of the invisible temporal logic shaping platform behavior

https://github.com/Dario-Chang/The-Invisible-Logic-Regulators-Missed-for-23-Years-How-Platforms-R...
1•governace-layer•47m ago•1 comments

After 6 months I shipped Transita found a niche I could build for

https://transita.app
1•snenenenene•47m ago•0 comments

"Now I Have the Full Picture"

https://taoofmac.com/space/notes/2026/04/19/1400
3•rcarmo•49m ago•0 comments

They Went Abroad to Save Money. Moving Back Seems Unaffordable

https://www.nytimes.com/2026/04/19/business/americans-abroad-cheaper-living-costs.html
2•mikhael•52m ago•0 comments

The Unsuitability of English (2015)

https://www.chronicle.com/blogs/linguafranca/the-unsuitability-of-english
1•downbad_•53m ago•1 comments

A Chinese Android just ran a half-marathon faster than any human

https://www.cnn.com/2026/04/19/china/china-robot-half-marathon-intl-hnk
8•Bender•58m ago•1 comments
Open in hackernews

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

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