Herminio Torres

Herminio Torres @herminiotorres

Location:
Remotely
Joined:
Oct 19, 2019

Herminio Torres
articles - 14 total

Bridging the Gap: Simplifying Live Component Invocation in Phoenix LiveView

Inspired by a conversation on Bsky (Thanks Netto) about the release of Phoenix LiveView 1.0. The...

Learn More 7 4Dec 4 '24

Taming data with Ecto.Enum and Ecto.Type

Let's take advantage of Ecto.Enum and Ecto.Type. The schema: defmodule Blog.Category do use...

Learn More 6 0May 22 '24

Troubleshooting MacOS Performance: Addressing fseventsd Issues Causing Memory Leaks and Sluggish Performance

The fseventsd process on macOS is part of the operating system's infrastructure for handling file...

Learn More 1 0Jan 24 '24

Exploring the Data Analysis: From Python Certification to the Elixir Challenge - Mean-Variance-Standard Deviation Calculator

Recently, I embarked on a learning journey, delving into Data Analysis and Data Science. Using tools...

Learn More 5 3Dec 27 '23

Using the Keyword module for options

It would be best if you considered using Keyword.fetch!/2 and Keyword.get/3 for options to APIs. ...

Learn More 4 0Dec 26 '23

How to import CSV file to the Database

How to import CSV data file to the database and populate the table. Imagine you have this migration...

Learn More 2 0Dec 19 '23

How to take leverage from on_mount to reduce code

Phoenix LiveView has implemented some fantastic features, and one of them is the on_mount/1 callback...

Learn More 8 2Dec 12 '23

What you should know about the live_session macro

Imagine you have a few endpoints and would like to group their authorization rules. With...

Learn More 4 0Dec 5 '23

When to use the handle_params callback

The handle_params/3 callback helps use the state in the URL to drive the presentation of your...

Learn More 8 0Nov 28 '23

How to use unique_index wisely to grasp our business logic

How do you ensure a unique index when the user tries to get more than one ticket for a paid...

Learn More 2 0Nov 22 '23

Understanding Process Restart Strategies: Transient, Temporary, and Permanent

Introduction In today's building software systems that can gracefully handle failures and...

Learn More 17 2Sep 19 '23

Managing Timeouts in GenServer in Elixir: How to Control Waiting Time in Critical Operations

Introduction Elixir's GenServer is a crucial component for building concurrent,...

Learn More 6 0Sep 13 '23

TIL: How to install a specific Phoenix version

When you open the Phoenix Framework website, you will see a section on the right-side called "Try it...

Learn More 6 3Feb 7 '23

Single source of truth with Phoenix LiveView

I have worked with Phoenix LiveView and Surface-UI for about a year; I would like to share some of...

Learn More 15 3Sep 7 '22