Translating Enums with the power of C# expressions

Hi 👋 welcome to a new post!

As a wise man said (forgot the name), “Frustration is the mother of innovation”.

For one of my projects at work, I needed to query and sort some tables. The requirement was to let the user filter and sort the data on any field.

What I didn’t expect was that some fields were enum values under the hood…. how should I filter/sort these values, when the user searches using their text representation (and, even more difficult, translated in their language)?

Cover Image of the post '2024: A review'

2024: A review

Hi 👋 and welcome to the usual end-of-year recap! Right before Christmas, I take some time to reflect on the year that has passed, and write some observations here on the blog (2022, 2023).

This time it’s not different, so let’s start!

Cover Image of the post 'Update Conference 2024 Journal'

Update Conference 2024 Journal

Hi! Welcome to a new post 👋 .

It’s been a while since the last time I wrote on the blog (June 🥶). I had a lot to do during the summer (had to organise my wedding 💍) and didn’t find inspiration to write. I promise I’ll be more active from now on 😁.

BTW, let’s get right into business.

I just got back from Update Conference in Prague! Update is a conference focused on .NET and related technologies (all in Microsoft salsa).

Cover Image of the post 'Let's build a Load Balancer in Rust - Part 3'

Let's build a Load Balancer in Rust - Part 3

Third and last part of the “Build your own load balancer in rust” series! In this last part, we implement a healthcheck procedure to avoid forwarding requests to unavailable nodes.
Cover Image of the post 'Let's build a Load Balancer in Rust - Part 2'

Let's build a Load Balancer in Rust - Part 2

This is the second part of the “Build your own load balancer in rust” series! In this post, we’ll see how to implement a round-robin policy, to forward our requests to multiple backends.
Cover Image of the post 'Let's build a Load Balancer in Rust - Part 1'

Let's build a Load Balancer in Rust - Part 1

Hi 👋 welcome to a new post! This will be the first of a short series of posts, in which I explain my poor attempt at creating a simple HTTP load balancer in Rust. In this first part, we create a simple HTTP forwarder to a single upstream server.