Matheus Marabesi website, sharing ideas about software development - Listing posts on page 1

Adventures on vue.js and data visualization - episode 2

Hello there, this is the second episode of the dataviz-project where I am trying to record the steps I take to bring a legacy app into a better state. If you haven’t seen the intro, you can have a look at it here. For this episode I started to change a bit how the test strategy is approached in the code. In the previous episode one of the goals was related to the testing library - here we will start to do that. Current set up - vue test utils Currently the vue test utils defined in the project provide...

TDD anti-patterns - episode 2 - the mockery, the inspector, the generous leftovers and the local hero

This is a follow up on a series of posts around TDD anti patterns. The first of this series covered: the liar, excessive setup, the giant and slow poke, those for are part of 22 more, in which is listed in the James Carr post. In this blog post we are going to focus on four more of them, named: The mockery, The inspector, The generous leftovers and The local hero. Each one of them focus on a specific aspect of code that makes testing harder. The mockery The mockery is one of the most popular anti pattern across developers,...

2021, a year of reading

Reading is part of my routine, I try to read as much as the time allows me and in 2021 I could finally achieve the goodreads challenge, reading 14 books along the year. In 2020, I shared the books I read, but I couldn’t meet my goal of 12 books. As I enjoyed writing about the 2020 books, I am doing the same style in 2021, here is a short list of the books I read and the references I came along the way. Some of those have its own blog post just to go through the details and what...

2021 in numbers

2021 was a different year for me, taking the time to write more than I did last year, code more and learn a bunch of things that I didn’t know. In this blog post I will try to resume what the year was for me in numbers. You might be asking, which numbers? From where? Those numbers are essentially from: blog posts I wrote, goodreads, from wakatime and google analytics. Wakatime is a tool that I use on the daily basis to track where I am spending my time, in which projects and in which programming languages. Goodreads is the...

A working skeleton to get started with outside-in TDD

Test Driven Development is part of my daily work as a developer. I shared already a few thoughts about it here and strategies to test legacy applications as well. Recently I read the book Growing Object Oriented Software Guided by Tests and had a few ideas on how to approach things in a different way, thinking on testing from end-to-end, from the start - I relate this approach to the London school of TDD, also known as outside-in TDD. Even though the style is well known in the industry, getting a proper setup is not something standardized - at least,...

Adventures on vue.js and data visualization - episode 1

I have been using reactjs for most of my projects and it was my go to in new projects, therefore, as my landscape changes I try to adapt as much as possible and I enjoy learning new things. I have touched a couple of years ago vue.js that is a mix of vue.js and d3. There, I try to depict different charts (bar, bubble and word cloud) to visualize a high level information about a given github repository. Currently, I am working on a project that uses vue.js + nuxt.js. This project itself triggered me back to this data-viz (data...

The programmer's brain - memory and code

The programmer’s brain is one of the best books I’ve read in 2021. I would say that for me, it opened up a different perspective on reading, writing and understanding code. I already wrote some lines around the process of learning and how it is a subject that interests me (learning how to learn), besides I enjoy reading tech related books. In this post, I am going to share the main topics that I picked from the book and try to exercise my brain while I do it. Feel free to leave a comment with any feedback you might have....

Migrating to microservices databases by Edson Yanaga - Migration and technical challenges

Microservices are a popular subject among developers and business, the idea of scaling and moving different streams of work forward at the same time shines in the eyes. Therefore, with the shift of how we architect applications, the challenges and tread offs should be carefully analyzed. I personally like books about strategy to migrate legacy systems and bring them up to date in terms of technology. I wrote about testing strategies for code bases that are big but without any tests. On the other hand, having a book describing possible migrations related to databases is something that I value as...

Sharing tailwind config elsewhere for variable access (theme, spacing, and others)

Recently I came across a requirement for my side project to be able to access tailwind theme (such as colors and spacing) through javascript. Tailwind has a javascript file that exports an object to define custom attributes such attributes can be then used by the application - Imagine that you want to set a custom background color besides the one that comes already with tailwind, this is a custom attribute. Therefore, accessing this file from a reactjs application is not straight forward as it seems. This blog post is an attempt to share the problems I faced trying to expose...

Not so popular git commands

Recently I’ve experienced a scenario that made my git skill in check, I was wondering if I could see the files that changed for a list of commits. From that, I tried to expand some questions around git. The goal here is to share a few git commands that are not popular like commit, push or rebase. Are you not familiar with git yet? Have a look at the intro I made here. What has changed? Recently I came across this command that depicts what has been done by commit, renaming, deleting or adding files. It was quite a surprise...