LaKademy 2018 – Third and Fourth Days (October 13th and 14th)

The third day of LaKademy 2018 was my last day participating on the event.

During October 13th, we started the day with a promo reunion. This reunion was done to discuss about some plans and actions for the Latin American KDE community over the next year. Some decisions were made and topics were discussed involving KDE participation in some events, promotion of our own events in Latin America, including LaKademy 2019 and Kafé com Qt, and some details in general about our community.

45240878072_c28ef37799_k
Promo reunion.

After the promo reunion, I decided to build and take a look at the code of Atcore, which is a library containing the main components for the Atelier, that is an Open Source 3D printing application developed by KDE Community. I noticed that most of the enums used in src/core/atcore where not determined by its scope, which maybe could generate an enum name conflict in the future. So I decided to contribute with this little change, adapting the code to reference enums as C++11 scoped enums, providing assistance to the possible name conflicts.

During the afternoon, I continued my work in KDE Partition Manager, implementing that RAID resize functionality in kpmcore, where I decided to include the operations of growing and shrinking of RAID disks. Then, I fixed some bugs in the creation of RAID 1, 4, 5, 6 and 10, because a check-up was being done by mdadm before mirroring the devices and my previous implementation was ignoring it. This mdadm check was necessary to confirm which device size should be prevailed before mirroring.

photo5051009856995174405
#KDEis22

I had to come back to my city during the morning of October 14th. In this date the anniversary of 22 years of KDE was celebrated. The KDE people that continued in Florianópolis decided to eat a cake to celebrate. I couldn’t participate, but I am very happy to be part of this inspiring community. Happy birthday, KDE! I hope that this great community keeps succeeding over the years to make the world a better place with its great software! #KDEis22 🙂

LaKademy 2018 – Second Day (October 12th)

Every new code follows new bugs.

During the second day of LaKademy I was more focused on resolution of bugs in the code that I implemented during the first day for KDE Partition Manager. During the afternoon, I decided to start RAID resizing and discussed with Andrius Stikonas on calamares IRC channel about some RAID functionalities related to resizing disks and about bugs on both LVM and RAID. I also talked with some KDE coders here in LaKademy about Qt and C++, learning more about it.

OLYMPUS DIGITAL CAMERA
Image 1: Concentrated while coding.

Also we took some group photos. It was very nice to participate.

44365101645_07eb28a1c2_o
Image 2: LaKademy 2018 group photo.

And here is a more precise list of what I have done on coding and some things that I am planning to complete during the third day:

  • Solved that bug commented in this post, where the device mapper identifies an old partition table from a deleted RAID device that contains the same physical volumes as a newer one. Actually I don’t know if udev has some method to clear it when removing a logical device, but I decided to erase the partition table from the deleted device just before deleting it.
  • Fixed some segfaults when rescanning LVM and RAID. This bug was my fault (shame!), I forgot to check if a logical device contains a partition table when updating the partition nodes information.
  • Started the implementation of RAID resizing. I focused on adapting the LVM GUI, using VolumeManagerDevice references instead of LVM directly, to provide adaptation for all the possible logical volumes resizing in the future. I will continue working on this resizing implementation during the third day.

The third day of LaKademy 2018 will be my last day here in Florianópolis. I will be traveling back to Salvador (my city) in the morning of October 14th, because I need to do another travel on October 15th to an event related to the university. I will continue enjoying LaKademy during this last day, it is being great! 🙂

 

LaKademy 2018 – First Day (October 11th)

LaKademy 2018 has started!

It is happening in the city of Florianópolis in Brazil. It is being a nice opportunity for me to meet some other KDE contributors from Latin America. We are discussing ideas for KDE in Latin America and everybody is working on something related to the community. The event will continue until October 14th. Below you can see some photos:

photo5042111741319817248
Aracele and Filipe talking about the event.
photo5044202183507159112
Coding and sharing ideas with Dórian and Pedro.
photo5044291982683383814
Enjoying some arab food.

I am enjoying this time to discuss with some older contributors and to share ideas with newer contributors. I am also submitting some patches to KDE Partition Manager. Here is a brief list of what I have done to KDE Partition Manager in this first day of LaKademy:

  • Corrections for SoftwareRAID, including the process of loading physical volumes instances for the device object.
  • Support to RAID activation through GUI. Before you could only activate RAID through the process of disk rescanning. Maybe I can also implement this functionality for LVM as well in the future.
  • Support to remove a RAID device from mdadm.conf file, allowing the user to remove inactive RAID devices. There is a particular bug in this process, because after creating a new RAID device with the same physical volumes contained in a deleted device, the device mapper is identifying the old partition table. I must look if only erasing each physical volume superblock solves it or if I need to erase the RAID partition table before erasing the device.

Well, this is it for now. We started the second day and tomorrow I will be posting more about what I have been working. 🙂