frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: Traditional Card Game Website

https://throw-cards.org/
1•Kyselica•1m ago•0 comments

Replacing Static BI with a Deterministic NLP-to-SQL Engine over Delta Lake

https://hunnykathuria.substack.com/p/nlp-architecting-zero-intervention
1•AI_Force•2m ago•0 comments

Tell HN: I'm tired of AI-generated answers

1•theorchid•5m ago•0 comments

Thoughts on People and Blogs

https://manuelmoreale.com/thoughts/thoughts-on-people-and-blogs
1•sebg•5m ago•0 comments

Codex got better, codex might be built with Claude Opus

1•Robelkidin•5m ago•0 comments

How Node.js and V8 keep each other working

https://joyeecheung.github.io/blog/2026/05/18/how-nodejs-and-v8-keep-each-other-working/
1•aragonite•7m ago•0 comments

Google Is Shattering Under Its Own Weight (The IBM-Ification of Google?)

https://zeroshot.bearblog.dev/google-is-shattering-under-its-own-weight-the-ibm-ification-of-google/
1•sabatonfan•12m ago•0 comments

Starship's Twelfth Flight Test Livestream

https://x.com/i/broadcasts/1YxNrZwwomNxw
3•janpot•14m ago•0 comments

Nascar champion Kyle Busch dies, 41 after hospitalization with 'severe illness'

https://www.npr.org/2026/05/21/g-s1-123547/nascar-champ-kyle-busch-dies
2•RickJWagner•16m ago•0 comments

Why metaphors make AI animations come out better

https://frigade.com/blog/describe-the-world-not-the-widget
1•pancomplex•16m ago•0 comments

Genkit Middleware: Intercept, extend, and harden your agentic apps

https://developers.googleblog.com/announcing-genkit-middleware-intercept-extend-and-harden-your-a...
1•gmays•19m ago•0 comments

Proof of storage protocol support for abstract data types

https://pinionengineering.github.io/storage-proofs/
1•coryschwartz•20m ago•1 comments

Anthropic's "Profitability" Swindle

https://www.wheresyoured.at/anthropics-profitability-swindle/
1•misswaterfairy•20m ago•0 comments

Fork this repo to organize your GitHub Gists automatically

https://github.com/adrenak/gists
1•adrenak•20m ago•0 comments

I made a free Safari extension that shows when your YouTube video ends

https://github.com/Fluphalicious/youtube-end-time-extension
1•fluphies•23m ago•0 comments

Show HN: Baby's First Cards – real photo flash cards for toddlers

https://apps.apple.com/us/app/baby-photo-flash-cards/id6740240314
1•ailocalrecorder•31m ago•0 comments

Google API keys can remain usable for up to 23 minutes after deletion

https://www.theregister.com/devops/2026/05/21/threat-hunters-find-google-api-keys-still-usable-23...
7•logickkk1•31m ago•0 comments

Noncompetes and firm heterogeneity

https://www.aeaweb.org/articles?id=10.1257/pandp.20261076
1•hhs•32m ago•0 comments

Show HN: AI Local Recorder – offline voice recorder with AI transcription

https://apps.apple.com/us/app/ai-local-recorder/id6762428280
1•ailocalrecorder•32m ago•0 comments

What's Left to Say

https://deadsimpletech.com/blog/whats-left-to-say
1•cratermoon•35m ago•0 comments

AdventHealth advances whole-person care with OpenAI

https://openai.com/index/adventhealth
1•SpyCoder77•39m ago•0 comments

Private equity acquisition can expand primary care use by expanding workforce

https://www.brown.edu/news/2026-05-20/private-equity-primary-care
2•hhs•41m ago•0 comments

Elon Musk will be king at SpaceX

https://techcrunch.com/2026/05/21/forget-technoking-elon-musk-will-really-be-king-at-spacex/
8•soundworlds•42m ago•2 comments

Data Science Weekly – Issue 652

https://datascienceweekly.substack.com/p/data-science-weekly-issue-652
1•sebg•43m ago•0 comments

LLM for automating scientific discovery [pdf]

https://www.nature.com/articles/s41586-026-10652-y_reference.pdf
1•ninesnines•45m ago•0 comments

NES Documentation [pdf]

https://www.nesdev.org/NESDoc.pdf
1•medbar•45m ago•0 comments

Lab study reveals patterns of inheritance that defy Mendel's laws

https://www.hopkinsmedicine.org/news/newsroom/news-releases/2026/05/lab-study-reveals-patterns-of...
1•hhs•46m ago•0 comments

US DHS put out alert on comedian who created parody ICE tip website

https://www.theguardian.com/us-news/2026/may/21/dhs-bolo-ben-palmer-parody-ice-tip-website
3•cdrnsf•48m ago•0 comments

Erlang_Python – Combine Python's ML/AI Ecosystem with Erlang's Concurrency

https://hexdocs.pm/erlang_python/readme.html
1•rzk•50m ago•0 comments

NTSB is aware that individuals are reconstructing cockpit voice recorder audio

https://xcancel.com/NTSB_Newsroom/status/2057538746795663536
1•hnburnsy•52m 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•12mo 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