frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Ask HN: How do you decide to cut scope when AI makes it so easy to add?

1•harlequinetcie•3m ago•0 comments

Virtual3D – Vulkan 3D Engine&Editor

https://starsigndev.itch.io/virtual3d
1•antonyrobwells•7m ago•0 comments

Taking Back the Copilot Button

https://smarmelling.com/posts/taking-back-the-copilot-button.html
2•smarmelling•13m ago•0 comments

Morstdio: Baremetal Morse Code I/O

https://gbkorr.github.io/r-bites/morstdio/morstdio.html
1•austinallegro•13m ago•0 comments

Australia Set to Sue Facebook, TikTok in Child-Safety Push

https://www.bloomberg.com/news/articles/2026-10-20/australia-to-sue-facebook-tiktok-for-alleged-b...
2•snikolaev•14m ago•0 comments

The Role of Exposition in the Future of Mathematics – Grant Sanderson [video]

https://www.youtube.com/watch?v=PtCPLLuMK1o
1•num42•21m ago•0 comments

A free Omarchy course: 25 modules and a capstone

https://stevinator.com/courses/omarchy/
1•smanookian•24m ago•1 comments

Why elevators keep anesthesia professionals up at night [4 min] [video]

https://www.youtube.com/watch?v=N4VGVEdN458
2•privacyishuman•25m ago•0 comments

Friction as a Feature

https://emilkowal.ski/ui/friction-as-a-feature
1•phartenfeller•27m ago•0 comments

Okay to share a free tool for field techs?

https://woextractor.com/
1•Syberscream•31m ago•1 comments

GitHub: Some Git over HTTPS may temporarily require authentication

https://github.blog/changelog/2026-10-19-some-git-over-https-may-temporarily-require-authentication/
3•csmantle•41m ago•0 comments

I turned a song into a Machine [video]

https://www.youtube.com/watch?v=6nULQQQZcvE
1•rslice•42m ago•0 comments

Pax8 Launches 8os

https://www.pax8.com/en-us/news-post/pax8-launches-8os-the-first-agentic-workforce-operating-syst...
1•simonjgreen•43m ago•0 comments

Quantum error correction well below the color code threshold [pdf]

https://cdn.prod.website-files.com/669960f53cd73aedb80c8eea/6ad6013f8ae0364b2cd03c53_c8c5526bc884...
1•unprovable•45m ago•0 comments

Field access in a Rust debug REPL, without reflection

https://github.com/100010/pry-rs
1•yoheisenju•46m ago•1 comments

Textus – WYSIWYG Markdown editor with built-in AI writing tools

https://textus.catvinci.com/
1•cobychapple•47m ago•0 comments

Ask HN: How to get the most intelligence out of your agents?

2•thechairman12•47m ago•1 comments

Training a Search-R1 Agent with Flame

https://xflops.io/blog/training-search-r1-with-flame/
1•k82cn•49m ago•0 comments

Where your money grows fastest

https://crazysoftwarecoder.github.io/where-it-grows/
1•ashyferny•49m ago•0 comments

Owners who spend more time close to their cats tend to have more positive moods

https://www.eurekalert.org/news-releases/1148065
3•gmays•54m ago•0 comments

Show HN: Visual heat map of AI news updated hourly

https://ai-news.jagular.io
1•jnaina•1h ago•0 comments

I put my cell number on my startup's homepage

1•civitasinnovare•1h ago•1 comments

Superintelligence Strategy (2025)

https://www.nationalsecurity.ai
2•reasonableklout•1h ago•1 comments

Americans Are Spending More Money to Drive Worse Cars

https://www.theatlantic.com/technology/2026/10/americans-not-buying-electric-cars/689071/
19•fortran77•1h ago•28 comments

Apple's OS release and how it impacts Identity Graphs

https://cunderwood.dev/2026/10/20/apples-os-release-and-how-it-impacts-identity-graphs/
1•abtestdev•1h ago•0 comments

Why do some data grids show blank rows during scrolling?

https://comparegrids.com/articles/article-why-grids-show-blank-rows
1•davidvela•1h ago•0 comments

Show HN: TMPlayer, a TV player for the videos in your own Telegram chats

https://github.com/dracu-lah/TMPlayer
1•nevilkrishnak•1h ago•0 comments

Advancing Fault-Tolerant Quantum Computing with GPU-Accelerated Simulation

https://nvidia.github.io/cuda-quantum/blogs/blog/2026/10/19/jupiter-magic-state-simulation/
1•wondersky•1h ago•0 comments

FaderBuddy – Plug-and-play motorized faders for ESPHome and more

https://github.com/scottbez1/FaderBuddy
1•foltik•1h ago•0 comments

U.S. Political Money Funnels to Indian Bots to Lure Voters

https://www.nytimes.com/2026/10/19/business/michigan-primary-disinformation-campaign.html
4•grandpajoey•1h 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