Thomas Millar, Instructor - The bridge between Elixir and AI

Great talk from Thomas on how to use LLMs in Elixir. https://www.youtube.com/watch?v=RABXu7zqnT0

Thinking Elixir News 188

Episode 188 of Thinking Elixir. In this week’s news, we follow-up on Erlang’s use of ExDoc with José Valim’s reveal of upcoming features for ExDoc that promises to enhance documentation experiences. We’ll also explore the return of the Elixir Slack inviter, now powered by a Plug app, and take a look at the latest PhoenixTest project, aiming to unify testing workflows for LiveView and static pages. Plus, we discuss adding sound effects to LiveView with Howler.js and get a sneak peek at the Nx library’s newest Explorer v0.8 release, bridging Elixir to GPU operations for data exploration, and more!

https://podcast.thinkingelixir.com/188

Elixir Streams |> Debugging tip! One quick way to find out which functions you're executing

Want to know which functions are being executed during tests?

I’d typically write custom dbg statements. But I always wanted a way to print the function’s name without me having to know it.

Turns out, there’s an easy way thanks to the __ENV__ macro! 🥳

👉 Elixir Streams |> Debugging tip! One quick way to find out which functions you’re executing

Borrowing libs from Python in Elixir

Why choose between Elixir and Python when you can have the best of both? Read about the tricks to borrowing Python libraries for your Elixir applications.

https://curiosum.com/blog/borrowing-libs-from-python-in-elixir

The Lazy Programmer's Intro to LiveView Part 10: Listing matches for users

https://dev.to/lubien/listing-matches-for-users-257c

This time we are going to do a little bit of frontend and at the same time learn a bit more about Ecto and LiveView streams. Our goal is to make the user page list all their matches.

Maintaining GitHub Actions workflows

CI pipelines in GitHub Actions can get pretty complex with workflow files containing a lot of duplicated YAML code.

Learn how we deal with that in our latest blog post:


Maintaining GitHub Actions workflows

An interview with Carlo Gilmar at Code BEAM America 2022

I went to Code BEAM America 2022 and interviewed Carlo Gilmar, the creator of many graphic recordings which are loved by the BEAM community.

https://www.youtube.com/watch?v=ME-yJd97sgo

Seamless navigation between React SPA and Phoenix LiveView

Example of extending a single page application with Phoenix LiveView, it mostly works! https://arathunku.com/b/2024/seamless-navigation-between-spa-and-liveview/

Network optimization (4x WS message size reduction) for sending lot of data from LiveView to client using push_event

https://dev.to/azyzz/network-optimization-for-sending-lot-of-data-from-liveview-to-client-using-pushevent-2nl

Resize Image Uploads with Phoenix LiveView

Anders Björkland (@abjorkland) takes us through the process of resizing images before upload using Liveview Hooks.

https://dev.to/andersbjorkland/resize-image-uploads-with-phoenix-liveview-589n

Deploying Phoenix app with mix releases

Say hello to an efficient process that gets your app from code to production swiftly.

https://curiosum.com/blog/deploying-phoenix-app-with-mix-releases

Introducing PhoenixTest

PhoenixTest provides a unified way of writing feature tests – regardless of whether you’re testing LiveView pages or static pages.

It also handles navigation between LiveView and static pages seamlessly. So, you don’t have to worry about what type of page you’re visiting or navigating to.

📚 Hex docs

✍️ Introducing PhoenixTest

What is GenStage and How to use GenStage to Consumer Twitter API Forever

Learn how to use GenStage to consume Twitter API and process the tweets in a flow of data processing. In this guide we will dive a little deep into how to do consume a and process tweets using GenStage. https://thiagoramos.me/articles/using-genstage-to-consume-twitter-api

Build a Wordle clone with LiveView

I’ve published a new tutorial where we build a clone of the popular word guessing game, Wordle with Phoenix LiveView.

https://elixircasts.io/courses/phoenix-liveview-tutorial

Thinking Elixir News 187

Episode 187 of Thinking Elixir. In this episode, we celebrate the incredible ten-year journey of the Phoenix framework, marvel at the new interactive language tour by Gleam, explore the latest features of ElixirLS v0.19.0 designed to enhance the developer experience, and delve into Erlang’s big leap towards adopting ExDoc for its documentation. Stay tuned for these exciting developments in the Elixir ecosystem and more!

https://podcast.thinkingelixir.com/187

Elixir Streams |> Easy, Concurrent Temp Dirs with ExUnit ✅

Easy, Concurrent Temp Dirs with ExUnit ✅

Sometimes we need a temp directory in tests.

Our first inclination might be to reach for System.tmp_dir!/0. And that works, but ExUnit has a really nice helper just for us.

Check it out!

🎥 Elixir Streams |> Easy, Concurrent Temp Dirs with ExUnit ✅

Phoenix framework - the world's most loved web framework based on Elixir

Phoenix framework constantly ranks as the most loved web framework in the world in Stack Overflow annual survey.

My ambition with this article is to explain why it became the top pick in web development, as well as why developers and decision-makers who are still considering using this technology should try it out.

https://curiosum.com/blog/phoenix-framework-guide

One Billion Record Challenge in Elixir - faster

1BRC again. With some optimizations, I am able to process 1bn lines (using 10k different cities) on a 16 vcpu cloud machine in ~40 seconds using pure Elixir w/o dependencies (288 LoC)! As a comparison, on the same machine, a solution using Explorer.DataFrame’s would give me a runtime of ~20 seconds. Not too bad for pure Elixir!

https://www.ntecs.de/posts/2024-01-29-one-billion-record-challenge-in-elixir-faster/

Product Management SaaS

Hello, I’ve been working on something for about a year and a half. I was fed up with Jira and other software in that category so I made my own with LiveView/Elixir. There is a free mode for one hour, but it can be restarted as much as you want.

Give it a look and let me know what you think! I made a coupon code in case anyone is interested past the free trial: ELIXIRSTATUS2024 It gives -25% for the first 3 months.

https://biggerpicture.software

Making Phoenix LiveView Sing!

Sound effects are frequently used in games and media to make the experience more believable, and tangible. Sound effects also communicate information and can make an experience much more immersive. Phoenix LiveView is already highly responsive and dramatically simplifies the developer experience of creating real-time web applications. What would it be like to add sound effects to a LiveView page? This post and demo project covers how to do it and why it’s worth considering for your application. LiveView was already awesome, now let’s make it really sing!

https://fly.io/phoenix-files/making-phoenix-liveview-sing/

Previous page Next page