For me, unit testing was always one of the most difficult tasks in development, especially if my codebase evolved without tests in mind. The task becomes more confusing when adding Unity’s MonoBehaviours to the equation. And it gets even worse when you search Google and you only find a question without answers in Unity’s forum from 8 years ago.
Continue reading…Life and Times of a Cover Song
Three years have passed since I first started planning to create a Youtube channel, but I finally took the first step and posted a cover song: Life and Times of a Bonus Track from Edguy.
Continue reading…Writing a raytracer in Go #1: Introduction
Two weeks ago I was at GopherCon Brasil 2019 at Florianópolis for the first time ever. There were a few interesting talks discussing Go’s compiler, linters, GoCV with Tensorflow and HuskyCI (which you should definitely check out).
However great the talks were, the event was especially important to remind me that I genuinely like what I do. Between work and university, it’s really easy to forget that I also like to program as a hobby.
Observation log #1: End of a week long cloud block
Introduction
Date: August 5th 2018
Location: Rio de Janeiro, Brazil (22° 55′ 46.03” S, 43° 10′ 22.43” W)
Weather: Cloudy and windy
Timezone: GMT-3
Motivation
Today’s observation was not planned due to the poor weather conditions. A week ago I had my first observation after assembling the telescope for the first time and the weather in Rio de Janeiro has been cloudy and rainy ever since. So, I was very happy when I casually looked out the window around 2:15am and saw the Moon struggling to appear behind all those clouds. “Way to go, girl!”, I though to myself as I brought my telescope as fast as I could to the balcony and started observing.
Continue reading…Milestones in projects: setting and reaching
Setting and reaching milestones can be troublesome tasks. However, making a project presentable and functional without established objectives is even worse. The lack of a clear goal when developing a project can lead to months or even years of endless optimizations. Occasionally, all you need to do is feel like you’ve completed something. Think of how many ideas never see the light of day due to perfectionism.
Static classes vs namespaces in C++
I was implementing a Logger feature in my project when I had to decide how it should work. So, I had three options in mind of how to do this: a singleton object, which would require lots of references to it in the other classes of the project, a regular object, which would require instantiating it everywhere it was needed or, a static class, which would only require including the Logger’s header in the file that was going to use it.
Watch where you step first
Through my learning process, I usually become really interested in a particular topic. I start searching everywhere about it and put it to practice (if possible). Thanks to that, I’m learning a lot by myself. Sounds good, doesn’t it? In practice, it is. In theory, this approach still has several flaws and it has definitely room for some improvements.
I can’t sleep… and sometimes that’s okay.
In general, people think sleep deprivation is a bad thing. I must say that I think they are absolutely right. Nothing ruins my following day like a bad night’s sleep, I’m sure most people would agree with me on this. I wake up tired, in a bad mood and it’s extremely difficult to leave my bed.