Friday, 17 June 2011

University

After 1 year of university, I conclude that the essential product of a university is not graduates or papers or research,
but the spirit people feel when they are in it.

What does your university feel like?

Friday, 22 April 2011

Dedicated CS students

The mentality of most Mainland CS students is just incredible. Most are experienced in at least 2 languages and there are quite a lot of people who have already written android apps. They do the most undergraduate level research and always want to do more.

It's awesome to know what capable CS students can do, because while I'm writing UI programs, they are writing GUI games.

Thursday, 31 March 2011

Summer/Spring?

Who would have known that the chilly night yesterday would be the last night of winter?

Today the sun is out the fog has cleared and the clouds are puffy once again!

We await the first sound of thunder!

Sunday, 13 March 2011

Bugs

Systematic bugs: Due to some misunderstanding of the syntax or grammar of the programming language.

Random Bugs: Your bugs that you didn't know about.
Defined as either problems WITH your thinking or problems that materialized from the process of turning thinking into code.

Problems with thinking just have to do with unclear thinking, or even misunderstanding your own thinking.
Problems from thinking to code have to be sorted out by making the process as transparent and traceable as possible without ambiguity, so that little issues all become apparent.

Debugging aids are not optional. They are actually necessary, yet in the coding frenzy we have to put everything down on the source files, we forget that we must be able to repeat all the thinking in its entirety. Now, some people are less prone to human errors, but given a long enough program, everyone will make errors.
Testing is useful only if you know what you're doing. While it closes the gap between actual results and desired results, it cannot be a substitute for transparency in the coding process.

Combining testing and the coding/documentation process gives you the ability to detect all types of bugs. If done perfectly.

Now, even documentation may fail, because even documentation may be wrong. In this case, we try to catch these errors early by debugging certain blocks of code completed. The time taken to find and fix the bug tends to be smaller in a smaller piece of code.

Printing everything out is a classical approach to detect run-time errors and if the program crashes, we get to know where it crashed.

I am trying to implement all this, starting with small coding projects.

These lessons were learned in a painstaking debugging effort, in which I know that these things are the minimum that must be done to make a program generally correct.

Tuesday, 21 December 2010

Turning leftist arguments around.

The left often claims that because the human systems are too complex today, it makes central planning NECESSARY.

Turn it on its head...

We can claim that because the human systems are too complex today, it makes central planning IMPOSSIBLE.

Wednesday, 15 December 2010

First final exams

The electrical engineering exam was pretty nasty compared to all the homework, midterm and past paper questions. The teaching group apparently believed that the past exams were too easy and decided to challenge us to see who knew their stuff best.
I knew my stuff, but I didn't always understand what I needed to do at that moment.

The CS exam was pretty easy, possibly too easy. I was expecting some programming challenges in there, but there was none, just a lot of program tracing. The teaching group were probably too happy when they made the exam.

I hope most people are like that.

Update:
My hypothesis came true. The mean of the CS exam was high and the standard deviation was huge. Grades really are going to be pointless.