Elements can be hidden and shown by toggling the display property. However, this is not animatable, so we often turn...

In development, we store files using ActiveStorage's disk service. This means that stored files are served by your Rails...

While the main goal always is to prevent long-running queries in the first place, automatic timeouts can serve as...

You can improve your LIKE / ILIKE search queries in PostgreSQL by adding a GIN index with an operate class ("opclass...

This card shows an uncommon way to retrieve a file using selenium where JavaScript is used to return a binary...

As we're switching from PT to Linear, I've updated the existing bash script to work for commits that...

We are using assignable_values for managing enum values in Rails. Nevertheless Rails is adding more support for enum attributes...

It's 2024 and we have tools like ffmpeg, imagemagick and GPT readily available. With them, it's easy to...

developer.mozilla.org

A common cause of non-accessible web pages are elements that were made interactive via JavaScript but cannot be focused...

I recently built a screen with a very high and wide table in the center. This posed some challenges:

The Web Animations API has great browser support, and you should be using it to animate DOM elements from JavaScript...

makandra dev

Usually our code lives on GitLab, therefore our documentation for CI testing is extensive in this environment. If you are...

Tested on Ubunut 22.04 1. Opener script Create a file ~/.local/bin/coverage_zip_opener with: #!/bin/bash tmp_folder="/tmp/coverage-report-opener" if [ -z "$1" ]

developer.mozilla.org

Today I learned that you can animate HTML elements using the Web Animation API's method .animate(keyframes, options) (which...

sitepoint.com

Multiply by 1x the unit: $number = 13 $length = $number * 1px // => 13px Removing a unit

Your development server is usually running on an insecure HTTP connection which is perfectly fine for development.

Getting an entire test suite green can be a tedious task which involves frequent switches between the CLI that is...

makandracards.com

A general overview about why and how we migrate can be found under Migrating from Elasticsearch to Opensearch

OpenAI is currently limiting the Audio generating API endpoint to text bodies with a maximum of 4096 characters.

makandra dev

Getting CSS (and JS) live reloading to work in a esbuild / Rails project is a bit of a hassle, but...

ruby-doc.org

Ruby has the class Rational which allows you to store exact fractions. Any calculation on these variables will now use...

While upgrading CarrierWave from version 0.11.x to 3.x, we encountered some very nasty fails. Below are the basic...

github.com

For my computer science bachelor's thesis I programmed and evaluated a CLI Test Case Prioritization (TCP) tool for makandra...

If you want to collapse/expand elements with dynamic content (and thus unknown height), you can not transition between height: 0...