Welcome to Lyli home page 👋

Click to Download the latest release. The app finds and correct files corrupted by the .lyli virus. Check the About page for more information about the app and the virus. screenshot

Intro

I was at work, a very busy day. I worked at the IT department of an examination company. The work was mostly fixing thing. We worked on laptops, desktops, printers… . Sometimes we will put together about 5 laptops and network them together with a printer and one machine is setup to be the sever. We also handle walk-in problems related to softwares issued by the company.

...

November 30, 2020

Day 1

To put this thing together I need a plan, and some tools. Just as constructor needs a drawing and some machines.

I have some ideas about how it going to like like in the end, how the database should be structure. The idea is not solid. It’s not definite but it can get me started. I will use SQLite as my database. I have some drawings of how the database should look like. I will programming C++ and I will be using Qt.

...

November 30, 2020

Day 2

I found the solution to the yesterdays error. All I had to do was interchange the order of some lines of code. Somethings need to happen before can happen others. A similar scenario in this case is: you need to have table in order to put a plate on a table.

...

December 1, 2020

Day 3

After my last entry yesterday, I started to doze off. I guess I was tired and I did even know it. I was really surprised. But I went to bed later in the evening. Today is a new day, hopefully no new errors :).

I’m already at work.

...

December 2, 2020

Day 4

My 3-segment approach looked promising until I run the code. I got an error.

Problem
The error was cause by SQL query on one thread, trying to use database on a different thread.

This is good news. This is proof that the threads are working like they are supposed to. I check online: on how to deal with this error. The solution was one connection per thread. That’s the database and all communication with the database should be on one thread; or at least that’s how I understand it.

...

December 3, 2020

Day 5

I’m starting a new project. With a different code structure. So instead of having the database accessed from multiple threads; we will have the database in one thread and only access it in that one thread.

A different thread will be created for the database. At the start of the program, the data would be loaded from the database to a DataManger. And, at the end of the program, data will be written back to the database.

...

December 4, 2020

Day 6

I’ve restarted the project. So far so great. This is going great, but I can’t get a handle on the code. It is growing incredibly complex and it is difficult to focus on everything. There are way too many branches and way too many things I’m focusing on at once. So, I am going to restart again. I’m not changing anything in code structure. Just going to build the code incrementally. One step at a time.

...

December 5, 2020

Day 8

I didn’t really do any work today. I just refactored(reorganized and rearranged) some parts of the code to see if I can make more readable and keep it working. But it just not breaking my way. So, I’ve decided I will get a different version and Qt tomorrow and try this again. If this doesn’t work. I’m going old school C++.

...

December 7, 2020

Day 9

11 : 29 am People, we are back in business. I won’t lie I was really disappointed in Qt for a minute there. I was seriously considering Golang for the job and all my hopes of beautiful GUI flashed before my eyes over the weekend. But I have installed a newer version of Qt and uninstalled the old one, now things are looking promising. First off, I got some errors messages that the old one didn’t show....

December 8, 2020

Day 10

I finished the Icon from yesterday and added it to the program.

So now I’m just doing touch ups and testing. Now I have to run the program to test where if it will actually rename some files. Next, I will add a cancel feature to allow the user to cancel the process after it had started. And then I will also add a two modes:

  1. allow user to simply select scan to scan the entire computer,
  2. or choose the a folder to scan. This option will be the expert mode.
...

December 9, 2020