frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

TaskSlinger: A faster, cleaner task manager for Windows with modern interface

https://taskslinger.net/
1•smusamashah•2m ago•0 comments

SWE-Rebench by Nebius

https://swe-rebench.com
1•chaoz_•2m ago•0 comments

Cannot Upvote

1•jjgreen•3m ago•0 comments

Show HN: Ronda lets non-technical users safely edit your webapp

https://useronda.com
1•antoinec•6m ago•0 comments

Divinity: Original Sin – Enhanced Edition 90% off

https://store.steampowered.com/app/373420/Divinity_Original_Sin__Enhanced_Edition/
1•doener•7m ago•0 comments

Unreleased Pixel Watch 5 Found by Diver in St Martins

https://xcancel.com/DuvalMagic/status/2061147076096872836#m
1•noelwelsh•7m ago•0 comments

Cessation of public development of Kefir C compiler

https://kefir.protopopov.lv/posts/announce2.html
1•f311a•8m ago•0 comments

How Not to Buy SpaceX Stock (It's Harder Than You Think)

https://cranberries.medium.com/how-not-to-buy-spacex-stock-its-harder-than-you-think-a37610cb8bd3
2•clktmr•9m ago•0 comments

Growing the Linux App Ecosystem with RISC-V and RVA23 Platforms

https://www.youtube.com/watch?v=ZPY3WZouYrA
1•fork-bomber•10m ago•0 comments

Nvidia Enters Windows Laptop Market, Taking on Intel and AMD

https://www.bloomberg.com/news/articles/2026-06-01/nvidia-enters-windows-laptop-market-taking-on-...
2•lvnfg•14m ago•0 comments

I Dropped PRDs for Shape Up

https://lswith.io/posts/why-i-dropped-prds-for-shapeup/
2•lswith•19m ago•0 comments

Go Experiments Explained

https://www.alexedwards.net/blog/go-experiments-explained
1•ingve•20m ago•0 comments

FCA's Palantir deal could expose UK financial data to Trump's US, critics fear

https://www.theguardian.com/technology/2026/jun/01/fcas-palantir-deal-could-expose-uk-financial-d...
3•robtherobber•24m ago•0 comments

WebXR BCI for Neural-Adaptive Avatar Control in Mixed Reality

https://www.preprints.org/manuscript/202606.0016
1•Christiangmer•25m ago•0 comments

The first murder conviction via DNA analysis

http://news.bbc.co.uk/2/hi/uk_news/5405470.stm
2•smallnix•26m ago•0 comments

Tom Interviews Theo de Raadt of the OpenBSD Project (2019) [video]

https://www.youtube.com/watch?v=WwCZuN4qQPI
1•robtherobber•26m ago•0 comments

Show HN: Replace shell commands with bun shell typescript scripts

https://github.com/aadalal/bunsh
1•aagamd•29m ago•0 comments

Quay.io Is Down

https://status.redhat.com
2•ilpianista•31m ago•0 comments

AI driven analysis of brokerage account fees in the UK

https://feesorted.com/
1•m101•32m ago•1 comments

Bill Gates Spent Years Crafting His Image. Now It's Cracking

https://www.wsj.com/business/bill-gates-image-epstein-e0b83243
4•7777777phil•33m ago•1 comments

Using LLMs to secure source code

https://claude.com/blog/using-llms-to-secure-source-code
1•maxloh•42m ago•0 comments

Wi-Fi 8 in the Lab [video]

https://www.youtube.com/watch?v=OOF8IOUM23g
1•marklit•43m ago•0 comments

Meta legal action forces Facebook whistleblower to sit in silence – Hay festival

https://www.theguardian.com/technology/2026/may/31/meta-legal-action-forces-facebook-whistleblowe...
20•beardyw•45m ago•3 comments

The household battery revolution that could change energy bills and the world

https://www.theguardian.com/environment/ng-interactive/2026/may/31/cheaper-energy-bills-battery-r...
3•montalbano•46m ago•1 comments

Hard-Won Lessons from a Year of Using AI

https://spin.atomicobject.com/lessons-year-ai/
1•henrik_w•49m ago•0 comments

Benchmarking SlateDB vs. RocksDB

https://nixiesearch.substack.com/p/benchmarking-slatedb-vs-rocksdb
1•shutty•49m ago•0 comments

Charities decry UK plan to use AI to assess age of young asylum seekers

https://www.theguardian.com/uk-news/2026/jun/01/charities-decry-uk-plan-to-use-ai-to-assess-age-o...
3•beardyw•49m ago•0 comments

Is Python Becoming Pinyin?

https://lernerpython.com/2026/05/19/is-python-becoming-pinyin/
2•reuven•51m ago•0 comments

Livia – Executive Assistant

https://github.com/giuerr/livia
1•giuerrp•56m ago•0 comments

FindMyPipe – Query Apple Find My from Linux for AI Agents

https://github.com/corryl/FindMyPipe
1•AgataVire•57m ago•0 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