frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Colabro: AI Employee for Your Computer

https://colabroai.com
1•Jeba_jebarsan•3m ago•0 comments

Chewing gum releases microplastics into your saliva, UCLA research shows

https://newsroom.ucla.edu/releases/bursting-your-bubble-chewing-gum-releases-microplastics-into-y...
1•littlexsparkee•10m ago•0 comments

How do I make painful lyrics feel less generic?

https://suno.com/@zeroxdesignartzero
1•zeroxdesignart•12m ago•0 comments

Task Paralysis and AI

https://g5t.de/articles/20260510-task-paralysis-and-ai/index.html
1•MrGilbert•18m ago•0 comments

Local Models Are Not Frontier. They Are Enough

https://quodeq.ai/blog/local-models-not-frontier/
1•VictorPurMar•20m ago•0 comments

Show HN: I built a 500K LOC production app alone in 7 months. Here is the proof

2•bonjourjoel•23m ago•0 comments

Private Credit Isn't a Major Threat–Probably

https://www.wsj.com/finance/investing/private-credit-financial-system-6039b39e
1•petethomas•24m ago•0 comments

Philosophy of the Left-Hand Path

https://philosophy-of-the-left-hand-path.denys-spirin.workers.dev/
1•jruohonen•38m ago•0 comments

Miniature Armoured Train Fought Hitler's Luftwaffe [video]

https://www.youtube.com/watch?v=Td3oD3cCXZ4
1•burnt-resistor•42m ago•0 comments

Show HN: TokReach – US TikTok as a Service

https://www.tokreach.com
2•gregolo•43m ago•0 comments

tsz: TypeScript checker and LSP written in Rust, designed to outperform tsgo

https://github.com/mohsen1/tsz
1•maxloh•47m ago•0 comments

Programming as Theory Building-Peter Naur[pdf]

https://pages.cs.wisc.edu/~remzi/Naur.pdf
1•nalinidash•50m ago•0 comments

Epupp – Browser Extension to Tamper with Web Pages, Live and with Userscriptss

https://github.com/PEZ/epupp
3•TheWiggles•53m ago•0 comments

History and Science of the Hanta Virus

https://distressedscientists.substack.com/p/hantan-hondius
2•helsinkiandrew•54m ago•0 comments

Fusion's cost floor: what if the core were free?

https://1cfe.substack.com/p/fusions-cost-floor-what-if-the-core
2•helsinkiandrew•56m ago•0 comments

Multiple universities forced to reschedule final exams after Canvas incident

https://therecord.media/universities-forced-to-reschedule-exams-canvas-incident
1•jruohonen•59m ago•0 comments

Plants can 'hear' rain coming, spurring them into action

https://www.scientificamerican.com/article/plants-can-hear-rain-coming-spurring-them-into-action/
1•the-mitr•1h ago•0 comments

Tracing tokens through Llama 3.1 8B inference on H100s

https://krithik.xyz/what-is-inference-actually
2•krithik_7•1h ago•0 comments

Show HN: I audited my own back ends on 5 BaaS – leak in every one

https://github.com/Perufitlife/supabase-security-skill
2•renzom13•1h ago•1 comments

Notes on using GNU Emacs' Tramp system in an unusual shell environment

https://utcc.utoronto.ca/~cks/space/blog/programming/EmacsTrampNotes
1•susam•1h ago•0 comments

Best AI coding plan alternative to Claude and ChatGPT

4•Jsttan•1h ago•3 comments

Debian must ship reproducible packages

https://lists.debian.org/debian-devel-announce/2026/05/msg00001.html
26•robalni•1h ago•4 comments

Agent Harness Engineering

https://twitter.com/addyosmani/status/2053231239721885918
3•pretext•1h ago•0 comments

Late-interaction rerank made our F1 worse, not better – a negative result

https://sverklo.com/blog/late-interaction-rerank-made-our-f1-worse/
1•nike-17•1h ago•0 comments

A Field Study of Institutional Control in an AI-Staffed Prediction-Market Desk

https://github.com/wes-zheng/ai_institutions/blob/main/technical_report/paper.md
3•bbcf•1h ago•0 comments

When life gives you lemons, write better error messages

https://wix-ux.com/when-life-gives-you-lemons-write-better-error-messages-46c5223e1a2f
4•dnw•1h ago•1 comments

Zeta2.1: 3x Fewer Tokens, 50ms Faster

https://zed.dev/blog/zeta2-1
2•ms7892•1h ago•0 comments

Scouting's Real Crisis Is Not Marketing. It Is Decades of Neglect.

https://www.untendedfire.org/2026/05/09/scoutings-real-crisis-is-not-marketing-it-is-decades-of-n...
2•AuthorizedCust•1h ago•0 comments

Giant Virginia Data Center Project Upended by Clerical Error

https://www.bloomberg.com/news/articles/2026-05-08/giant-data-center-project-in-virginia-upended-...
1•1vuio0pswjnm7•1h ago•0 comments

NYC School District Hit by Malware Attack as Well as Canvas Hack

https://www.bloomberg.com/news/articles/2026-05-08/canvas-hack-on-nyc-schools-comes-amid-separate...
2•1vuio0pswjnm7•1h ago•0 comments
Open in hackernews

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

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