Scott T: The Blog

Paging and RMI

Posted Sat, Oct 13, 2007 at 11:04pm by Scott
Tagged: programming, ssc, uni
2 comments

So the RSS feed wasn't the next thing on the list, but it is coming sooner rather than later! In the mean time, paging has been implemented (at least on the front end) to make it easier to read through older posts (and it was only a 100 odd lines added according to Trac)

Now to the bulk of this post. At uni these past few weeks, we've been working towards handing in an assignment for Computer Programming, however this one has been one I've really enjoyed working on (despite some of the head-banging moments) and even think it would be cool to take further. What we were working on was a multi-player Pac-Man style game.

The language of choice for the Comp Programming topics is Java (although other languages are taught for various topics), and cross-JVM communication for Java requires<0> the use of 'Remote Method Invocation' (or RMI). After being given the basic source code as a framework, we were essentially turned loose to fill in all the TODO's.

Initially, this assignment didn't grab much of my attention since it was just implementing the basics for a stand-alone game, however once Stage 2 started, things got more interesting. With exception of actual coding of connecting to the RMI registry and initiating connection between client and server (the source of much frustration), the ability to get a server set up and have myself and friends join it (each with our own coded client) was quite enjoyable, to the point I was determined to work as hard as possible to eliminate server game-state spoiling caused by problematic clients.

Despite the fact that there were people who despised the task, it brings out the need for tasks to be enjoyable. Idealistically, projects and assignments should be as fun as possible (although the write-ups usually accompanying them aren't) as this encourages further learning and better understanding.

Enjoy the rest of the weekend :)

<0> - A Google search informs me CORBA can also be used

NB: Post titles are still hard to come up with ;)


70 Minutes to drive to Uni

Posted Mon, Oct 08, 2007 at 5:38pm by Scott
Tagged: uni
No comments - Add one!

For a trip that usually takes a ten minute walk. Well that was certainly fun :p

Today I needed to travel across to the other side of the city to do a Practical and Lecture as the campus I walk to each day doesn't have the facilities. Hopefully something that I won't need to do often in the future either. Having to get up at 7 didn't phase me too much either (since I do that usually), but rather the 70 minute drive from one side of the city to the other in near peak traffic.

It also broke up the usual morning routine as we had to leave straight after breakfast. This meant I didn't have time for the usual early-morning net surf (to check out the forums and blogs I follow). I also wasn't able to have my morning Nescafe "Cafe Menu" Cinnamon Latte (I'm sure I'm semi-addicted to them).

And now to try and complete a few more lab reports...


Spam Count 
  • 1906 spam comments
Boring Stuff 

The images shown on this site are ones myself or family members have taken (unless otherwise noted). Don't use them unless you let us know - leave a comment somewhere as I'll usually find it.

Things I write can be used as quotes elsewhere however as long as they are attributed to me (preferably with a link and a comment somewhere that you've used it).