Queues in python
Queues are a really useful data structure that are being frequently used both in application code and are also utilized by libraries. In this post, we’ll see...
Queues are a really useful data structure that are being frequently used both in application code and are also utilized by libraries. In this post, we’ll see...
Memoization is loosely defined as an optimization technique that is usually applied on functions that are quite expensive to run.
SOLID is a set of principles that lead to cleaner, more maintenable and extensible code. The first principle is the Single Responsibility Principle or SRP.
There are several cases where we need to generate a unique identifier in our applications. One way to do it is to roll your own implementation, usually rando...
Recently, I had to parse an SQL-like statement coming in as a query parameter for an python API endpoint. This mini query language had to support AND, OR and...
In the past few years, functional programming’s popularity has increased and new languages (like elixir or scala) that embrace it have been created. But what...
There are several occasions where we need to encrypt some data, whether they are fields in a database or files. In some cases, encryption is needed in order ...
Recently I read about the circuit breaker pattern and I believe it is an interesting pattern with many use cases in today’s microservices-centric universe :)
It is common knowledge that logging is super important. It is necessary for debugging purposes on your local environment or for tracing some weird behavior i...
In ruby, lots of times we have to deal with several strings, whether we are working with a rails application and we are building JSON responses, or we have a...