frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

MCP is definitely not dead

https://sderosiaux.substack.com/p/no-mcp-is-definitely-not-dead-the
1•chtefi•4m ago•1 comments

Selective divergence between Grokipedia and Wikipedia article

https://www.pnas.org/doi/10.1073/pnas.2603294123
1•Anon84•5m ago•0 comments

BSD flags are incompatible with iCloud Drive

https://eclecticlight.co/2026/06/02/bsd-flags-are-incompatible-with-icloud-drive/
1•ingve•7m ago•0 comments

JsSIP vs. Sip.js vs. Browser-Phone: Choosing an Open-Source WebRTC Sip Stack

https://www.browser-phone.org/2026/06/02/jssip-vs-sipjs-vs-browser-phone/
1•Dappersiperb•8m ago•1 comments

A reflective AI that refuses to give you answers

https://web-production-07a822.up.railway.app/
1•johnhyder•10m ago•0 comments

Show HN: Rootprint – Self-hosted log search built with Svelte, Hono and Quickwit

https://github.com/rootprint/rootprint
1•badfatcat•10m ago•1 comments

Free browser based QR code generator with custom colors/logo upload

https://takeonanything.com/qr-code-generator/
1•minviex•11m ago•0 comments

Swift Cross Platform

https://www.cocoanetics.com/2026/06/swift-cross-platform/
1•ingve•13m ago•0 comments

The Postmodern Build System

https://jade.fyi/blog/the-postmodern-build-system/
1•birdculture•14m ago•0 comments

LPeg – Parsing Expression Grammars for Lua

https://www.inf.puc-rio.br/~roberto/lpeg/
1•tosh•16m ago•0 comments

Device Bound Session Credentials

https://scotthelme.co.uk/device-bound-session-credentials-making-stolen-cookies-useless/
1•moebrowne•16m ago•0 comments

Fibr.ai is hiring Product Engineers

1•mrafi2•16m ago•0 comments

The commons were never theory – It was always practice

https://hamishcampbell.com/the-commons-were-never-a-theory-it-was-always-practice/
1•BrunoBernardino•16m ago•0 comments

Fredy – Self-hosted real estate scraper for Germany, just hit 1k stars

https://github.com/orangecoding/fredy
1•orangecoding•17m ago•1 comments

A collection of small, low effort tools

https://delphi.tools/
1•ewf•17m ago•0 comments

Chinese Military Sought Nvidia Chips for Years, Report Says

https://www.nytimes.com/2026/06/01/business/economy/china-military-nvidia-chips.html
1•giuliomagnifico•19m ago•0 comments

Under Notre Dame, a 'dig of the century' unearths 1,700 years of history

https://apnews.com/article/notre-dame-dig-treasures-paris-archaeology-roman-dae41f792c1402faf32a8...
1•cobbzilla•19m ago•0 comments

Show HN: I built auto-captions with face-tracking reframe for vertical video

https://captionly.dev
1•captionly•21m ago•0 comments

Challenge and Opportunity – David Bushell

https://dbushell.com/2026/06/01/challenge-and-opportunity/
1•BrunoBernardino•23m ago•0 comments

Pegular Expressions

https://janet.guide/pegular-expressions/
1•tosh•25m ago•0 comments

Poor supervision is pushing young researchers out of academia

https://www.nature.com/articles/d41586-026-01693-4
2•EvgeniyZh•27m ago•1 comments

Why is AI use decried when it appears to have been used without attribution?

2•bookofjoe•27m ago•1 comments

Show HN: Numstore – a single file ACID database for NumPy arrays

https://github.com/lincketheo/Numstore/
1•lincketheo•29m ago•0 comments

Weeping Muses

https://spareatalent.hcommons.org/2026/06/01/weeping-muses-moving-away-from-google/
1•jruohonen•30m ago•0 comments

A 2026 GPU Review for AI Inference. Based on Online Soures

https://old.reddit.com/r/AIProgrammingHardware/comments/1tumela/comprehensive_2026_gpu_review_for...
2•javaeeeee•31m ago•1 comments

The way we treat pigs is a sin

https://www.noahpinion.blog/p/the-way-we-treat-pigs-is-a-sin
17•throw0101a•32m ago•1 comments

Spikes in LLMs Are Bias Vectors: Spike-Free Quantization

https://arxiv.org/abs/2606.02288
2•sbulaev•32m ago•0 comments

Forget Attention: Importance-Aware Attention Is All You Need

https://arxiv.org/abs/2606.02332
2•sbulaev•34m ago•0 comments

Save the balti Can Birmingham's best dish come back from the brink?

https://www.theguardian.com/food/2026/jun/02/balti-birmingham-best-dish-back-from-brink
3•YeGoblynQueenne•35m ago•0 comments

Idea for New Social Media

1•thisIsNotRandom•37m ago•1 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