Expat v1.0.4 - Reusable, composable patterns - featuring Unions

Latest v1.0.4 release features Union Patterns, that let you compose many named patterns into a single one.

Using unions, you can emulate things like Algebraic data types

For some examples, see:

Implementing SSH tunnels in Elixir

Using Erlang ssh application to implement ssh tunneling in Elixir

https://medium.com/@Drowzy/implementing-ssh-tunnels-in-elixir-e7ad9d1af01a

Cloak v0.7.0-alpha.1 released!

This is a major upgrade of the Cloak encryption library for Ecto.

See the release notes, and try it out, especially if you’re already a Cloak user. Feedback is welcome.

Chat Room in 8 Minutes

In this episode we get an introduction to Phoenix Channels by using them to build a chat room in 8 minutes.

https://elixircasts.io/chat-room-in-8-minutes

Just the 't', please

Part 2A of a series on working with related microservices: just the ‘t’ in ‘etl’.

Making a unified tagging system with many to many Ecto relations

https://youtu.be/48BLGbw324E

Here’s a first stab at modeling a content management system for Alchemist Camp!

The basic challenge is to have multiple types of content—articles, episodes and resource pages that can all be tagged and liked by users in a mostly unified way and yet have structural differences enforced by their schemas.

Lightweight dependency injection in Elixir (without the tears)

What are some lightweight ways to do dependency injection in Elixir that don’t require the ceremony overhead of a Behaviour? Join us as we explore four more ways to model our function interfaces for easy testability!

https://blog.carbonfive.com/2018/03/19/lightweight-dependency-injection-in-elixir-without-the-tears/

sparql_client 0.1.0

Released sparql_client - a SPARQL client for Elixir

See also this ElixirForum thread.

Organize your functional code

When coming to a functional language, I often hear people ask, “How do I organize my code?” In this blog post, I take a look at some ways in which data structures and abstractions can tell us how to organize our modules and functions.

https://robots.thoughtbot.com/organize-your-functional-code

Basic Auth and Cookie based sessions added to Raxx

The latest release of Raxx adds two new features.

  1. Protect an application use the Basic authentication scheme
  2. Keep session data for a user in signed cookies

Mix Build Utilities v3.0.0

Just released version 3.0.0 of Mix Build Utilities with automatic directory handling. I wrote MBU to help with using Mix for build tasks, for example for building your frontend. It supports task deps, watching, and now automatic output directories for temporary build artifacts.

passwordless_auth v0.1.0

Released passwordless_auth - a library for simple passwordless login or 2-factor / multi-factor auth via text message

plug_checkup v0.4.0

Released new version of plug_checkup with time formatting and catching exit and throw values

Identity and Access Management System

https://github.com/straw-hat-team/straw_hat_iam

I want to share in a project we are working on. Still in active development but I would like to have your feedbacks before I gets ready for pushing to Hex.

A OTP app for handling the security system of your platform.

Hightlights

  • Policies: you have a built in AWS Policies mechanism (it doesn’t use anything from AWS, it is built in). This will allow you to have a really robust mechanism for checking permissions.

  • Authentication: we use Guardian for authentication, so basically you will have the tools needed for plug the authentication in your Plug/Absinthe or any other OTP app.

  • Authorization: using the built in policies you will have the tools for checking the authorization of your platform

Working on it

We want to finish the list from this issue https://github.com/straw-hat-team/straw_hat_iam/issues/35 Probably it ill no happen right way for every single bullet point but that is what we are aiming for.

Any suggestion, idea, contributions of any kind will be appreciated.

I hope this will resolve some issues for your applications right now.

Elixir Pipeline Operators

A small writing on what operators can be used in Elixir for pipelining and how.

http://rocket-science.ru/hacking/2018/03/16/elixir-pipeline-operators

Detect gender by first name

Simple API written in Elixir to detect gender by first name https://github.com/alexfilatov/gender_detect

Demo: https://gender-detect-ex.herokuapp.com/detect?name=mark

Benchmarking ets tables vs. Gen Servers

I’ve heard so many people say “ets tables are super fast” without numbers to back it up, but now I can prove it! https://github.com/devonestes/fast-elixir#retrieving-state-from-ets-tables-vs-gen-servers-code

Q&A: Configuring your editor, plugins and code formatter (Elixir 1.6)

A mysterious viewer asked about Elixir tooling in VS Code in the optional comment section of our content and features requests survey and left no way to respond… short of recording this video.

Also at the end of the video is a sneak peek at the new Alchemist Camp website!

Bungee (Elasticsearch Client) 1.0.0-alpha2 Released

https://hexdocs.pm/bungee/1.0.0-alpha2/readme.html

Translated E-Mails and Account Verification with Phoenix and Swoosh (Auth Part 4)

After having gone through writing an auth token library and the first steps towards protecting our API with an auth process, this time we’ll take a look at verifying accounts.

We’re adding an old but proven technique in the world of technology: emails! This will lead us to choosing an e-mail library, integrating it with Phoenix templates and translating those with Gettext.

https://sealas.at/blog/2018-03/translated-e-mails-and-account-verification-with-phoenix-and-swoosh-auth-part-4/

Previous page Next page