Benche and BencheeCSV 0.2.0 released
This past weekend I released new versions of Benchee and BencheeCSV. Main feature is running the benchmarks for a warmup time first, nicer output and adding the standard deviation of ips.
Links:
ElixirStatus & Credo on the ElixirFountain
I had the pleasure of being interviewed by Johnny and we had such a great time!
Can you spot the one time I accidentally fall back into German? :-)
https://soundcloud.com/elixirfountain/elixir-fountain-rene-fohring-2016-06-13
ElixirRuhr Meetup
The next ElixirRuhr meetup will be on June 30th. Doors will open at 18:30, with the talks starting at 19:00. The event will be free, but with a limited amount of space. Please use our Meetup.com page for RSVP!
We are still looking for a speaker. Don’t hesitate to contact us!
Today is the Inaka version 1.0.0 of Aleppo which is available in hex.pm :)
We still migrating our open source tools from Makefile to rebar3.
for the moment, you can find:
Shotgun 0.3.0 with rebar3 support is available in hex.pm
Shotgun 0.3.0 with rebar3 support is available in hex.pm https://hex.pm/packages/shotgun :)
Writing and Publishing an Elixir Library
Recently, I wrote some code to query Google Books API, and extracted it into an Elixir library. Here’s how you can create your own Elixir libraries and publish them to Hex.
Elixir vs Ruby: File I/O performance
Is Elixir an equal replacement for Ruby when it comes to processing files line by line in command line scripts or background jobs?
Read more at Phoenix on Rails blog.
Deppie - Deprecation logging made easy
Deppie is a small library written to make emitting deprecation logs easy - try it out!
Elixir's (Almost) Insane Flexibility: "Mutable" Iteration via Macros
Have you happily sworn off JavaScript-style for, break, and continue after moving to Elixir? It turns out you don’t have to. (Even though you should.)
Let’s have a little fun this Friday – see how macros can bend Elixir to do things that probably shouldn’t be done!
http://ericent.in/elixir/macros/2016/06/10/elixir-flexibility.html
Make Erlang and Elixir (iex) shells save shell history across sessions
Elixir does not support history in the iex shell across sessions. Although you can use the up/down arrows to access previously entered code, this history is lost once you close the iex session. You can use erlang-history to allow persistent history in IEx and Erlang shells.
Using Mix to Easily Create an Ecto Repo
Instead of creating your Ecto Repo by hand in your next Elixir application, use the mix ecto.gen.repo task instead. This post goes over the task including what it does and how to use it.
http://geoffreylessel.com/2016/using-mix-to-easily-create-an-ecto-repo/
2 Million Websocket Connections in Phoenix on DigitalOcean
A reproduction of the 2 million websocket connections in Phoenix benchmark with the focus on making it repeatable by utilizing Docker Machine, Swarm and Compose.
Model callbacks in Phoenix, Ecto and Rails
Can you use model callbacks (after_create et al) in Phoenix just like in Rails? And more importantly, should you?
Read more at Phoenix on Rails blog.
Benchee and Benchee CSV 0.1.0 released - easy and extensible (micro) benchmarking
Benchee (github, hex) is a (micro) benchmarking tool somewhat inspired by ruby’s benchmark-ips. Its goal is to be easy to use, nice output, extensible through plugins and to provide you with statistics, to better see how reliable your results are. BencheeCSV (github, hex) is the first plugin, converting your results to CSV for consumption by spreadsheet and graphing tools.
Read more about it in my the Announcement blog post!
Phoenix Chat Application
Includes private rooms, lobby, blocking users and topical chats https://www.youtube.com/playlist?list=PL_uO5Hv34JImrCd-IRlG8WECYfN0UmLZ7
Deploying Elixir applications with Edeliver
In order to automate deployment process of Elixir-Phoenix applications, we found Edeliver. Resembling Capistrano, it’s practical to configure and distribute releases.
Deploying Elixir applications with Edeliver « Plataformatec Blog
Credo v0.4.0 released; finally create your own custom checks!
Credo v0.4.0 is finally here and with this comes support for custom checks in your projects.
Try it out with the new mix credo.gen.check Mix task!
Over 100 commits went into making this a reality and it is the biggest release to date in terms of community contributed code, which makes me tremendously happy.
You can find it on GitHub and checkout the full CHANGELOG!
Elixir 1.3’s mix xref working its magic in a real world example
In my blog post I took a look at an exciting change coming in Elixir 1.3 - mix xref! It can find undefined modules/functions at compile time, so I went ahead to see if it could find a real world library bug.
