frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Ytd – an intuitive, free, simple YouTube downloader for Mac

https://products.n0agi.com/ytd/
1•N0AGI•1m ago•0 comments

A temp email checker I built for myself that now ranks in Google's top five

https://reloop.sh/tools/temp-email-checker
1•pranavp10•3m ago•0 comments

SoftBank seeks $100B from Gulf investors to expand AI bet

https://www.ft.com/content/3bc0eaa5-a8d4-47e8-903c-7dd762d947dd
2•mikhael•4m ago•0 comments

Why Are Coding Agents So Dumb?

https://mtlynch.io/why-are-coding-agents-so-dumb/
1•mtlynch•5m ago•0 comments

Knowing Enough to Read the Code

https://karlkoch.me/writing/on-knowing-enough-to-read-the-code/
1•speckx•6m ago•0 comments

Yandex Takes a Second Data Center Hit in 48 Hours

https://united24media.com/war-in-ukraine/yandex-takes-a-second-data-center-hit-in-48-hours-now-it...
4•ortusdux•6m ago•0 comments

Show HN: Parlaypals group sports parlays with friends: Elixir/Phoenix LiveView

https://parlaypals.bet
1•thedangler•7m ago•0 comments

Why Small CPU Caches Make Such a Big Difference

https://medium.com/hzlms/hzlms-5-why-do-caches-help-even-when-they-are-tiny-53ad53b87942
1•asbassan•7m ago•0 comments

Show HN: eBay sold listings APIs and MCP

https://soldfetch.com
1•qwikhost•7m ago•0 comments

Getting old Macromedia Director Games to run on modern Hardware

https://werwolv.net/posts/macromedia_copy_protection/
2•speckx•8m ago•0 comments

Mac Shipments Fall, but Apple Still Gains Ground in Shrinking Market

https://www.macrumors.com/2026/10/09/mac-shipments-fall-but-apple-gains-ground/
1•tosh•9m ago•0 comments

OwpenGram – open-source messenger that speaks the MTProto protocol

https://owpengram.org/
2•1ark•10m ago•0 comments

Luminum – turn your Raspberry Pi into "focus mode" workstation

https://luminum.tech
2•brisky•11m ago•0 comments

The next-gen borrow checker, a drop-in replacement for Rust borrow checking

https://gist.github.com/FlameyosSnowy/a49a35ba006238be55d8c3e410c31061
2•0x1997•12m ago•0 comments

Court throws out killer's sentence after judge said he loved AI video of victim

https://www.nbcnews.com/news/us-news/sentence-vacated-ai-video-dead-victim-rcna601457
6•rbanffy•12m ago•0 comments

We solved SQLite's single-writer limitation

https://marcobambini.substack.com/p/we-solved-sqlites-single-writer-limitation
3•marcobambini•14m ago•0 comments

American Airlines extends Starlink Wi-Fi roll-out to mainline fleet

https://www.reuters.com/business/aerospace-defense/american-airlines-extends-starlink-wi-fi-roll-...
1•paaloeye•18m ago•0 comments

In Race with U.S., China Struggles to Recruit Foreign A.I. Researchers

https://www.nytimes.com/2026/10/06/science/china-ai-research-recruitment.html
1•rbanffy•18m ago•0 comments

Guess the football player based on their career

https://derabona.club/?lang=en
3•nelson687•20m ago•0 comments

HEIF Heist – One image parser to pwn them all

https://heif-heist.com
1•chillax•20m ago•0 comments

Abolish Frat Culture

https://besskalb.substack.com/p/abolish-frat-culture
3•colinprince•21m ago•0 comments

Ask HN: How are you dealing with PR apocalypse?

1•srirangr•22m ago•0 comments

Living Models pairs Gemma 4 with BOTANIC-1 to help decode plant DNA

https://deepmind.google/models/gemma/gemmaverse/living-models/
1•gmays•22m ago•0 comments

An LSM storage engine beat InnoDB on TPC-C at 4k warehouses in MySQL

https://tidesdb.com/articles/large-tpc-c-analysis-with-mysql-v26-7-0-on-innodb-and-tidesdb/
1•alexpadula•24m ago•0 comments

Step 5 Preview now available on AI Gateway

https://vercel.com/changelog/step-5-preview-now-available-on-ai-gateway
1•WavyPeng•25m ago•0 comments

Portainer GitOps Bypass Enables Host Takeover

https://www.vulnetic.ai/blog/portainer-gitops-bypass-enables-host-takeover
2•samuelknight•25m ago•0 comments

Michael I. Jordan on AI: "Superintelligence is science fiction"

https://www.di.ens.fr/~fbach/MJordan_ITW_Liberation_English.html
1•theanonymousone•27m ago•0 comments

Safeguard agents in plain English with decision models

https://berget.ai/en/blog/guardrails-md-launch
4•urvader•28m ago•0 comments

Deepthi Sigireddi from Supabase

https://theconsensus.dev/p/2026/10/08/deepthi-sigireddi-from-supabase.html?focus=1
1•eatonphil•30m ago•0 comments

Show HN: Tode – Analytics for Figma plugins, which run in a null-origin iframe

https://usetode.dev/
1•kolebayev•30m 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