Learning Elixir's Collectable Protocol
I take a deep dive into Elixir’s Collectable Protocol and implement Collectable for some of my modules.
Setting up Digital Ocean for Elixir and Phoenix
I wrote a post a couple days ago about getting a Digital Ocean droplet prepared for Elixir and Phoenix. I hope you enjoy it!
ElixirGolf.com web site goes live...
I’ve made an elixirgolf.com web site, to help people learn to code in elixir.
You can submit solutions via twitter.com/ElixirGolf. Many thanks. Ben
Building a Strawpoll clone in Phoenix
This time, we utilize Phoenix’s beautiful channels functionality to create a live polling platform!
https://medium.com/@diamondgfx/building-a-strawpoll-clone-in-phoenix-23dcb2bc4972
Credo: The first 24 hours, Roadmap coming
Short recap of the first day after Credo’s intial release and a huge Thank You! to the community:
Playing Poker with Elixir (part 3)
In the third post in the series, we create a table process to perform accounting for a poker game, and it uses monitors and messages to coordinate with the child hand process.
Part 2 of Robotics with Elixir - Perception and situational awareness
My account of last night’s Portland (Maine) Erlang and Elixir meetup. On using Elixir/OTP to give robots the ability to assess their surroundings. We got a robot to become frightened when colliding in the dark. http://jfcloutier.github.io/robotex/#november-17-2015
Phoenix, React and Redux
Integrating Phoenix with React and Redux using channels. A follow-through example, with code.
http://10consulting.com/2015/11/18/phoenix-react-redux-example/
simple_format helper for Phoenix
Have you missed the simple_format Rails helper in your Phoenix project?
You no longer have to implement it yourself!
Week1 of scalesmall experiment spent mostly with planning (@dbeck74)
Still not much coding, I was mainly planning the protocol and interaction between nodes. Two classes of events are designed for nodes to be able to join and leave a group and also for advertising their share of the work.
More details at http://dbeck.github.io/Scalesmall-W1-Combininig-Events/
Good Tooling educates: Credo 0.1.0 released
If you want to know why we should educate people instead of shouting at them and how my new tool Credo can help, read the announcement post:
http://trivelop.de/2015/11/16/introducing-credo-code-linter-for-elixir/
Fuzzyurl: Parse, Construct, and Wildcard-match URLs
I wrote an Elixir library to handle non-strict URL operations, including parsing from string, serializing to string, and wildcard-matching different URL components. It’s a rather faithful port of a Ruby Gem I wrote a few months ago.
It’s called Fuzzyurl: https://github.com/gamache/fuzzyurl.ex
Docs here: http://hexdocs.pm/fuzzyurl/0.2.0/Fuzzyurl.html
Hope it’s useful!
Announcing Bunt, 256 color support for your Elixir CLI
I build a package to support 256 ANSI colors for Elixir command-line applications, which will also power the gorgeous UI of Credo once it is released next week.
Get Bunt via GitHub: https://github.com/rrrene/bunt
How To Make The Elixir Shell (IEX) Save History
If you’ve ever used irb, node or pretty much any other command line REPL, you probably really miss being able to use the up and down keys to recall your last commands from a previous session in iex.
Here I’ll show you how easy it is to get this functionality in IEX.
https://zen.id.au/how-to-make-the-elixir-shell-iex-save-history/
Atom Editor for Elixir Development
If you haven’t checked out the Atom text editor, now might be a good time. It is opensource, free, cross-platform and works with well for Elixir Development. In this post I show what Packages/Plugins work well and what they do.
http://brainlid.org/elixir/2015/11/12/atom-editor-and-elixir.html
Links in Elixir
What did I learn about linking Elixir processes, with cool visualizations! http://eddwardo.github.io/elixir/links/2015/11/04/links-in-elixir/
Implementing the game of life with elixir
Since i won’t be able to join this year’s code retreat, i tried to do it on my own with elixir. Surprisingly, i achieved my first end to end game of life implementation with elixir.
The result can be found here
Using Compound Unique Indexes to Validate Uniqueness of Ecto Associations
In this short blog post I want to show you how easy it is to use Ecto validations together with PostgreSQL unique indexes to validate the uniqueness of an association.
