February 19, 2024
Let’s all pay attention... to attention.
Attention. The innate ability we have to focus on concentrating on one aspect of the environment while ignoring others. Attention: also, quite easy to forget what we are paying attention to and most importantly, we are almost never aware of what we are not paying attention to. I believe that attention to other living beings (other huma...
Read more
Read more
October 4, 2023
Support HEIC images in a Rails app using minimagick, a custom Rails Previewer and dropzone.js [Part 2 - Frontend]
[Part 2 of 2] Following Part 1 of this series, we'll now have a look at a different use case. Let's say we have a user signup, where users upload images of their driver's license. In our example, we'll be using Dropzone to have users upload their images. Let's look at how to add support to HEIC uploads. What we want to achieve is to gi...
Read more
Read more
October 4, 2023
Support HEIC images in a Rails app using minimagick, a custom Rails Previewer and dropzone.js [Part 1 - Backend]
[PART 1 of 2] Working with HEIC files is a challenge. As of today, there is not a single browser that renders HEIC/HEIF files. I had the challenge at work of being able to handle these type of files. I'm working with a Rails 6 app and here's what it took for being able to handle these files. First of all, I followed this blog post. As ...
Read more
Read more