Elixir Blog Posts

I’ve written up some learnings/guide to deploying Elixir on Dokku using Ansible

1 Like

While not a blog per-say, I will be releasing Elixir tips and tricks M/W/F via my twitter. A lot of these tips stem from my blog articles @ akoutmos.com but the goal is to keep code snippets to less than 30 lines for a quick dose of Elixir in the morning/afternoon/evening depending on where you are.

Check out the announcement tweet https://twitter.com/akoutmos/status/1301554820403298305 and be sure to follow me so you don’t miss out on any free content :).

3 Likes

Looking forward to it! Thank you!

Note: some short code snippets to read before/after work are always nice!

1 Like

I’ve put together a couple of beginner level posts on Phx.Gen.Auth:

https://experimentingwithcode.com/phoenix-authentication-with-phx-gen-auth-part-1/
https://experimentingwithcode.com/phoenix-authentication-with-phx-gen-auth-part-2/

5 Likes

Last month, our colleague Lukas Larson launched the JIT compiler for the BEAM VM. The JIT compiler offers a performance boost of anything from 30% to 130% increase in the number of iterations per second. In our latest blog, Lukas demonstrates the performance testing of the JIT Read more at https://www2.erlang-solutions.com/jitblog2

5 Likes

Update on our blogs section:

You can post in one of the Official Blog Posts threads (like this one), or, via Devtalk and a new thread will be posted in our #learning-resources:blogs section here for each blog post so long as you have an account with the same primary email address on both forums (if you don’t, it will be cross-posted to our general catch all thread).

Please see this announcement for details: Calling all BEAM Bloggers!

:nerd_face:

1 Like

Hi @alvises,

Just a note to let you know I’ve read your real-time object detection article a few times now - there are heaps of gems in there. Thanks for putting together such a comprehensive walk-through of how to make Elixir & Python talk together.

2 Likes

Thank you so much @mindok! :blush: :green_heart: :purple_heart:

1 Like

Hi there! If you are wondering how to simplify your Elixir/Phoenix codebase, check out 5 tips and code recipes for your next Elixir/Phoenix project! Spoiler: custom Ecto schema, reversed with statements etc.

2 Likes

I just wrote a piece on the elixir handling of child specs works and how the standardization for child_spec/1 (and as a side-effect start_link/1) came to be:

3 Likes

If you encountered problems with long-loading data in your projects, here’s a few words on how to handle them with GenServer: Phoenix Live View: Handling long-loading data with GenServer

1 Like

Hey everybody!

I’ve just published a video, and related article, where I show how to use Bakeware, a cool tool to compile Elixir applications (CLIs, Scenic, Phoenix etc.) into single executable binaries.

6 Likes

Hello! I wrote 2 blogs about setting up Mutual TLS in Elixir. Part 1 goes over setting up basic Mutual TLS with HTTPoison and Part 2 covers some advanced concepts (testing client authentication, intermediate CAs).

2 Likes

Some thought and practices about building multi-level supervision tree in Elixir.

http://www.thinkingincrowd.me/2020/09/06/multi-level-supervision-in-elixir/

4 Likes

To celebrate the upcoming 500,000th hex download of ex_cldr I’ve started a simple blog on internationalisation and localisation with Elixir.

its called Adventures in Internationalization and Localization.

8 Likes

Starting to experiment with some design and architecture patterns, starting with the Circuit Breaker

https://allanmacgregor.com/posts/circuit-breaker-pattern-in-elixir

2 Likes

This discusses the “double mount” one does have with a fresh request to an liveview page. It’s something questioned every now and then on slack and a conversation last week prompted me to write something down in a more permanent medium.

https://kobrakai.de/kolumne/liveview-double-mount/

5 Likes

And already another one, because I nearly lost the insight to my trash being cleared out:
This is about using unnest in postgres for ordering rows by arbitrary means, but also using is as a clean option for updating the position column for user orderable data.

https://kobrakai.de/kolumne/unnest-for-runtime-sorted-results/

2 Likes

Since a language tag is the canonical way to express user preferences, I wrote an article about what a language tag tells you about user preferences. It turns out I can tell you quite a lot.

1 Like

Erlang Term Storage in Elixir programming. How does it work?

A proper introduction to ETS, supported by a tutorial on building a GenServer to save, search and delete data from the ETS table. Enjoy!

1 Like