Let's criticize Morphix!
I wrote a post on medium, mercilessly dissecting my own elixir code. https://medium.com/perplexinomicon-of-philosodad/a-function-of-parts-a415a017fd41
How to know which of the Enum functions to use in Elixir
How to know which of the Enum functions to use in Elixir, know if you need to use Enum.map, Enum.filter, or Enum.reduce https://minhajuddin.com/2020/07/18/how-to-know-which-of-the-enum-functions-to-use-in-elixir/
16 Awesome Elixir Open-Source Projects
To introduce you to the wonders of open-source Elixir, we have compiled 16 neat frameworks, projects, and libraries.
Structuring an Elixir+Phoenix App
In this post I engage in an evaluation of various open source Phoenix+Ecto apps to try to figure out what I like and don’t like about how to structure my application.
https://medium.com/@fishbrian/structuring-an-elixir-phoenix-app-e32de2919f9a
Adding supervision tree to manage algo traders in Elixir
Just finished 3rd episode in the series “Create a cryptocurrency trading bot in Elixir” - this time we will focus on creating the supervision tree to scale our strategy to multiple traders: https://youtu.be/92khjtXNFxk
Elixir Wizards S4E9b Council of Wizards Part 2
Latest episode of Elixir Wizards is out today! Check it out here: https://smartlogic.io/podcast/elixir-wizards/s4e9b-council/
How to Generate Custom Types with Macros
The post covers how to generate nifty parameterized types to use in @spec
in compile time with macros.
https://rocket-science.ru/hacking/2020/07/15/generated-types
Elixir Wizards S4E9a Council of Wizards Part 1 with Andrea Leopardi and René Föhring
Latest episode of Elixir Wizards is out today! Check it out here: https://smartlogic.io/podcast/elixir-wizards/s4e9a-council/
Building State Machines in Elixir with Ecto
Learn when you should use state machines and how to build one with Elixir’s Ecto.
https://blog.appsignal.com/2020/07/14/building-state-machines-in-elixir-with-ecto.html
ThinkingElixir 004: ElixirConf 2020 with Jim Freeze
In episode 4 of Thinking Elixir, We talk with ElixirConf organizer Jim Freeze to learn the behind the scenes information on how it will work. We cover the current challenges facing conferences, how to replicate the “hallway track”, submitting topics, what they are looking for this year, how going virtual changes things, and much more!
Writing Rust NIFs for Elixir With Rustler
I’ve written a post about writing NIFs for Elixir in Rust with the upcoming 0.22 release of Rustler. Check it out at: https://simplabs.com/blog/2020/06/25/writing-rust-nifs-for-elixir-with-rustler/
Workbench - Manage your Algorithmic Cryptocurrency Trading Cluster
Workbench strives to provide a first class development environment that brings the same productivity and performance benefits from the Phoenix & Elixir community to real time algorithmic and quant workflows.
Cryptocurrency automatic portfolio rebalancing bot.
Cryptocurrency automatic portfolio rebalancing bot built with elixir.
Headless CMS fun with Phoenix LiveView and Airtable (pt. 2)
Here’s part 2 of my Headless CMS fun with Phoenix LiveView and Airtable series where we’ll be setting up the project and implementing the repository pattern:
N-Queens and Backtracking in Elixir
Backtracking algorithm in Elixir for solving N-Queens and other constraint satisfaction problems, with a discussion of different heuristics & integration with constraint propagation techniques. Also, the csp library is published on Hex now!
Vela → Time Series Cache
Vela library is a cache-like state holder for several series. It sieves the incoming data and keeps the last N
non-stale correct values for each series.
Introduction article: https://rocket-science.ru/hacking/2020/07/06/vela-time-series-cache
Handling failures in background workers with Elixir and supervisors
Elixir and the Erlang VM allow us to write highly available systems. Does that mean that we don’t have to do anything to make them reliable?
ex_check v0.12.0 with improved dependency system and more
New version addresses reported issues and introduces a brand new dependency system that allows to construct more powerful workflows involving your favorite set of code checking tools. It’s now possible to run a specific tool(s) only when tool(s) it depends on succeed or fail, which allows e.g. to:
- only run heavyweight tools like dialyzer or tests when fast ones pass or run all integration tests when the smoke test suite passes
- handle failure of specific tool with another one e.g. upload screenshots from failed tests
More info in “Cross-tool dependencies” section of docs
There were also some minor fixes for ExUnit and Dialyzer - check out the changelog for more info.
Quick reminder: ex_check provides the mix check
task that allows to efficiently run all code analysis & testing tools in an Elixir project - in a “one command to rule them all” fashion, both locally and on CI.