frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Safe, automated bug discovery and fixing with Prospero

https://nullprogram.com/blog/2026/11/27/
1•ibobev•53s ago•0 comments

C++ String Benchmark: STL vs. ATL vs. Custom Pool Allocator

https://giodicanio.com/2026/11/15/c-plus-plus-string-benchmark-stl-vs-atl-vs-custom-pool-allocato...
1•ibobev•1m ago•0 comments

Benchmarking ImageOptim Settings

https://harrisonbroadbent.com/blog/compress-images-imageoptim/
1•hbroadbent•1m ago•0 comments

Yakov Perelman – Physics Can Be Fun (1975)

https://archive.org/details/yakov-perelman-physics-can-be-fun-mir-1975
1•the-mitr•3m ago•0 comments

The Perils of `sudo vim`

https://ohaodha.ie/blog/the-perils-of-sudo-vim/
1•ohaodha•4m ago•0 comments

X implements parental controls for teen users

https://mashable.com/tech/x-twitter-elon-musk-parental-controls-teens
1•extasetoi12•4m ago•0 comments

Show HN: Interactive model benchmarks from routing real development work

https://oreshkin-model-atlas.cybertest.workers.dev/
1•vedmed•10m ago•0 comments

Learning Smalltalk with AI after reading a 1981 paper

https://www.cs.virginia.edu/~evans/cs655/readings/smalltalk.html
1•g_host56•12m ago•1 comments

Show HN: Wwwet – web based webauthn and SSH and et client

https://github.com/blmarket/wwwet
1•blmarket•32m ago•0 comments

Hacker Laws

https://github.com/dwmkerr/hacker-laws
1•Olshansky•35m ago•0 comments

Jagex, creators of RuneScape, detected unauthorised access to systems

https://support.runescape.com/hc/en-gb/articles/53510390987409--28-NOV-Downtime
2•sikozu•36m ago•0 comments

"Sigh my Google account got banned" [for using Neon/Antigravity]

https://twitter.com/itsnoahd/status/2126815531189596363
3•gadtfly•45m ago•4 comments

The US trade gap more than doubled in the last 12 months

https://www.independent.co.uk/news/world/americas/us-politics/trump-economy-loser-trade-tariffs-p...
3•mandeepj•49m ago•0 comments

What Puri reveals about safer urban water systems in India

https://www.weforum.org/stories/food-water-and-clean-air/what-puri-reveals-about-safer-urban-wate...
1•vismit2000•54m ago•0 comments

SoCal has over 80 aftershocks after a 5.0 earthquake earlier today

https://l.facebook.com/l.php?u=https%3A%2F%2Fabc7.la%2FwEBPYM%3Ffbclid%3DIwZXh0bgNhZW0CMTAAcGRvZg...
1•illidan1000•56m ago•1 comments

Unconventional resistivity reduction in NbP semimetal nanoribbons

https://www.nature.com/articles/s41586-026-11288-8
1•droidjj•56m ago•0 comments

Mean: A Brainfuck equivalent for Lean proofs

https://github.com/0hq/mean
1•fredrickd•1h ago•1 comments

Speculative Encoding: Many-to-Many Cache Translation

https://twitter.com/RampLabs/status/2125625946229064118
2•gmays•1h ago•0 comments

I Built a Library for Car Parts Nobody Makes Anymore [video]

https://www.youtube.com/watch?v=2RGvYjgwxGs
2•walterbell•1h ago•0 comments

Programming Languages Are for Humans

https://fzakaria.com/2026/11/27/programming-languages-are-for-humans
3•Brajeshwar•1h ago•3 comments

Keeps – Your Internet, Curated

https://apps.apple.com/in/app/keeps-your-internet-curated/id6759448141
1•niteshk770•1h ago•1 comments

The Front Page · Nov 27, 2026

https://hndocs.org/t/the-front-page-nov-27-2026/
1•lusob•1h ago•0 comments

Claude Sandbagged my Local Inference Kernels – An engineering breakdown

https://twitter.com/WinterCharmVT/status/2126820958627664204
3•wintercharm•1h ago•2 comments

Show HN: WebBrain – Open-source browser agent for local LLMs (Ollama, llama.cpp)

https://github.com/webbrain-one/webbrain
12•webbrain-one•1h ago•11 comments

AI enthusiast deletes Linux for a 24KB OS that boots in 74 ms

https://www.tomshardware.com/tech-industry/artificial-intelligence/ai-enthusiast-deletes-linux-to...
6•qtqtqt•1h ago•0 comments

Memory Tagging Extension (MTE) Exploit Mitigation for Mastodon

https://yawn.net/blog/mte-for-mastodon/
3•hasheddan•1h ago•0 comments

Reading unreadable tapes: A universal reader for mini QIC cartridges

https://dmitrybrant.com/2026/11/28/mini-qic-universal-reader
2•zdw•1h ago•0 comments

Proving a Fixed Upper Bound on Jensen's Affairs (J. Cincinnati, 2026) [pdf]

https://media.bitbanter.com/pdf/2026-11-25-proving-a-fixed-upper-bound-on-jensens-affairs.pdf
3•verandaguy•1h ago•0 comments

Cumulative Measurement Error

https://aphyr.com/posts/431-cumulative-measurement-error
2•zdw•1h ago•0 comments

Fire Detection: Heat, RGB, and a Viral BBQ Sign

https://zlu.me/2026/11/29/fire-detection-heat-rgb-viral-bbq-sign.html
2•zlu•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