======Part 2====== =====Entries===== ====Entry 5: March 9, 2012==== Today I worked on case study 7 for my Unix / Linux class and learned about the time based job-scheduler named 'cron' and I also learned about IRC bots. As it turns out 'cron' is a very useful tool and can be used to automate processes or jobs that need to be executed at certain intervals such as performing a file system integrity check or checking for package updates. IRC bots can also be a useful tool to utilize as I found out. Following the instruction from the case study I was able to download, configure and launch the 'phenny' bot. Configuration was pretty straight forward and simple. All that needed to be done was edit the default configuration file and enter the IRC server and owner details. After that it was as simple as launching the bot and let it connect to the IRC server. Bots also have a very useful purpose as they can be configured with extra modules to make them perform different tasks such as checking the weather in a specified location, getting the current time from an Internet time server, etc. Both of these things can be very useful when utilized properly. ====Entry 6: March 17, 2012==== This past week has by far been the toughest yet in my C/C++ class. I began work on project 2 earlier in the week and I have been banging my head ever since. I don't know if it's because I am not "absorbing" what I am learning in class, or if it's just the way I am trying to write the my program. I just seem to be having a really hard time actually figuring out what needs to be done in my code to accomplish the task. I have been in the class IRC today for almost 12 hours straight and while it definitely helped a lot, I feel that there is still something that I am either not understanding, or overlooking, or something. Right now I have a partial program with 2 functions that do not properly work and I am at a loss as of right now as to what I can try next. I guess I will sleep on it tonight and start fresh tomorrow and see what I can accomplish. ====Entry 7: March 24, 2012==== A lot has happened since my last entry. I have been working on project 2 and with help from the IRC and the instructor I finally have the first two modules working properly with the exception that any numbers used must be padded with zeros. I am now working on the multiplication and division functions but I am finding them difficult also. I know what has to be done in the multiplication function but when I implement the problem in code it doesn't work. I think my logic is flawed and will have to continue working on and to find the problems. Switching gears we have been talking about classes and inheritance. I class this past week we created a small program that uses classes. The program taught me how to write functions into reusable files and how to compile multi file programs into executable code. Also out instructor has saved us once again and combined project 2 and project 3 together so now I have more time to figure out the problems with my code. Well thats all for now, back to work on the project. ====Entry 8: March 31, 2012==== Well its the last day of March and getting closer to spring break. Still working on project 2/3 and while I am making progress I am still having issues with the actual math functions. This past week the instructor gave us class time to work on our programs along with time to work on things we were having problems with in class. Unfortunately I have decided to drop my Unix class so I am able to put forth more effort in the C/C++ class along with my other classes. Well thats it for now, I know its short but I have other things to attend to (the project mainly). Will make an update later as to what happened with it. =====Keywords===== {{page>cprogpart2&nofooter}} {{page>unixpart2&nofooter}} =====Experiments===== ====Experiment 4==== ===Question=== What is the question you'd like to pose for experimentation? State it here. ===Resources=== Collect information and resources (such as URLs of web resources), and comment on knowledge obtained that you think will provide useful background information to aid in performing the experiment. ===Hypothesis=== Based on what you've read with respect to your original posed question, what do you think will be the result of your experiment (ie an educated guess based on the facts known). This is done before actually performing the experiment. State your rationale. ===Experiment=== How are you going to test your hypothesis? What is the structure of your experiment? ===Data=== Perform your experiment, and collect/document the results here. ===Analysis=== Based on the data collected: * Was your hypothesis correct? * Was your hypothesis not applicable? * Is there more going on than you originally thought? (shortcomings in hypothesis) * What shortcomings might there be in your experiment? * What shortcomings might there be in your data? ===Conclusions=== What can you ascertain based on the experiment performed and data collected? Document your findings here; make a statement as to any discoveries you've made. ====Experiment 5==== ===Question=== What is the question you'd like to pose for experimentation? State it here. ===Resources=== Collect information and resources (such as URLs of web resources), and comment on knowledge obtained that you think will provide useful background information to aid in performing the experiment. ===Hypothesis=== Based on what you've read with respect to your original posed question, what do you think will be the result of your experiment (ie an educated guess based on the facts known). This is done before actually performing the experiment. State your rationale. ===Experiment=== How are you going to test your hypothesis? What is the structure of your experiment? ===Data=== Perform your experiment, and collect/document the results here. ===Analysis=== Based on the data collected: * Was your hypothesis correct? * Was your hypothesis not applicable? * Is there more going on than you originally thought? (shortcomings in hypothesis) * What shortcomings might there be in your experiment? * What shortcomings might there be in your data? ===Conclusions=== What can you ascertain based on the experiment performed and data collected? Document your findings here; make a statement as to any discoveries you've made. ====Retest 2==== Perform the following steps: ===State Experiment=== Whose existing experiment are you going to retest? Provide the URL, note the author, and restate their question. ===Resources=== Evaluate their resources and commentary. Answer the following questions: * Do you feel the given resources are adequate in providing sufficient background information? * Are there additional resources you've found that you can add to the resources list? * Does the original experimenter appear to have obtained a necessary fundamental understanding of the concepts leading up to their stated experiment? * If you find a deviation in opinion, state why you think this might exist. ===Hypothesis=== State their experiment's hypothesis. Answer the following questions: * Do you feel their hypothesis is adequate in capturing the essence of what they're trying to discover? * What improvements could you make to their hypothesis, if any? ===Experiment=== Follow the steps given to recreate the original experiment. Answer the following questions: * Are the instructions correct in successfully achieving the results? * Is there room for improvement in the experiment instructions/description? What suggestions would you make? * Would you make any alterations to the structure of the experiment to yield better results? What, and why? ===Data=== Publish the data you have gained from your performing of the experiment here. ===Analysis=== Answer the following: * Does the data seem in-line with the published data from the original author? * Can you explain any deviations? * How about any sources of error? * Is the stated hypothesis adequate? ===Conclusions=== Answer the following: * What conclusions can you make based on performing the experiment? * Do you feel the experiment was adequate in obtaining a further understanding of a concept? * Does the original author appear to have gotten some value out of performing the experiment? * Any suggestions or observations that could improve this particular process (in general, or specifically you, or specifically for the original author).