Wednesday, June 29, 2005

Politics: They Rule

Check out this great web site called They Rule -
They Rule allows you to create maps of the interlocking directories of the top companies in the US in 2004.
The data was collected from their websites and SEC filings in early 2004, so it may not be completely accurate - companies merge and disappear and directors shift boards.

What a great concept! And it looks really good too. I'm not sure how I'd use this, since I'm not conducting research at this level, but..

There are a lot of user-built maps which are great to look at.. Check out linkages for the CFR (Council Of Foreign Relations).. Lot's of mates there!

Life: The Continuing Saga of That Damn Car Stereo

Yesterday I rode to work in order to drop off my car to be repaired (see a previous post). When I picked it up, they had the gaul to charge me for a 'ground loop'.. I don't even know what that is, but clearly, it sounds like something they should have checked for in the first place.

At least I had music, I thought. So, I'm sitting in traffic playing with the remote control (which is kind of cool, even though basically useless), when I realise that the b@stards haven't hooked up the front speakers... The good ones! How can you miss such an important part of an install? I can't help but ask - What were they on?

I think this time I'll do the work myself.. Damn them. There goes my sleep in this Saturday!

It's worth noting that the company in question is Strathfield Audio in the Adelaide CBD. Not good enough boys.

Monday, June 27, 2005

Life: The Screech Of An Unearthed Stereo

As someone who writes software for a living, I'm always thinking about testing. Not that I like testing, but testing is the only way to validate your work. Even the most confident programmer checks the basic operation of his work.. right?

Well, it seems that the same rules don't apply when installing a new car stereo. At least, not on a Saturday morning. I just spent over $300 on an MP3 car stereo, and was shocked to find when I drove off that there was a shreiking sound coming from the speakers which exactly matched the motor's speed. Having spent my youth installing car stereos, I immediately knew the problem - The earth wire had not been secured. It's fine when the stereo runs alone, but not when the motor is on. Great.. I'll just turn the motor off at the lights, shall I?

A simple test would have been to run the stereo, at the same time as the motor. Not too tough, right? It goes to show that a little time spent making sure the job is done right will save time in the future. Not only my time, but the next poor sap who will be handed this job in his lunch break.. I can only hope its the *same* guy who stuffed it in the first place.

Of course, such a lesson is timely reminder to all programmers. NEVER assume that just because you got it right every other time, that you don't need to test this time.. Of course you do!

Monday, May 02, 2005

Programming: Riskier (Part 3)

Fog of War – No real RTS game can exist without FOW, and I intend to build this model in from the ground up. No client will have knowledge of the ‘real’ world, except what they are informed of via the server. Thus the server will be the only location where the real knowledge is, and will disseminate according to rules to be determined later (eg. Proximity, spy networks, satellites, etc.). As such all client data will be considered an approximation, and will thus be time stamped (to indicate currency).

I am not an AI programmer – yet! Although I studied Prolog at Uni, I definitely would not claim myself to be able to write a sentient (according to Turing, anyway!) adversary, and so I will restrict the game to multi player only. Accordingly, the model I will develop is based on the future consideration of allowing an AI to be created which will interact with the central game server in the same way as the players. Thus, the AI will not be able to cheat, or make any decisions from which it has no data to base it on.

Given the nature of trademarks, copyrights, etc., and the fact that my game will be a leap from the original, a new name seems appropriate. I have thought of (and used as a working title) the name ‘Riskier’, which is just a bit of fun, really. Other names that I like are ‘Manifest Destiny’ and ‘Global Hegemony’. The first title refers to the 19th century belief in the US that the two continent of the western hemisphere would be best served by being conquered by the US, which felt it had a God given right to do so.. A perfect name for a game about empire really, isn’t it? The second is a general reference to the way the world is viewing the current state of world affairs (i.e. US Hegemony in the Middle East). Although I like the title, I have found that few know what the word means, and many can’t even pronounce it!

Oh well, Manifest Destiny (MD) will do for now!

Sunday, March 06, 2005

Programming: Riskier (Part 2)

I think that this version of Risk, aka ‘The Risk Board Game’ is a bit dull for a rewrite, and so I have decided to introduce a more complex economic model, based on the interaction of individual regions, which will culminate in an equivalent ‘need’ to conquer all the regions on a particular continent. Essentially, each region will have an economic value (it’s core worth – termed ‘E’), but will return to the player each turn (or thereabouts) a value equal to it’s value E plus 20% of all neighbouring E, plus 5% of all those neighbours’ neighbours. In total, 3 levels of recursion are envisaged, as the following table will show:

Region Distance

Percentage of Economy (E)

0

100

1

20

2

5

3

1

Also, I decided to add another major change to the risk model, namely by making it Real Time (not turn based). That is, I want each unit to be able to move at any time, restricted only by it’s readiness level. Readiness will be reduced by 50% for each region move, and 75% will be required to move at all. Hence, although everything could move at the same time, it would be strategically dangerous to do so. Readiness will be regained by a unit based on a variety of factors which will be determined later, but which will involve tech level, morale, and whether the region being moved into is friend or foe.

Saturday, January 01, 2005

Programming: Riskier (Part 1)

I love the board game of Risk, and have played various RTS (Real Time Strategy) games for several years. At high school I was always building games (via D&D or Battlemech) to keep myself and friends amused. Naturally, as a programmer, I have always thought about writing a game, since building business data-centric applications, although challenging, is by no means interesting, and to most, out right esoteric.

I chose Risk because the game is in essence extremely simple, and hence a great candidate for implementation to a computer. Furthermore, the Risk concept is easily extensible, with various additions to the core game being possible, particularly as future add ons.

So, what is Risk? Well, to the uninitiated (if there is such a person!) Risk is a game of nation building, or empire building. The game is won by conquering the neighbouring regions, and ensuring that your competitors can’t do the same. The winner is, by the classic definition, the last man standing. The value of a particular region is it’s composition in the continent. When all regions within a continent are conquered, the player then receives extra spending points. Armies are generated via these spending points, and thus the game is born.

Your Blogging Starts... Now

I'm finally blogging. Many thoughts pass through this brain of mine each moment, I wonder whether I'll ever truly be able to capture the essence of them all.. We'll soon see.

At least now I have no more excuses for not having an on-line presence. Here I am!

My intention is to blog about all things Laan. Mostly, I'll be mentioning programming, politics, and partying. My 3 favourite things. Well.. At least 3 favourite things I can blog about, anyway! :-)