Stage 2, day 9
Usually, based on my previous multi-stage programs experience, stage switching is exciting.
Not with UMSv2 stage 2. It is pretty much uneventful... So much quiet that it is as if I was not using a program... I usually feel changes. I'm not feeling any changes occuring with stage 2.
Hence this might explain that there is no entry in my journal for more than a week...
I felt the urge to increase the daily # of loops. I think that I went from the prescribed # to currently 6 loops.
Maybe it works better than I think. With previous programs, I was able to consciously listen to the track. With UMS, because I listen to it when I go to bed, maybe the program puts me in some sort of trance. I only consciously hear few minutes before falling deeply in sleep and when I wake up, the loops have long been completed.
I am almost done with integrating margin trading into my arbitrage strategy that I said last month would take at most few days. What remains to be dealt with is like a surgery in a very complex system. I have yet to find an elegant way to integrate the feature without having to change everything and keeping things as intuitive as possible. At the same time, as I revisit old code that I wrote 1 years ago, it is as if I was modifying code of a stranger. I need relearn all the small nuance of that part of the code...
I definitely have horrible time management skills. I have to remind myself to rerun BASE some time soon. I remember that this program was beneficial to me in that regard. At the beginning of the week, I got insight from some Linux kernel dev that was applying a qualifier to the function declarations of his module to indicate to the compiler if the function was hot or cold.
If it is cold, the compiler optimize the code size and place all the cold functions together. If the function is hot, the compiler optimize as much as possible for performance and place all hot functions together. This leverage the locality principle. Since all hot functions are close to each other, they are more likely to be found in the CPU cache as they are the most often called functions. The Linux kernel dev did claim a 3% performance increase from this simple change.
I felt the urge to apply this idea to my own project. This has been a titanesque effort that took me the whole week. I have yet to see if it makes any difference in the system performance as I have just installed the result before writing this journal entry. I will know if it was worth the effort or if it was a waste of time when I'll see the system reaction time with the new change baked in.
I have a good feeling. The main lib size went from 22MB to 20MB. And CPU usage of the thread executing the hot path appears to have decreased by half. I like this part of me. Despite having a plan, I remain open and receptive to unexpected opportunities that may help me to achieve my goal.
About a month ago, I did tell a bit about my personal life where the shit hits the fan. (SHTF). One of my grief was a small rodent of my kids that I got attached to during lockdowns that was becoming sick. It has a regain of vitality for the last few weeks but it started to get bad again and I decided to call a vet.
During pandemy, normal clinics have long wait list. I got refered to a clinic specialized in emergencies. You can bring your animal ASAP but the price is much higher. I have called and by learning the price, I felt some hesitancy. I liked what did happen next. I did ask myself the following question: If money was not a concern what would I do? If my trading system was generating few hundreds of dollars of profit every day, what would I do?
The thing to do following that question became crystal clear. So I took an appointment with the vet.
Last week has been horrible in terms of activity and profit. Almost nothing. This is really testing my faith in the project... I'll see what I will do once the trading marging feature is done. Hopefully, this will make the situation more easy to be optimist.
Finally, on a totally unrelated note, the $4,000 DOT investment I made few weeks ago while on UMS is still great. I bought it at $25 and it is now at $36 so my $4000 investment is now worth over $5000. On top of that, I was not a big DOT staking fan due to its complexity. You have no idea how complex it is. You need to bond your funds. Next, you have to nominate up to 16 validators. But now, that I have done it. I need to say that it wasn't that bad and with $4000 of DOT (120), this gives me a $2 reward per day. If I get it right this is 18% API!
So far, UMS seems to work but not where I was expecting it to work... It is working in my "sidequests"...
Usually, based on my previous multi-stage programs experience, stage switching is exciting.
Not with UMSv2 stage 2. It is pretty much uneventful... So much quiet that it is as if I was not using a program... I usually feel changes. I'm not feeling any changes occuring with stage 2.
Hence this might explain that there is no entry in my journal for more than a week...
I felt the urge to increase the daily # of loops. I think that I went from the prescribed # to currently 6 loops.
Maybe it works better than I think. With previous programs, I was able to consciously listen to the track. With UMS, because I listen to it when I go to bed, maybe the program puts me in some sort of trance. I only consciously hear few minutes before falling deeply in sleep and when I wake up, the loops have long been completed.
I am almost done with integrating margin trading into my arbitrage strategy that I said last month would take at most few days. What remains to be dealt with is like a surgery in a very complex system. I have yet to find an elegant way to integrate the feature without having to change everything and keeping things as intuitive as possible. At the same time, as I revisit old code that I wrote 1 years ago, it is as if I was modifying code of a stranger. I need relearn all the small nuance of that part of the code...
I definitely have horrible time management skills. I have to remind myself to rerun BASE some time soon. I remember that this program was beneficial to me in that regard. At the beginning of the week, I got insight from some Linux kernel dev that was applying a qualifier to the function declarations of his module to indicate to the compiler if the function was hot or cold.
If it is cold, the compiler optimize the code size and place all the cold functions together. If the function is hot, the compiler optimize as much as possible for performance and place all hot functions together. This leverage the locality principle. Since all hot functions are close to each other, they are more likely to be found in the CPU cache as they are the most often called functions. The Linux kernel dev did claim a 3% performance increase from this simple change.
I felt the urge to apply this idea to my own project. This has been a titanesque effort that took me the whole week. I have yet to see if it makes any difference in the system performance as I have just installed the result before writing this journal entry. I will know if it was worth the effort or if it was a waste of time when I'll see the system reaction time with the new change baked in.
I have a good feeling. The main lib size went from 22MB to 20MB. And CPU usage of the thread executing the hot path appears to have decreased by half. I like this part of me. Despite having a plan, I remain open and receptive to unexpected opportunities that may help me to achieve my goal.
About a month ago, I did tell a bit about my personal life where the shit hits the fan. (SHTF). One of my grief was a small rodent of my kids that I got attached to during lockdowns that was becoming sick. It has a regain of vitality for the last few weeks but it started to get bad again and I decided to call a vet.
During pandemy, normal clinics have long wait list. I got refered to a clinic specialized in emergencies. You can bring your animal ASAP but the price is much higher. I have called and by learning the price, I felt some hesitancy. I liked what did happen next. I did ask myself the following question: If money was not a concern what would I do? If my trading system was generating few hundreds of dollars of profit every day, what would I do?
The thing to do following that question became crystal clear. So I took an appointment with the vet.
Last week has been horrible in terms of activity and profit. Almost nothing. This is really testing my faith in the project... I'll see what I will do once the trading marging feature is done. Hopefully, this will make the situation more easy to be optimist.
Finally, on a totally unrelated note, the $4,000 DOT investment I made few weeks ago while on UMS is still great. I bought it at $25 and it is now at $36 so my $4000 investment is now worth over $5000. On top of that, I was not a big DOT staking fan due to its complexity. You have no idea how complex it is. You need to bond your funds. Next, you have to nominate up to 16 validators. But now, that I have done it. I need to say that it wasn't that bad and with $4000 of DOT (120), this gives me a $2 reward per day. If I get it right this is 18% API!
So far, UMS seems to work but not where I was expecting it to work... It is working in my "sidequests"...