frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: ElNeo, a E2E enabled matrix client for Emacs, inspired by telega

https://github.com/aard-fi/elneo
1•finaard•57s ago•0 comments

The Law of the Instrument

https://reimar-servas.de/writing/2026-07-07/the-law-of-the-instrument/
1•roosgit•3m ago•0 comments

Nordwand Mono – A monospace font for coders and adventurers

https://github.com/tywr/Nordwand-Mono
1•noriax86•4m ago•0 comments

Java sealed classes and exhaustive pattern matching

https://neilmadden.blog/2026/04/24/java-sealed-classes-and-exhaustive-pattern-matching/
1•hnisjafx40•4m ago•0 comments

Why big dogs age faster

https://news.asu.edu/20261008-health-and-medicine-why-big-dogs-age-faster
1•gmays•9m ago•0 comments

Show HN: TaskPocket, a to-do app with an MCP server instead of built-in AI

https://taskpocket.io/
1•bohdanstefaniuk•12m ago•0 comments

World Bank says 'small AI' could transform developing countries

https://www.theguardian.com/technology/2026/oct/18/world-bank-artificial-intelligence-developing-...
3•simonpure•14m ago•0 comments

Nvidia Nemotron 3.5 Super VL Powers Specialized Agents with Multimodal Reasoning

https://developer.nvidia.com/blog/nvidia-nemotron-3-5-super-vl-powers-specialized-agents-with-mul...
2•gmays•14m ago•0 comments

A Note on Content Restrictions

https://blog.zarfhome.com/2026/10/a-note-on-content-restrictions
1•HotGarbage•15m ago•0 comments

Italy's guiltiest food ritual went public

https://www.bbc.com/travel/article/20261015-in-italy-bad-table-manners-can-be-a-compliment
2•tosh•17m ago•0 comments

Nerd Speak

https://www.fgault.com/articles/nerdspk.htm
1•bearseascape•18m ago•0 comments

High performance policy routed IPsec mesh SD-WAN

https://ranet3.com/
1•StepBroBD•20m ago•0 comments

Anthropic's proposed AI safety bill only kicks in if 50 deaths or $1B in damages

https://www.tomshardware.com/tech-industry/artificial-intelligence/anthropics-proposed-ai-safety-...
8•f-serif•21m ago•0 comments

Show HN: Distance Fields Visualization

https://visualrambling.space/distance-fields/
1•damarberlari•22m ago•0 comments

Coding Agents Build For The Grader They Imagine, Not The User

https://joinhandshake.com/research/ai/deepswe-reward-hacking/
1•optimalsolver•23m ago•0 comments

SpaceX Starshield

https://www.spacex.com/starshield
1•asjkff•24m ago•0 comments

GDP: The Only Number That Matters

https://www.vox.com/policy/471950/gross-domestic-product-economics-metrics-growth
1•barry-cotter•25m ago•0 comments

US Rep proposes bill to give video game buyers "ownership," not "a license"

https://arstechnica.com/gaming/2026/10/us-rep-proposes-bill-to-give-video-game-buyers-ownership-n...
4•pseudolus•27m ago•0 comments

Pactern Language: Delegate the code. Keep the contract

https://andrewarrow.dev/pactern/
1•andrewfromx•28m ago•0 comments

Category theory is hilariously recursive

https://t3.at/blog/2025-10-12-categories/
1•andsoitis•28m ago•0 comments

Can Science Save Meetings?

https://knowablemagazine.org/content/article/society/2026/can-science-save-meetings
2•pseudolus•28m ago•0 comments

When the KV Cache Is Slower Than the GPU: Scaling Remote KV Tiers

https://arxiv.org/abs/2610.21500
1•wondersky•28m ago•0 comments

Show HN: DocuMemory – Persistent memory and context for AI coding tools

https://www.documemory.dev/
2•veryslowcode•29m ago•0 comments

Petal, the first petabit transoceanic fiber cable

https://www.livescience.com/technology/communications/new-4-300-mile-long-internet-cable-will-shu...
2•geox•31m ago•0 comments

GhostAction hid a credential stealer in a fake font file in 94 GitHub repos

https://opensourcemalware.com/blog/ghostaction-copycats-polinrider-by-hiding-a-stealer-in-a-fake-...
3•wondersky•32m ago•0 comments

Show HN: An open-source curation of most useful ChatGPT Plugins

https://github.com/Asdivyansh/Awesome-ChatGPT-Plugins
3•AsDivyansh•32m ago•1 comments

Software is recursive and AI is the base case

https://t3.at/blog/2026-10-06-ai-base-case/
1•andsoitis•34m ago•0 comments

Chinese Automakers Are Building American-Style Cars–Just Not for Americans

https://www.wsj.com/business/autos/chinese-automakers-are-building-american-style-carsjust-not-fo...
1•bookofjoe•35m ago•1 comments

Tesla 'Cannot Guarantee' Roadster Reservation Holders Will Ever Get a Car

https://www.thedrive.com/news/tesla-cannot-guarantee-roadster-reservation-holders-will-ever-get-a...
4•healsdata•35m ago•2 comments

The Model Is the Company

https://alexwang.ai/posts/the-model-is-the-company/
1•andsoitis•39m 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