Talk: Embedded Elixir with Nerves - Code BEAM STO

My recent Nerves talk from Code BEAM STO: https://www.youtube.com/watch?v=IVCQvcCEjkU Want to learn more? Sign up for Nerves training at ElixirConf!

Spawning linked processes in Elixir

In this short episode, we continue exploring Elixir processes.

We build a countdown timer and another function that spawns it as a linked process. We see what happens when a linked process dies and how to handle such events without killing the parent process.

ELIXIR/PHOENIX MIX TIP #2: MIX DEPS.UNLOCK

Excerpt:

But what if you would like to clean out your mix.lock file?

You know the drill, you stumble across some tutorial to do something you’d like to add to your Phoenix app, you update dependencies, try it out, then maybe decide it’s not what you want, or worth the effort.

Read on to clean out your mix.lock file

Win a copy of Phoenix in Action

SmoothTerminal is giving away a copy of Phoenix in Action!

Phoenix in Action is an example-based tutorial that teaches you how to use the Phoenix framework to build production-quality web apps.

What I have learned working 1 year full-time using Elixir

I wrote a blog post to wrap up my year as full-time Elixir developer, hope you like it https://medium.com/@lorenzo_sinisi/what-i-have-learned-working-1-year-with-full-time-using-elixir-51efd4c1f66

IntelliJ Elixir 8.0.0

  • New and improved Run/Debug configurations:
    • Distillery Release CLI,
    • elixir
    • iex
    • mix
    • mix test
    • iex -S mix.
  • Evaluate in the debugger.
  • More module filtering controls for debugger.
  • Elixir 1.7 compatibility for debugger.
  • All OTP 21 bytecodes can be disassembled.
  • Spell Checking

Installation Instructions

Algorithmically Fingering Guitar Chords with Elixir

Piggy-backing off my last post on generating all possible voicings for a given guitar chord, this week I used a “sieve”-inspired algorithm to generate all possible* fingerings for a given chord.

  • For some values of “possible.”

Early Bird Pricing to GigCityElixir ends today

It’s an excellent conference season and GigCityElixir is going to make your choices even harder. We’re bringing John Hughes (one of the creators of Haskell), Chris McCord (Phoenix), Prag Dave, James E Gray II and Bruce Tate with many others to scenic Chattanooga. https://www.gigcityelixir.com/

Performing Bulk Updates using Ecto and Elixir

Performing bulk updates with Ecto and Elixir can be a pain. I compare three ways that you can do them. https://adamdelong.com/bulk-update-ecto

A Proposal: Elixir-Style Modules in JavaScript

Organizing our Elixir code into modules, with related structs and functions all in one place, is great. Why not do that in JavaScript too?

https://blog.carbonfive.com/2018/08/13/a-proposal-elixir-style-modules-in-javascript

Cognitex - Library for managing user acounts through AWS Cognito service.

I have recently created a small library for managing user accounts through AWS Cognito service.

Cognitex

The following functionality is covered;

  • User registration
  • Confirm registration (with the confirmation code received from AWS, by email)
  • User authentication
  • Fetch user data by an access token
  • Fetch user data by username
  • Change user password
  • Update user attributes
  • Reset a forgotten password

Link to project https://github.com/Skoda091/cognitex

Elixir Cowboy Websocket Handler

For my side project Gossip, I wanted to have a websocket connection for non-Phoenix connections. To do this I used Cowboy to create a socket handler.

https://blog.oestrich.org/2018/08/cowboy-websocket-handler/

Control one process with another (challenge solution)

Solution to Processes Challenge 1: Control one process with another

The challenge from last time was to create a module with two spawnable processes. One process is a counter and the second is a controller that spawns, starts it and terminates the counter.

Elixium - A fast, anonymous, and scriptable blockchain written in Elixir

https://github.com/ElixiumNetwork/elixium_core

Win a ticket to The Big Elixir Conference

SmoothTerminal is giving away two tickets to The Big Elixir conference in New Orleans, November 8-9!

I’m a keynote speaker (first time!) so I’m super excited to meet up with people there and see old friends!

Generating Excel Friendly CSV Exports with Elixir

Microsoft Excel and CSV don’t always play nicely together, especially when there’s non-ASCII characters involved.

Here’s an overview of how to generate CSV files that work well with Excel:

https://underthehood.meltwater.com/blog/2018/08/08/excel-friendly-csv-exports-with-elixir/

The simplest Elixir process example

This screencast is an intro to Elixir processes. First we make the very simplest example of Elixir processes possible, and then we build on it.

The episode covers how to send, receive, spawn and kill Elixir processes.

Simplify Your Phoenix Controllers with action_fallback

In this episode we’ll look at one way to simplify an existing Phoenix controller using Phoenix.Controller.action_fallback/1

https://elixircasts.io/simplifying-phoenix-controllers-with-action_fallback

How to mock HTTPoison in Elixir?

In this article, I’m showing how to use MOX library to simulate HTTPoison behavior and how properly mock HTTP client in your tests.

https://k.lelonek.me/how-to-mock-httpoison-in-elixir

ExAws.CloudSearch: CloudSearch Service Module for ExAws (0.2)

ExAws.CloudSearch is a service module for AWS CloudSearch for use with ExAws.

Version 0.2 has been released. Nominally, it completes the API suite for the current version of AWS CloudSearch by providing all of the configuration APIs, a suggestion request, and document add/remove APIs.

The APIs for the configuration calls should be considered unstable; the document add/remove APIs should be considered mostly stable.

The code can be found on GitHub.

Previous page Next page