Claude Code is an excellent pair programmer. It reads your codebase, suggests refactors, writes tests, and generates code with impressive fluency. But there’s a critical gap you need to understand: Claude Code has zero context for how your code actually ships to production.
This post outlines how you can run Moodle
on Heroku. This route is a potential solution
for anyone looking to get started with Moodle,
a feature rich, open source learning management system (LMS),
using a hosting solution that provides greater control
and does not display ads to students.
I recently found an interesting
stackoverflow question
that I posted an answer to without the thought the question deserved.
The poster was storing documents in Elasticsearch and
using function_score with its random_score option to
randomly select a document from a set.
This seemed fairly straightforward. The poster also wanted
to boost certain documents. My first response suggested the use of
query boost to accomplish the task. However, what the poster really wanted
was weighted random sampling and upon further exploration, I discovered
this was not the simple task of constructing the right query
as I had initially thought.