Notes On Elixir: Getting Started with Nerves
Getting Started with the Nerves Project
https://bordeltabernacle.github.io/2016/03/02/notes-on-elixir-getting-started-with-nerves.html
WIN a copy of Programming Elixir 1.2 on elixirforum.com
Pragprog are giving away a copy of the highly acclaimed Programming Elixir 1.2. Not only that, there’s one up for grabs every month until the end of 2016!
View the competition site for more info:
Concurrent Acceptance Testing in Elixir
Using Ecto 2 and hound, we can run multiple acceptance tests concurrently in elixir. Here’s how:
http://blog.carbonfive.com/2016/03/01/concurrent-acceptance-testing-in-elixir/
Chatter 0.0.11 released
This is gossip communication library originally developed for the scalesmall experiment, but I decided to release it as a standalone library. Here is a long post about the internals and design of the library:
http://dbeck.github.io/Chatter-extracted-from-ScaleSmall/
The TL;DR is that it supports:
- to use the library one only need to read a few lines of code in the middle of the post
- securely encrypted and compressed communication
- a mixed broadcast model, utilizing UDP multicast and TCP together
Credo v0.3.4 released
I just released v0.3.4 of Credo, a Code Linter for Elixir that let’s you enforce your style guide while teaching you things about Elixir best practises.
You can read all about this bugfix release in the CHANGELOG.
Exometer / Phoenix Channel Demo
Linked below is a demo application that pushes Exometer data through Phoenix channels to the UI. Each browser session creates 10 web socket connections to the server and receives new data every second. It in itself is not that special but there are some neat observations:
- The browser is the bottleneck when trying to chart large amounts of (real-time) data
- Sockets take very little memory - opened 500 sockets and memory increased by a couple of MB only
- Once all sockets disconnected, memory usage returns to normal; there is no leakage
Using GenEvent to Notify a Channel of Updates in Elixir
I learn how to use GenEvent and use to trigger channel broadcasts.
http://learningelixir.joekain.com/using-genevent-to-notify-a-channel/
Latest update to my adventures in robotics with Elixir
I posted an update to my robotics with Elixir blog.
Quite a lot happened this month:
- A meetup on mixing Elm and Phoenix to build a robot dashboard - slides
- A Raspberry Pi encounter
- And an invitation to speak at Elixir Daze.
Toggl tribute/clone with Phoenix and React
Toggl is a very useful tool I use everyday to track my work so I couldn’t resist creating a very basic tribute/clone using Phoenix, React and Redux to test out some of the new things I’m learning about OTP processes and taks.
- Source code: https://github.com/bigardone/phoenix-toggl
- Live demo: https://phoenix-toggl.herokuapp.com/
Tutorial coming soon :)
Beginner's Guide to Installing Elixir and Phoenix (Part 4)
In this final segment of the four-part series on installing Elixir and Phoenix, developers are guided through the process of installing the Phoenix framework.
Beginner's Guide to Installing Elixir and Phoenix (Part 3)
This article is part 3 of a four-part series on installing Elixir and Phoenix. Part 3 guides new developers through the process of installing Elixir using kiex.
kiex is a version manager tool for Elixir.
http://verboseguides.com/2016/01/28/installing-elixir-using-kiex/
Beginner's Guide to Installing Elixir and Phoenix (Part 2)
This post is part 2 of a four-part series that helps beginners get started with Elixir and Phoenix. Part 2 explains how to configure, build, and install Erlang using kerl.
kerl is a version management tool for Erlang.
http://verboseguides.com/2016/01/26/installing-erlang-using-kerl/
Beginner's Guide to Installing Elixir and Phoenix (Part 1)
This post is part 1 of a four-part series designed to help beginners get their system set up for programming with Elixir and Phoenix. Part 1 shows beginners how to install Node.js using nvm.
nvm is a version management tool for Node.js.
http://verboseguides.com/2016/01/25/installing-node-js-via-nvm-node-version-manager/
Using Sass Import with Elixir Phoenix and Brunch
In this post, I’m going to show you how to use Sass and its import feature in an Elixir Phoenix application with Brunch without breaking its CSS hot reload feature.
https://jimmy-beaudoin.com/posts/elixir/using-sass-import-with-elixir-phoenix-and-brunch/
How to Set Up A CDN in Phoenix
Setting up Amazon CloudFront in Phoenix.
https://medium.com/infinite-red/how-to-set-up-a-cdn-in-phoenix-af89074e0a62#.peguua2fg
CI running Phoenix
How to setup CI to run Phoenix projects.
http://blog.plataformatec.com.br/2016/02/how-to-setup-ci-to-run-phoenix-projects/
Postgrex notifications
How to leverage Postgres’ LISTEN/NOTIFY pub/sub system in Elixir, using Postgrex.
https://medium.com/@kaisersly/postgrex-notifications-759574f5796e#.719uy4ig9
Elixir Phoenix Deployment
In this post, I’m going to explain how to deploy an Elixir Phoenix application on a VPS. We are going to use Elixir Release Manager (Exrm) for generating releases and all the necessary files to deploy our application.
Lint attributes in Credo v0.3.0
If you ever wondered how the @lint attribute works
@lint false
def my_function do
end
you can read all about it in my new blog post: Credo: Introducing Lint attributes
