We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
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…
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…
Introduction
At Part 1, we explored how to implement the database for our chat service. In this article, we…
Introduction
In Part 2, we covered the implementation of chat functionality with LiveView, LiveComponent, Pub…
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…
(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…
Intro
Elixir is strange language, some special things like |> and with
statement can make us confuse but it so convenient if we understand that. …
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…
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…
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…
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…
Intro
For newbies, it’s hard for fully understanding Elixir process (also GenServer
). For easy to work with process, Elixir provides Agent
mod…
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…
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…
Intro
I will continue add tips & tricks for develop/debugging with Elixir in this topic for sharing my experiences about Elixir.
Add .iex.exs …
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…
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…
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…
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…
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…