Archive for May, 2009

BoreHoleGraph v1.0

Saturday, May 30th, 2009

My first serious attempt at C programming, which was also my first semester’s assignment. Admittedly, I had no concrete knowledge of C prior to undertaking of this huge task at the time. The lecturer was not adept at teaching, though I really admired the MIT graduate with Ph.D in medic. So I had to learn the basics from scratch and by trial-and-error for more than two months, somehow developed this piece of perfectly choreographed code. It was hard work and stressful because a single mistake could mean hours of troubleshooting. However it’s also interesting at the same, like designing the school magazine. It take a bit of creativity to produce the perfect algorithm to perform a task as fast as possible. Doing just that and seeing it run is very satisfying.

This programme is designed to read a text file containing land surveyance data and show the data graphically. The data contains soil depth, colour and strength of different holes drilled in various coordinates. Sounds easy, but I had to write an equivalent of 400+ line essay without a single grammar mistake. But that’s nothing compared to what I wrote for my current assignment which has 1000+ line. Professionally made software has millions of line of code. Of course we can’t compared that to the effort of an amateur coder. I won’t publicize the source code just in case someone decides to plagiarize it. This is a good problem for programming assignment. However, comments and enquiries are welcomed.

You can get the programme here. When asked for the file, just type the name of the file included with the extension, i.e. “boreholes.txt”.

Missed me?

Tuesday, May 26th, 2009

May is a very busy month for all of us. Assignments to rush, tests to study for and just plain laziness that comes in between. Having done all of my work, I’ll upload some of my programming assignments’ byproducts in the coming days so you can try them. Don’t get your hopes too high though. I’m doing Electronics & Computer Systems, not Software Engineering.

If you’ve been sticking your eyes onto books for too long, the first trailer for Modern Warfare 2 is just out! It’s awesome! Crazier, epic storyline with more cool real life weaponry. Go to Infinity Ward’s Modern Warfare 2 website to  watch the gunbattle porn. There’s a hi def version for you to download. Enjoy!

If anyone’s interested to play L4D with me in Garena, I’m on build 13 of the game now. Survival mode is really hardcore. Surviving just 4 minutes is hard. Very hard. Usually me and Joseph would get about 3 minutes plus early in the game then our survival time keep getting lower and lower. The more we try, the worse we get. That’s life, in some moments. You just have to learn how to live with it and enjoy it.

© 2009 Powered by tehCpeng.net & WordPress. Contents provided in this website are absolute properties of Piaw unless stated otherwise.

Entries (RSS) and Comments (RSS).