frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Quantum Machine Learning Is Emerging as a Practical Tool for Drug Discovery

https://thequantuminsider.com/2026/01/21/quantum-machine-learning-is-emerging-as-a-practical-tool...
1•brandonb•1m ago•0 comments

Structured methodology for AI-assisted development

https://emanuelcasco.vercel.app/blog/structured-methodology-for-ai
1•gtirloni•2m ago•0 comments

Inna Vishik on X: "Towards room temperature superconductivity" / X

https://twitter.com/InnaVishik/status/2015507327341002857
1•bilsbie•2m ago•0 comments

Show HN: Meru OS – The First Sovereign AI Stack (<2MB, CPU-Native)

1•akulasairohit•2m ago•0 comments

The Professionalization of Cryptology in Sixteenth-Century Venice (2018) [pdf]

https://gwern.net/doc/cs/cryptography/2018-iordanou.pdf
1•simonebrunozzi•3m ago•0 comments

"Sanae Takaichi" 32 times in Unification Church's 3200-page secret document

https://news.yahoo.co.jp/articles/04556a31f6c41b00897854312d6ad1fa46516a13
1•wahnfrieden•4m ago•0 comments

The Future of Programming (2023)

https://signalsandthreads.com/future-of-programming/
1•oumua_don17•5m ago•0 comments

Show HN: I built an app that blocks social media until you read Quran daily

2•kalyfacloud•8m ago•0 comments

Show HN: Simple random access archive format with no compression

https://github.com/sorvi-platform/sra-archive
1•Cloudef•11m ago•1 comments

DDD was a great debugger – what would a modern equivalent look like today?

1•manux81•11m ago•2 comments

The recruitment company training AI to do your job

https://www.ft.com/content/0cab0fcd-e355-40e8-83a3-2ad5066d7b48
1•swyx•11m ago•0 comments

The Execution of Alex Pretti Broke Me [video]

https://www.youtube.com/watch?v=nDEAWxG7Bq8
2•MinorTom•11m ago•0 comments

Show HN: MCP server that lets AI agents fetch real UntitledUI components

https://github.com/sbilde/untitledui-mcp
1•steffenbilde•12m ago•0 comments

Implementing a Tiny CPU Rasterizer

https://lisyarus.github.io/blog/posts/implementing-a-tiny-cpu-rasterizer-part-1.html
3•PaulHoule•13m ago•0 comments

ChatGPT's porn rollout raises concerns over safety and ethics

https://observer.co.uk/news/national/article/chatgpts-erotica-rollout-raises-concerns-over-safety...
3•haritha-j•14m ago•0 comments

Case study: Creative math – How AI fakes proofs

https://tomaszmachnik.pl/case-study-math-en.html
1•musculus•14m ago•0 comments

Gajim 2.4.3 has been released – GTK XMPP/Jabber Chat Client – Communication

https://gajim.org/posts/2026-01-21-gajim-2.4.3-released/
1•neustradamus•15m ago•0 comments

Documentation: Project Continuity

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=102606402f4f5943266...
1•asp1•17m ago•0 comments

Ask HN: Do FAANG recruiters look at your personal data when hiring someone?

1•shadowjones•17m ago•1 comments

Science Is Drowning in AI Slop

https://www.theatlantic.com/science/2026/01/ai-slop-science-publishing/685704/
1•ulrischa•19m ago•0 comments

The Star Wars Saga: Machete Order (2011)

https://www.rodhilton.com/2011/11/11/the-star-wars-saga-suggested-viewing-order/
1•binarymax•22m ago•0 comments

A decade of Star Trek-themed fart jokes:The Greatest Generation podcast turns 10

https://arstechnica.com/culture/2026/01/a-decade-of-star-trek-themed-fart-jokes-the-greatest-gene...
1•ulrischa•23m ago•0 comments

Show HN: Zopamind. A B2B Negotiation Sidekick

1•iamasuperuser•26m ago•0 comments

Driving Around New Zealand

https://marginalrevolution.com/marginalrevolution/2026/01/driving-around-new-zealand.html
1•paulpauper•26m ago•0 comments

Galaxy S26 Ultra Leak Reveals Samsung's Built-In Privacy Screen Feature

https://www.techrepublic.com/article/news-samsung-galaxy-s26-ultra-privacy-display-leak/
1•austinallegro•27m ago•0 comments

Why My Screen Is So Far Away [video]

https://www.youtube.com/watch?v=0SisaHdQ12w
1•plun9•29m ago•0 comments

Show HN: vr.dev – AI coding assistant beta for XR/VR

https://www.vr.dev
1•vrdev•29m ago•0 comments

Show HN: AI-powered natural language video editor – seeking feedback

https://www.llmonestop.com/ai-widgets/ai-tools/ai-video-editor
1•hhossain•31m ago•0 comments

The AI-Powered Web Is Eating Itself

https://www.noemamag.com/the-ai-powered-web-is-eating-itself/
2•andsoitis•31m ago•0 comments

Nexphone: Android+Linux+Windows

https://nexphone.com/
1•notorandit•32m ago•1 comments
Open in hackernews

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

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