Build a Home Weather Display with Nerves and GrovePi

Learn how easy it is to use Elixir to build a Home Weather Display with Nerves and GrovePi: https://axelclark.com/home-weather-display-project/

Upgrading to Phoenix 1.3

In the latest episode we take an existing Phoenix app and upgrade it to 1.3: https://elixircasts.io/upgrading-to-phoenix-1.3

Connect to Running Elixir Applications with IEx Remote Shell

Read about how to use the --remsh option in IEX to connect to running Elixir applications from the command line.

Shameless plug: Check out @elixirstatus' other community project:

Credo, a new static code analysis tool that acts as a code linter, but also focusses on teaching coding practices and code consistency.

EctoAutoslugField adds Ecto 2.1 version support

EctoAutoslugField is a utility library that helps you to generate slugs from your Ecto schemas.

Check it out: https://github.com/sobolevn/ecto_autoslug_field

Tutorial: Deploying Elixir applications with Docker and Digital Ocean

The deploy guide I wish existed when I first got into Elixir and Phoenix. https://subvisual.co/blog/posts/137-tutorial-deploying-elixir-applications-with-docker-and-digital-ocean

Sobelow, the Phoenix vulnerability scanner - v0.3.6

Changes include:

  • Checks for Denial of Service
  • Checks for known-vulnerable packages
  • Bug fixes and improvements

Install with mix archive.install hex sobelow

https://github.com/nccgroup/sobelow

Stateful WebSockets with Elixir’s GenStage

I had a go at using GenStage in conjunction with Phoenix channels, as the backend for an incremental search solution. I wrote up how I did this, and why I took this approach.

https://medium.com/mint-digital/stateful-websockets-with-elixirs-genstage-a29eab420c0d

Optimal order for adding lists

Optimal order for adding lists in Elixir #myelixirstatus http://minhajuddin.com/2017/06/08/optimal-order-for-adding-lists-in-elixir/

Understanding Pattern Matching

From Zero to Hero in Elixir #6

Let’s understand Pattern Matching with many examples including matching Lists, Nested Lists and Maps.

https://youtu.be/79WCxJ9TM1o

Shameless plug: Check out @elixirstatus' other community project:

Credo, a new static code analysis tool that acts as a code linter, but also focusses on teaching coding practices and code consistency.

Learn Word Lists in 1 minute

Let’s master the art of Word Lists in 1 minute!

https://youtu.be/Kpu00n-mXy4

http://elixir-lang.moscow/events/5

We are hosting our 5th #elixirlangmoscow meetup. Will be talking about: ets, neural networks and philosophy. Register here: http://elixir-lang.moscow

Sobelow, the Phoenix vulnerability scanner - v0.3.2

The latest updates make it easier to scan umbrella applications, and introduce an exit flag for better integration with your CI pipeline.

Bug fixes and updates result in additional vectors being flagged.

Install with mix archive.install hex sobelow

Check out the docs: https://github.com/nccgroup/sobelow

Mango Ecommerce Demo Site in Phoenix

As an update to my Phoenix Inside Out book, I am happy to announce that a demo site is now available at http://mango.shankardevy.com

This is exactly the same commerce site that you will learn to build when you read my book Phoenix Inside Out apart from learning to build a mini-Phoenix framework and learning Practical Ecto.

Looking forward to your comments!

BTW, I’m extending the pre-order discount until 22nd June. So if you haven’t ordered your copy, order it now.

WebSockex 0.2.0

WebSockex 0.2.0 Released!

This release has some major API changes where callbacks are changed or removed without deprecation.

The affected callbacks are:

  • init/2 - Removed in favor of handle_connect/2.
  • handle_disconnect/2 - The first argument is now a map.
  • handle_connect_failure/2 - Removed with functionality rolled into handle_disconnect/2.

Checkout the v0.2.0 Changelog or the v0.1.3..v0.2.0 diff for more info.

Have you tried just using a function?

Read about how I fell into the trap of overcomplicating my application with Elixir processes. Always remember that the simplest tool that does the job is probably the best tool for the job.

[24h free video] - Pagination using Scrivener

https://www.dailydrip.com/topics/elixir/drips/paginating-a-user-s-posts

CodeReloader Plug

Code Reload Plug outside Phoenix

https://github.com/pilu/code_reloader

Credo v0.8.0 released

I released v0.8.0 of Credo, the static code analysis tool emphasizing code consistency and teaching.

This release introduces major internal refactorings which result in less memory consumption and an overall faster analysis. It also deprecates @lint attributes in favor of a comment syntax, which allows users to turn of Credo for specific lines.

For details, please refer to the CHANGELOG.

Sobelow, the Phoenix vulnerability scanner - v0.3.0

Sobelow now supports skipping tests on individual functions.

@sobelow_skip ["Traversal"]
def vuln_func(...) do
  ...
end

Additionally, bug fixes and updates result in additional XSS and SQL injection vectors being flagged.

Install with mix archive.install hex sobelow

https://github.com/nccgroup/sobelow

Understanding Maps | Zero to Hero #5

Understanding Maps | Zero to Hero #5

https://www.youtube.com/watch?v=7u2kIbIzv0s