Years ago, as I embarked on the code world, I created a simple calculator to determine distance, time, and pace – essential tools for any runner. A few months later, I expanded this idea into my first Ruby gem: Calcpace. This tool is useful not only for running/cycling calculate, it offers precise, lightning-fast calculations for time, distance, and pace, supporting two measurement units (kilometers or miles) and other interesting options (like BigDecimal).
Queues: what are they and the differences between them 04-07-2024Recently, a buddy shared with me a really cool video about queues. My friend, Brenno Costa - a experienced and skilled software engineer -, generally shares interesting and relevant content. In this case, it tackled the concept of queues, diving into the differences types and comparisons between them in dropped requests, time outs and wait time.
O que fazer? Como evoluir em cada estágio da carreira? 19-06-2024O que fazer? Que decisão tomar? Por que estagnei neste estágio? São perguntas que todo desenvolvedor se faz em diversos momentos sobre sua carreira.
Implementing JSON Web Token in Ruby on Rails 09-06-2024An obligatory theme in the world of back-end web development is user authentication. In the context of a Ruby on Rails project, the most common way to authenticate users is through the use of sessions. However, there are other ways to authenticate, such as JSON Web Token (JWT). I’m currently working on a project that uses JWT for authentication in some web frontend and Android apps. I’ve been studying this to understand some parts of the legacy code, reading articles, docs, and practicing in one of my personal projects, Alljobs. There are many articles and tutorials about JWT, and I’ll share the most useful ones that I’ve found and summarize the main points of my implementation in this post.