frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Morph Map – Visualise your codebase, sketch a refactor, and export the prompt

https://github.com/dannynatha-max/morph-map
1•dannynatha•14s ago•1 comments

A friend of mine built an agent-first group chat/social network

https://lamoom.com/
1•mikemilla•1m ago•1 comments

Under the hood, off the hot path: How D1 scales to databases

https://blog.cloudflare.com/d1-control-plane/
1•Icathian•11m ago•0 comments

Rustuna: A faster Optuna implementation in Rust

https://rustuna.readthedocs.io/en/latest/
1•jonbaer•11m ago•0 comments

Show HN: Lection – describe the data you want, get a table from any web page

https://www.lection.app
1•jlauf•13m ago•0 comments

Google's Fitbit Edge Has Health Features and a Replaceable Battery

https://www.engadget.com/2283307/googles-sleek-new-fitbit-edge-is-packed-with-health-features-and...
2•gmays•14m ago•0 comments

DuoDiscover: Scaling Autonomous Discovery Beyond the Evaluation Bottleneck

https://arxiv.org/abs/2610.17184
1•matt_d•15m ago•0 comments

AB Fab – On Anthony Burgess

https://www.lrb.co.uk/the-paper/v48/n18/ian-penman/ab-fab
2•feltsense•16m ago•0 comments

How to be more ambitious: A tutorial for humans with models

https://felixrieseberg.com/how-to-be-more-ambitious-a-tutorial-for-humans-with-models/
1•ot•18m ago•0 comments

Adobe Software Engineer Interview: Process, AI Rules and How to Prepare

https://nokku.payanai.com/interview-prep/adobe
2•payanai•18m ago•0 comments

Not Mutual but Assured

https://monroelab.com/2025/01/01/not-mutual-but-assured/
3•CGMthrowaway•19m ago•0 comments

Show HN: Ask a technical question, get an animated explainer you can interrupt

https://openlume.com/examples/3f65f6ce-87bf-4c81-a34b-3a1ec82f0ed1
1•shadaba•22m ago•0 comments

Helix World: A Real-Time Audio-Visual World Model

https://noiz.ai/lp/blog/meet-helix-world
1•gmays•23m ago•0 comments

Problems with the Rust Language

https://oxetene.net/problems-with-the-rust-language/
6•embedding-shape•24m ago•0 comments

Anthropic revenue jumps to $16.8B in third quarter

https://www.ft.com/content/11632d03-358c-454b-af95-d06d4072932b
7•orf•25m ago•1 comments

Benchmarking decision models for relevance judgments

https://iwhalen.com/relevance-bench/
1•iwhalen•26m ago•0 comments

What's a Nonius?

https://hackaday.com/2026/10/14/whats-a-nonius/
1•alberto-m•29m ago•0 comments

Strive Targets $500M Raise to Buy More Bitcoin

https://coinmarketcap.com/community/post/380133331/
1•joeymabia1•29m ago•1 comments

Show HN: Fantastic Canvas

https://github.com/aisixteen/fantastic
2•Alexadar•29m ago•2 comments

New York City Agrees to Profit-Sharing Deal with NYU Quantum Lab

https://www.nytimes.com/2026/10/14/nyregion/mamdani-nyu-quantum-partnership.html
1•appleappleapple•29m ago•0 comments

Nvidia's China AI-chip share falls to 34% as Huawei reaches 28%

https://technode.com/2026/10/14/nvidias-china-ai-chip-share-falls-to-34-as-huawei-reaches-28/
2•yogthos•31m ago•0 comments

Inference vs. Distillation

https://debarshibasak.github.io/readables/blogs/inference-vs-distillation
2•debarshri•32m ago•0 comments

Coding with AI stopped feeling like craft, so I built a tiny desk radio

https://radiowaveshare.vercel.app
1•mayilian•32m ago•0 comments

ESA targets Anbernic emulation handhelds as "superfake" piracy enablers

https://www.osnews.com/story/146148/esa-targets-anbernic-emulation-handhelds-as-superfake-piracy-...
1•iamnothere•34m ago•0 comments

Show HN: Walk or your virtual pet gets fat

https://apps.apple.com/au/app/terry-pedometer-step-counter/id6818785615
1•VatanaChhorn•36m ago•0 comments

Atelier – Watch AI Learn to Paint (Sometimes, Live)

https://atelier.randomdrake.com
1•randomdrake•36m ago•0 comments

ZenOS–A clean, minimal E-Reader experience

https://github.com/xZenLabs/zen-os
1•Cider9986•36m ago•0 comments

What MCP changes about enterprise software

https://www.deepl.com/en/blog/what-mcp-changes-about-enterprise-software
1•mooreds•36m ago•0 comments

Anthropic revenue jumps to $16.8B in third quarter, claims profitable

https://www.ft.com/content/11632d03-358c-454b-af95-d06d4072932b?syn-25a6b1a6
16•yakkomajuri•36m ago•2 comments

Stubborn Sellers Are the Last Thing Propping Up Home Prices

https://www.wsj.com/economy/housing/stubborn-sellers-are-the-last-thing-propping-up-home-prices-d...
1•toomuchtodo•36m 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