Livebook is sponsoring SpawnFest again
Join Spawnfest, the 48-hour BEAM-based app contest, build a Livebook App and have fun.
https://news.livebook.dev/livebook-is-sponsoring-spawnfest-again-hskPC
Thinking Elixir News 164
Episode 164 of Thinking Elixir. News roundup includes the ElixirConf schedule being published, Bumblebee gets streaming text support, Oban Web is getting a big update, Elixir for Cynical Curmudgeons blog post brings broader positive attention, and Elixir Nx being successfully used to follow along with high profile AI examples.
The Phoenix testing pyramid
A look at the tranditional testing pyramid with a Phoenix twist. I think this is a good guideline when adding tests to Phoenix projects.
✍️ https://www.germanvelasco.com/blog/phoenix-testing-pyramid
Thoughts on Elixir, Phoenix and LiveView after 18 months of commercial use
I wrote down my thoughts on developing a commercial web application with Elixir, Phoenix and LiveView. Mostly a very positive experience but of course there are some warts as well: https://korban.net/posts/2023-08-11-thoughts-on-elixir-phoenix-liveview/
Groxio: New Course on Elixir
Elixir is a hot language right now, but it’s more than a series of buzzwords. In this video, Bruce Tate talks about the features in the language that are fueling it’s rapid growth and expansion. We’ll take you through features you will learn in Groxio courses as they unfold. https://youtu.be/uq_4iwWZ998
Phoenix forms without changesets!
I recently used Phoenix 1.7’s to_form/2 helper. It works flawlessly with changesets ✨
But we can also use it with bare maps! And it has a nice way to handle errors too 🤩
That allows us to better separate the UI from our domain layer. Check it out! 👇
https://www.elixirstreams.com/tips/phoenix-forms-without-changesets
The Missing Phoenix LiveView LifeCycle Flow Chart
It’s been found!
The missing Phoenix LiveView LifeCycle Flow Chart!
Tired of trying to explain LiveView’s life cycle to a non-Elixir dev?
Want to have a cheat sheet as a quick reference?
See the flow chart & mermaid code at: https://johnelmlabs.com/posts/liveview-lifecycle-flow-chart
View on Twitter: https://twitter.com/JohnElmLabs/status/1689285958288506880
Groxio OTP Course: Word Ladder Project Video
Elixir’s OTP lends itself particularly well to Groxio’s CRC labeling. In this video, Bruce Tate breaks down our Groxio Word Ladder project into a function with functions that construct, reduce, and convert. https://youtu.be/KTVQtATxivQ
Configuring Phoenix apps: Two small adjustments with big effects
Showcasing two small techniques that improve your happiness when working with Phoenix application configuration. https://bitcrowd.dev/two-small-adjustments-of-phoenix-application-configuration/
Let’s build GPT from scratch w/ Nx and Axon
“GPT from scratch” with Nx and Axon following the great video by Andrej Karpathy, everything bundled up in a livebook https://elixirforum.com/t/lets-build-gpt-from-scratch-w-nx-and-axon/57039/6
A Deep Dive into Subscriptions with Absinthe
In the final part of this series, we’ll see how GraphQL subscriptions work and how to create them with Absinthe: https://blog.appsignal.com/2023/08/08/a-deep-dive-into-subscriptions-with-absinthe.html
New daily 5 minute newsletter on all things Elixir
Elixir Merge is a new 5 minute daily newsletter bringing you all the important updates, announcements, and tutorials for @elixirlang.
DoIt - Elixir Command Line Interface Library
I wrote a blog post to demonstrate how is simple to write CLI tools using DoIt. Try it! https://dev.to/rzcastilho/doit-elixir-command-line-interface-library-8i4
Thinking Elixir 163: Job Queues using Oban with Parker Selbert
Episode 163 of Thinking Elixir. If you need background jobs or scheduled tasks in your Elixir project, you’ve probably already heard of Oban. We talk with Parker Selbert, the creator and maintainer of Oban, to learn more about the project and the additional paid features in Oban Web and Oban Pro. Parker explains more of the origins, why he architected the way it is, and how the paid extensions work. We also get some insights into companies using Oban and the kind of scale people reach. Spoiler: 100’s of millions of jobs is a thing.
When to use field :default in an Ecto schema
What does the :default
option actually do when you set it on a field in the Ecto schema? This blog post makes a dive into this, to understand how this option works, and discuss when to use it.
https://danschultzer.com/posts/when-to-use-field-default-in-ecto