frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

KV Cache and Flash Attention with interactive diagrams

https://kvcache.cobanov.dev/
2•cobanov•1m ago•0 comments

The Long and Unprofitable Life of the Short Story Collection

https://laurabmcgrath.substack.com/p/the-long-and-unprofitable-life-of
1•ilamont•3m ago•0 comments

Singapore inks AI deals with Google

https://www.cnbc.com/2026/05/20/singapore-google-openai-ai-partnerships-lab-investment-chatgpt-ai...
1•01-_-•5m ago•0 comments

An OpenAI model has disproved a central conjecture in discrete geometry

https://openai.com/index/model-disproves-discrete-geometry-conjecture/
1•tedsanders•5m ago•0 comments

China banned Nvidia 5090D V2 while CEO Jensen Huang was in town, report claims

https://www.tomshardware.com/tech-industry/china-banned-nvidia-5090d-v2-while-ceo-jensen-huang-wa...
1•01-_-•6m ago•0 comments

The reason people stay on Chrome despite its terrible privacy track record

https://www.neowin.net/editorials/the-real-reason-everyone-stays-on-chrome-despite-its-terrible-p...
1•theanonymousone•7m ago•0 comments

Everyone Against Us (2023)

https://www.chicagomag.com/chicago-magazine/april-2023/everyone-against-us/
1•NaOH•7m ago•0 comments

Why Not Tail Recursion?

https://futhark-lang.org/blog/2026-01-20-why-not-tail-recursion.html
1•Munksgaard•9m ago•0 comments

How We Built Security into Computer

https://www.perplexity.ai/hub/blog/how-we-built-security-into-computer
1•gmays•9m ago•0 comments

The Refining Crisis – Part 1: Why Fuels, Not Crude, Are the Real Story

https://crackthemarket.substack.com/p/the-refining-crisis-part-1-why-fuels
1•JumpCrisscross•14m ago•0 comments

Cloudflare issue: Workers subrequests returning 1006

https://www.cloudflarestatus.com/incidents/37szr7sz1t5r
1•NiekvdMaas•16m ago•0 comments

Russia's plan to advertise on rockets and spacecraft takes off

https://arstechnica.com/space/2026/05/russias-plan-to-advertise-on-rockets-and-spacecraft-takes-off/
2•LorenDB•16m ago•0 comments

Show HN: expo-callkit-telecom – easily integrate CallKit/Core-Telecom

https://github.com/mfairley/expo-callkit-telecom
1•mfairley•17m ago•0 comments

Plan Meals. Save Cash. Stress Less

https://budgetbites.website
1•ClarenceJackson•17m ago•0 comments

Tracking Starbucks' 'recyclable' cups: none ended up at a recycling facility

https://www.beyondplastics.org/press-releases/starbucks-cups-recyclable-report
40•theanonymousone•19m ago•2 comments

Noemi Reveals Multi-Mission Strategy for Electric Amphibious Aircraft

https://www.ainonline.com/aviation-news/futureflight/2026-05-19/noemi-reveals-multi-mission-strat...
1•rbanffy•20m ago•0 comments

Startup Fundraising, just like Dating, are both deeply inefficient markets

https://intercoin.org/matchmaking.html
2•EGreg•21m ago•0 comments

End of the beginning – the state of global energy markets after ten weeks of war

https://nbutler.substack.com/p/the-end-of-the-beginning-the-state
1•JumpCrisscross•21m ago•0 comments

Node.js 26.0.0 (Now with Temporal)

https://nodejs.org/en/blog/release/v26.0.0
5•aarestad•22m ago•0 comments

Researchers discover a new gigantic dinosaur species in Thailand

https://abcnews.com/International/researchers-discover-new-gigantic-dinosaur-species-thailand/sto...
1•gmays•22m ago•0 comments

Ask HN: US is planning another Invasion (Cuba).Can Congress/public stop this?

3•orsenthil•23m ago•2 comments

Understand Russian without Studying [video]

https://www.youtube.com/watch?v=86zPQ53bgX0
2•diimdeep•23m ago•0 comments

GitHub Source code leaked. Be prepared

https://twitter.com/github/status/2056949169701720157
4•TZubiri•23m ago•1 comments

Show HN: Llama CPU Benchmarks

https://deemwar-products.github.io/llama-cpu-benchmarks/
1•muthuishere•23m ago•0 comments

What You Will Lose When You Retire – By Dan Haylett

https://danhaylett.substack.com/p/what-you-will-lose-when-you-retire
3•bilsbie•25m ago•1 comments

If an LLM is too expensive it won't be next year

http://liveatthewitchtrials.blogspot.com/2026/05/if-llm-is-too-expensive-it-wont-be-next.html
3•speckx•31m ago•0 comments

Citor: A header-only C++20 thread pool tuned for sub-us dispatch

https://github.com/Lallapallooza/citor
3•Lallapallooza•33m ago•0 comments

Flipper One Tech Specs

https://docs.flipper.net/one/general/tech-specs
5•gregsadetsky•36m ago•0 comments

Marine scientists discover record number of new species

https://abcnews.com/International/marine-scientists-discover-1100-new-species-new-record/story?id...
2•thunderbong•37m ago•0 comments

Notched sticks to calculators: the history of counting machines

https://lcamtuf.substack.com/p/a-brief-history-of-counting-stuff
2•fratellobigio•38m 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•12mo 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