frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Iran's internet shutdown is chillingly precise and may last some time

https://www.theguardian.com/world/2026/jan/10/irans-internet-shutdown-is-strikingly-sophisticated...
1•robaato•3m ago•0 comments

"We write to ask that you enforce your app stores' terms of service against X" [pdf]

https://www.wyden.senate.gov/imo/media/doc/letter_to_apple_and_google_on_removing_x_and_grok_from...
1•robin_reala•4m ago•0 comments

Iran shuts down the internet amid protests, Starlink also affected

https://www.techradar.com/vpn/vpn-privacy-security/i-have-never-seen-such-a-thing-in-my-life-iran...
1•underdeserver•5m ago•1 comments

France taps out as G7 summit moved to avoid clash with White House UFC event

https://www.theguardian.com/sport/2026/jan/09/france-delays-g7-summit-white-house-ufc-trump-birthday
1•zeristor•10m ago•1 comments

IBM Advanced Business Institute

https://www.youtube.com/watch?v=DjQ2PAgUcM8
1•razodactyl•11m ago•0 comments

A year of work on the ALPM project

https://devblog.archlinux.page/2026/a-year-of-work-on-the-alpm-project/
1•Thom2000•11m ago•0 comments

Ripple wins UK regulatory approval from Financial Conduct Authority

https://www.coindesk.com/policy/2026/01/09/ripple-wins-uk-regulatory-approval-from-financial-cond...
1•7777777phil•13m ago•0 comments

Microsoft Windows Media Player stops serving up CD album info

https://www.theregister.com/2026/01/09/microsoft_windows_media_player_forgets/
1•7777777phil•17m ago•0 comments

A Black Hole 450M Light-Years Away Is Firing S-Shaped Jets

https://www.greenmatters.com/pn/a-black-hole-450-million-light-years-away-is-firing-strange-s-sha...
1•akg130522•18m ago•0 comments

Australia social media ban: Teens share their views one month on

https://www.bbc.com/news/articles/c0mpmgn3jv2o
2•giuliomagnifico•23m ago•0 comments

Postcards Connecting the World – Postcrossing

https://www.postcrossing.com/
1•Tomte•24m ago•0 comments

New Telegram PR that replaces 3 taps into 1 to switch user

https://github.com/TelegramMessenger/Telegram-iOS/pull/1977
1•bloodfire•24m ago•0 comments

Constantin Carathéodory: the Greek math wizard who helped Einstein

https://en.wikipedia.org/wiki/Constantin_Carath%C3%A9odory
2•greekanalyst•27m ago•0 comments

Quebec's Lake Rouge vanished – freak natural event or caused by human actions?

https://www.theguardian.com/world/2026/jan/10/quebecs-lake-rouge-vanished-but-was-it-a-freak-natu...
2•pseudolus•28m ago•0 comments

How I made the smallest PlayStation – PS1 Redesign Series Chapter 1

https://www.youtube.com/watch?v=q0sUCJE2s6A
1•truxs•34m ago•0 comments

Synthetic Biology Meets Neuromorphic Computing

https://arxiv.org/abs/2504.10053
3•greekanalyst•34m ago•0 comments

NASA Evacuating ISS Crew After Unprecedented Medical Situation

https://www.sciencealert.com/nasa-evacuating-iss-crew-after-unprecedented-medical-situation
2•ashishgupta2209•36m ago•0 comments

Great Blow

https://en.wikipedia.org/wiki/Great_Blow
1•zeristor•38m ago•0 comments

Finding and Fixing a 50k Goroutine Leak That Nearly Killed Production

https://skoredin.pro/blog/golang/goroutine-leak-debugging
3•ingve•42m ago•0 comments

Rqlite: Distributed Database Built on SQLite

https://rqlite.io/docs/features/
2•dvfjsdhgfv•43m ago•0 comments

The new Haskell Debugger for GHC 9.14

https://discourse.haskell.org/t/the-haskell-debugger-for-ghc-9-14/13499
1•romes•47m ago•0 comments

Immobilised (Part II)

https://zhaoxo.substack.com/p/immobilised-part-ii
1•shrinkzxo•47m ago•0 comments

Pointer Latency

https://rsms.me/projects/pointer-latency/
1•subset•48m ago•0 comments

Beating the Tutorial

https://elliotmorris.net/blog-a-day-3-beating-the-tutorial
1•demorro•49m ago•0 comments

Show HN: InfiniteGPU, An open-source AI compute network,now supporting training

https://github.com/Scalerize/InfiniteGpu
3•frank_lbt•50m ago•1 comments

Poker Manouche – A fast poker-inspired web game (PWA, solo / AI / multiplayer)

https://poker-2853b.web.app/
1•alexandre-g•51m ago•0 comments

Hackers fight back against ICE surveillance tech

https://www.theregister.com/2026/01/09/hackers_fight_back_against_ice/
1•abdelhousni•54m ago•0 comments

Show HN: Perplexity Comet MCP – Autonomous Web Browsing for Claude Code

https://github.com/RapierCraft/Perplexity-Comet-MCP
1•RapierCraft•55m ago•0 comments

Debian Taco – Towards a GitSecDevOps Debian

https://blog.josefsson.org/2026/01/09/debian-taco-towards-a-gitsecdevops-debian/
1•edward•59m ago•0 comments

Many small queries are efficient in SQLite

https://sqlite.org/np1queryprob.html
4•SmartHypercube•1h ago•0 comments
Open in hackernews

Ask HN: Any good tools to pgdump multi tenant database?

3•polishdude20•7mo 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•7mo 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•7mo 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•7mo 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•7mo 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•7mo ago
Oh yes I agree with you. It may become a big push to convince my org to do that