frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Lucy edits videos in realtime, now with more capabilities and greater control

https://lucy.decart.ai/
1•eddieoz•2m ago•0 comments

'Food Is Medicine'

https://reasonstobecheerful.world/food-is-medicine-study/
2•fodmap•2m ago•0 comments

Ask HN: How long should I wait before being able to post?

2•ThierryRkt•4m ago•0 comments

Coding in space, AI-XR, and new interaction paradigms for devs

https://blog.jetbrains.com/research/2026/07/ai-and-xr-future/
1•katie_fraser•4m ago•0 comments

xAI can't deny Grok makes CSAM anymore. So it's suing users

https://arstechnica.com/tech-policy/2026/07/xai-cant-deny-grok-makes-csam-anymore-so-its-suing-us...
1•isaacfrond•6m ago•0 comments

Electric-steam locomotive

https://en.wikipedia.org/wiki/Electric%E2%80%93steam_locomotive
1•networked•8m ago•0 comments

Astronomers discover first atmosphere around a rocky Earth-like planet

https://www.space.com/astronomy/exoplanets/astronomers-discover-1st-atmosphere-around-a-rocky-ear...
1•isaacfrond•9m ago•0 comments

A structurally chunked, pre-embedded SQLite corpus of the EU AI Act

https://huggingface.co/datasets/faitholopade/aiact-openrag
1•olopadef•12m ago•0 comments

One link-click Google account takeover

https://weirdmachine64.github.io/research/google-oauth-device-code-hijacking.html
1•zx8080•13m ago•0 comments

Trump made $1.4B from crypto in one year. Is Justin Sun the man who helped him?

https://www.theguardian.com/technology/ng-interactive/2026/jul/16/justin-sun-trump-family-crypto
1•beardyw•20m ago•0 comments

The most expensive instruction might be cmov

https://questdb.com/blog/cmov-vs-branch-perf/
1•theanonymousone•21m ago•0 comments

The Word "Emoji" Is Older Than You May Think

https://blog.emojipedia.org/the-word-emoji-is-older-than-you-may-think/
2•msephton•22m ago•0 comments

Show HN: cc-context-telemetry - context and rate-limit % in Claude Code's bar

https://github.com/alagiz/cc-context-telemetry
1•alagiz•24m ago•0 comments

Trump Media to sell instant access to 'market-moving' social posts

https://www.bbc.com/news/articles/c79gw4lj89eo
2•NikxDa•24m ago•0 comments

A visual data-app builder that generates SvelteKit source

https://svgrid.com/studio
1•boikom•32m ago•0 comments

America's Open-Model Paradox

https://twitter.com/DeanMeyerrr/status/2077834267086729674
1•aivantg•47m ago•0 comments

Show HN: We Want to Improve the Linux Experience on T2 Macs with KaiT2en Fedora

https://github.com/kaiT2en/KaiT2en-Fedora/
3•4l3x4f1sh3r•51m ago•3 comments

Grep by example: Interactive guide

https://antonz.org/grep-by-example/
4•saikatsg•52m ago•0 comments

Pushinka

https://en.wikipedia.org/wiki/Pushinka
3•benbreen•52m ago•0 comments

Gist of Go: Concurrency

https://antonz.org/go-concurrency/
1•saikatsg•52m ago•0 comments

We're Going to Make Out Like Bandits

https://www.rocketpoweredjetpants.com/2026/04/were-going-to-make-out-like-bandits/
1•birdculture•58m ago•0 comments

Passwork Shares Data with State-Certified Russian Firm

https://www.occrp.org/en/investigation/european-password-manager-shares-origins-and-updates-with-...
3•u1hcw9nx•1h ago•0 comments

Isvisible.ai, check if AI crawlers can access your site

https://isvisible.ai
1•alpkorpe•1h ago•0 comments

Show HN: Flick – Swipe Your Email

https://flicked.email/
2•Belkins•1h ago•1 comments

A few thoughts on building a terminal ePub reader with AI

https://github.com/newptcai/repy
3•dawdler-purge•1h ago•1 comments

Show HN: Open-source control engine for agents

https://attestorportal.com/
1•Oxlamarr•1h ago•0 comments

Netflix says around 300 titles used generative AI

https://www.theverge.com/streaming/966633/netflix-ai-titles-q2-2026-earnings
2•JamesAdir•1h ago•0 comments

Tech note: making your own V-I plots at home

https://lcamtuf.substack.com/p/tech-note-making-your-own-v-i-plots
1•surprisetalk•1h ago•0 comments

MongoDB Access Control – Users, Roles, and Permissions

https://visualeaf.com/blog/mongodb-access-control-users-roles-and-permissions/
3•mike_codes•1h ago•0 comments

Yggvault: Mirror Your Dependencies in One Binary

https://hackaday.io/project/206175-yggvault-mirror-your-dependencies-in-one-binary
1•SUNsung•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