Saturday, 9 February 2013

Post #2

 These past few weeks have passed by so quickly. We've established the history of computers, been introduced to the concept of algorithms, learnt the basic tools to manipulate images and created a short stimulation with big-bang. Within a span of a month, that's quite a bit! 
 My favorite thing we did this week probably would've been the barracuda timer in which we constructed a moving barracuda so that it resembled a clock. The fact that it moved was fascinating. I knew image manipulation could be done through Dr. Racket, I had no idea that we could make the images move though! 
 The biggest challenge this week would've been having to study for the test. The content wasn't too difficult, it was the small details that took its toll. For an example, the same way that (flip-horizontal) is completely different from (fliphorizontal), (rotate-cw) is completely different from (rotatecw). 
 However, after considering why these functions (although so similar) are different, it is understandable and necessary that these differences are implemented in order to separate each function. If our mistakes were auto-corrected like when we text on a phone, it could lead to disastrous consequences for computer assumptions are not always correct. For an example, if you wanted to define (fliphorizontal) however it thought you wanted to write (flip-horizontal), if would lead to an error rather than allow you to define the variable "fliphorizontal". 
In fact, instead of being able to run the program, you'd see: 
define: expected at least one variable after the function name, but found none
 Seeing how humans created computers and its algorithms and human are not perfect, computer assumptions are therefore not perfect. Anyways, getting to the point, what I wanted to state was that from these experiences in which I made countless mistakes, I learnt the importance of being detail-oriented. 
 Another difficulty I found was understanding the contents of lolcatz. Particularly the "subjective-completion" section. I tried to understand the implications of each function but stumbled on this input
(string-append adjective " " noun " is " adjective))
I wondered why there was a " " before the noun. Why couldn't we just insert :
(string-append adjective noun " is " adjective))
 However, when I tried putting that into Dr. Racket and received a failed check-expect test, I quickly identified my mistake. 
 I realized that the " " represented the insertion of a space between the adjective and noun. Tweaking these formulas really helped me understand its content and the importance of having each component.  
 Hopefully these next few weeks will also be full of new lessons and new functions that I can't wait to manipulate and further understand. 

Friday, 18 January 2013

Computer Science is a daunting subject in retrospect. The idea that one simple mistake (a forgotten comma or one mispelt word) could ruin a perfectly planned system, can and should put any untrained professional or student into a sudden state of fear. When I accidentally put (scale x/y) instead of (scale/xy) and only saw "error" instead of an image scaled to the values I imputed, it was frustrating. Nevertheless, because of the fact that I knew that the mistake was contained in the second half of the code, I quickly referred back to the video and solved the problem right away. Although I know there will be many other episodes similar to this one, why join computer science if you aren't ready for a new challenge?

This week, we learnt the basics of computer science consisting of useful tools one can use on Dr. Racket, a brief discussion of algorithms in lecture, and a compelling concept of what one can do with the knowledge now presented to them. Although the steps we've learnt so far don't seem to match up to the complex and almost inconceivable amount of effort put into computers and laptops now-a-days, it's kind of exciting to know that we're one step closer to being able, at the very least least, to understand them. Something new that I learnt in this course would basically be everything. Yes, even that a toaster is not a computer. I've never taken a computer science course so basically everything that is presented to me is something new; a new truth.

I'm pretty content with the materials covered this week; everyone needs to know the basics before moving onto the the more advanced lessons. It's almost like we're un-programmed computers with our lessons being imputed into our hard drive (okay, that was a bad joke). But in all seriousness, I kind of wish I was a computer that could have a simple chip inserted into my brain so that I would be able to accurately and proficiently understand and do basically everything.

Going off on a slight tangent, maybe in the future we'll be able to use our DNA to represent money instead of credit cards. We could have scanners that would scan our fingerprint and that information would be linked to our bank accounts! Then the fact that I'm forgetful would be completely irrelevant when purchasing a desired item; unless you can lose your DNA...which according to my biology 12 teacher, can't happen.    

One achievement this week would probably be the fact that I actually understood what Dr. Racket entails and I didn't get lost in the midst of letters, symbols and numbers. Hopefully that will remain constant for the up-coming classes to come.