I recently stumbled upon the Rails feature composed_of. One of our applications dealt with a lot of addresses and...
For a long time virtualenv was used to create isolated Python environments. This is not required anymore. Since Python 3.3...
Some rubygems come in platform-specific versions (i.e. "x86_64-linux") in addition to the usual "ruby" platform. This is...
Debouncing a method call delays its execution until after a specified time has passed. If it's called again before...
I used two lab days to read the The framework field guide - Fundamentals, the first of a three part series...
...HTML elements can automatically start playing when the autoplay attribute is set on them. Except for when they can not...
Suppose you want to implement a publish/subscribe pattern in your Frontend application to react to data changes and events. First...
When you use native smooth scrolling there is no built-in method to detect the end of the scrolling animation...
If you want to check the configuration of a running JVM process you can use jcmd. List the running processes...
You can execute systemctl --user --failed to check for failed systemd user units. But let's face it: It's...
Kubernetes ist der de-facto Standard zum Orchestrieren von Container Workloads. Sowohl On Premise als auch in der Cloud wird...
One-line takeaways Don’t override native browser (or OS) shortcuts. Support standard shortcuts that don’t contradict the previous...
Ruby includes many standard gems that are bundled into the Ruby installation. Here is an example for the gem strscan...
JavaScript code can access and manipulate the browser's DOM tree. Using JavaScript we can add interactive behavior to our...
Event delegation is a pattern where a container element has a single event listener that handles events for all descendants...
Often people need links which are not linked directly, but should trigger execution of JavaScript. ❌ Bad workarounds
Table of content for the linked article: 1. The `loading=lazy` attribute 2. Email, call, and SMS links
On some of our older projects, we use the mysql2 gem. Unfortunately, versions 0.2.x (required for Rails 2.3) and...
After a recent Ubuntu update I didn't see the main menu bar of the RubyMine IDE (File | Edit | View...
# Basic HTML example # Javascript API (notable methods and properties) video = document.querySelector('video') video.play() video.pause() video.load() // Reset to the beginning and...
Speaker today is Henning Koch, Head of Development at makandra. This talk will be in German with English slides.
In case you want to use pry with an older version of Ruby, you can try the following configurations.
A recent patch level Ruby update caused troubles to some of us as applications started to complain about incompatible gem...
Embedding videos on a website is very easy, add a tag to your source code and it just works...