QFM030: Elixir Reading List August 2024

Everything I found interesting about the Elixir programming ecosystem in August 2024

Matthew Sinclair
7 min readSep 4, 2024
Photo by Alexander Grey on Unsplash

August’s Elixir Reading List starts with a focus on LiveState for Elixir: An Overview and How to Build Embeddable Web Apps, which extends the LiveView development experience to embeddable web applications, reflecting a growing trend towards creating modular and real-time interactive interfaces. This emphasis on real-time capabilities is further explored in LiveView: Best Practices for Building Real-Time Interactive Interfaces — Herminio Torres | Code BEAM, which offers insights into optimising LiveView for dynamic, user-driven content.

On the infrastructure side, Announcing the official Elixir Language Server team introduces a new initiative to enhance Elixir’s tooling, aiming to improve code intelligence and development experience across various platforms. This focus on improving the development process is echoed in Elixir Anti-Patterns — What Not to Do in Your Code, which addresses common coding pitfalls and offers strategies for maintaining a clean and efficient codebase.

For those looking to integrate Elixir into AI and machine learning projects, What language modeling is all about? provides a deep dive into language models and their practical applications, while Machine Learning for Stock Trading in Elixir explores the intersection of fintech and Elixir, demonstrating the language’s versatility in handling complex financial services algorithms.

The list also includes practical, hands-on tutorials like Building a Table of Contents Component for a Phoenix Blog, which walks through creating a dynamic table of contents for blogs, and Let’s build a DALLE-3 UI using Elixir + Livebook, showcasing how to leverage Elixir and Livebook to make a front-end for DALLE-3.

Finally, we discuss SaaS dependencies and internal tools in Built-in Elixir Error Reporting and Tracking, which presents an open-source solution for error tracking, reducing reliance on third-party services.

As always, the Quantum Fax Machine Propellor Hat Key will guide your browsing. Enjoy!

Built-in Elixir Error Reporting and Tracking: The article explores the issues surrounding SaaS fatigue and dependency on third-party tools for error reporting and tracking. It introduces ErrorTracker, an Elixir-based solution that allows teams to manage error tracking internally without relying on external services, thus addressing concerns around cost and data ownership.

#Elixir #ErrorTracking #SaaS #OpenSource #ErrorTracker

LiveState for Elixir: An Overview and How to Build Embeddable Web Apps: This article delves into LiveState for Elixir, a framework designed to extend the LiveView-like development experience to embeddable web applications. It explains the concept of embeddable web apps, benefits like centralized state management, real-time updates, and enhanced security. The article provides a step-by-step guide on integrating LiveState into a Phoenix application to create an embeddable to-do list web app, offering both server-side and client-side handling techniques, with examples using LitElement and React.

#Elixir #WebDevelopment #PhoenixFramework #LiveState #EmbeddableApps

Savannah Manning and Bruce Tate [GigCityElixir24] An Expedition into Elixir ML: Savannah Manning and Bruce Tate delve into Elixir ML during their talk at GigCityElixir24. Whether you’re a beginner or an experienced developer in Elixir, this talk promises to change the way you view code and its applications in machine learning.

#Elixir #GigCityElixir #MachineLearning #Programming #TechTalk

Becoming a Principled Engineer: Chris Keathley’s talk at GigCityElixir24 titled “Becoming a Principled Engineer” explores how to approach coding with principles in mind. Whether you are a beginner, a hobbyist, or use Elixir professionally, this talk offers insights on improving how you view and write code.

#Engineering #TechTalk #Elixir #Coding #SoftwareDevelopment

Announcing the official Elixir Language Server team: Elixir has announced its official Language Server team, composed of prominent developers in the community. The team aims to enhance code intelligence infrastructure for various tools and editors, addressing technical debt and improving upon existing implementations. Supported by Fly.io and Livebook, the project will unify efforts from three different language server implementations to provide a more robust solution.

#Elixir #LanguageServer #Programming #TechNews #CodeIntelligence

Building a Table of Contents Component for a Phoenix Blog: This article provides a step-by-step guide on how to build a table of contents component for a Phoenix blog. It covers how to configure the MDEx markdown parser to include IDs and anchor links for headings, and how to parse and convert the HTML headings into a suitable data structure using the Floki library. The guide also includes code examples and tests to validate the implementations.

#Elixir #PhoenixFramework #WebDevelopment #Markdown #TableOfContents

Elixir Anti-Patterns — What Not to Do in Your Code: This article dives deep into common pitfalls and anti-patterns in Elixir projects, such as mass assignment vulnerabilities, dynamic atom creation issues, and the use of Ecto schemas in migrations. The author provides code examples of these pitfalls and offers solutions to avoid them, helping developers maintain cleaner and more efficient codebases. By understanding and avoiding these common mistakes, programmers can write better Elixir code and ensure higher code quality.

#Elixir #Programming #AntiPatterns #CodeQuality #Security

What language modeling is all about?: The article delves into the intricacies of classical language modeling and GPT-2, explaining how language models like GPT-2 predict text, handle tokenization, and adjust creativity with temperature. It provides a comprehensive overview of the techniques and systems used behind the scenes in natural language processing and modern AI models.

#NLP #AI #LanguageModeling #GPT2 #DeepLearning

Let’s build a DALLE-3 UI using Elixir + Livebook: In this video, Samrat Man Singh takes you through building a UI for DALL-E 3 using Elixir and Livebook. The tutorial covers the steps needed to set up and create the interface, showcasing the capabilities of these technologies in generating artwork. The code and walkthrough are detailed, making it accessible to those with a basic understanding of programming.

#Elixir #Livebook #DALLE3 #UI #Programming

LiveView: Best Practices for Building Real-Time Interactive Interfaces — Herminio Torres | Code BEAM: Recorded at Code BEAM Europe 2023, this talk by Herminio Torres focuses on best practices for building real-time interactive interfaces using LiveView. Herminio Torres discusses techniques and strategies for creating efficient real-time experiences.

#LiveView #CodeBEAM #Realtime #InteractiveInterfaces #TechTalk

Machine Learning for Stock Trading in Elixir: Sam McDavid discusses the applications of machine learning for stock trading using the Elixir programming language. The video, which is roughly 48 minutes long, is suitable for developers interested in integrating real security practices into their stock trading algorithms.

#MachineLearning #Elixir #StockTrading #Programming #Fintech

Retrieval-Augmented Generation (RAG) with Elixir: In this article, Shapath Neupane shares his initial attempt at implementing Retrieval-Augmented Generation (RAG) using Elixir. The project aims to build a system similar to PrivateGPT, focusing on chunking and metadata techniques without relying on LangChain or OpenAI. By enhancing Large Language Models (LLMs) with RAG, the author demonstrates a cost-effective way to make LLMs contextually accurate and useful across various domains.

#Elixir #RAG #LLM #AI #PrivateGPT

Regards,
M@

[ED: If you’d like to sign up for this content as an email, click here to join the mailing list.]

Originally published on quantumfaxmachine.com, and cross-posted on Medium.

--

--