frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

You cannot sell AI written software

https://blog.habets.se/2026/05/You-cannot-sell-AI-written-software.html
1•marcofloriano•55s ago•0 comments

Analysis of CS:GO Win-rates (2020)

https://cryptm.org/posts/2020/06/12/csgo.html
1•tosh•1m ago•0 comments

Ask HN: What are you working on (20 May)

2•Armonsrer•6m ago•1 comments

Two Values in One Integer

https://talkchess.com/viewtopic.php?t=42054
1•prakashqwerty•6m ago•0 comments

A smart home from the 1800's (Tom Scott) [video]

https://www.youtube.com/watch?v=V2lEgMHF2Fo
1•sebzuddas•7m ago•0 comments

'Twilight of the Warriors: Walled in' Exhibition at Kowloon Walled City Park

https://geekculture.co/twilight-of-the-warriors-walled-in-exhibition-at-kowloon-walled-city-park/
1•exvi•8m ago•0 comments

Inside Notion

https://colossus.com/article/inside-notion/
1•tablet•10m ago•0 comments

Borrowed Conscience

https://howstrangeitistobeanythingatall.com/post/2026-05-19-borrowed-conscience
1•alanbotts•10m ago•0 comments

Show HN: Paletty – 800 curated terminal themes and a contrast-aware generator

https://paletty.dev/
1•ivoronin•15m ago•0 comments

The Download: Musk vs. Altman, smart glasses for warfare, and Google I/O

https://www.technologyreview.com/2026/05/19/1137505/the-download-musk-altman-trial-smart-glasses-...
1•joozio•15m ago•0 comments

Ex-Google CEO Eric Schmidt booed at Arizona U commencement speech

https://www.theguardian.com/us-news/2026/may/18/eric-schmidt-ai-university-commencement-speech-booed
2•simonebrunozzi•16m ago•0 comments

Making a GUI for NixOS

https://github.com/kalken/ezconf
3•linux4dummies•16m ago•0 comments

The just-say-no engineer was a ZIRP phenomenon

https://www.seangoedecke.com/the-just-say-no-engineer-was-a-zirp-phenomenon/
2•throwaw12•17m ago•0 comments

MAHA's latest conspiracy? Blaming Bill Gates for spike in tick bites

https://www.independent.co.uk/news/health/maha-bill-gates-pfizer-tick-conspiracy-b2979810.html
1•KnuthIsGod•18m ago•0 comments

AI Could Help the Climate

https://www.economist.com/leaders/2025/04/10/how-ai-could-help-the-climate
1•andsoitis•19m ago•0 comments

MeshCore vs. Meshtastic: Choosing the Right Tactical Network

https://specfive.com/blogs/articles/meshcore-vs-meshtastic
1•DanielSusca•19m ago•0 comments

Roundtables: The Musk vs. Altman Trial

https://www.technologyreview.com/2026/05/19/1137454/roundtables-inside-the-musk-v-altman-trial/
1•joozio•20m ago•0 comments

German government approves new gas power plant auctions to backup wind and solar

https://www.cleanenergywire.org/news/german-government-approves-new-gas-power-plant-auctions-back...
1•leonidasrup•21m ago•0 comments

A twinkling pulsar reveals invisible structures in space

https://www.mpg.de/26493907/0513-radi-a-twinkling-pulsar-reveals-invisible-structures-in-space-15...
1•Tomte•23m ago•0 comments

Tangled – tightly-knit social coding

https://tangled.org
2•dennis-tra•31m ago•0 comments

ThinkPad Endgame

https://williamjansson.com/posts/thinkpad_endgame/
3•billybuckwheat•31m ago•1 comments

Slax Reader CLI: a read-later library your AI agents can use

https://slax.com/blog/slax-reader-cli-a-read-later-library-for-ai-agents/
1•wulujia•32m ago•0 comments

Professor Miller (1973) [video]

https://www.youtube.com/watch?v=qSKqW6Olm7I
1•simonebrunozzi•33m ago•0 comments

SRM: Detecting slow-burn risk in AI-agent sessions before execution

https://arxiv.org/abs/2603.22350
1•ilion_identity•34m ago•0 comments

Apple Is Making Hit Products and High Profits from Imperfect Chips

https://www.wsj.com/tech/apple-is-making-hit-products-and-high-profits-from-imperfect-chips-d32c21d8
1•taubek•36m ago•0 comments

Show HN: Chrome ext to let zot, your terminal coding agent, operate the browser

https://github.com/patriceckhart/zot-chrome-operator
8•patriceckhart•36m ago•1 comments

Weaving baskets and braiding hair for quantum computing [video]

https://www.youtube.com/watch?v=Y0mn7UBonSs
1•marysminefnuf•40m ago•0 comments

Grafana Labs security update on TanStack NPM supply chain ransomware incident

https://grafana.com/blog/grafana-labs-security-update-latest-on-tanstack-npm-supply-chain-ransomw...
1•taubek•42m ago•0 comments

Ringspace Trusted Webrings: Is a great idea returning?

https://ringspace.net/
1•8bitsrule•46m ago•0 comments

Nucleus: Enforced permissions for AI agents – policy+enforcement in one stack

https://github.com/coproduct-opensource/nucleus
1•weitzj•46m 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•12mo 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