frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Sites with a /Now Page

https://nownownow.com
1•zdw•1m ago•0 comments

Happy Map

https://pudding.cool/2026/02/happy-map/
1•latexr•3m ago•0 comments

Just two days of oatmeal cut bad cholesterol by 10%

https://www.sciencedaily.com/releases/2026/02/260225081217.htm
1•gradus_ad•10m ago•0 comments

Microgpt

http://karpathy.github.io/2026/02/12/microgpt/
1•tambourine_man•14m ago•0 comments

Blender iPad App Development Halted as Android Tablets Get Priority

https://www.macrumors.com/2026/02/27/blender-ipad-pro-app-development-halted/
2•mrkpdl•18m ago•0 comments

Reconstructing OPL: Joseph Weizenbaum's Online Programming Language

https://timereshared.com/reconstructing-joseph-weizenbaums-opl/
1•abrax3141•22m ago•0 comments

Running a One Trillion-Parameter LLM Locally on AMD Ryzen AI Max+ Cluster

https://www.amd.com/en/developer/resources/technical-articles/2026/how-to-run-a-one-trillion-para...
3•mindcrime•29m ago•0 comments

Banning children from VPNs and social media will erode adults' privacy

https://www.newscientist.com/article/2516996-banning-children-from-vpns-and-social-media-will-ero...
4•hn_acker•30m ago•1 comments

Agentation: Structured UI feedback for coding agents

https://agentation.dev/
1•firloop•30m ago•0 comments

AMA about our work with the Dow and our thinking over the past few days

https://twitter.com/sama/status/2027900042720498089
1•caaqil•34m ago•0 comments

Show HN: Cognitive architecture that hit #1 on LiveBench (68.5%)

https://truthagi.ai
1•felipemayamuniz•35m ago•1 comments

Show HN: Quizz MCP – Turn Claude Code Conversations into Quizzes

https://github.com/ThoBustos/quizz-mcp
1•ThoBustos•38m ago•0 comments

AI What Do: A framework for thinking about AI power and human agency

https://osh.works/posts/ai-what-do/
1•oshoma•40m ago•0 comments

Daily Tetonor- the Daily Math Logic Puzzle

https://dailytetonor.com/
1•H3d3s•41m ago•0 comments

How Awesome? annotates GitHub awesome lists with repo stats, stars, last commit

https://how-awesome.libklein.com/
1•zdw•41m ago•0 comments

Show HN: Integrate governance before your AI stack executes – COMMAND console

https://www.mos2es.io
1•Burnmydays•42m ago•0 comments

deleted

1•folkstack•43m ago•0 comments

Ubuntu 26.04 ends a 40-year old sudo tradition

https://www.omgubuntu.co.uk/2026/02/ubuntu-26-04-sudo-password-asterisks
2•campuscodi•43m ago•0 comments

Napkin Math Flashcards

https://chughes87.github.io/napkin-math-flashcards.html
1•archarios•43m ago•1 comments

Fast Autoscheduling for Sparse ML Frameworks

http://fredrikbk.com/cgo26scorch.html
1•matt_d•44m ago•0 comments

Sam Altman AMA about DoD deal

https://xcancel.com/i/status/2027900042720498089
8•marcuschong•44m ago•1 comments

TENSURE: Fuzzing Sparse Tensor Compilers (Registered Report)

https://www.ndss-symposium.org/ndss-paper/auto-draft-689/
1•matt_d•48m ago•0 comments

OpenAI has released Dow contract language, and it's as Anthropic claimed

https://twitter.com/justanotherlaw/status/2027855993921802484
1•erwald•48m ago•0 comments

A Day in the Life of an Enshittificator [video]

https://www.youtube.com/watch?v=T4Upf_B9RLQ
3•zahlman•49m ago•1 comments

Claude making me more productive every day usecases

1•joel_hainzl•52m ago•0 comments

DeepExplain: Interactive Guide to Dirac Notation and Quantum Mechanics

https://deepexplain.dev/dirac-notation/
2•crawde•53m ago•0 comments

Show HN: A live playground for Beautiful Mermaid

https://play.beautiful-mermaid.dev/
1•Justineo•54m ago•0 comments

Show HN: Atom – open-source AI agent with "visual" episodic memory

https://github.com/rush86999/atom
1•rush86999•54m ago•0 comments

A Reinforcement Learning Environment for Automatic Code Optimization in MLIR

https://arxiv.org/abs/2409.11068
1•matt_d•55m ago•0 comments

"Half the dads at this 7am swim practice have Codex or Claude Code fired up."

https://twitter.com/mattyglesias/status/2027724808406831604
6•jmeister•55m ago•0 comments
Open in hackernews

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

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