Thinking Elixir 213: Can Mnesia remember using CRDTs?

Episode 213 of Thinking Elixir. News includes Chris McCord’s speedrun video on adding a self-hosted llama2-7b to an existing application, Tyler Young’s release of parameterized_test v0.2.0, major updates in Oban Pro’s new launch week, potential for CRDTs being added to Mnesia DB, Zach Daniel’s blog post on Igniter for code generation, and a preview of ElixirConf 2024 with exciting speakers and topics, and more!

https://podcast.thinkingelixir.com/213

AI powered app (with open-source LLMs like Llama) with Elixir, Phoenix, LiveView, and TogetherAI

TLDR; two processes, one for liveview and another process that will handle HTTP call with streams. LiveView will send the prompt and its pid (process id) to the handler, that in turn will spawn a separate process that will make HTTP call and send the chunks of LLM output to the LiveView as the chunks arrive. When the last chunk arrives, we then notify the LiveView that the text generation has finished.

https://dev.to/azyzz/ai-powered-app-with-llms-with-elixir-phoenix-liveview-and-togetherai-4ei1

Learn Phoenix LiveView - new LiveView tutorial

I’m George Arrowsmith and I’m really pleased to announce my new course, Learn Phoenix LiveView. It’s a written tutorial that will teach you how to build a Slack clone in LiveView.

Check it out at https://phoenixliveview.com.

I previously created Phoenix on Rails which is a tutorial teaching Elixir and Phoenix to devs who already know Ruby on Rails. This new tutorial is for everyone, not just Rails devs.

My goal is to create a completely thorough and comprehensive resource that teaches people everything they know to build a rich, fully-featured LiveView app. So the course isn’t just about LiveView - it teaches the full Phoenix stack including Ecto.

I really wanted to create a realistic app for this tutorial. So many existing courses teach you only how to create silly, contrived micro-apps that don’t have any of the complexity and trade-offs of a real production app.

The course is currently available in early access. 67 lessons are currently complete and published. Another 10 to 15 are still in development. Until then the course is available at a 40% discount. Needless to say, if you purchase now then you’ll get full access to all future lessons when they’re published.

I really hope people enjoy this tutorial and that I can help more people experience the power of Phoenix LiveView!

🎥 Do you really need processes in Elixir? 🎥

A talk by Brian Underwood from Code BEAM Europe 2023

https://youtu.be/3vEhHmESf5Q

A demo of a ride-sharing application Briand created to understand what is possible with a standard Phoenix + PostgreSQL application. He explores what performance and resiliency gains can (or can’t) be achieved by designing various process and supervision architectures using an external database, process state, ETS tables, and combinations therein.

Custom Notifications with Flashy

In this episode, we’ll create a custom notification for when a widget is sold out, allowing us to collect users’ email addresses for restock alerts. We’ll use Flashy to help us create this notification.

https://elixircasts.io/custom-notifications-with-flashy

Integrating Sonnet 3.5 with Phoenix LiveView

I have written an article on integrating Sonnet 3.5 with Phoenix LiveView using Req.

Article: https://www.virinchi.me/portfolios/llm-with-phoenix/

Thinking Elixir 212: Dueling with Wizards over ElixirConf!

Episode 212 of Thinking Elixir. In this episode of the Thinking Elixir Podcast, we dive into the exciting new Metal support in Nx, thanks to Paulo Valente’s hard work, and discuss Chris McCord’s impressive demo on deploying a distributed Elixir app with YugabyteDB. We also cover Paraxial.io’s new free tier, the release of the REST client Polo, and the latest updates from the Peep library. Plus, a special collaboration with the Elixir Wizards crew previews ElixirConf 2024 with insights on training classes, talks, and strategies to make the most of the event. Tune in for tips on networking, keynotes, and all the reasons why this conference is a must-attend for Elixir enthusiasts!

Use code ELIXIRPODCAST at checkout to get a $50 discount on your tickets to ElixirConf in Orlando from August 27-30, 2024.

https://podcast.thinkingelixir.com/212

Enhancing Your Elixir Codebase with Gleam

Let’s look at the benefits of using Gleam and then add Gleam code to an Elixir project: https://blog.appsignal.com/2024/07/23/enhancing-your-elixir-codebase-with-gleam.html

Doggo 0.6 with customizable components released

Doggo is a headless UI library for Phoenix LiveView. Version 0.6 comes with component builder macros to generate customized components and introduces a generator task to build stories based on the component options.

https://github.com/woylie/doggo/releases/tag/0.6.0

Simple message-bus for Elixir cluster

Simple use case for using Phoenix.PubSub as message-bus in Elixir cluster without effort (don’t need to use eprc functions) for small & medium system. https://dev.to/manhvanvu/simple-using-phoenixpubsub-as-a-message-bus-for-elixir-cluster-l3c

Apply for FREE Elixir Code & Architecture Review

Erlang Solutions is offering an opportunity to apply for 2 weeks FREE Elixir Code & Architecture Review!

Apply for a chance to get: • Comprehensive code analysis • Performance tuning recommendations • Scalability insights • Best practice advice • More intensive use of your Elixir implementation

Limited places are available, details & apply: https://bit.ly/3WtAHtJ

Leading Companies Using Elixir: 7 Use Cases

Gain insights into the challenges, successes, and best practices embraced by leading companies, such as Discord, Spotify, and others in Freshcode’s blog post: https://www.freshcodeit.com/blog/leading-companies-using-elixir-7-use-cases

A Table-Driven Test Template for Elixir

While popular in other languages, it’s not obvious how to build table-driven tests in Elixir. Here’s the template I’ve been using https://blog.jpalardy.com/posts/a-table-driven-test-template-for-elixir/

12 Elixir Open-Source Projects to Build Your SaaS Ground-Up

Elixir’s ecosystem is evolving rapidly, offering powerful tools from GraphQL APIs to background job processing. Curious about the 12 game-changing innovations and community contributions? Check the Freshcode’s blog post: https://www.freshcodeit.com/blog/12-elixir-open-source-projects

Supervisor, a powerful thing can help dev & devops sleep well

Intro about Elixir supervisor & some features of that. https://dev.to/manhvanvu/elixir-supervisor-a-powerful-thing-for-dev-devops-can-sleep-well-4ge7

Flashy Notifications

In this episode we’ll make our flash notifications shine with the Flashy package.

https://elixircasts.io/flash-notifications-with-flashy

Thinking Elixir 211: A Passion for Testing

Episode 211 of Thinking Elixir. News includes the recent release of Elixir 1.17.2, updates to Livebook v0.13 making clustering in Kubernetes easier and introducing a proxy API for webhooks, and exciting developments in the Explorer library with remote dataframes. We also discuss handy Phoenix tips from Andrew Stewart and the new Gleam 1.3.0 features. In our interview, German Velasco shares his journey from Rails to Elixir, his contributions like Elixir Streams and the Phoenix Test library, and his philosophy on TDD. German also speaks about his upcoming talk at ElixirConf and his desire for integrating JavaScript testing capabilities. Tune in to hear all this and more!

https://podcast.thinkingelixir.com/211

Paraxial.io is Free for Elixir Developers

Paraxial.io is now free for Elixir developers, no credit card required to get started!

https://paraxial.io/blog/paraxial-free

Client vs Server side interactions in Phoenix LiveView

Check out Nyakio Muriuki’s guidelines on deciding between client-side and server-side handling of user interactions in Phoenix LiveView: https://optimum.ba/blog/client-vs-server-side-interactions-in-phoenix-liveview

Validate and Transform Your Data with Schematic

https://www.mitchellhanberg.com/validate-and-transform-your-data-with-schematic/

Previous page Next page