Playing Together with Elixir Binaries - Strings :)

Article Image

This article comprises of things that you’ll encounter while working with Strings and Raw bytes explaining with real situational examples. I tried to design the images, to focus on what we are talking. Hope you like them.

A small gist An Image

Kerosene 0.8.0 is out

Kerosene 0.8.0 is released https://github.com/elixirdrops/kerosene

Akd - Elixir Deployment Automation Package

Hi everyone,

We (Annkissam) just published our deployment automation package, akd. Akd is inspired by ruby’s Capistrano. It allows Elixir developers to easily compose a series of automated deployment tasks, and integrate with tools like distilery and docker , which simplify building and releasing Elixir applications. For more information and a detailed walkthrough, check out this post.

ElixirWeekly: The Elixir Community Newsletter, covering community news you easily miss, shared on ElixirStatus and the web, in one email every Thursday.

Spreading Through the Bitcoin Network

Let’s continue our Bitcoin adventures by replacing our standard single-node Supervisor with a DynamicSupervisor and start recursively connecting to other peers in the Bitcoin peer-to-peer network.

Introducing Level, an OSS app built in Elixir + Elm + GraphQL

Level is an alternative to real-time chat, optimized for deep focus. This is an early-stage project under active development.

https://level.app

https://github.com/levelhq/level

Optimal - Keyword Opt Validation

Many functions take opts, and we’ve always wanted a unified interface for validating, defaulting, and documenting them. Optimal’s schema based approach allows for optimizations and auto-generated documentation.

https://github.com/albert-io/optimal

Rethinking app env

This article questions current practices of using application environment and config scripts, and proposes a different approach to configuring Elixir based systems.

http://www.theerlangelist.com/article/rethinking_app_env

Beware of the Software: Gossip in Elixir

Beware of the Software is a new screencast, mostly on distributed systems with Elixir.

The first episode is up and it’s on building a small gossip middleware with Elixir.

https://blog.mendes.codes/i-always-wanted-to-do-a-screencast

ElixirCasts: Seeding Data in Phoenix

We look at how you can use seed data in a Phoenix application.

https://elixircasts.io/seeding-data-in-phoenix

ElixirWeekly: The Elixir Community Newsletter, covering community news you easily miss, shared on ElixirStatus and the web, in one email every Thursday.

How to use Webpack and React with Phoenix 1.3

Phoenix 1.4 not yet released. But you might want to use Webpack already today. Can you do that? Sure.

http://whatdidilearn.info/2018/05/20/how-to-use-webpack-and-react-with-phoenix-1-3.html

Deriving an Elixir Protocol

This is part 2 of a series on Elixir Protocols. We start by using derive with the Protocol we defined last time, and then we look at the more complex usage of derive in the Poison.Encoder library.

https://youtu.be/qpOYCaRPN0M

Swoosh 0.14 is out!

This version brings a couple of minor features and bug fixes: support for no_mx_lookups in the SMTP adapter, template alias for the Postmark adapter, metadata for Mandrill, and more. Check the changelog for the full list.

Installation instructions.

Please give it a try and feel free to open an issue in the Swoosh repo if you run into any trouble.

Beefing Up our Bitcoin Node with Connection

This week I decided to beef up our in-progress Elixir-based Bitcoin node by swapping out the GenServer behavior with the more sophisticated Connection behavior. This lets us be much more nuanced in how we handle problems when connecting to peer nodes.

Check out the full article!

Elixir — quick reference for debugging techniques

Much has been said about Elixir debugging techniques, but in this post, I’d like to give a quick overview of all possible options to serve as a go-to reference when you need to debug Elixir code. https://medium.com/@leandrocesquini/elixir-quick-reference-for-debugging-techniques-8dad3920ab93

Going Multi-Node with Elixir

Last month ExVenture, a multiplayer text-based game server, went distributed . This is a blog post showing that journey and how simple it ended up being.

https://blog.oestrich.org/2018/05/going-multi-node/

On Guarantees of Phoenix Presence

Phoenix Presence if awesome! But it’s important to know about its tradeoffs and limitations before deciding to use it. https://medium.com/@mkaszubowski/on-guarantees-of-phoenix-presence-a4a23c24667f

Your Elixir bucket for debugging

Your Elixir bucket for debugging https://minhajuddin.com/2018/05/17/your-elixir-bucket-for-debugging/ Put your variables and pids in your bucket :D

WechatPay v0.6.0 has been released!

WechatPay is a toolkit for the Wechat Payment Platform.

v0.6.0 ships with a flexible configuration system which make it possible to use WechatPay in a multi-tenancy application. Also, the HK and US nodes are supported in this version.

Full changelog: https://github.com/linjunpop/wechat_pay/blob/master/CHANGELOG.md#v060

Run specific tests in a phoenix project more conveniently

While refactoring a phoenix application, lazy me figured typing the full path to a test was terribly annoying. So here’s mix_phxtest, a helper package to allow running specific tests with shorter commands.

WebSocket security with Phoenix Channels

We’ve recently gone through a round of pen testing and had to deal with feedback on our use of WebSockets. Here is what we’ve done to get the WebSocket code to pass those pen tests