Generating Test Fixtures with Wireshark
Check out how I used Wireshark to help reduce the tedium of testing my Elixir-based serializers and parses for the Bitcoin peer-to-peer protocol:
harnais_runner v0.1.0
Just published first release of harnais_runner.
The package is based on the old code but is almost a complete rewrite.
All the old tests work. Tests are now run concurrently. Also a test can be compared with a “reference” test.
Lots of details and examples in the docs
Elixir Outlaws episode 9 is out - Happiness Lamp
A new episode of Elixir Outlaws is ready for your ears.
Patenting, Typespecs, Testing, and more.
Elixir and Phoenix basic passwordless and databaseless authentication (pt.1)
I just started a new tutorial about building up a basic passwordless and databaseless auth system to authenticate the connection between a small Elm SPA admin panel and a Phoenix socket. Here is part 1:
Happy coding!
Redis Super: Full featured Redis adapter for Elixir based on Redix
Redis Super: Full featured Redis adapter for Elixir based on Redix https://hex.pm/packages/redis_z
- No downgrade from Redix: pipeline concurrency & auto reconnection.
- Parallel connection pooling.
- Sharding support.
- Auto reconnect at Amazon ElastiCache Multi-AZ failover.
[Podcast] Elixir and Property-based testing with Vitaly Tatarintsev
Elixir Mix Podcast Episode 6: Elixir and Property-based testing with Vitaly Tatarintsev
Be Careful Using With in Tests
PSA: Be careful when using Elixir’s “with” special form in your tests. Read the full article to find out why.
harnais_error v0.1.0
First release of harnais_error the Exception for the Harnais Package Family.
Its quite a versatile exception including supporting dynamic customisation of message/1.
It also supports export.
SVG QR code generator - EQrCode
SVG QR code generator is written in Elixir with no other dependencies
Understanding Recursion in 2 minutes!
Small video demonstrating how to use recursion in elixir!
https://www.youtube.com/watch?v=JfXjMASBh_E&feature=youtu.be
plymio_codi v0.2.0
New release of plymio_codi today incorporating support for plymio_vekil I published yesterday.
From web application to distributed system —Prologue
In this post I would share with you some experiences about how to develop a web application that can “simply” scale to a distributed system https://medium.com/@GPad/from-web-application-to-distributed-system-prologue-ee61ce2e992e
plymio_vekil v0.1.0
Just published the first cut of plymio_vekil.
A vekil is a collection (kv store) that associates proxies with forom.
Vekils implement the vekil protocol and forom implement their protocol.
The package include a couples of concrete vekils and four forom to illustrate. Lots of examples as always.
IntelliJ Elixir v7.5.0
-
Complete
#{
with}
. - Show whether variable/module attribute usage is read or write.
- Find Usage for call definitions (functions and macros).
- Improved element descriptions, so you can tell alias vs defmodule vs decompiled defmodule with Go To Declaration lookup.
- Full Elixir 1.6 grammar change support.
-
erl_abstract_code
formatDbgi
chunks are decompiled and translated to Elixir from the Erlang Abstract Code. -
Allow zero or more lines after struct name before
{
. - Lazily create editor panels for BEAM Chunks Code, ExDc, and Dbgi tabs.
-
Allow
true:
andfalse:
keys in maps/keyword lists.
Introducing Sage — a Sagas pattern implementation in Elixir
Distributed transactions are hard and expensive, if you wonder how to pragmatically handle them in a mid-size project— this article is for you. We will discuss how can we use Sagas pattern to run a distributed transaction from Elixir on examples that leverage Sage package. As a bonus, you will see how to use Sagas to organize your domain contexts.
Implementing the Enumerable Protocol
In this episode we implement just three functions—reduce, count and member. In return, we get the dozens of utility functions provided by Enum for our btree struct, including map, random, shuffle, uniq and more.