So we've been using CarrierWave for a long time now for our Ruby on Rails projects. Even when we converted to direct upload, we were still using CarrierWave for image processing. It has stood the test of time and I've…
Casey Li · March 14, 2019
Update : The original posting of this article left out two key points that have to do with serving your videos over SSL and allowing your second Cloudfront instance to access your S3 MP4 bucket. Scroll down to the…
Casey Li · December 13, 2018
When it comes to building software, whether you’re building it yourself or hiring a custom software services company to help you out, an increasingly important topic to understand is the Minimum Viable Product or MVP…
Casey Li · August 17, 2018
Alright, let's say your computer didn't shutdown properly, and you're running the PostgreSQL service (via homebrew or other mechanism). You may try to restart the server and it may tell you that there was no problem,…
Casey Li · July 27, 2018
This is going to be a quick one. I was working on a client project that uses Stripe Connect. We were using Stripe.js V2 to generate tokens for bank accounts. However, everytime I tried to use the test account numbers, I…
Casey Li · July 27, 2018
So recently one of our developers discovered an awesome service that Google Docs provides called the Google Docs Viewer. It's super powerful and super easy to use. Basically, it's a service that allows you to pass a URL…
Casey Li · July 27, 2018
Alright, this will be a quick one. So I was using 'fetch' to make a web request in my React Native app. My server was a Rails app. When I used 'localhost' in my request, the request would work perfectly, but if I used…
Casey Li · July 27, 2018
Alright here's a weird one that would have been easy to solve if I thought more about how Ruby works (and how it's not like Java:)). So here was the issue, we were looping through a set of keys on a hash. Now, you…
Casey Li · July 27, 2018
Alright, in my continuing effort to use React Native, I keep running into little issues with all the libraries I use. Usually it's due to a setup issue and my lack of understanding of the true under-workings of what I'm…
Casey Li · July 27, 2018