Version 1.18.0 of irb introduced a welcome banner. Here is how to disable it, or how to add it to...
Getting parseable output back from an LLM has two halves: shaping the request, then parsing the response. Even with Ollama...
A page scanned upside down or sideways has the potential to confuse OCR engines and vision LLMs. While both are...
When an LLM is part of a request, you want to keep track of how much of the runtime was...
When an LLM model has vision capabilities, you can attach Base64-encoded images to chat messages, and it will load...
I recently ran into this issue when processing a massive backlog of documents. The server completely stalled, sometimes taking up...
It's quite frustrating to come back to a coding agent after a while only to see that it needed...
In rare circumstances, you want to use a websites full domain (say https://mywebsite.com) while testing in dev mode. This...
TypeScript basically uses structural typing, which is conceptually quite similar to duck typing, but with static compile-time type checking...
I use the Gemini web chat interface quite extensively. One thing that is tedious is giving it all the context...
If your rubocop run fails with a stack like rubocop-1.61.0/lib/rubocop/server/socket_reader.rb:36:in `ensure in read!': undefined method `string...
Short reference on how to quickly debug the vanilla Rails job adapters. Queue Adapters by Environment Environment Adapter
Enable local logging for Sentry when: Debugging Sentry event capture locally Testing error handling without polluting production metrics Developing background...
In Rails 8 the behavior of the rails db:migrate command has changed for fresh databases (see PR #52830).
I had to modify the time for an application that I launch through Docker. Here is an approach that worked...
prettier calls itself an opinionated code formatter. I recommend using it for your JavaScript and TypeScript code. prettier only concerns...
When RSpecs runs the first feature spec, you may see log output like this: Capybara starting Puma... * Version 6.5.0, codename...
In Rails 7.2 the new default for config.action_dispatch.show_exceptions is rescuable. :rescuable: It will show a Rails error page in...
We usually ship applications that self-host webfonts to comply with GDPR. Many popular web fonts are available as NPM...
Even if you don't make any beginner mistakes like N+1 queries or missing DB indices, some requests can...
You can check the maximum client Redis database size in Sidekiq with this command. Sidekiq.redis { |redis| puts redis.info.fetch('maxmemory_human...
Orca is a Linux screen reader. Since it is part of the GNOME project it should come preinstalled with Ubuntu...
For Selenium tests, your browser starts in your local timezone, or whatever your system's environment specifies. This is usually...
Why Rails has multiple schema formats When you run migrations, Rails will write your current database schema into db/schema.rb. This...