Recently, I've been into coding (programming).
After much deliberation, I've come to realize that the method I've been considering for the past two months is wrong, and I'm currently in the process of redoing it (though it wasn't a total waste).
The one we I currently trialing is an inference engine that incorporates unpredictable changes in real time and keeps changing dynamically.
There is a plethora of research that has been done with fixed situations, but there is very little research on engines that work while incorporating real environments.
Well, you can find this out by actually doing some coding.
It is quite difficult to incorporate into a program what we normally do, which is to "change our behavior while incorporating new information without significantly altering our current plans.
Still, I'm holding on because I have a feeling that this will probably be the last code (programming) I'll ever use in my life as a large-scale program.
-----
I am a person who does not enjoy playing games on TV or on my phone.
However, I think that the situation of people who are addicted to games and my situation of being addicted to coding may be very similar.
- The excitement lasts and makes it difficult to sleep.
- Even when I close my eyes, algorithms run through my head.
- Noticing a bug in a dream and then not being able to sleep
In the past, I used to "throw in a lot of alcohol" at this point to force/maintain sleep -- and the result was a reserve army of alcoholics (or is it a regular army?).
Now, I just switched to tranquilizers instead of alcohol.
Still, I believe that stabilizers as prescribed are much healthier than whaling on alcohol daily.
I'm in good physical condition.
That's beside the point.
-----
In general, programs do not use actual values for parameters. The parameter values are kept as variables and are input from outside.
Instead of writing it into the program as the value of (3.52)^3 + 3.52^2 + 3.52 (=543.9174828032), it is convenient to write it as x^3 + x^2 + x, so that you can freely change the value of x when the program starts.
Coding that directly writes values is called "hard coding" and is considered programming that should not be done (except for experiments and verification purposes).
Just like "goto".
However, I think that my current coding is worthy of being called "hard coding", as I can't stop the excitement, sleep disturbance, and fatigue.
And I' believe the fact that this will be my last chance to do this kind of "hard coding", both physically and mentally.