frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Amazon confirms: Public wish lists can reveal addresses

https://www.heise.de/en/news/Amazon-confirms-Public-wish-lists-can-reveal-addresses-11221681.html
1•doener•4m ago•0 comments

systemd has not implemented age verification

https://blog.bofh.it/debian/id_473
1•pabs3•8m ago•0 comments

Claude Code Now Supports CIMD for MCP OAuth

https://bsky.app/profile/den.dev/post/3mhrupyeus223
1•mooreds•9m ago•0 comments

The great Linux file pickers tragedy

https://erika.florist/wiki/linux/filepickertragedy/
1•pabs3•10m ago•0 comments

Ask HN: HSL 0.1 – The Human Source License. Please help refining

1•xdgrulez•10m ago•1 comments

The Voice Web with maplibre-voice – Mistral Hackathon 2026

https://www.youtube.com/watch?v=DNpdRVZ0j5A
1•tderflinger•10m ago•0 comments

Expert Personas Improve LLM Alignment but Damage Accuracy

https://arxiv.org/abs/2603.18507
1•Jacques2Marais•11m ago•0 comments

The 53-Year Evolution of AI Agents: A Comprehensive Reading List

https://fullhoffman.com/2026/03/12/agents-are-agents-reading-list/
1•adunk•13m ago•0 comments

Starlette 1.0.0

https://github.com/Kludex/starlette
3•tosh•20m ago•0 comments

Kentucky family rejects $$26M offer to convert farm into data center

https://twitter.com/CollinRugg/status/2036237284601913674
1•gurjeet•20m ago•1 comments

From zero to a RAG system: successes and failures

https://en.andros.dev/blog/aa31d744/from-zero-to-a-rag-system-successes-and-failures/
1•andros•22m ago•0 comments

The Why and What of the CIDR Report

https://www.potaroo.net/ispcol/2026-03/cidr-report.html
1•caminanteblanco•24m ago•0 comments

Decker File Format

https://beyondloom.com/decker/format.html
1•tosh•24m ago•0 comments

Run Qwen 3.5 Locally with Claude Code

https://gist.github.com/kibotu/a009f00414b7c10fb1c74e603d7838c0
2•lastdong•28m ago•0 comments

Protector4J converts JVM bytecode to private ISA for protection

https://protector4j.com/articles/how-protector4j-works/
1•vlinx•29m ago•0 comments

The Shape of Data

https://www.scattered-thoughts.net/writing/the-shape-of-data/
1•tosh•31m ago•0 comments

Open Source Gave Me Everything Until I Had Nothing Left to Give

https://kennethreitz.org/essays/2026-03-18-open_source_gave_me_everything_until_i_had_nothing_lef...
5•pabs3•35m ago•0 comments

Sneaky Header Blocker Trick

https://www.joshwcomeau.com/css/header-blockers/
1•ibobev•37m ago•0 comments

Interactive LED system for crutches that react to walking motion

https://github.com/JackWetherell/Disco-Crutches
1•jw1294•38m ago•0 comments

Lion-K CCWD: Corrected Cautious Weight Decay and Hyperparameter Transfer

https://jiha-kim.github.io/posts/lion-k-ccwd/
1•ibobev•38m ago•0 comments

Pivoted Query Synthesis

https://buttondown.com/jaffray/archive/pivoted-query-synthesis/
1•ibobev•39m ago•0 comments

Israeli minister calls for annexation of southern Lebanon

https://www.reuters.com/world/middle-east/israeli-minister-calls-annexation-southern-lebanon-2026...
3•abdelhousni•39m ago•0 comments

Is Stockholm Syndrome a Myth?

https://www.abc.net.au/news/2023-08-23/is-stockholm-syndrome-a-myth/102738084
2•ahamez•40m ago•0 comments

Gzip decompression in 250 lines of Rust

https://iev.ee/blog/gzip-decompression-in-250-lines-of-rust/
1•vismit2000•41m ago•0 comments

Show HN: Shard-based scheduling for 100x more fine-tuning experiments on 4 GPUs

https://www.rapidfire.ai/blogs/case-study-how-an-enterprise-tech-team-went-from-dozens-to-2-000-f...
1•kamranrapidfire•41m ago•0 comments

Delve Halts Demos

https://techcrunch.com/2026/03/23/delve-halts-demos-insight-partners-scrubs-investment-post-amid-...
3•colemurray•42m ago•0 comments

The Problem with Eyeballing Prompt Quality (and What to Do Instead)

https://promptoptimizer.xyz
1•nivlewd1•44m ago•0 comments

Ripgrep is faster than {grep, ag, Git grep, ucg, pt, sift}

https://burntsushi.net/ripgrep/
3•jxmorris12•44m ago•0 comments

Fast regex search: indexing text for agent tools

https://cursor.com/blog/fast-regex-search
2•jxmorris12•44m ago•0 comments

China is mapping the ocean floor as it prepares for submarine warfare

https://www.reuters.com/investigations/china-is-mapping-ocean-floor-it-prepares-submarine-warfare...
4•m-hodges•49m ago•0 comments
Open in hackernews

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

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