frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Claude Opus 4.6 was nerfed prior to release of Opus 4.7

https://twitter.com/levelsio/status/2047387029915271445
1•nomilk•30s ago•0 comments

AI Kills HTML?

https://twitter.com/zan2434/status/2046982383430496444
1•cuttothechase•31s ago•0 comments

What is on my phone in 2026

https://joshblais.com/blog/what-is-on-my-phone-in-2026/
1•colinprince•1m ago•0 comments

I gave an AI persistent memory, self-learning, and earned autonomy

https://github.com/WingedGuardian/GENesis-AGI
1•genesiscogai•1m ago•1 comments

Affinity is now free – what's the catch?

1•appstorelottery•2m ago•0 comments

DeepSeek-V4 Technical Report [pdf]

https://huggingface.co/deepseek-ai/DeepSeek-V4-Pro/blob/main/DeepSeek_V4.pdf
2•tianyicui•5m ago•0 comments

Medical Student Created Top Influencer 'Emily Hart' Using AI, Making $ Thousands

https://www.ibtimes.co.uk/ai-generated-influencer-emily-hart-maga-1793120
1•Baljhin•9m ago•0 comments

The System of Context for Production AI

https://www.mezmo.com/aura
1•pranay01•12m ago•0 comments

Nev – keyboard focused GUI and terminal text editor

https://github.com/Nimaoth/Nev
1•archargelod•15m ago•0 comments

I used to generically engineer plants to increase yield,now I sell garlic online

https://Demeterfamilyfarm.com
1•Hilliard_Ohiooo•16m ago•0 comments

XOXO Festival Archive

https://xoxofest.com/
1•surprisetalk•20m ago•0 comments

Introducing Data Exports

https://socket.dev/blog/introducing-data-exports
1•ilreb•26m ago•0 comments

Show HN: RustNmap

1•greatwallisme•27m ago•0 comments

These are the countries moving to ban social media for children

https://techcrunch.com/2026/04/23/social-media-ban-children-countries-list/
1•evo_9•33m ago•0 comments

AI agent designs a complete RISC-V CPU from 219-word spec sheet in just 12 hours

https://www.tomshardware.com/tech-industry/artificial-intelligence/ai-agent-designs-a-complete-ri...
2•maxloh•33m ago•0 comments

Fancy-Regex 0.18.0 Release

https://github.com/fancy-regex/fancy-regex/releases/tag/0.18.0
1•indentit•34m ago•1 comments

Why I Write (1946)

https://www.orwellfoundation.com/the-orwell-foundation/orwell/essays-and-other-works/why-i-write/
17•RyanShook•34m ago•1 comments

Vibe Check: GPT-5.5 Has It All

https://every.to/vibe-check/gpt-5-5
1•swolpers•36m ago•0 comments

Cert-Checker

https://github.com/mrtoadie/go-check-cert
1•ashitlerferad•39m ago•0 comments

A Eulogy for Vim

https://drewdevault.com/blog/Forking-vim/
2•signa11•39m ago•1 comments

Short and Long-Term Consequences of Intra-Household Disease Spread [pdf]

https://www.nber.org/system/files/working_papers/w29524/w29524.pdf
1•alphabetatango•44m ago•0 comments

Project Omni

https://github.com/misaeldasilva123ms96-commits/Projeto-Omni
1•zaydenrivas•48m ago•0 comments

Too much noise with AI startups

1•xtannotnoise•48m ago•0 comments

Apple Changes Prongs on MacBook Chargers; Breaks Compatibility

https://discussions.apple.com/thread/256262949?sortBy=rank
1•gardnr•48m ago•1 comments

Show HN: Trustless Campaigns – Gecko transforms brand-creator deals

https://www.geckovision.tech
1•ernanibmurtinho•50m ago•0 comments

A flood of useful security reports

https://lwn.net/Articles/1066581/
1•signa11•51m ago•0 comments

Show HN: Sprite sheets from prompts (Codex skill)

https://github.com/0x0funky/agent-sprite-forge
1•super135799•51m ago•0 comments

The George Business, by Roger Zelazny (1980)

https://www.eternal-flame.org/library/oldlibrary/georgebusiness.html
1•xeonmc•53m ago•0 comments

Canonical Releases Ubuntu 26.04 LTS Resolute Raccoon

https://ubuntu.com//blog/canonical-releases-ubuntu-26-04-lts-resolute-raccoon
2•jruohonen•53m ago•1 comments

Ireland must recuse itself from EU Presidency digital files

https://www.iccl.ie/press-release/ireland-recuse-eu-presidency-digital-files-enforce/
1•jruohonen•56m ago•2 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