#databases
4 posts
2026 - April
1 post2016 - October
1 post2016 - August
2 posts2026 - April
1 postIs RAG Dead? Long Context, Grep, and the End of the Mandatory Vector DB
Frontier models went from 200k to 1M tokens of context. Does it still make sense to wire up a whole vector DB stack to do RAG, when you can just grep and dump the entire document into the window?
2016 - October
1 postSharing models between Rails Apps - Part 2
I evolve the central-support gem to distribute migrations, test two isolated Rails databases, and connect the secondary app to a read-only replica of Central in production.
2016 - August
2 postsHacking Mattermost Team Edition
I used a PostgreSQL trigger to automatically restore private channels deleted by regular users in Mattermost Team Edition, bypassing the missing permissions without changing the source code.
Moving away from Slack into Rocket.chat. Good Enough.
I chose Rocket.chat to replace Slack and built a production setup with MongoDB in a replica set, multiple Node.js instances, NGINX, SSL, and monitoring. It works, but it’s not for beginners.