Update 01
Hey folks,
With the decline of Twitter, it feels like our little community is spreading into ever more small clusters, and it's harder to track what people are doing. That's why I thought I'd send you regular updates about what I'm currently working on, just in case you missed it.
In the near future, I also want to include smaller "opinion pieces" about non-Elixir, but technology and work topics like e.g. "Is Scrum great or terrible?", my work ethic, or my recent learnings. Stuff that's too opinionated and/or personal to become a blog post, but might be interesting nevertheless.
But for today, I'll stick to a small overview of what happened in the past weeks.
I started live-streaming again!
I missed talking to you live on camera. That's why I rekindled my live-stream. This time around, I focus on building "cool" projects with Elixir live.
Our first project is a sentiment analysis pipeline for the Twitter-competitor, BlueSky. We hook into their Firehose API, process and batch the posts using Broadway, run sentiment analysis on each post with Nx and Bumblebee, store per-minute sentiment averages in TimescaleDB, and visualize everything with LiveView.
It's a big project, but in my live-streams last week Thursday and Friday, we managed to set up the data processing pipeline and will continue with the sentiment analysis next week.
You can find the previous two live-streams on my YouTube Channel PeterAndCode. I plan to stream 2-3 times a week mostly after work from 5pm Amsterdam onward. To get notified when I go live, follow me on either Twitter, BlueSky, LinkedIn, YouTube, or Twitch
I shared a tip about the use of <-
vs =
in with
-statements
When you write a with
-statement, watch out to not use a =
in your clauses since this will create a MatchError
if your clause doesn't match. Rather use the <-
arrow, which will fall back to your else
-clause as expected.
I added a Logger section to RunElixir.com
I continue to add new sections to RunElixir.com and dove deep into Elixir's Logger module last week. While building my own logger backend, I ran into quite some problems, but - as always - the kind people on the Elixirforum were able to help me. I received a very interesting reply about the new way of adding custom Logger backends here. If you're working on such backends, you'll want to read this comment.
I started reading Character Limit
about the Twitter takeover by Elon Musk
If you haven't heard enough about the Elon and Twitter catastrophe yet, there's a new book which shines a light on the whole takeover story and gives really interesting context to what has transpired at Twitter.
It's called Character Limit
and is available now. I've started reading it and it's extremely insightful.
And that's it for this update! Catch you in the next one.
Best, Peter Ullrich
The Official Dutch Train Bobblehead.