This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

Last Three Year's Trending Top

pankaj-ag
I have a table called languages with 4 fields, label, description, locale, and is_active. label and locale are two different unique fiel...
New
DidactMacros
I have a question regarding server termination vs server exit. I would appreciate that this question be considered in light of the below...
New
DidactMacros
I’ve been working through Programming Elixir, the second half of Chapter 20 pertains to releases and hotcode reloading. One of the first...
New
DidactMacros
In the context of iex… …yields no error IO.inspect :a do 5 end #==> :a ..yields an error :a do 5 end error: syntax error before d...
New
DidactMacros
I’ve been working my way through the programming elixir book, and I wanted to ascertain whether or not the way I answer a particular ques...
New
DidactMacros
Regarding the following question on Nodes… Exercise: Nodes-4 The ticker process in this chapter is a central server that sends events ...
New
DidactMacros
I’ve been working my way through the Protocols chapter of Programming Elixir, and I came across this exercise in the last section of the ...
New

Trending Over Three Years Top

mathew4509
I have a list say x = ["23gh", "56kh", "97mh"] I would like to pass each element to Val in each iteration. Say, in iteration 1 -------...
New
grangerelixx
Hi everyone, this is my first time writing regular expression. I have a regular expression that helps in validating domain names. I think...
New
mathew4509
This is my migration. And it is one of the tables in my database. I no longer need this table. Can I know what is the command I use to re...
New
arashm
I read the “Programming Elixir” book, here is quote from the book: At some point, the old object-orientation neurons still active in th...
New
chrix75
Hi, I’ve started learning Elixir by reading the book Programming Elixir and I’ve got one question (at this moment :smile: ). What is the...
New
owaisqayum
While starting a genserver process, I want to give it a name. As you can see in the following example pid is right now acting as a name f...
New
owaisqayum
I am trying to send messages to all local nodes periodically about a leader selection. I am using 4 nodes currently [:"n1@127.0.0.1", :...
New
grangerelixx
I have a list of maps. post_a = %{ post_body_size: 4, date: ~D[2021-06-05] } post_b = %{ post_body_size: 4, date: ~D[2021-06-04] } pos...
New
owaisqayum
Hi, I am having three functions and the data inputs to only one of them. Lets say i have a function A having two parameters a and b. The...
New
grangerelixx
I have a file called favicon.ico. I would like to know what code goes into this file or any sample code would be appreciated. And how to ...
New
MatijaL
Hi, I’m trying to hash a random number but can’t make it work… num = Enum.random(1..9999) hashed_num = :crypto.hash(:sha256, num) I’m ...
New
mschwartau
The following is my solution to one of the exercises of “Programming Elixir 1.2” and I wondered if it is considered an anitpattern to hav...
New
grangerelixx
I get the following intermittent test failure errors for some queries. ** (DBConnection.ConnectionError) connection not available and r...
New
wktdev
I understand pattern matching in a very basic sense. So for example I understand perfectly well what this code does %{william: age} = ...
New
grangerelixx
Hi I am trying sorted index in elixir. My migration has the following index create index(:posts, ["date DESC"]) When doing sorted ind...
New
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement