Recently we detected a memory leak in one of our applications. Hunting it down, we found that the memory leak...
When paginating records, we usually need to know the number of total records in order to render pagination links. Popular...
Redis.current will be removed without replacement in redis-rb 5.0. Version 4.6.0 adds deprecation warnings for Redis.current and Redis.current=: `Redis.current...
Wir wollen verstehen, welche Hardware-Ressourcen uns zur Verfügung stehen und wie wir mögliche Engpässe und Probleme identifizieren können. Grundsätzlich...
Wir wollen im Detail verstehen, wie in Unix-Systemen Prozesse gehandhabt werden und wie wir Prozesse aus dem Userland behandeln...
Wir arbeiten bei makandra alle auf Linux-Betriebssystemen und bedienen im DevOps- & Cloud-Bereich primär Kunden, die ebenfalls auf Linux...
Event delegation is a pattern where a container element has a single event listener that handles events for all descendants...
The Node Version Manager allows installing multiple NodeJS versions and switching between them. By default, it does not automatically switch...
Table of content for the linked article: 1. The `loading=lazy` attribute 2. Email, call, and SMS links
We have observed Lenovo laptops with nvidia graphics losing performance after they have been in use for a few minutes...
I encountered a unlucky behavior of byebug 11.1.3 (the most recent version at time of writing) when using it with...
When storing files for lots of records in the server's file system, Carrierwave's default store_dir approach may...
When deleting a record in your Rails app, Carrierwave automatically takes care of removing all associated files. However, the file...
If your Webpack build is slow, you can use the Speed Measure Plugin for Webpack to figure out where time...
Webpack builds can take a long time, so we only want to compile when needed. This card shows what will...
To attach files to your records, you will need a new database column representing the filename of the file...
CarrierWave comes with a set of default configuration options which make sense in most cases. However, you should review these...
When you repeat a subpattern with a *, + or {...} operator, you may choose between greedy, lazy and possessive modes. Switching modes...
Scroll and touch event listeners tend to be computationally expensive as they are triggered very often. Every time the event...
ActiveRecord provides the ids method to pluck ids from a scope, but what if you need to pluck Global IDs...
Learn how to create offline applications with service workers. The amazing power of service workers Writing your first service worker...
Chrome has a built-in utility to check performance and accessibility (and more) of your web app: Lighthouse.
TL;DR PostgreSQL handles Rails 4+ text and string columns the same. Some libraries may still reflect on the column...
Select2 comes with AJAX support built in, using jQuery's AJAX methods. ... For remote data sources only, Select2 does not...