I have begun trying to brew my own beer. The first batch ended in disaster. It overflowed into my mother's basement. I have a theory that it was due to too much yeast. Thought, this is offset by the fact that I was following a recipe kit, and it came with a package of yeast. I assumed that the amount provided was an appropriate amount. I will be returning to the Oak Barrel soon to ask them for some clarification and to pick up a new kit. Though, brewing initially was a blast. When Nick and I stepped the grains initially, it gave off an aroma that smelled a lot like expensive coffee.
I have begun trying to get back into 40k. I have been working on a program for excel that analyzes and reports on war-gear and weapon efficacy in combat. So far I have all the stats for the Hive Tyrant, and two of its ranged weapons. I began this project when I thought to myself, "There is so much meta-gaming going on for each and every weapon. I wonder what a program for it would be like." I then got right to work on designing and crating it. I have been using a lot of If equations, and it gets me into some very long and repetitive programing, I want to say repetitive over complex, because in essence it is rather simple: =if(logic test, value if true, value if false). But, what if the value if false can depend on another variable? This is done by adding an if, into the if equation. It then looks much like this: =if(logic test a, (if(logic test b, value if true, value if false)), value if false). One thing that I am pleased with myself that I have discovered is if I am using this as a built in error checker, and I don't want the result to simply be a number, but text, I must put the text in quotes: =if(logic test,"OK","Error"). So, if the logic test turns out to not be false, then there will be an OK, if not, it will show Error. I have been trying to find a way to show why the Error will be shown, to give someone else a reason why they are getting it. So far, the only one I have is to create multiple subsets of value if false responses. It is not difficult, but very time intensive.
I now know why most computer scientist say that they spend most of their time correcting their code. If anything is out of place, missing, or something else, then it simply does not work.


No comments:
Post a Comment