frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Setting a new standard for responsible AI infrastructure

https://openai.com/index/setting-new-standard-responsible-ai-infrastructure/
1•atlasunshrugged•2m ago•1 comments

Family Digital Legacy – An air-gapped pure HTML vault with WebCrypto

https://github.com/andresgonzalezperez-hash/legado-digital-familiar
1•andresglez•3m ago•0 comments

Lawsuit: Man introduced his wife to ChatGPT. She used it to plan his murder

https://arstechnica.com/tech-policy/2026/11/lawsuit-man-introduced-his-wife-to-chatgpt-she-used-i...
1•pseudolus•4m ago•0 comments

From 6 Hours to 1 Minute: Checkpointing Kubernetes-Style Controllers

https://developer.confluent.io/blog/controller-checkpointing/
1•rmoff•4m ago•0 comments

Specgit

https://specgit.com
1•bryan_specgit•7m ago•0 comments

WordPress?

https://halinu.bearblog.dev/really-wordpress/
1•7777777phil•7m ago•0 comments

$2.5T has been wiped from US stocks

https://www.reddit.com/r/StockMarket/comments/1xopjao/25_trillion_has_been_wiped_from_us_stocks/
3•madihaa•8m ago•2 comments

Paraguay's president is impeached following a bank collapse

https://www.npr.org/2026/11/05/nx-s1-6030842/paraguay-president-impeached-bank-collapse
1•kaycebasques•8m ago•0 comments

I'm an Engineer. This ChatGPT Test Scared Me [video]

https://www.youtube.com/watch?v=TUqScwjnO_k
2•dmitriy_ko•9m ago•0 comments

The Cost of AI Code Shows Up 30 Days Later

https://cacm.acm.org/blogcacm/the-real-cost-of-ai-code-shows-up-30-days-later/
2•pseudolus•10m ago•0 comments

Show HN: That is true daily news inspired satiric Frog and Toad comics

https://that-is-true.com/
1•imfinn•11m ago•1 comments

Binge: Agents that swipe on Hinge for you

https://www.usebinge.com/
1•aryandhar•11m ago•1 comments

Joules-to-GDP: How Much Economic Value Do AI Systems Produce per Unit of Energy?

https://arxiv.org/abs/2610.30858
1•mehdizare•11m ago•0 comments

New Research Tests Whether AI Models Know Their Own Thoughts

https://www.quantamagazine.org/new-research-tests-whether-ai-models-know-their-own-thoughts-20261...
1•pseudolus•12m ago•0 comments

Bill Gates was not the best programmer of his generation

https://twitter.com/davepl1968/status/2118401881542402236
1•bfoks•13m ago•0 comments

Show HN: Turn JMH Benchmarks Results into Interactive Charts

https://github.com/mlangc/jmh-visualizer
1•mlangc•13m ago•0 comments

VSL Performer (AI generated orchestral tracks)

https://performer.vsl.co.at:443/
1•pier25•16m ago•0 comments

Show HN: I built a fast Java linter in Rust

https://github.com/rsmb7z/javaid
2•rsmb7z•16m ago•0 comments

The benchmark where AIs have to lie to win

https://www.dwarkesh.com/p/clocktower
2•consumer451•17m ago•0 comments

A Meeting with Elizabeth Holmes

https://www.psychologytoday.com/us/blog/fevered-mind/202611/a-meeting-with-elizabeth-holmes
1•rmason•18m ago•0 comments

Haybarn 2.0: DuckDB 2.0 with a much faster start in the browser

https://query.farm/blog/haybarn-2-0/
1•rustyconover•21m ago•0 comments

This Month in Ladybird: October 2026

https://buttondown.com/ladybird/archive/this-month-in-ladybird-october-2026/
3•azertify•21m ago•1 comments

The Blue Wave Hits Sand Hill Road

https://www.businessinsider.com/the-blue-wave-hits-sand-hill-road-2026-11
2•rmason•21m ago•2 comments

Slack Is the New IDE

https://opencomputer.dev/blog/slack-is-the-new-ide/
3•iacguy•21m ago•1 comments

Show HN: HackerGit – Every GitHub repo shared on HN

https://hackergit.org/
1•murtazayusuf•22m ago•0 comments

The Kekulé Problem – Cormac McCarthy

https://nautil.us/the-kekul-problem-236574
1•bearseascape•22m ago•0 comments

New York Times adds 420k digital subscribers in 3rd quarter 2026

https://www.nytimes.com/2026/11/04/business/media/new-york-times-earnings.html
1•bookofjoe•23m ago•1 comments

Crosswriting

https://en.wikipedia.org/wiki/Crossed_letter
1•skogstokig•27m ago•0 comments

Show HN: Trace to Agent Session, open corresponding segment of dialogue

https://github.com/keepplain/keepplain-plugin
1•kagen•31m ago•0 comments

Free energy screening for run-of-river hydro power sites in North America

https://www.catchflo.ca/
1•bruenblack•31m ago•3 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