Pff, finally. I just submitted my first big-ish project here at the Networks & Distributed Systems course here at Trinity College, Dublin. We were supposed to develop a peer-to-peer multi-player version of the popular Tron game (which is a bit like the snake game you got on your mobile phone), players walk around the field leaving a trail of walls. There are cherries that give you an additional life, you lose one if you walk through a wall.

As soon (and if) I’m allowed to (presumably after the submission deadline) I’ll release the source code/binaries and report, might be interesting to the people interested in peer to peer networking. It’s quite a bit harder than developing a game using the usual client-server model that basically all other multi-player games use.

Some teasers:
Connect screen

And playing (note the amazing graphics :P):
Playing

Initially we were supposed to develop this game from the ground up (using either Java Sockets or RMI) in three weeks, then we got a week extension. I developed it in Java 5 using Eclipse 3.1. Gotta love the generics support and enhanced for-loop in Java. Very nice.

As of yet I’m the only one in my group who has gotten the game to work, so I’m looking forward to see if others manage to do this.

Google Base

by Zef Hemel

Google launched yet another service: “Google Base”:http://base.google.com. What it is? A place to store all kinds of content, be it events, recipes or whatever you like.

When I saw this, I was like, what the hell do I need this for? And to be quite honest, after playing with it for a little while (it’s free, you can just sign in with your Google account), I still don’t entirely get it. But usually writing about it helps, so let’s try that.

Google Base is based on “items”. and you can define our own. Just for testing I defined a new item type called “Birthday”:

Birthday Item

When you do this you can define attributes (of different types, be it strings, numbers, dates, addresses, areas), add a title, description, location, labels (keywords) and a link. After you push the Publish button, items will appear online after 15-60 minutes. Each author gets his/her own URL where you can see all his/her items. In my case “http://www.google.com/base/a/zefhemel”:http://www.google.com/base/a/zefhemel.

Ok, so now I got an item containing my next birthday online. Now what? Well, I don’t know. I wonder what I could use this for. If I would put up items that I have for sale, I could start using it as a kind of marketplace. As other users can search everybody’s items, they would be able to find the items I have for sale. The Google Base FAQ states that “highly relevant” items may show up in Google, Froogle and Google local. So that’s one use. Another one, I can imagine, is if you’re organizing events, such as plays, conferences and so on. You could “advertise” them by putting them on the Google Base.

As I write about this, I start to see reasons to use this service. I think that it is most useful to people who want to advertise something, to let other people know something. At first I sort of assumed/hoped it would be useful just for yourself as well. I could’ve imagined putting up contact information, my calendar and have it searchable, but I doubt it would really work for that (let alone people appreciating me putting up their contact details online for everybody to find).

What makes it interesting to me is that it’s more about meta data. Google so far was mostly about web pages and links between them. There was not much more you could tell about it. If people would start using this service, information would be typed. It would no longer be just web pages it would be more specific things: cars, events, objects for sale, people. As there’s a series of attributes associated with items you can use those to search more specifically. It’s not just a plain text search over the whole webpage anymore. You can search based on any of the attributes. For example: show me all events in this area that take place today.

Problem with adding this meta data is that it’s a lot of work for the people entering it, plus there’s no guarantee whatsoever that the entered information is actually correct. But as it’s Google launching this service I assume they have plans with this and ways to solve these problems. Time will tell.

Google launched a new service today or yesterday (not sure). It is called “Google Analytics”:http://www.google.com/analytics/ and it will provide you with statistics about your website’s visitors. It is said that this (free) package compares to many commercial alternatives out there.


Apparently it’s particularly useful for websites already taking advantage of AdWords as it allows you to do in-depth keyword analysis. Anyway, I’d like to try it myself before I recommend it to others so I signed up and put the couple of lines of JavaScript code on my websites. If you’re reading this messages on my website itself (and not through an RSS reader) your visit has been recorded. It will take up to 12 hours for it to give me some analysis information, so I’m waiting patiently.

I’ll let you know what my findings are.