We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Intro
To reduce time & cost of development we develop a new way to call api from mobile to backend system for develop real-time application. That is based on Elixir & Phoenix channel, we call it i…
SuperCache Intro
For build a realtime & low latency application by using Phoenix & Elixir we make a library for cache data in memory. In time we started to build our product we didn’t find a good …
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 the first project I worked, I make some mistakes …
Intro
One of confusions for me when work with Elixir is configuration. That not same with common configuration style I worked before.
So this topic I will deep dive to configuration in Elixir for…
Introduction
At the part 1, we explored how to implement the database for our chat service. In this article, we’ll dive into how to implement chat functionality using LiveView, LiveComponent, Pu…
Introduction
In the part 2, we covered the implementation of chat functionality with LiveView, LiveComponent, PubSub, and Channels. In this final article, we’ll focus on compiling the application …
Introduction
Let’s build a distributed chat service application using Elixir. It will be a simple project where users can join rooms and send messages to others, but it will also introduce some fas…
(still updating)
Intro
Supervisor in Elixir (& Erlang) is one of interesting features of language. For legacy use case it’s enough, but it’s still limited feature for us. Based on process monit…
Intro
Elixir is strange language, some special things like |> and with
statement can make us confuse but it so convenient if we understand that.
In this topic, I will explain a little of bit abo…
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 have a trouble when go to process a big list or file…
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 matching help us to check value, extract value fr…
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 Elixir.
Process is a way of Elixir (backed by Erla…
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 Elixir but it’s hard for people they don’t come from c…
Intro
For newbies, it’s hard for fully understanding Elixir process (also GenServer
). For easy to work with process, Elixir provides Agent
module to support sharing data (state) between two or…
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.
GenServer
is a template/skeleton for work with process …
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 good performance but still missed a important thi…
Intro
I will continue add tips & tricks for develop/debugging with Elixir in this topic for sharing my experiences about Elixir.
Add .iex.exs file for easy develop & debug
Add .iex.exs file t…
One of some difficult to understand from other languages go to Elixir is process (a lightweight/green thread, not OS process) and people usually ignore it to use libraries.
Actually, Elixir process i…
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 recap it.
![bus-message between two processes o…
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 just start to learn Elixir can see what can do with…
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 steps.
1. Setup and config Pytorch.
Install `asd…
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 machine.
For case you want to try run model on GPU (…