I don’t know about you, but the amount of successes I had with accepts_nested_attributes_for were few and far between. It always felt like a clunky API. If you’ve ever worked on a large rails project you also know the benefits of giving a form its own proper class, instead of...
I’d like to write a post to try to understand liquidsoap’s own scripting language. Liquidsoap is a functional language, which you may find confusing if you have not programmed much before. In functional languages you can’t do things you might be used to doing in other languages like mutating values,...
Preventing Radio Castatrophy In liquidsoap, the last thing you want is your users to hear silence. There are many reasons this could happen, the DJ fell asleep/got drunk, there’s a bad file in the playlist that cannot be played, etc. The fallback function In liquidsoap you can prevent disasters with...
In my liquidsoap getting started guide I show you how to use a simple text based playlist. In this guide I wanted show you how to use request.dynamic to build a playlist that is based on any function at all, not just reading a simple text file. You could determine...
Docker is often portrayed as a beautiful blue whale shipping containers full of rails apps. The ‘container’ metaphor is pretty easy to grasp I think. What you might not realize is there is the concept of ‘images’ as well. Think of images as a blueprint or plan for creating a...