Archive for July, 2007

New House

Tuesday, July 31st, 2007

Yesterday I moved into my new house in Hampshire because I start full time work tomorrow. I’m pretty excited although the 9-5 is going to hit me hard in a few weeks, I just know it. Compared to my digs last year this new place is practically a palace - we even have our own server room. :D

dsc00073.jpg

(Map / description of crazy-ass network soon to come!)

CodeColorer Test

Saturday, July 28th, 2007

Just downloaded and installed CodeColorer for wordpress. Lets try it out…

Some PHP:

[cc lang="php" tab_size="2" lines="40"]

function printTest($foo)
{
if($foo)
{
echo("Yay for foo!");
return true;
}
else
{
return false;
}
}

?>
[/cc]

The Political Compass. Where do you stand?

Friday, July 27th, 2007

This has been around for ages but I thought I’d give it another shot as I’ve just been watching some US Presidential Candidates talk on the Google Public Policy Blog. Five of the candidates have done talks at the Googleplex and Google has an excellent round up of them all.

compass.jpg

Above you can see how my graph came out. Last time I did this, which was nearly two years ago, I was slightly less Libertarian and more left wing. I guess Ron Paul inspired me.

Where do you stand? Try The Political Compass now and let me know! :)

Up From The Catacombs: The Best of Jane’s Addiction

Thursday, July 19th, 2007

I never really thought myself much of a Jane’s Addiction fan until I heard this.

929726.jpg

Pretty much every track on this CD is a gem. Well worth buying if you’re into your alternative rock.

First Steps with Java Servlets

Tuesday, July 17th, 2007

‘Murach’s Java Servlets and JSP’ popped through my letterbox this morning. I need to get a headstart on learning JSP/Servlets before I start work and this book looked like a fairly good introduction to it. I briefly glanced through the 600 or so pages over lunch and although it seems a little basic I’m sure it’ll be a good stepping stone to something a little more complicated.

murach_cover.jpg

Talking of complicated: after lunch I installed Tomcat. Now I like to develop code on my machine and not have to upload it onto a server half way around the world to test. I’m not a fan of having to install Apache / MySQL / PHP individually either so I really like XAMPP for linux because it makes my life a lot easier.

Unlike the Windows version of XAMPP Tomcat isn’t provided in an easy to install addon. There is one listed on the addons page but it only works upto version 1.47 of XAMPP which isn’t much good. After messing around with old versions for a while and having no luck I decided just to install it on my Windows Server 2003 box, which worked perfectly straight away. Unfortunately now I have to do Servlet development over my local network, but that’s the price I pay for being lazy. I wonder if Apache Friends will make a properly supported Tomcat addon for XAMPP Linux soon.

Can anyone recommend an easy way to get this running on Linux?

emerge -uavDN world (Updating Gentoo)

Tuesday, July 17th, 2007

Borrrrrrrring. Sat here… upgrading Gentoo. What a fun filled night / morning it’s been. For my own reference and for anyone that wants to know, this is how I keep Gentoo up to date.

  • emerge –sync //sync local tree with server
  • emerge portage //if portage update available
  • emerge -uavDN world //–update, –ask, –verbose, –deep, –newuse
  • etc-update //carefully update config files in /etc
  • glsa-check –list //list security updates
  • glsa-check -f all //apply updates

If gentoo-sources have been downloaded in the update then I’ll upgrade to the latest kernel like so:

  • cd /usr/src; unlink linux; ln -s linux-2.6.2*/ linux; cd linux
  • make menuconfig
  • make clean && make && make modules_install
  • mount /boot && make install
  • Add a new entry in /boot/grub/grub.conf to point to the new kernel
  • Test Kernel / get angry with broken configuration / repeat above.

It’s just so easy. And so simple. I don’t see why most people don’t run linux.

Sun Visit

Tuesday, July 10th, 2007

sunmicro.jpg

I start my internship with Sun Microsystems August 1st, so today I visited Sun HQ in Camberley and met the team.

The complex seems like a great place. The offices are lovely and everyone I met seems really cool, plus the atmosphere was nice and relaxed which is always good.

This is where the blog is going to take a turn for the geeky. Its primary focus is going to be informing people what I’m up to now I’m no longer at Uni. and it’ll also help me keep a log of what I do at Sun (mainly for my assessed report).

Therefore I have decided to stop importing my feeds into Facebook. This means my readership is going to drop to zero, but I’m sure people were getting sick of seeing new notes written by me, and no one is going to want to hear about the super-cool-omgleet-new-thing that I made Java do.

Sun, here I come! :D

Wiiiii! A fun few days!

Sunday, July 8th, 2007

Well it’s been over a week since I last posted an update, so what’s been happening since then? Well, my good friend Trev came over from Germany and stayed with me for 9 days to soak up alcoholic English life. We hung out, drove around, watched terrible movies, went up to Reading to see some friends and good times were had all round.

dsc00051.jpg

Also rather excitingly I am (or more specifically, my dad is) the proud owner of a Nintendo Wii. I wanted to get one just to play the new Zelda game at Christmas and now I finally can.

6-9-5.jpg

I’ve only clocked about an hour on it so far and I like what I see. Hardly surprising - I loved Ocarina of Time and I’m sure this won’t disappoint. I wonder how much sleep I’m going to get tonight…

Last week I moved a few things into my new house at Fleet in preparation for starting work August 1st. It is _m a s s i v e_, which makes a nice change from living in a box. Starting full time work is going to be interesting ( no more lazing about for me :( ) but I can’t wait. On Tuesday I’m visiting Sun and meeting the team which will make me even keener I’m sure.

Other projects are ticking along nicely, more on those soon.