Total 58 Posts

How to install Rails 6.x on a Mac

We will use four different package managers to set up our environment. Homebrew is a package manager for Mac. We will use brew to install rbenv. rbenv is a Ruby manager that makes it easy to install modern versions of the language. RubyGems is a package manager for Ruby that

Radio: Preparing WAV files for cloud-based radio

For the past few months, my team at USC Radio Labs has been working to solve a pretty interesting problem; how to convert 60k+ audio files from WAV format to something more internet-ready. To provide context, in the 1990s, many radio stations started moving towards automating their music programming. The

AWS: Using Rake Tasks to SSH into EC2

I work a lot with EC2 and one thing I always have to Google is how to SSH into an AMI, Ubuntu, Fedora, or CentOS instance. Part of the challenge is that the usernames slightly differ so I wrote this Rakefile to help me remember how to complete simple tasks.

Radio: From WAV to FLAC with ID3 using Echoprint

I'm currently learning about different ways to do music fingerprinting. In this article, I'm simply identifying how to do it using Echoprint. Here's how I did it. I used Ruby Rake to run command line scripts. You can certainly type these commands inside of Terminal but this method allows me

Rails: Troubleshooting Strategies

There are about a dozen or so reasons why your Rails app might fail to load locally or on a host like Heroku. Below are a few common traps I often fall into (with solutions). 80% of the time, the problem has to do with the combination of Ruby, Rails,