Morphix 0.4.0 release

Morphix is a tiny library of functions to perform transforms on maps and arrays. Functions include converting strings to atoms in maps, flattening nested data structures, and removing nils from maps. This latest update (0.4.0) adds removing nils from lists, nested lists, lists nested inside maps, etc.

https://github.com/philosodad/morphix

SQL Joins with Ecto

A review of SQL joins and how to do them in Ecto.

The power of Git hooks

Never again commit console logs into your codebase with git hooks!

Check out how in this blog post.

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.

ElixirMix Podcast 023 - “Beyond the DSL” with Arjan Scherpenisse

In this episode of Elixir Mix, the panel talks with Arjan Scherpenisse who is the technical co-founder at BotSquad. Arjan lives in the Amsterdam area of the Netherlands. Also, he is currently working with Miracle Things. Check out today’s episode where the panel and Arjan talk about his article and his latest projects.

Podcast Episode

Gossip Websocket Sync Protocol

I recently started extending Gossip, a chat network for text based games, with other services. When expanding these, I wanted to keep them up to date on any changes that occurred on Gossip’s backing data.

For this I came up with a sync protocol that lives on top of the standard socket, that gets enabled for higher privileged applications. This was really cool to write, so I hope everyone checks it out!

https://blog.oestrich.org/2018/10/gossip-sync-protocol

Hot Code Reloading in Elixir

In this edition of Elixir Alchemy, we’ll dive into hot code reloading to see how Erlang’s code server handles seamless code upgrades in Elixir. To understand how all this works, we’ll start at the module level and work our way up. Let’s get started! https://blog.appsignal.com/2018/10/16/elixir-alchemy-hot-code-reloading-in-elixir.html

Easily hook into your function calls with Interceptor

This post talks about how we used Interceptor to easily replace the deprecated ExStatsD by the recommended Statix library: https://medium.com/onfido-tech/interceptor-easily-intercept-your-elixir-function-calls-3fb17ee18826

EventBus v1.6.0 is out

Update EventBus.Model.Event struct optional attribute type specs to allow nil values

Update type names and docs for the consistent naming convention (Note: there is no logic or method name change)

Update the Travis script to prevent breaks on merges:

  • Include dialyzer warnings
  • Include coverage
  • Include credo checks

https://github.com/otobus/event_bus

https://github.com/otobus/event_bus/wiki

Cachex v3.1 and the Return of Distributed Caches

Cachex v3.1 has just been released, with support for running a cache across Erlang processes (and physical machines).

Check it out!

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.

Getting Started with Ecto Part 1: Installing and Configuring Ecto

Part 1 of Getting Started with Ecto covers how to install and configure Ecto. Check it out and share it.

https://edgardev.com/getting-started-with-ecto-part-1/

Announcing Slax -- An Elixir SAX Parser

I wrote a blog post announcing a new Hex package for SAX parsing of XML documents.

Slax uses the Erlang library :erlsom to do the actual parsing and provides some Elixir niceties to make it a little easier to work with. I plan to follow up with another blog post around some of the implementation details early next week.

Applying SPARQL.ex to RDF shapes

I just published a new post today ’Working with SHACL and Elixir: Applying SPARQL.ex to RDF shapes’:

This post follows up on my last post about querying RDF using the Elixir packages SPARQL.ex and SPARQL.Client.ex.

Here I focus on a simple use case with SHACL and an RDF shape used to provide a template description for the result graph. That is, instead of using a specific SPARQL query we will generate SPARQL queries from the RDF shape that defines the valid result graphs.

Spandex 2.4.0: Now with support for decorators!

Spandex 2.4.0 has been released, adding support for function decorators to easily create traces and spans based on function calls.

For example:

defmodule MyThing do
  @decorate span()
  def do_something_complicated(arg1, arg2) do
    # ...
  end
end

This will generate a span called MyThing.do_something_complicated/2 that reports how long the function took to execute and reports errors that are raised.

https://github.com/spandex-project/spandex/releases/tag/v2.4.0

Compact Sparse Merkle Trees

CSMT package implements the Compact Sparse Merkle tree whitepaper. Bargad framework utilizes CSMT for its Verfiable Map mode of operation.

CSMT Package

ElixirMix Podcast 022 - “Pattern Matching” with Kate Travers

In this episode of Elixir Mix, the panel talks to Kate Travers. She was a student/apprentice with Flatiron School and now is on staff as a software engineer! We talk about adopting Elixir at Flatiron School and how Pattern Matching is a super power. Kate has been speaking on the topic too.

Podcast Episode

ElixirMix Podcast 021 - “Dialyzer Pretty Printing” with Andrew Summers

In this episode of Elixir Mix, the panel talks to Andrew Summers. He wrote the dialyzer pretty printer. The panel talks about Dialyzer pretty printing, “success typing”, writing type specs, and more!

Podcast Episode

The Ultimate Guide to Logging in Elixir

Hey Twitter! It’s that time once again for a new @elixirlang @elixirphoenix blog post, focused on how to really get the most out of logging in Elixir, and it’s being hosted at @timberdotio! https://timber.io/blog/the-ultimate-guide-to-logging-in-elixir/ The research for this post alone taught me a ton of new tips and tricks and I hope you all enjoy it!

ActiveRecord vs. Ecto Part Two

This is the second part of the “ActiveRecord vs. Ecto” series, in which Batman and Batgirl fight over querying databases and we compare apples and oranges.

https://blog.appsignal.com/2018/10/09/active-record-vs-ecto-part-2.html

Bargad - A Data Integrity framework for building efficient #blockchain, transparency logs and more.

Bargad - A Data Integrity framework for building efficient #blockchain (like #Ethereum Plasma does), transparency logs and secure file systems and more Written in #Elixir with focus on reliability, concurrency and scalability. https://github.com/ZanjeerPlatform/bargad

10 lessons from a decade with #Erlang

10 lessons from a decade with #Erlang (some of them are valid for #elixirlang, too ;))