Sunday, 7 December 2014

Coding and cats

Before you read the rest of this post, just a disclaimer that the two items in the title have no relation whatsoever. I just like to chunk random things together and random links can be made, like coding a cat or a cat coding.

Nm, so back to what I want to post. Yup, so two things. Let's talk about cats first, since majority of the internet likes the latter.

Remember the post on me being a weirdo to a cat? After that incident I did not see the cat anymore, and I miss it very much. Every Saturday after my piano lesson I will go the usual place it rests, which is between a bush and a palm tree. But to my disappointment, it's not there. For some time I thought it is dead, because once I saw a mouse scampering nearby. If the cat is alive and thriving he/she will not tolerate scampering of such screature.

Yesterday I was on my way to piano lesson as usual. On my way I noticed a white cat. When I returned it's still there, to my surprise. No this is not the cat that I mentioned above, that one is black. This one is all white, has greyish blue eyes, and the dirt near it's mouth makes it look like it's forever smiling. The cat is emoing on the edge of a 1 metre high platform. I approach it slowly, but it does not seem as frightened as the black cat mentioned above. Then I went really close and lowered myself to its level, my eye focused on it's face. It appeared very uncomfortable, turning it's face away but it's eyeball is turned in my direction. Yeah I'm being weird again.

Upon close examination I realise cats have distinct facial features. This one has a relatively long face, long nose and less gigantic eyes compared with others. It reminds me of someone but I can't remember. Maybe cats have personality like humans too. Every cat is different.

After a few minutes I got up and went away. As I turned it started to lick itself, just being a cat.

I wonder how it's like from the cat's perspective. An unknown human approaches it and did nothing but stare at it for 5 minutes.

And I continued my journey home. That's where the black cat come in. Yes, the one that has been missing for ages. It's at the usual place. Imagine my amazement to have seen two cats on such short intervals and able to see my favourite cat again.

But this time, it's a bit different. The cat has a blue collar. And it's just sitting here, refusing to move when I approach it. Maybe it's less afraid of humans now, given that it finally found itself an owner. On one hand, I'm happy that it has found itself a home. On another hand, I'm slightly sad, for the alert cat is gone. I like the old cat, it had character. I even doubted whether it's the same cat. But what is the chance that a cat similar in appearance appears at the same specific place in the same time of the week?

On a side note, CATS the musical is coming to sg in Jan. Really want to go watch. #randominsertion

Now, coding.

Finally started learning coding at codeacademy. The website offered courses on 6 coding languages, including: html&css, javascript, jQuery, PHP, Python and Ruby. It also teach you useful stuff like web developer skills and learning popular APIs. Learnt a bit of javascript and web developer skills. However, I googled what's the best language to learn for a beginner and it appeared that C/C++ is best to learn about how the machine functions on the fundamental level, while having a steep learning curve and python is the most beginner friendly. Java is voted for its usefulness. Then I learnt that javascript is not java. Hmm, maybe I shall learn python first, then finish javascript and go to C to understand what I'm writing. Yes I'm ambitious muhahaha.

Always thought programming and coding is cool. It's like creating magic with lines of words and symbols. There are endless possibilities.

And the reason I decided to start? Stumbled this cool game called lightbot. Teaching the concepts of programming through a very fun game. Each level is a puzzle. Thought it's really fun, and one thing lead to another. Strongly recommend. Light bot 2 is fun too.

The links:
http://armorgames.com/play/2205/light-bot
http://armorgames.com/play/6061/light-bot-20

K bye.

No comments:

Post a Comment