Our Blog Topics
Phoenix LiveView Optimization Guide
Author: Manh Vu
Published: 2024-11-10

Intro

Phoenix LiveView is very attractive for real-time & rich interactive web app. I have worked with LiveView for 2 years and very like it.

For…

Elixir Configuration & Environment variables
Author: Manh Vu
Published: 2024-10-10

Intro

One of confusions for me when work with Elixir is configuration. That not same with common configuration style I worked before.

So this top…

Build a small chat service using Elixir and deploy it on Amazon ec2 using AWS (Part 1)
Author: Tam Ly
Published: 2024-09-14

Introduction

Let’s build a distributed chat service application using Elixir. It will be a simple project where users can join rooms and send messa…

New supervisor for Elixir - SuperWorker
Author: Manh Vu
Published: 2024-08-18

(still updating)

Intro

Supervisor in Elixir (& Erlang) is one of interesting features of language. For legacy use case it’s enough, but it’s st…

Elixir's with statement & pipe operator - Understanding & use cases
Author: Manh Vu
Published: 2024-08-13

Intro

Elixir is strange language, some special things like |> and with statement can make us confuse but it so convenient if we understand that. …

Elixir Stream - The way to save resource
Author: Manh Vu
Published: 2024-07-16

Intro

When go to Elixir, almost of us use Enum (or for) a lot. Enum with pipe (|>) is the best couple, so easy to write clean code.

But we ha…

Elixir pattern matching - save your time, similar with the way of our thinking
Author: Manh Vu
Published: 2024-07-08

Intro

Once of interesting features of Elixir is pattern matching. That is way to save your time and similar with the way of our thinking.

Pattern…

Elixir process - Explain more - Part 2
Author: Manh Vu
Published: 2024-07-07

Intro

Elixir process is weird & hard to fully understand.

Every single line of code is run in a process so understand it help us work good with E…

Elixir Task, Task.Supervisor - Another way to work with Elixir process
Author: Manh Vu
Published: 2024-07-06

Intro

If you just jump to Elixir from other languages, process & supervisor is one of many things you need to understand to take advantage of Elix…

Elixir Agent - A simple way to sharing data between processes without implement process or GenServer
Author: Manh Vu
Published: 2024-07-04

Intro

For newbies, it’s hard for fully understanding Elixir process (also GenServer). For easy to work with process, Elixir provides Agent mod…

GenServer, a simple way to work with Elixir process
Author: Manh Vu
Published: 2024-06-29

In the topic about “Elixir Process, what is? how works?” I have talk about Elixir process now I talk about GenServer & use cases in Elixir.

`GenSer…

Elixir Supervisor, a powerful thing can help dev & devops sleep well!
Author: Manh Vu
Published: 2024-06-29

Intro

I many years in my career, supervisor model is the best thing I wish other languages have. For example I have to work with Golang, it’s very…

Elixir Tricks & Tips for debugging
Author: Manh Vu
Published: 2024-06-20

Intro

I will continue add tips & tricks for develop/debugging with Elixir in this topic for sharing my experiences about Elixir.

Add .iex.exs …

Elixir Process, what is? how works? What is linked & monitored process - Part 1
Author: Manh Vu
Published: 2024-06-13

One of some difficult to understand from other languages go to Elixir is process (a lightweight/green thread, not OS process) and people usually ignor…

Using Phoenix.PubSub as a message-bus for Elixir cluster
Author: Manh Vu
Published: 2024-06-09

In my sharing session about using Phoenix.PubSub as message-bus for Elixir cluster, it quite simple and effective way for small & medium system. Now I…

Using Ecto (without Db) for validating Phoenix form
Author: Manh Vu
Published: 2024-06-08

I had a sharing session for Elixir community in Saigon about how to using Ecto without db for validating Phoenix form. Now I add this for people who j…

Setup LiveBook/Elixir to run Nx lib with Torchx (with GPU) on Macbook(Apple Silicon)
Author: Manh Vu
Published: 2024-03-23

If you want to run Elixir Nx library for machine learning on Macbook/Mac Mini/Mac Studio with Metal (GPU) for Apple Silicon you can simple follow step…

Setup Nx lib and EXLA to run NX/AXON with CUDA
Author: Manh Vu
Published: 2024-03-23

Steps for you setup and run Machine Learning with Axon or simple Nx script with EXLA with CUDA (GPU) on Linux(Ubuntu).

**1. Setup CUDA on local machi…