frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Meanwhile Map – what else was happening in the world at the same time

https://meanwhilemap.com/
1•29b•1m ago•0 comments

Play YouTube Videos in Claude Code

https://twitter.com/GNUmanth/status/2107194414582137113
1•init0•1m ago•0 comments

New saber-toothed predator from Argentina shows its lineage survived longer

https://phys.org/news/2026-10-saber-toothed-predator-argentina-lineage.html
1•saikatsg•2m ago•0 comments

A conservation success story for New Zealand's heaviest insect

https://phys.org/news/2026-10-success-story-zealand-heaviest-insect.html
3•saikatsg•3m ago•0 comments

Miquel's Pentagon Theorem

https://www.johndcook.com/blog/2026/10/04/miquels-pentagon-theorem/
1•ibobev•3m ago•0 comments

The End of Software Secrecy

https://nitter.space/esrtweet/status/2106983467141509385#m
1•daoboy•4m ago•0 comments

AI nonprofit will spend $10M on journalism

https://www.semafor.com/article/10/04/2026/ai-nonprofit-will-spend-10-million-on-journalism
1•SLHamlet•4m ago•1 comments

Unroll a loop, make shader 10x faster

https://aras-p.info/blog/2026/10/05/Unroll-a-loop-make-shader-10x-faster/
1•ibobev•5m ago•0 comments

Reflection AI unveils an open-source Western answer to Chinese labs

https://www.semafor.com/article/10/05/2026/reflection-ai-unveils-an-open-source-answer-to-chinese...
1•CoryOndrejka•7m ago•0 comments

The Physicist Revolutionizing Physics with AI [video]

https://www.youtube.com/watch?v=oQypVVv1u1o
2•amichail•8m ago•0 comments

AI tool can reconstruct what you're looking at from a brain scan

https://www.technologyreview.com/2026/10/01/1145588/ai-mind-reading-reconstructs-what-youre-looki...
1•bookofjoe•8m ago•0 comments

Cloud and Local, One System

https://www.forjal.com/manifesto
1•Lucasllfs•9m ago•0 comments

Text classifiers in 51 languages that run on your CPU

https://playground.jeffyclassify.com/#multilingual
1•nico•9m ago•1 comments

The API Grand Prix Fabula About Macropay-Solutions PHP Ecosystem

https://medium.com/@marius-ciclistu/list/the-api-grand-prix-486dc1becb36
1•marius-ciclistu•9m ago•0 comments

Mineral Water Atlas of the World

https://mineralwaters.geo.uu.nl/world.php
1•coinfused•14m ago•0 comments

Show HN: Smolvm – MicroVMs with CRIU Functionality

https://smolmachines.com/engineering/branching-and-checkpoint-lineage
1•binsquare•14m ago•0 comments

Udon – Remote management for macOS home servers

https://udon.sh
1•oliexe•15m ago•0 comments

Show HN: Live carbon intensity and power prices for 15 European grids

https://scienceshot.com/live-grid
1•major_stef•15m ago•0 comments

Control other Windows computers with an MCP

https://phaze.app/blog/phaze-mcp-computer-use-it-support/
1•boxerbk•16m ago•1 comments

The Old Personal Web Is Going Quiet

https://widdershins.verja.net/the-old-personal-web-is-going-quiet/
2•speckx•17m ago•0 comments

Show HN: Spectra-FFT – Cutting AdamW VRAM Usage by 50% for LLMs

https://www.spectralabs.si/
1•KanishkIndia•18m ago•0 comments

After bankruptcy, he was banned from sports betting sites. Then he found Kalshi

https://www.npr.org/2026/10/02/nx-s1-5981420/kalshi-betting-prediction-markets-gambling-addiction
2•momentmaker•18m ago•0 comments

AI Companies Are Parasites

https://www.coryd.dev/posts/2026/ai-companies-are-parasites
4•cdrnsf•19m ago•0 comments

Show HN: A simple script to stop all cold sales emails from reaching your inbox

https://github.com/christianmat/cold-email-killer
1•pancomplex•20m ago•0 comments

OpenSSH Ships on Every Mac, Linux Server and Windows. Its Creator Trusts No One

https://zbruceli.org/blog/the-man-who-trusts-no-one/
5•zbruceli•23m ago•0 comments

Googlebook

https://googlebook.google/shop/
1•pelagicAustral•25m ago•1 comments

I built a Chrome extension that brings TikTok-style video browsing to desktop

https://chromewebstore.google.com/detail/empty-title/peejbgcjjdmgladmjmhccglgefmlckjm
1•DevFunny•26m ago•0 comments

The Future of Mathematics

https://terrytao.wordpress.com/2026/10/05/the-future-of-mathematics/
2•smilelamp•26m ago•0 comments

Countries Have the Same Name

https://signoregalilei.com/2026/10/04/these-6-countries-secretly-have-the-same-name/
1•speckx•26m ago•0 comments

Show HN: OneTUI 0.2.x k9s for your databases and message queues

https://github.com/syndbg/onetui
2•syndbg•29m 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