frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Commoning open-source versus growth-hacking open-source

https://garagehq.deuxfleurs.fr/blog/2025-commoning-opensource/
1•todsacerdoti•58s ago•0 comments

AI Art Is Weird, Sad, and Ugly. Let's Not Pretend Otherwise

https://jacobin.com/2025/12/ai-slop-art-aesthetics-technology-capital/
1•thunderbong•1m ago•0 comments

Non-Obvious Things I Learned About GEPA

https://www.elicited.blog/posts/non-obvious-things-about-gepa/
1•justanotheratom•2m ago•1 comments

Tensor 1.5 matches Opus 4.5 94% cheaper and 20x faster

https://movementlabs.ai
1•movementlabsAI•2m ago•0 comments

Einstein: NewtonOS running on other operating systems

https://github.com/pguyot/Einstein
1•fanf2•9m ago•0 comments

2B R 0 2B

https://www.gutenberg.org/files/21279/21279-h/21279-h.htm
1•memalign•10m ago•0 comments

Flock license plate reader recorded its own theft, suspect in custody

https://www.fox35orlando.com/news/mount-dora-police-flock-license-plate-reader-theft-recorded-sus...
1•gscott•13m ago•0 comments

Spirograph style Lego drawing machine

https://jkbrickworks.com/simple-drawing-machine/
1•ensocode•14m ago•0 comments

Netrw.vim Repository Archived

https://github.com/saccarosium/netrw.vim
1•dzogchen•22m ago•0 comments

Couples rate honesty/trust/sex/money 1-10 → AI coach closes every gap

https://apps.apple.com/us/app/bondbeyond-relationship-care/id6443636330
1•Developodroid•22m ago•0 comments

Why IBM's CEO doesn't think current AI tech can get to AGI

https://www.theverge.com/podcast/829868/ibm-arvind-krishna-watson-llms-ai-bubble-quantum-computing
1•donutloop•23m ago•0 comments

One Shot Prompt from Database Schema

https://hub.harvis.io/
1•putna•23m ago•2 comments

Show HN: SimpSave – A lightweight Python KV store with read‑and‑use persistence

https://github.com/Water-Run/SimpSave
1•WaterRun•23m ago•0 comments

How to Import OST File to Office 365?

1•fardeen7186•25m ago•1 comments

Show HN: Qrdrop: Because file sharing shouldn't feel like work

https://peerlist.io/behi_beta/project/qrdrop
1•behnamazimi•27m ago•0 comments

The Kenyan Workers Training China's AI Models

https://restofworld.org/2025/kenya-china-ai-workers/
1•untwerp•30m ago•0 comments

How would your feed look if you got to control what you saw on social media?

https://www.abc.net.au/news/2025-12-08/chanel-contos-teach-us-consent-fix-our-feed/106107546
1•robin_reala•35m ago•0 comments

The overlooked engineering behind high-efficiency LEDs

1•emmasuntech•38m ago•0 comments

Show HN: Bat‑KV – A tiny single‑file KV database for Windows Batch scripts

https://github.com/Water-Run/Bat-KV
1•WaterRun•39m ago•0 comments

ZTE's Nubia M153 Running ByteDance's Doubao AI Agent

https://twitter.com/TaylorOgan/status/1996538308697137277
2•xnhbx•42m ago•0 comments

Netflix won Hollywood's biggest prize

https://techcentral.co.za/how-netflix-won-hollywoods-biggest-prize/275319/
1•amalinovic•42m ago•0 comments

Why AI coding agents arent production-ready

https://venturebeat.com/ai/why-ai-coding-agents-arent-production-ready-brittle-context-windows-br...
2•_____k•44m ago•0 comments

Migrating Burningboard.net Mastodon Instance to a Multi-Jail FreeBSD Setup

https://blog.hofstede.it/migrating-burningboardnet-mastodon-instance-to-a-multi-jail-freebsd-setu...
6•todsacerdoti•45m ago•0 comments

Vector DB Comparison

https://agentset.ai/blog/best-vector-db-for-rag
1•tifa2up•46m ago•0 comments

Why I hate the myth of the suffering artist (2012)

https://www.theguardian.com/books/booksblog/2012/apr/02/myth-of-the-suffering-artist
1•robtherobber•51m ago•0 comments

Show HN: PolyBets – Prediction Market for Auctions (Bet on Auction Results)

https://polybets.fun/
5•h100ker•53m ago•2 comments

The f*** off contact page

https://www.nicchan.me/blog/the-f-off-contact-page/
72•OuterVale•53m ago•17 comments

Use Python for Scripting

https://hypirion.com/musings/use-python-for-scripting
2•birdculture•59m ago•2 comments

Show HN: I built MonumentValley3Wiki.com – a fan wiki for Monument Valley 3

https://monumentvalley3wiki.com/
1•WanderZil•59m ago•0 comments

Brighton ban Guardian from stadium over reporting on Tony Bloom

https://www.theguardian.com/football/2025/dec/07/brighton-bans-guardian-from-stadium-over-reporti...
5•Daviey•1h ago•0 comments
Open in hackernews

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

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