frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

We decreased our LLM costs with Opus

https://www.mendral.com/blog/frontier-model-lower-costs
1•shad42•3m ago•0 comments

Agent, Know Thyself (and bid accordingly)

https://www.strangeloopcanon.com/p/agent-know-thyself-and-bid-accordingly
1•paulpauper•6m ago•0 comments

AI Killed the MVP. What's Next?

https://www.indiehackers.com/post/ai-killed-the-mvp-whats-next-JIWTsjBRFuC4K87voEFk
1•toddh•7m ago•0 comments

Losing My Friend over Wegovy

https://www.thecut.com/article/wegovy-friendship-breakup.html
1•paulpauper•8m ago•0 comments

Maladaptive Frugality

https://herbertlui.net/maladaptive-frugality/
1•herbertl•10m ago•0 comments

Going Full Time on Open Source

https://jdx.dev/posts/2026-04-17-going-full-time-on-open-source/
2•stock_toaster•11m ago•0 comments

NBA proposes new '3-2-1' draft lottery system

https://www.nytimes.com/athletic/7237953/2026/04/28/nba-draft-lottery-tanking-changes/
1•0in•12m ago•0 comments

Continuing the Story of Early DOS Development – Microsoft Open Source Blog

https://opensource.microsoft.com/blog/2026/04/28/continuing-the-story-of-early-dos-development/
1•corvad•18m ago•0 comments

The Work Between Factories

https://www.cronwell.ai/founder-letters
1•zvbz•20m ago•1 comments

Ask HN: What product analytics are you using?

1•asdev•23m ago•0 comments

Framework 16 Gets Nvidia RTX 5070 12 GB Upgrade Module for Eyewatering Price

https://www.techpowerup.com/348614/framework-laptop-16-gets-nvidia-rtx-5070-12-gb-upgrade-module-...
1•voxadam•24m ago•0 comments

Tencent used Anthropic's Claude to fine-tune it's new Hy3 AI model

https://www.reuters.com/world/china/chinese-companies-used-claude-improve-own-models-anthropic-sa...
2•webninja•24m ago•0 comments

CATL says sodium batteries are mainstream-ready, signs 60 GWh deal

https://electrek.co/2026/04/27/catl-sodium-ion-battery-60gwh-energy-storage-deal/
3•ravenical•27m ago•0 comments

Fedora 44

https://fedoraproject.org/
1•linzhangrun•27m ago•0 comments

Amazon to offer OpenAI models on AWS after Microsoft exclusivity ends

https://www.aboutamazon.com/news/aws/bedrock-openai-models
1•webninja•27m ago•1 comments

Anti-Trump Instagram pic of seashells now enough to indict ex-FBI directors

https://arstechnica.com/tech-policy/2026/04/anti-trump-instagram-pic-of-seashells-now-enough-to-i...
5•duxup•28m ago•1 comments

Five takeaways from the King's historic address to Congress

https://www.bbc.com/news/articles/c8jvl3x19v9o
1•defrost•29m ago•0 comments

Guinea Worm Disease

https://www.cartercenter.org/programs/guinea-worm/
1•gmays•31m ago•0 comments

vLLM-Compile: Bringing Compiler Optimizations to LLM Inference

https://docs.google.com/presentation/d/17WYU9T9qouY20zJg-7n_kV8DrMRJ2LHeNh_WXD6bUmc/view
1•matt_d•31m ago•0 comments

RecipeScape: An Interactive Tool for Analyzing Cooking Instructions at Scale

https://recipescape.kixlab.org/
1•skadamat•40m ago•0 comments

A Tool I Made

https://github.com/kianacaster/pman
1•kianacaster•41m ago•1 comments

Electrical current might be the key to a better cup of coffee

https://arstechnica.com/science/2026/04/electrical-current-might-be-the-key-to-a-better-cup-of-co...
1•Jimmc414•41m ago•0 comments

Modder releases PS5-Linux that turns console into a functional Linux PC

https://www.notebookcheck.net/Modder-releases-PS5-Linux-that-turns-the-console-into-a-fully-funct...
3•voxadam•42m ago•0 comments

Where Have All the Book Reviews Gone?

https://www.nytimes.com/2026/04/27/books/review/ai-book-reviews.html
1•samclemens•43m ago•1 comments

How to Glue Teflon

https://www.quirkyscience.com/how-to-glue-teflon/
2•BiraIgnacio•47m ago•0 comments

Kuleshov Effect

https://en.wikipedia.org/wiki/Kuleshov_effect
1•hyperific•47m ago•0 comments

Toward a Common Alphabet: There Is No Need for Menedzhment

https://zenodo.org/records/19869374
1•iliatoli•48m ago•0 comments

Structured-Prompt-Driven Development (SPDD)

https://martinfowler.com/articles/structured-prompt-driven/
2•cebert•48m ago•0 comments

Evaluating CUDA Tile for AI Workloads on Hopper and Blackwell GPUs

https://arxiv.org/abs/2604.23466
2•matt_d•52m ago•0 comments

What Is a "Now Page"?

https://nownownow.com/about
2•_vaporwave_•53m 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