Today I learned about the GenServers and DynamicSupervisor in . The idea is to basically spin up new process for every user or request (whichever makes sense) and then supervise it using the Supervisor.

DynamicSupervisor just spins up a supervisor process without any child. You can spin new children by passing the child_spec to the start_child function.

Today, I learned about Supervisors in . There is this concept of Spec which sounds similar to an interface to me. So, functions in Supervisor module expect a child_spec, that is one of two possibilities. If your module implements that, that Supervisor will agree to supervise the Application. The supervisors are cool, it automatically restarts the Application if it crashes based on the options provided. Its kinda like Systemd in that aspect.

Up next is Supervisors and I'm really excited about it. I kinda know the concept of Actor Model now but its really starting to take shape as I explore .

Show thread

Today, I learned about Applications in and how I can make one. Also got to use Agents in the Application. Still unclear about the `use` keyword though.

In , today learned about Agents today and a handy little tool :observer.start() that shows a bunch of statistics from BEAM.

Today I learned about Mnesia, the distributed database built into the runtime.

PS: Elixir School is wonderful resource for learning

I just finished an exercise of implementing a program that plays Hangman using a Dictionary. I'm so proud of this file that I'm sharing it here.

It looks so elegant and clean and no conditionals in the code. Its incredible!

After spending a few days with it seems like I may have crossed the entry barier in the functional programming.

Last night I skimmed through a basic syntax tutorial and some of it made a lot more intuitive sense although I don't completely understand it. Same thing with .


Args is an open microblogging platform for my family and close friends to interact with the Fediverse.