Just released Toniq v1.0. https://hex.pm/packages/toniq : Simple and reliable background job library for Elixir

Just released Toniq v1.0. https://hex.pm/packages/toniq : Simple and reliable background job library for Elixir.

Github: https://github.com/joakimk/toniq

Recent presentation: https://dl.dropboxusercontent.com/u/136929/elixir_oct2015_toniq/index.html

Open-sourcing Erlangelist

I have ported my blog to Elixir/Phoenix and open-sourced the code.

http://theerlangelist.com/article/opensourcing_erlangelist

Envy - Simple loading of dot env files

I wrote a package called Envy for loading env files in your applications. It allows you to be explicit about the env files you load or can automatically load .env and an environment specific env file if present. eg: .env.test

https://github.com/BlakeWilliams/envy

Neurons in Elixir

As a part of learning about neural networks and machine learning I started by building neurons and connections between them. Next month we’ll go even further. Feel free to follow along.

Neuron code here: https://github.com/kblake/neural-networks

Meet-up information here: http://www.meetup.com/dev-coop/events/226149239/

Understanding Elixir macros

Some insights (with code examples) that helped me understand Elixir macros.

http://thepugautomatic.com/2015/10/understanding-elixir-macros/

The Definative All Dancing, All Complete, "WTF happened to my list of integers in Elixir?" blog post.

I’ve tilted at yet another windmill and attempt to answer the unanswerable question.

http://www.cursingthedarkness.com/2015/10/the-definitive-all-dancing-all-complete.html

How long it took to convert our team from Rails to Phoenix

A short discussion around one of the major value propositions for Rails devs interested in migrating to Phoenix.

https://dockyard.com/blog/2015/10/29/how-long-it-took-our-team-to-move-from-rails-to-phoenix

Deploying Phoenix Applications with Exrm and Conform

I just published “Deploying Phoenix Applications with Exrm”. This time, we publish the blog we’ve been working on to a server and make it run in production!

https://medium.com/@diamondgfx/deploying-phoenix-applications-with-exrm-97a3867ebd04

Designing with OTP Applications in Elixir

I continuing putting an application together by composing multiple OTP applications. - http://bit.ly/1O92h7p

Neo4j/Elixir/Phoenix, the Movies Example web app update: graph visualization

Now with graph visualization using http://d3js.org/. Fun project :)

Update available on Github:

Non-Scientific measurement of the cost of calling another process in Elixir (by @dbeck74)

In this post I try to estimate how much it takes from the sender process to call another in the local BEAM VM. This is pretty non-scientific and may only have a meaning for my OS and my use-case. No generic conclusion to be made.

http://dbeck.github.io/Non-Scientific-Measurement-of-Elixir-Remote-Calls/

Published a stub server written in elixir

Examples

Playing Poker with Elixir (part 1)

Kicking off a blog post series on building a Texas Hold ‘Em web application using Elixir and Phoenix. In this post, I walk through a way of ranking poker hands with pattern matching.

http://blog.tokafish.com/playing-poker-with-elixir-part-1/

Elixirscript 0.13 released

Elixirscript 0.13 has been released. This is the first release with protocols.

https://github.com/bryanjos/elixirscript/releases

https://hex.pm/packages/elixir_script

Testing inter-process messages

How to test that a process sends a message:

http://joshnuss.blogspot.ca/2015/10/testing-messages-with-elixir.html

5 minute read

How to parallelise API calls (and other things) to make them super fast

A quick tip with an example of making many Instagram API calls concurrently to greatly improve speed of a Phoenix application.

https://zen.id.au/parallelise-external-api-calls-with-elixir-to-make-them-super-fast

Writing a Blog Engine in Phoenix and Elixir: Part 4, Adding Roles to our Controllers

Posted part 4 of my ongoing Blog Engine tutorial series in Elixir/Phoenix! This time, we cover writing a small helper for checking roles, integrating into the controller, and more tests to keep everything green!

https://medium.com/@diamondgfx/writing-a-blog-engine-in-phoenix-and-elixir-part-4-adding-roles-to-our-controllers-9f4678b48468

Neo4j with Elixir, Phoenix and Neo4j.Sips(β) - The Movies Example Application

A very simple web application using Neo4j with Elixir, Phoenix and Neo4j.Sips(β).

Find more information on Github:

Sap - HTTP combinators for Plug applications

In most Plug applications, there is some sort of match and/or dispatch process that takes place for an individual request. A request will come in, a set of pattern matching statements created will be compared against the requested path, and if there’s a match, a function will be called to send the client a response. Here, there is a clear separation between matching/filtering a request and creating a response.

With Sap, the basic idea remains the same, but the way a request is accepted and a response is created is slightly different. Combinators, a fancy name for simple functions meant to be composed with one another, are tasked with one of two goals:

  • filter requests based on some criteria
  • build up a response

The power of these functions comes from the ability to compose them in any order. There is no clear separation of each type of combinators, so a filtering combinator can be used both before and after a building combinator and vice versa.

Find more information:

Tabula - pretty printer for maps/structs collections

Tabula can transform a collection of maps (structs too, e.g. Ecto models) into an ASCII/GitHub Markdown table. Grab it from hex and enjoy!

Previous page Next page