makandra dev

Hybrid search runs a vector query and a keyword query in parallel against the same documents and merges the two...

RAG is often equated with vector databases, embeddings, and semantic search. But RAG really is just 'put relevant data in...

A page scanned upside down or sideways has the potential to confuse OCR engines and vision LLMs. While both are...

makandra dev

When an LLM is part of a request, you want to keep track of how much of the runtime was...

makandra dev

When an LLM model has vision capabilities, you can attach Base64-encoded images to chat messages, and it will load...

github.com

By default, Ollama produces non-deterministic output: The same prompt will yield slightly different results each time. To get reproducible...

You may remember to use the || operator with caution to set defaults. We'll see that && and other conditionals come...

I use the Gemini web chat interface quite extensively. One thing that is tedious is giving it all the context...

Knapsack allows you to rerun a specific job locally. This is helpful to run specs in the exactly same order...

makandra dev

Most of our CI pipelines don't use the --retry flag for Cucumber and instead build their own retry via...

makandra dev
maketintsandshades.com

A simple web tool for generating lighter (tints) and darker (shades) versions of any HEX color value. Tip

Enable local logging for Sentry when: Debugging Sentry event capture locally Testing error handling without polluting production metrics Developing background...

There's a method Integer() defined on Kernel, that typecasts everything into an Integer. Integer("2") # 2 Integer("foo") # Invalid...

If you run a Rails app that is using Turbo, you might observe that your integration tests are unstable depending...

developer.mozilla.org

The linked MDN article is quite informative of a neat feature supported by all major browsers: Unicode character class escape...

When RSpecs runs the first feature spec, you may see log output like this: Capybara starting Puma... * Version 6.5.0, codename...

Frontend performance and user experience are orthogonal to feature development. If care is not taken, adding features usually degrades frontend...

The currentColor CSS keyword references the current text color and can be used to apply an element's text color...

Orca is a Linux screen reader. Since it is part of the GNOME project it should come preinstalled with Ubuntu...

Why Rails has multiple schema formats When you run migrations, Rails will write your current database schema into db/schema.rb. This...

DirectUpload allows you to upload files to your file storage without having to wait for the form to submit. It...

For long running scripts it is useful to show a indicator for the progress in the terminal. Alternatively you can...

Here is a bash script that I use to auto-configure displays on Ubuntu 24.04 with Xorg. Background

Hint If you are using our opscomplete.com hosting we can set all environment variables mentioned below for your deployment on...