The JavaScript Object Model: A deep dive into prototypes and properties

Posted Almost 4 years ago by Henning Koch.

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

Legacy CarrierWave: How to generate versions with different file extensions

Posted Almost 4 years ago by Michael Leimstädtner.

We use CarrierWave in many of our projects to store and serve files of various formats - mostly images. A common...

How to evaluate CSS media queries in JavaScript

Posted Almost 4 years ago by Henning Koch.

To make CSS rules dependent on the screen size, we use media queries: @media (max-width: 500px) { // rules for screen...

ActiveRecord: Named bindings in conditions

Posted Almost 4 years ago by Emanuel.
millarian.com

In Active Record you can use named bindings in where-conditions. This helps you to make your code more readable...

Rails: Concurrent requests in development and tests

Posted Almost 4 years ago by Emanuel.

With puma you can have concurrent requests. There are two concepts on how Puma can handle two incoming requests: Workers...

Bundler in deploy mode shares gems between patch-level Ruby versions

Posted About 4 years ago by Michael Leimstädtner.

A recent patch level Ruby update caused troubles to some of us as applications started to complain about incompatible gem...

How to: Throttle CPU in Google Chrome

Posted About 4 years ago by Emanuel.

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

ActiveRecord: Specifying conditions on an associated table

Posted About 4 years ago by Henning Koch.

We can use ActiveRecord's where to add conditions to a relation. But sometimes our condition is not on the...

How to write modular code

Posted About 4 years ago.

Or: How to avoid and refactor spaghetti code Please note that I tried to keep the examples small. The effects...

Rails: Rest API post-mortem analysis

Posted About 4 years ago by Emanuel.

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

How to: Validate dynamic attributes / JSON in ActiveRecord

Posted About 4 years ago by Emanuel.

PostgreSQL and ActiveRecord have a good support for storing dynamic attributes (hashes) in columns of type JSONB. But sometimes you...

Structuring Rails applications: the Modular Monorepo Monolith

Posted About 4 years ago by Dominik Schöler.
medium.com

Root Insurance runs their application as a monolithic Rails application – but they've modularized it inside its repository. Here is...

Effectively Using Materialized Views in Ruby on Rails · pganalyze

Posted Over 4 years ago by Henning Koch.
pganalyze.com

It's every developer's nightmare: SQL queries that get large and unwieldy. This can happen fairly quickly with the...

Resources for working with the Youtube API

Posted Over 4 years ago.

You can use the Youtube API to get data from youtube. Here are some resources and some things that are...

Checking database size by row count

Posted Over 4 years ago by Dominik Schöler.

As an application exists, data accumulates. While you'll be loosely monitoring the main models' record count, some supportive database...

How to enable Chromedriver logging

Posted Over 4 years ago by Arne Hartherz.

When using Chrome for Selenium tests, the chromedriver binary will be used to control Chrome. To debug problems that stem...

Joining PDFs with Linux command line

Posted Over 4 years ago.

There are several ways to merge two (or more) PDF files to a single file using the Linux command line...

Known MariaDB version incompatibilities

Posted Over 4 years ago by Stefan Langenmaier.

MariaDB (and MySQL) is released in different versions with different behaviors. For backwards compatibility this can be managed with the...

Ruby: How to use global variables for a conditional debugger

Posted Over 4 years ago by Emanuel.

You can share a state in Ruby with global variables. Even if you should avoid them whenever possible, for debugging...

Regular Expressions: Excessive backtracking can get yourself in trouble

Posted Almost 5 years ago by Michael Leimstädtner.
blog.cloudflare.com

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

Webpack(er): A primer

Posted Almost 5 years ago by Tobias Kraze.

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

RubyMine: Efficiently filtering results in the "Finder" overlay

Posted Almost 5 years ago by Michael Leimstädtner.

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

ActiveType 1.2 supports "change_association"

Posted Almost 5 years ago by Tobias Kraze.

With ActiveType 1.2 you can modify associations (has_many etc.) after they have been defined. One common use case for...

Katapult EOL

Posted Almost 5 years ago by Dominik Schöler.
github.com

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