Update 02
Hey folks, I hope another productive week lies behind you. Here's what I've worked on.
I was on a Podcast!
My friend German Velasco started a new podcast called Elixir Friends and I was his first guest! We spoke about why I put Indie Courses into hibernation, my studio setup, and more! You can check it out on your favorite podcast player or on YouTube:
I wrote a blog post!
I retracted my blog post "Kill your Context" from last year in which I argued for deleting your Phoenix Context and moving everything into Services, Finders, and Repositories. But since last year, I've changed my mind on this and am now back in the "Contexts are great" camp. I share my current favorite design for building Phoenix applications in the post too. You can read it here:
Resurrect your Phoenix Context
A retraction: I changed my mind about Phoenix contexts. Here's how I structure my Elixir code with a simpler, more effective design in the true functional way.
I continue to livestream
This week, I've livestreamed my BlueSky sentiment analysis project three times! We successfully added the analysis part using the BERT model with Bumblebee and visualized the average sentiment over time using TimescaleDB and LiveView. You can follow me and watch the recordings on my YouTube channel @PeterAndCode.
I'll start a new project next week. We'll build a Twitch clone using Membrane and their new Boombox library, add a real-time chat, and maybe add transcriptions using Whisper as well, but let's see how long it takes us to build the RTMP stream necessary to show my livestream on a custom website.
I added a Testing chapter to RunElixir.com
In between livestreams, podcasts, and my regular day job, I continue to add new chapters to RunElixir.com. This week, I've added a Testing chapter which gives a basic introduction to ExUnit and "integration" tests for LiveView. You can find the new chapter here:
Testing — RunElixir.com v0.1.0
Interested in Elixir? This quickstart guide teaches you the basics and gets you coding in 30 minutes.
And that's it! If you want to get notified in real-time, follow me on Twitter or BlueSky. Otherwise, see you in the next update :)