frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

AI Can't Do the Last 20%

https://www.vincentschmalbach.com/ai-cant-do-last-20/
1•vincent_s•50s ago•0 comments

Why Fast Branching Is Key to AI Agent-Era Databases

https://medium.com/@Koukyosyumei/why-fast-branching-is-key-to-ai-agent-era-databases-6249a129a802
1•syumei•3m ago•0 comments

Steganographic Language Output Process Encoding

https://cryptography.dog/blog/steganographic-language-output-process-encoding/
1•ColinWright•4m ago•0 comments

The reconnect storm that never touched the broker

https://www.sidexlabs.com/posts/reconnect-storm
1•thechuckgroup•5m ago•0 comments

Build a whole marketing team with eve

https://github.com/vercel-labs/marketing-team-eve-template
1•flashbrew•7m ago•0 comments

You, too, can never, ever relax

https://news.harvard.edu/gazette/story/2025/04/you-too-can-never-ever-relax/
1•surprisetalk•10m ago•0 comments

AI doesn't get better at this board game with practice

https://epoch.ai/publications/earthborne-rangers-benchmark
1•speckx•11m ago•0 comments

Avoid the Trap of Magical Thinking

https://bjorg.bjornroche.com/management/magical-thinking/
2•mooreds•11m ago•0 comments

How to answer ethical concerns about AI

https://www.theaithinker.com/p/how-to-answer-ethical-concerns-about
1•adamfaik•13m ago•0 comments

How al-Qaida and IS are adopting AI

https://theconversation.com/al-qaida-and-the-islamic-state-are-both-adopting-ai-but-differ-in-how...
1•teaman2000•13m ago•0 comments

Iarpa

https://en.wikipedia.org/wiki/Intelligence_Advanced_Research_Projects_Activity
1•gregsadetsky•13m ago•0 comments

AI as Normal Technology

https://knightcolumbia.org/content/ai-as-normal-technology
2•ETH_start•14m ago•0 comments

Surprising Portion of Rent-Stabilized Apartments Go to NYC's Wealthiest Renters

https://www.wsj.com/real-estate/a-surprising-portion-of-rent-stabilized-apartments-go-to-nycs-wea...
3•JumpCrisscross•15m ago•0 comments

Show HN: Read the Places – a map of every real place in 392 novels

https://readtheplaces.com/
2•markselby•18m ago•0 comments

Stirring Up the Colonial Past

https://oxonianreview.com/articles/stirring-up-the-colonial-past
2•speckx•18m ago•0 comments

Show HN: How many more times will you see your mother?

https://countyourtimes.com
1•alexjray•19m ago•0 comments

Being a Luddite Is Fun Again

https://www.404media.co/luddite-events-nyc-off-tech-summer-of-ludd/
1•cdrnsf•20m ago•0 comments

Four Agent Frameworks in Sixteen Months

https://engineering.vasco.app/articles/four-agent-frameworks/
2•scastiel•20m ago•0 comments

We Tested Nonstick Cookware: Coatings Don't Need to Look Worn to Shed Particles

https://www.rtings.com/air-fryer/learn/research/ptfe-cookware-shedding
1•cdemer•21m ago•1 comments

Pigeongram

https://www.pigeongram.com/
2•austinallegro•25m ago•0 comments

Show HN: QuickMark – Markdown app for macOS with a Quick Look preview extension

https://quickmarkmd.com/
1•nguyendinhdoan•26m ago•0 comments

Show HN: Arcade.js – Decompiling MAME ROMs into Idiomatic JavaScript with LLMs

https://github.com/qarl/arcade-js
1•qarl2•27m ago•0 comments

Canada remains anti-nuke, but its potential path to the bomb is getting shorter

https://www.cbc.ca/news/politics/canada-remains-antinuke-road-to-bomb-getting-shorter-9.7283194
2•throw0101d•27m ago•0 comments

The Royal Order of Operations

https://ken.fyi/ooo
1•surprisetalk•29m ago•0 comments

Languages as Designed Latent Spaces

https://blog.jsbarretto.com/post/languages-as-latent-spaces
1•birdculture•31m ago•0 comments

The Mathematics of Build Queue Optimization and Auto-Scaling

https://www.iankduncan.com/engineering/autoscaling-build-fleets-queueing-theory/
1•speckx•31m ago•0 comments

Euro budget airline UX dark patterns showdown 2026

https://blog.osull.com/2026/07/27/euro-budget-airline-ux-dark-patterns-showdown-2026/
1•danosull•32m ago•0 comments

Probability and Estimation on Census Data

https://stochastic.blog/probability-and-estimation-on-census-data/
1•Anon84•32m ago•0 comments

So what is your programming setup? Hype is making fundamentals confusing

4•danirogerc•33m ago•3 comments

I Did It

https://rogix.dev/i-did-it
4•rogix•33m 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