# Elixir Moments

**URL:** <https://forum.elixirforum.com/t/elixir-moments/231>\
**Category:** Discussions\
**Tags:** community\
**Created:** [March 15, 2016, 3:43pm UTC](https://forum.elixirforum.com/t/elixir-moments/231 "2016-03-15T15:43:25Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![AstonJ](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/astonj/32/15_2.png) [@AstonJ](https://forum.elixirforum.com/u/AstonJ)\
**Post date:** [March 15, 2016, 3:43pm UTC](https://forum.elixirforum.com/t/elixir-moments/231/1 "2016-03-15T15:43:25Z")

</div>

Share things relating to Elixir that put a smile on your face :003:

 ![](https://forum.elixirforum.com/uploads/default/original/1X/89d07009c3254f54a156c4a4a722e8834886595d.jpg)

[https://twitter.com/erdemgezer/status/709458806883876865](https://twitter.com/erdemgezer/status/709458806883876865)

---

<div class="post-metadata">

**Author:** ![NobbZ](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/nobbz/32/27235_2.png) [@NobbZ](https://forum.elixirforum.com/u/NobbZ)\
**Post date:** [March 15, 2016, 7:22pm UTC](https://forum.elixirforum.com/t/elixir-moments/231/2 "2016-03-15T19:22:47Z")

</div>

Am I missing something? Something important? Like context?

---

<div class="post-metadata">

**Author:** ![AstonJ](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/astonj/32/15_2.png) [@AstonJ](https://forum.elixirforum.com/u/AstonJ)\
**Post date:** [March 15, 2016, 7:53pm UTC](https://forum.elixirforum.com/t/elixir-moments/231/3 "2016-03-15T19:53:42Z")

</div>

It’s just a common thing people say about other languages (that they don’t scale very well) and obviously Elixir can :003:

---

<div class="post-metadata">

**Author:** ![NobbZ](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/nobbz/32/27235_2.png) [@NobbZ](https://forum.elixirforum.com/u/NobbZ)\
**Post date:** [March 15, 2016, 8:13pm UTC](https://forum.elixirforum.com/t/elixir-moments/231/4 "2016-03-15T20:13:03Z")

</div>

Argh, damn… The words “No-one, Ever” below were misinterpreted as a subtitle by me. Only now I realise, that it is meant to be the person who said this and the date of the quote. So it is meant like this: “Elixir doesn’t scale.” said No-one, ever.

---

<div class="post-metadata">

**Author:** ![sashaafm](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/sashaafm/32/2636_2.png) [@sashaafm](https://forum.elixirforum.com/u/sashaafm)\
**Post date:** [March 21, 2016, 4:15pm UTC](https://forum.elixirforum.com/t/elixir-moments/231/5 "2016-03-21T16:15:23Z")

</div>

```
  def get_available_internal_users do
    user_coll = from(u in User, 
                     select: {u.name, u.role, u.id},
                     where: u.role != "Client") |> Repo.all

    for {name, role, id} <- user_coll, into: %{}, do: {{name, role}, id}
  end  

```

Just wrote this function to get all users from my project’s DB which do not have the role of ‘Client’ and put their name, role and id into a map.

Such nice, concise and readable code.

First I was doing a lot of `List.first/1` and `List.last/1` and `Tuple.to_list/1` to get the values into the map. Then it came to me “why not just pattern match the tuple and use the matches to get them into the Map?” and boom… that code came to fruition 🙂

Honestly can’t think of any other language that would allow me to query a SQL DB, parse the data and make it all so readable and short. There isn’t a need to write comments really, it reads by itself.

---

<div class="post-metadata">

**Author:** ![AstonJ](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/astonj/32/15_2.png) [@AstonJ](https://forum.elixirforum.com/u/AstonJ)\
**Post date:** [April 19, 2016, 1:00pm UTC](https://forum.elixirforum.com/t/elixir-moments/231/6 "2016-04-19T13:00:35Z")

</div>

[https://twitter.com/MSch/status/722377997660123136](https://twitter.com/MSch/status/722377997660123136)

---

<div class="post-metadata">

**Author:** ![AstonJ](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/astonj/32/15_2.png) [@AstonJ](https://forum.elixirforum.com/u/AstonJ)\
**Post date:** [April 29, 2016, 7:33pm UTC](https://forum.elixirforum.com/t/elixir-moments/231/7 "2016-04-29T19:33:54Z")

</div>

[https://twitter.com/erlangfactory/status/726059859095875585?refsrc=email&s=11](https://twitter.com/erlangfactory/status/726059859095875585?refsrc=email&s=11)

:023:

---

<div class="post-metadata">

**Author:** ![kaqqao](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/kaqqao/32/747_2.png) [@kaqqao](https://forum.elixirforum.com/u/kaqqao)\
**Post date:** [April 30, 2016, 12:12pm UTC](https://forum.elixirforum.com/t/elixir-moments/231/8 "2016-04-30T12:12:24Z")

</div>

Tomorrow is orthodox Easter, so I painted eggs, and this one reminded me of Elixir logo 🙂

 ![](https://forum.elixirforum.com/uploads/default/original/2X/3/33a291a8b83875e622c0f1a92190070d99dbc4d6.jpg)

---

<div class="post-metadata">

**Author:** ![AstonJ](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/astonj/32/15_2.png) [@AstonJ](https://forum.elixirforum.com/u/AstonJ)\
**Post date:** [May 2, 2016, 10:58pm UTC](https://forum.elixirforum.com/t/elixir-moments/231/9 "2016-05-02T22:58:03Z")

</div>

![](https://forum.elixirforum.com/uploads/default/original/2X/e/e0b9a291b446c2b19f45d71601e808e650f69fed.jpg)

[https://twitter.com/chris\_mccord/status/727267197798744064](https://twitter.com/chris_mccord/status/727267197798744064)

---

<div class="post-metadata">

**Author:** ![AstonJ](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/astonj/32/15_2.png) [@AstonJ](https://forum.elixirforum.com/u/AstonJ)\
**Post date:** [May 11, 2016, 2:59pm UTC](https://forum.elixirforum.com/t/elixir-moments/231/10 "2016-05-11T14:59:06Z")

</div>

![](https://forum.elixirforum.com/uploads/default/original/2X/0/0a76ec4219a766d7fa2436abc2909cfc1a96b03c.jpg)

[https://twitter.com/chris\_mccord/status/730291435145146368](https://twitter.com/chris_mccord/status/730291435145146368)

---

<div class="post-metadata">

**Author:** ![Hoegbo](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/hoegbo/32/1359_2.png) [@Hoegbo](https://forum.elixirforum.com/u/Hoegbo)\
**Post date:** [May 11, 2016, 7:52pm UTC](https://forum.elixirforum.com/t/elixir-moments/231/11 "2016-05-11T19:52:43Z")

</div>

Awesome , I have become an elixir talk junkie since I started with elixir & erlang  
cant wait for more talks on the tube

---

<div class="post-metadata">

**Author:** ![AstonJ](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/astonj/32/15_2.png) [@AstonJ](https://forum.elixirforum.com/u/AstonJ)\
**Post date:** [August 11, 2016, 6:19pm UTC](https://forum.elixirforum.com/t/elixir-moments/231/12 "2016-08-11T18:19:29Z")

</div>

[https://twitter.com/chris\_mccord/status/763764188883873793](https://twitter.com/chris_mccord/status/763764188883873793)

---

<div class="post-metadata">

**Author:** ![AstonJ](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/astonj/32/15_2.png) [@AstonJ](https://forum.elixirforum.com/u/AstonJ)\
**Post date:** [September 2, 2016, 1:43pm UTC](https://forum.elixirforum.com/t/elixir-moments/231/13 "2016-09-02T13:43:05Z")

</div>

[![](https://img.youtube.com/vi/cLno3Wf720c/maxresdefault.jpg "I believe in Erlang (I have the BEAM)") ](https://www.youtube.com/watch?v=cLno3Wf720c)

Via @rvirding :lol:

---

<div class="post-metadata">

**Author:** ![ibgib](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/ibgib/32/2176_2.png) [@ibgib](https://forum.elixirforum.com/u/ibgib)\
**Post date:** [September 2, 2016, 2:17pm UTC](https://forum.elixirforum.com/t/elixir-moments/231/14 "2016-09-02T14:17:37Z")

</div>

Hah. Favorite line:

> I believe in Erlang, where I get to use concurrency

---

<div class="post-metadata">

**Author:** ![ejc123](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/ejc123/32/283_2.png) [@ejc123](https://forum.elixirforum.com/u/ejc123)\
**Post date:** [September 2, 2016, 3:03pm UTC](https://forum.elixirforum.com/t/elixir-moments/231/15 "2016-09-02T15:03:06Z")

</div>

I love this video!

---

<div class="post-metadata">

**Author:** ![AstonJ](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/astonj/32/15_2.png) [@AstonJ](https://forum.elixirforum.com/u/AstonJ)\
**Post date:** [May 10, 2017, 10:16pm UTC](https://forum.elixirforum.com/t/elixir-moments/231/17 "2017-05-10T22:16:55Z")

</div>

:003:

> [@Which is the fastest web framework? (Link/Repo and results in this Topic)](https://forum.elixirforum.com/t/which-is-the-fastest-web-framework-link-repo-and-results-in-this-topic/4951/57):
>
> I love this community. Not only did y’all improve the reporting of benchmarks for Phoenix and Plug, but y’all also improved and added the benchmarks for other frameworks not even elixir related.

---

<div class="post-metadata">

**Author:** ![AstonJ](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/astonj/32/15_2.png) [@AstonJ](https://forum.elixirforum.com/u/AstonJ)\
**Post date:** [August 25, 2017, 1:21am UTC](https://forum.elixirforum.com/t/elixir-moments/231/18 "2017-08-25T01:21:36Z")

</div>

> [@Mix test reports 2 tests while there's 1 assert](https://forum.elixirforum.com/t/mix-test-reports-2-tests-while-theres-1-assert/8074/4):
>
> Based on this thread, I have just changed Elixir master to report doctests separately from tests. So now we will see: ~/OSS/plug[master %]$ mix test ..............................................................................................................................................................................................................................................................................................................................................................…

💜

---

<div class="post-metadata">

**Author:** ![AstonJ](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/astonj/32/15_2.png) [@AstonJ](https://forum.elixirforum.com/u/AstonJ)\
**Post date:** [September 23, 2017, 2:01am UTC](https://forum.elixirforum.com/t/elixir-moments/231/19 "2017-09-23T02:01:03Z")

</div>

[https://twitter.com/devoncestes/status/910411735458308096](https://twitter.com/devoncestes/status/910411735458308096)

By @devonestes

Well done all of you who make this the friendly, welcoming and helpful place that it is 💜

---

<div class="post-metadata">

**Author:** ![AstonJ](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/astonj/32/15_2.png) [@AstonJ](https://forum.elixirforum.com/u/AstonJ)\
**Post date:** [November 12, 2017, 4:58pm UTC](https://forum.elixirforum.com/t/elixir-moments/231/20 "2017-11-12T16:58:33Z")

</div>

[https://twitter.com/cmeik/status/929435529338413057](https://twitter.com/cmeik/status/929435529338413057)

By @cmeiklejohn

---

<div class="post-metadata">

**Author:** ![AstonJ](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/astonj/32/15_2.png) [@AstonJ](https://forum.elixirforum.com/u/AstonJ)\
**Post date:** [April 27, 2018, 4:38pm UTC](https://forum.elixirforum.com/t/elixir-moments/231/21 "2018-04-27T16:38:53Z")

</div>

6 posts were split to a new topic: [Your Programming Heroes - please post pics and stories!](https://forum.elixirforum.com/t/your-programming-heroes-please-post-pics-and-stories/13922)

[Next page](https://forum.elixirforum.com/t/elixir-moments/231.md?page=2)
