Writing dynamic Ecto queries with Composite

Learn how to write dynamic Ecto queries efficiently with Composite, optimizing code organization and query composition for better performance and readability compared to traditional methods.

Article: Writing dynamic Ecto queries with Composite

Elixir Streams |> ⚙️ Set your preferred CLI env for mix aliases

At some point, you might introduce a new mix alias to run a subset of your tests.

But mix requires you to write MIX_ENV=test every time before you run the mix alias! 😡

Well, it turns out there’s a better way. Just set the preferred CLI environment!

Elixir Streams |> ⚙️ Set your preferred CLI env for mix aliases

FIT parsing and code generation in Elixir

Using macros to generate FIT profile https://arathunku.com/b/2024/fit-parsing-and-code-generation-in-elixir/

Modern Clicks (Erlang Fullstack Web Development with Nitrogen), David Cao

Title: Modern Clicks (Erlang Fullstack Web Development with Nitrogen)

The main idea is to make an introduction to Nitrogen (a framework to do full stack web development with Erlang) sharing my personal experience in my current work.

Giving a minimal explanation on how to code in Erlang for a beginner developer and making a simple example on Nitrogen.

This will be a talk driven by code samples and memes. https://www.youtube.com/watch?v=4bgo435yZlk

Modern Clicks (Erlang Fullstack Web Development with Nitrogen), David Cao

Title: Modern Clicks (Erlang Fullstack Web Development with Nitrogen)

The main idea is to make an introduction to Nitrogen (a framework to do full stack web development with Erlang) sharing my personal experience in my current work.

Giving a minimal explanation on how to code in Erlang for a beginner developer and making a simple example on Nitrogen.

This will be a talk driven by code samples and memes. https://www.youtube.com/watch?v=4bgo435yZlk

Flaky Tests with Faker? Fix it with 1 line of config

If you use Faker in LiveView tests, some HTML special characters can cause tests to fail randomly.

You can fix it with 1 line of config –

Read the article: https://johnelmlabs.com/posts/flaky-faker-liveview-tests See the tweet: https://x.com/JohnElmLabs/status/1757107288169455996?s=20

BeamRad.io Podcast: LiveView Native with Brian Cardarella

BeamRad.io hosts Lars Wikman and Alex Koutmos chat with Brian Cardarella, CEO of DockYard about LiveView Native, its development, and its potential impact on the market. They share personal stories and experiences with LiveView Native, highlighting its intuitive and familiar development process. Don’t miss this one!

https://www.beamrad.io/70

Thinking Elixir News 189

Episode 189 of Thinking Elixir. In this week’s podcast, we cover the release of Elixir 1.16.1 with its various bug fixes, delve into German Velasco’s ExUnit testing tip for running tests in parallel, explore the performance boosts experienced by Thomas Millar after upgrading to Bandit, and celebrate the 10-year anniversary of Inch, René Föhring’s documentation analysis tool. We also discuss the innovative use of Elixir Protocols for customized route parameters in Phoenix, the creation of a new Kino for embedding YouTube videos into Livebook, and a stark reminder of the potential dark side of AI and ML with a deepfake phishing scam that cost a company $25 million, and more!

https://podcast.thinkingelixir.com/189

Shell scripting with Elixir

When simple bash scripts start to become unwieldy, you may consider reaching out for something “higher” level, like Perl, Ruby or Python. I’m reaching out for Elixir.

https://arathunku.com/b/2024/shell-scripting-with-elixir/

Simple Req Cookie Jar

A simple req cookie jar plugin, can be used when automating or scraping websites that implement cookie based sessions.

https://blog.litapp.ovh/Simple Req Cookie Jar.html

Nerves Meetup: Scenic Goes To Cairo

Join Jon Ringle, lead embedded software engineer at GridPoint, on a walkthrough of how the Cairo graphics library is transforming Scenic to deliver high performance graphics to Nerves devices.

https://www.meetup.com/nerves/events/298253592/

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

Previous page Next page