Are you using Dictionaries correctly?

Are you using Dictionaries correctly?

A while ago I wrote a small comparison between Dictionary, HashSet, SortedList and SortedDictionary when performing a lookup operation. I have noticed however that many developers don’t use the most efficient method for checking if an item exists and retrieving it. Most of the times, you’ll see something like this:...

1 minute read
Building Resilient Systems Made Easy

Building Resilient Systems Made Easy

Disclaimer This article contains a snippet from my booklet: Building Resilient Systems Made Easy Let’s start by taking a look at the formal definition of the word “Resiliency”. The Merriam-Webster dictionary formalizes it like this: 1: the capability of a strained body to recover its size and shape after deformation...

2 minute read
AI Home Automation with Semantic Kernel part 2: let's see some code!

AI Home Automation with Semantic Kernel part 2: let's see some code!

Welcome back to the second part of the series on Semantic Kernel! Last time we talked a bit about Semantic Kernel, what Plugins are and how Function Calling can help enhancing the results from the LLM we’re using. Today we’re continuing on that path and see how we can make...

5 minute read
AI Home Automation with Semantic Kernel part 1: introduction

AI Home Automation with Semantic Kernel part 1: introduction

When I approach something new though, I always have to have a practical application or a simple project to build with it, otherwise I will soon lose interest. Luckily, I recently moved to a new house and started messing with home automation. I am probably never going to build everything...

3 minute read