Three Ways to Debug Code in Elixir

In this post, we explore three common methods of debugging code in Elixir, as well as how to debug Elixir processes using trace and observer.

https://blog.appsignal.com/2021/11/30/three-ways-to-debug-code-in-elixir.html

ThinkingElixir 075: RabbitMQ and Commanded at Simplebet with Dave Lucia

In episode 75 of Thinking Elixir, we talk with Dave Lucia about Simplebet’s use of RabbitMQ and Commanded for solving unique real-time problems. We learn how Simplebet uses Elixir when creating real-time sports betting markets. We also learn what CQRS systems are, how the Commanded library supports that in Elixir, and how Commanded pairs well with RabbitMQ. Dave talks about moving away from Kafka to RabbitMQ and how that made sense for their use cases. Also valuable, Dave shares where they have found the “dragons” in their design. A helpful discussion that helps identify when CQRS systems might be a tool to use when solving our own problems. Simplebet is betting on SurfaceUI for front-end design in a big and interesting way as well!

https://thinkingelixir.com/podcast-episodes/075-rabbitmq-and-commanded-at-simplebet-with-dave-lucia/

Summer and winter time changes with DateTime

This is a post on how I forgot about handeling summer time in Elixir.

Building a simple Calendly clone with Phoenix LiveView (pt. 4)

Hi, there 👋🏼! Here’s part four of the Building a simple Calendly clone with Phoenix LiveView series, in which we will implement the monthly calendar.

https://bigardone.dev/blog/2021/11/22/building-a-simple-calendly-clone-with-phoenix-live-view-pt-4

https://bigardone.dev/images/blog/2021-11-22-building-a-simple-calendly-clone-with-phoenix-live-view-pt-4/post-meta.png

Happy coding!

Elixir content in Portuguese (pt-BR)

I’m betting my time on training Brazilian programmers with weekly content in Portuguese. Check out our channel: https://bit.ly/ellycode

https://dev.to/adolfont/the-elixir-community-owes-a-lot-to-pragmatic-programmers-glf

Books are very important for the community. In this text I show how one particular book publisher has been relevant for the Elixir Community.

Top Elixir Learning Media & Resources in 2022

Best Elixir learning resources in 2022 - for beginners, regulars and experts

https://curiosum.com/blog/top-elixir-media-resources-2022

Elixir Wizards S7E4 Learning and Teaching Functional Programming with Adolfo Neto

The latest episode of Elixir Wizards is out! Check it out here: https://smartlogic.io/podcast/elixir-wizards/s7e4-neto/

Introductory LiveView Course: LiveComponents

I’ve published two new episodes of the Intro LiveView course:

Expectations with Mox

I updated my popular post on mocking with Mox with expectations.

ThinkingElixir 074: New to Elixir and Women in Tech with Miki and Kate Rezentes

In episode 74 of Thinking Elixir, we talk with mother and daughter team Miki and Kate Rezentes about their experiences learning and working with Elixir and as women in the tech industry. Miki presented “Greasing the Wheel of Adoption” at ElixirConf. Her focus was on the people aspect of adoption and we had a great time going deeper on that topic here. Kate, who is just starting her career as a developer, talks about ways we can share tech with the young people around us. We get their ideas and suggestions for ways to support women in tech, young people learning tech, and more!

https://thinkingelixir.com/podcast-episodes/074-new-to-elixir-and-women-in-tech-with-miki-and-kate-rezentes/

Deploying Elixir eBook

I published my book “Deploying Elixir”

It compiles the articles from my blog but it also includes a NEW, UNPUBLISHED, chapter with instructions to deploy to Heroku.

The best thing: it is FREE to download!

Get it here https://blog.miguelcoba.com/deploying-elixir-ebook

Safe Ecto Migrations - Community Resource

There is a new community resource available on writing “Safe Ecto Migrations”. When we get a migration wrong, it can lock up your production servers with table locks!

This 4 part guide walks through:

  • Understanding Ecto migrations and what Postgres is actually doing
  • Setting up your mix release project for running migrations
  • Recipes for safely making many common changes
  • How to safely make batch data changes
  • Includes a Github repo with samples!

A valuable new resource for the community!

https://fly.io/phoenix-files/safe-ecto-migrations/

Debugging Elixir Phoenix: Beyond IO.inspect/2

We cover some options for debugging Elixir when using IO.inspect/2. Then we show some examples of additional debugging tools available to you in Elixir using a simple Phoenix app.

ForthVM: library implementing a Forth-like multi-core multi-process virtual machine

I have written it to experiment implementing a stack-based preemptive multitasking interpreter (and to play) using Elixir.

It is a funny toy! 😃

excellent_migrations: Elixir lib for detecting unsafe db migrations

Hey, I’ve just released excellent_migrations lib on Hex. It’s a tool that analyses database migrations and detects potentially dangerous operations. I was inspired by a popular Ruby gem strong_migrations.

Your feedback and contributions are super welcome 😎

Launching Livebook using LiveView

I had a blast creating fly.io‘s Livebook launcher in LiveView! Here I go through some of the state management challenges and the Phoenix tools we used to overcome them.

https://fly.io/blog/creating-the-livebook-launcher-in-liveview/

Elixir Wizards S7E3 The Benefits of Consistently Growing Your Toolset with Florian Kraft

The latest episode of Elixir Wizards is out today! Check it out here: https://smartlogic.io/podcast/elixir-wizards/s7e3-kraft/

Build a Postgres Proxy in Elixir using Pattern Matching

Want to learn how your application talks to your database? Build a proxy using Elixir with its powerful pattern matching and gen_tcp to take your database understanding to the next level. In this article we build a Postgres proxy in Elixir to show all you need is a little curiosity to master one of the most popular SQL protocols around. https://docs.statetrace.com/blog/build-a-postgres-proxy/

One way to handle static asset files in Phoenix 1.6

When we switched our project to Phoenix 1.6, we were looking for a way how to handle static asset files so that commiting digest files by accident was not possible. This is the setup we’ve come up with

Previous page Next page