CS Exam

Today, I spent two TTC tickets, ten cents, and a few hours writing the computer science exam. Since everyone is doing Visual Basic, and I didn't have any practical reason to learn Visual Basic, I petitioned my teacher to let me independently study C (which I need to get around to learning anyway). The result is that I always have my own test and I am special.

So our CS exam is put into the most awkward timeslot ever, 11:15 for two hours. We get to leave after ninety minutes which over half the students that were writing it did, since most people finished it in about an hour. To make it even worse, this was on the last day of exams so the entire school was empty except for us stupid CS students and maybe one other exam.

I didn't bother studying for this exam, since all it covered were input/output, looping, and branching. Quite honestly, I think I could've done the Visual Basic one and gotten incredibly good on it. It's basically the same drivel you get at the beginning of those learning how to program books, just with different syntax, and I could probably have figured that out from the examples.

When I actually start on the exam, I realize that I may have forgotten one or two minor things like whether <code>scanf()</code>-ing a character needed the variable to be referenced and a few other minor syntactical errors. For the most part, it was like clubbing a baby seal over the head. There were a few things that I didn't like about it though.

<ol><li>He assumed I listened in class about how to track variables through loops and stuff. I tried and made it semi-organized.</li><li>He usually named variables with single letters or 'x1' and 'x2'. My goodness that made it hard to read and follow ("wait, wait, is that x1 or x2 again?")</li><li>He typed the entire exam in Times New Roman. I don't have anything against Times New Roman, but you just do not type code in a variable-width font. It makes it incredibly difficult to read.</li><li>His brace and indentation style are absolutely horrendous. You <strong>do not</strong> indent the braces with your code block like so:

<code>if (1&lt;2)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;printf("hey\n");

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</code>

WRONG. Instead, try actually listening to Kernighan and Ritchie (the inventors of the bloody language) and do this:

<code>if (1&lt;2) {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;printf("hiya\n");
}</code>

I hate <code>&amp;nbsp;</code>s. Why does blogger turn eight spaces into one space?</li></ol>I'm glad that's done. At least now I can look forward to TC.

Blogging and Hosting

Over the past few days, I decided to go on another journey, searching the web for extremely cheap hosting. $5/month just isn’t in my price range right now. So I go looking for a webhost that is less than $2 a month and has not too restrictive bandwidth or space. My needs aren’t that big, but having say 1 gig of bandwidth and about 100 megs of space is minimal. I also want PHP and mySQL, since I’m wanting to use WordPress and maybe have a forum. It’d be a nice bonus for my BT tracker too.

First things first. Need a really cheap domain too. I find that Netfirms is offering $5/year domains, which is much less than 1&1′s $6. Remember, we’re dealing with US dollars here and I’m in Canada. $1 US is like $9328652987.2985 Canadian. At least to me.

Next, I look on Slashdot. They have a nice Ask /. article about hosting. At the time, I was looking at plans up to about $6 or $7. Then I realized that I could never afford it. A few plans were $4 and under. Out of these, Dragonfort and Csoft were at the back of my mind. Csoft had 700MB and unlimited bandwidth and had SSH for $5/month, but then I realized that was for a directory, not for domain hosting. Also, Dragonfort, although it had $1/month, but didn’t seem that reputable.

So I went somewhere for second opinions. This led me to WebHostingTalk. They had an article talking about budget hosts and it had a link to doorhost and findmyhosting. I got rid of all of my picks from slashdot. Many of the reviews were pretty good. Now I think I’ve settled on doorhost. $25/year, 100MB space, 7 GB bandwidth, PHP, mySQL, e-mail, etc.

Now on to the blogging part. I don’t like how Blogger needs to generate pages and rebuild the entire blog to change templates. I’ve just realized that all they are are generated static pages (plain old HTML). More efficient blogging systems generate dynamic pages so they don’t need to rebuild all 31987429875 pages of the blog. That’s my gripe with Blogger, and I’ve wondered why they needed to do that ever since I tried this thing out in 2002.

TTC

In light of the upping of the price of student tickets and how the TTC is becoming poorer than an impoverished student, I present to you <a href="http://www.sonivius.com/~steph/newttc.pdf">a map (PDF) of what the TTC could look like in about 12894732987598237 years</a> that I found <a href="http://www.livejournal.com/users/xophylia/96552.html">here.</a> Oh what could be.

Lord of the Rings ON ICE

Sadly, there is no such thing. <a href="http://www.cbc.ca/story/arts/national/2005/03/15/Arts/ringsTO050315.html">But there is The Lord of the Rings musical!</a> Opens in Toronto March 2006! Who wants to go?