Pluralsight Course: Getting Started w/ Elixir

I just released Getting Started with Elixir on Pluralsight. It goes over the basics of data types, functions, recursion, iex, and mix. It concludes by creating a supervisor application to send out Tweets using ExTwitter

http://www.pluralsight.com/courses/elixir-getting-started

Ecto.Rut v1.2.0 Released - Ecto Shortcuts to make your Life easier!

New version of Ecto.Rut released today, with detailed documentation and tests.

Ecto.Rut on Github

Ecto.Rut provides you with simple shortcut methods to perform Ecto operations (without calling YourApp.Repo or involving yourself with changesets everytime).

Beyond 10,000 Lines

I wrote a blog post about lessons learned from building a large Phoenix project, (> 20,000 lines) on Infinite Red’s Red Shift blog:

https://shift.infinite.red/beyond-10-000-lines-ba1adc17cc7b#.yo19iz4nu

peselx 0.2.0 released

New version of peselx package released today.

Fixed few bugs and add validation for length.

What is peselx?

Peselx is module to validation PESEL number – Polish national ID.

String manipulation micro optimisation using IO lists: A small refactoring shows positive gains in benchmark

Inspired by Nathan Long’s “Elixir and IO Lists” Part 1 and Part 2 articles on the performance impact of using IO lists for string concatenation and interpolation.

String manipulation micro optimisation using IO lists demonstrates a real-world example of swapping naive string manipulation for an IO list. The benchmarked gains for the affected use case were a 20 - 25% performance improvement.

Distributed Supervisor test

This is a small experiment I’ve done to test out a system where we have multiple nodes and a single worker process, registered globally, and running a task every two seconds. The process can only be running in one of the nodes, so the task it runs doesn’t get duplicated in the other nodes. If one of the nodes dies, the remaining ones will try to restart the process.

Any feedback or suggestions will be greatly appreciated :)

https://github.com/bigardone/elixir-distributed-supervisors-test

Debugging "HTTPoison + SSL = Connection Closed"

When running our app in production, we had a bit of a WTF moment: some HTTPS calls over HTTPoison were failing with a mysterious “connection closed” error. This blog post explains what the root cause was and how we fixed it.

Mock Modules and Where to Find Them

When you create mock modules in Elixir, how to you keep them out of your production code?

Introduction to Testing Elixir Applications with ExUnit

I wrote a tutorial at SemaphoreCI to introduce test-driven development in Elixir with ExUnit. Enjoy! https://semaphoreci.com/community/tutorials/introduction-to-testing-elixir-applications-with-exunit

Released today peselx 0.1.0

Released today first version of peselx module to work with PESEL - Polish ID number.

At this moment it is very simple validator that checks control digit only. Plan is to add PESEL decomposition and validations against birth date and sex.

Hosting a Phoenix app from within a domain's subdirectory with Nginx

Hosting a static HTML site with Nginx is pretty trivial. Hosting a Phoenix app with Nginx is somewhat straightforward. But hosting a Phoenix app from within a static HTML site’s subdirectory takes a little more setup.

In this post, I go over the configurations you need to make on the Nginx side as well as the Phoenix side to ensure your Phoenix app can run from within a domain’s subdirectory (i.e. htmlsite.com/phoenixapp). Hopefully it’ll help you avoid the pitfalls I experienced.

http://geoffreylessel.com/2016/hosting-a-phoenix-app-in-a-subdirectory-with-nginx/

Scoped Finds with Ecto in Phoenix

Continuing my series of how to do basic user-related tasks in Phoenix, see how to perform scoped finds using Ecto in Phoenix.

Ace 0.7.0 - A TCP server for Elixir

Released today the latest version of Ace

Ace was built to teach myself more about the networking layer and TCP/IP. This release makes the TCP part 90% complete. This release also adds an example implementing the Quote of the Day Protocol.

The code is full of comments about what I have learned, and might be of interest to anyone looking for an example project.

Lonestar ElixirConf 2017 in Austin, February 10-11!

Lonestar ElixirConf is bringing Elixir goodness to Austin, Texas, with a Texas flair.

February 10-11, Lonestar ElixirConf is hosting a two-day conference, with all the tasty goodness you have come to expect from Lonestar conferences.

The conference consists of two days of Elixir talks, keynotes and lightning talks, plus some mighty fine food with good friends.

Keynote Speakers

Lonestar ElixirConf will be keynoted by the creators of Phoenix and Nerves. You won’t want to miss what Chris and Justin have to say.

Chris McCord Justin Schneck

CFP & Registration Now Open!

We are looking for speakers to talk about any subject that is Elixir related. Submit your talk at:

http://LonestarElixir.com/#cfp

Registration is also open. Sign up now to reserve your space at the lowest rates available.

http://LonestarElixir.com/#register

I hope to see you in Austin at Lonestar ElixirConf 2017!

Dr. Jim Freeze, Ph.D.<br> Lonestar ElixirConf Organizer<br> http://LonestarElixir.com

P.S. Elixir Advocate tickets expire Dec 2, 2016. http://LonestarElixir.com/#register

P.P.S. Speaker submission deadline is Nov 27 http://LonestarElixir.com/#cfp

P.P.P.S. Don’t forget to reserve your hotel room. http://LonestarElixir.com/#hotel

P.P.P.P.S. The menu is yet to be posted, but when it is, I’m sure you find on it BBQ brisket, chicken fried chicken, breakfast tacos, and, of course, chocolate donuts.

Why I'm betting on Elixir

As a Rubyist looking ahead to web development for the next decade, I’m betting on Elixir. Here’s why https://rossta.net/blog/why-i-am-betting-on-elixir.html

Credo v0.4.13 released - Elixir Code Analysis

I just released v0.4.13 of Credo, the static code analysis tool that emphasizes code consistency and teaching.

How IO Lists help Elixir and Phoenix be fast

IO Lists are often just nested lists of strings. But these simple-seeming structures are one of the secrets of efficient IO in Elixir and simple, fast template rendering in Phoenix.

I’ve explained how in two posts on the Big Nerd Ranch blog:

Anatomy of an Elixir Process

Elixir/Erlang concurrency model is based on the actor pattern which runs on top of BEAM(Erlang Virtual Machine) instead of running directly on Operating System. The actor pattern’s actor is an “Elixir Process” in Elixir programming language.

https://medium.com/@mustafaturan/anatomy-of-an-elixir-process-878030c37166

Image Extraction for Cameras

I have built a tool for my company to extract images for a camera. While using HTTPoison, Quantum, DropBox, Mailgun https://github.com/ijunaid8088/extractor

Visualisation of Elixir Supervision Tree Strategies

Elixir has built in four strategies for supervision trees to enable fault tolerant systems. The names of strategies are :one_for_one, :one_for_all, :rest_for_one, :simple_one_for_one. Enjoy the visualisations…

https://medium.com/@mustafaturan/visualisation-of-elixir-supervision-tree-strategies-4d4cb8123138

Previous page Next page