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...

makandra dev

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...

github.com

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...

gomakethings.com

Learn how to create offline applications with service workers. The amazing power of service workers Writing your first service worker...

makandra dev
developers.google.com

Chrome has a built-in utility to check performance and accessibility (and more) of your web app: Lighthouse.

postgresql.org

PostgreSQL offers three character types for your columns: character varying(n) (also called varchar or just string): Contents are limited...

makandra dev
select2.org

Select2 comes with AJAX support built in, using jQuery's AJAX methods. ... For remote data sources only, Select2 does not...

Speaker today is Henning Koch, Head of Development at makandra. This talk will be in German with English slides.

makandra dev

Using git fixup helps you to speed up appending changes further back in the git history of your feature branch...

Chrome allows you to throttle the Network and the CPU. Both settings are useful to measure the performance of you...

This is a personal post-mortem analysis of a project that was mainly build to provide a REST API to...

blog.cloudflare.com

Two weeks ago, Cloudflare was struck by a global outage that lasted ~30 minutes. The incident was rooted on a...

makandra dev

webpack is a very powerful asset bundler written in node.js to bundle (ES6) JavaScript modules, stylesheets, images, and other assets...

RubyMine comes with a nice way to grep through your project's files: The finder (ctrl + shift + f). Don't...

makandra dev
github.com

Katapult was an endeavor to dramatically speed up starting a new Rails application. However, it turned out to save less...

makandra dev
thoughtbot.com

Along with a number of other cool new features and performance improvements, Ruby 2.6 added function composition to the Proc...