Wednesday, 7 December 2011

Yay, last assignment of the semester.

Having Complete the last programming assignment of this semester, I wonder what could be coming next.

Through these trials, I think most Computer science students have become better at coding and thinking accurately about practical problems. However, it's never going to be "enough" because the set of challenges are infinite and even though it's always those building blocks (eg. loops, recursion, types, parsing, data structures, algorithms), these sets themselves are infinite and subtle superficial changes in the problem lead to greatly different data structures and algorithms.

It's awe-inspiring.

I'm particularly happy with this assignment because it was really quite a group effort. I wasn't good at regular expressions, and this guy had studied it before. He taught me that, but he was also stuck on grammar rules. I figured those critical issues out (which were not even documented in assignment nor manuals), and we leapfrogged through to the finish line. I suspect either of us would have found it far less motivating and more troublesome if we did it alone.

That felt awesome and has defined a new standard/expectation of the software development process. I guess you make career decisions subconsciously then and there, whenever you are actually working on something challenging.

And soon, I will be doing the same in Singapore...

Tuesday, 6 December 2011

Keyboards and Typing.

I've realized that since studying computer science I've been unconsciously typing faster than before. I think it is like a 60% increase on average from around 40wpm.

And for some reason, the more I type, the happier I get. I enjoy the feeling of my fingers on a smooth light bouncy keyboard that sounds like rain on a plastic roof. I am particularly fond of DELL keyboards in general (but especially the newest versions, worn down by a semester of finger pounding by UST students). I dislike Lenovo keyboards because they have Chinese typing inscriptions on them that makes them really rough on the fingers with all the friction, and not being as crisp and light.

I like the thrill of typing quickly and subconsciously, especially when the code/English just flows.

Having said that I'm looking out for some better keyboard all the time. If it's really worth it, I don't mind having my own private USB keyboard.

Monday, 5 December 2011

Reading speed

After 1.5 years of college and 19 years of living experience of which I spent 5 years able to read sentences and paragraphs, I conclude there are only two speeds that people should read at.

1. Very Slowly
Reading so slowly (and out loud for comfort) that by the end of reading an incredibly difficult question, I figure out exactly how to do every step to solve it. Slowly is actually quick because you increase speed naturally while maintaining comprehension.


2. As quickly as you can:
For noticing particular things I want to think through. This can be at least over 10 times over the speed of slowness.

For reading the bloody newspapers. These days, most newspapers are generally full of blood-soaked news. I set the emotion behind and pick out the details very quickly.

Also things like facebook and slashdot comment sections. I find it sad that people can stare at their facebook walls for so long.

Other speeds are pretty much unnecessary and unworthy in the digital age.

Monday, 28 November 2011

Universal Grammar

While my mind is cooking on the syntax of Bison and Flex and scheme, I was browsing on the Universal Grammar.

Universal Grammar is a theory that argues there are common structural characteristics between all languages, and that human beings have evolved brain/mind mechanisms to deal with these structures quickly.

Right now, since I am working with parse trees, I would argue that the mechanism has to do with white matter, trees and hence grammar (To a male with a hammer, everything is a nail.). Here the definition of language is a subset that can be generated a grammar.

In defining a grammar, many substitutions are used. The trees are built by recursively substituting blocks. Computer scientists generally have to be brilliant at doing this on all levels, but they are not the only people who do this a lot. All definitions, sentences, words and all language grammars do this all the time. You can build trees out of all of this, and subtrees below that, and so on, until the trees wrap around themselves in loops and become graphs. (And then you end up with some ridiculous number like around 176,000km of interconnected white matter in my brain, which is around the earth three times.)

As animals with brains, we were born/equipped with many trees that when evaluated (or evaluate themselves), control behavior. These trees allowed increasingly sophisticated kinds of behavior, but they are usually hardwired and not highly adaptable.
As humans, something must have happened for us to be able to expose these tree building, extension, manipulation (eg. substitution operations), reading and evaluation, allowing us a higher degree of "self-manipulation" than arguably any other creature/thing (possibly except the electronic computers).

The problem now appears narrower and within current knowledge, as it is extremely likely whatever idea this is should already have been thought through and implemented.



To be Continued...

I think the trees are probably all preformed, but I suspect it is the ability to shift focus that makes the difference.

trees formed ->
initial hardwired focus directing programs controlling what to be conscious of / "pruned" ->
focus could be directed at the focus directing programs. How this could occur, not sure... ->
a model of the focus directing program can be produced. ->
the model allows organism to "hack" its own focus, enabling "self-interest" in something. -> Focus now has many degrees of freedom.

And then, we learn routines to jam symbols into words and manipulate them. How that is done remains to be seen.


...
I believe some people know this already and have better language to show it.

Wednesday, 2 November 2011

A mini tweet

This dead processor thing is one of those things that can make me really annoyed, apparently.

So unexpected and personal.

Saturday, 29 October 2011

Life-Death wisdom

I think of days as a single lifetime. In the morning it is birth, in the afternoon it is middle-age, at 7pm it is retirement, at night the mind run itself out of power and stops wanting to interact with itself as energetically and blanks out. or the mind itself is tired of being in some hypnotic state putting on the Eugene act or HKUST student act or whatever act all day long and snaps out of it to retune itself to representing the universe in its default form.

What do I mean a lifetime? A state of self-consciousness that lasts until self-consciousness is not supported.