On the day it seemed like a good idea

Discovery the predominant …

Objective Observing the predominant wind direction in the city of Rancho Queimado, Santa Catarina, Brazil. Using the data from the meteorological station of the National Institute of Meteorology (INMET) of the city of Rancho Queimado, Santa Catarina, Brazil. From 2016 to 2023-04. Methodology The …

double para string

Em C++, você pode converter um double em uma string usando a função sprintf. Ela formata uma série de valores o resultado em um array de caracteres. #include <cstdio> #include <iostream> int main() { double value = 3.14159265; char buffer[100]; int decimalPlaces = 2; sprintf(buffer, …

Why using a wrapper …

The ZMap case I worked in a company that has the policy of not using any library container directly. So we need to create wrappers for any containers, even for STD containers. And after working there for some years, I believe that this was a big mistake. Forget to implement it. Some months ago, I …

Crashfix Maintenance …

For my work with Crashfix, I have a little VM, but after running for some time, the disk is full. And I need to fix that without flushing the database. For that, I use the commands below. Check the disk size $ df -h ... /dev/nvme0n1p1 500G 404G 76G 85% / ... Clean monitor log cd /var/log/crashfix$ …

Convert Qt Project to …

Convert an old Qt projet do CMake Install base packages pip install virtualenv python -m virtualenv -p python3 convert virtualenv -p python3 convert .\convert\Scripts\activate.bat qmake2cmake Using the Qt tool qmake2cmake to convert the project to CMake python -m pip install qmake2cmake …

Port project to linux, …

I am trying to find some old project that makes use of OpenGL for a study group workshop about refactoring and modernization. I chose: https://github.com/gralm/Geodesic-Dome an eight-year-old project. Target for the windows platform. This first article is to document the changes that I made to …