Archive for the ‘code’ Category

24
Feb
2006

5

Look ma I’m on the BBC

And yes, this is my work, it’s not irony, it’s not Rock & Roll, we’re just tagging, the little Kids.

—–

This might warrant further explanation…

I work for the SQA who give kids unique numbers when they turn 14 so they can have their own certificates. The Scottish Executive decided to give them the numbers when they start school instead. This is because when some kids went missing before they just had their name to go on so they got pupils mixed up.

Over the last 3 months I’ve been working on this system with the Scottish Executive to create the numbers based on pupils numbers from schools in Scotland. It’s hilarious listening to privacy loons start saying we’re using this to track what children eat etc. They get this number when they are 14 anyway, just happens when they start school now.

Funny thing is that the 5 of us that worked on this are now famous!

29
Jan
2006

0

Bacon is Back

After being down for about 6 months I got my act together and fixed the baconizer. So I’ll enjoy showing people how I used to spend my time anyway!

For those who don’t know, just put in 2 movie titles and it’ll tell you the linking actors from both movies.

Enjoy,

I never rememeber when my favourite tv shows come on air either. So here’s some direct links to episode numbers and release dates for them: 24, Desp, BG, Lost, Earl, FG, AD, Scrubs.
J.

13
Dec
2005

3

portfolio

Righty,

So I’ve changed my mind again and have decided that making something in Java would be more beneficial then spending hours (3 days, 12 hours so far) playing WoW. So I’m resurrecting my previous idea of making a website that allows you to rate how unattractive English Premier League footballers are.

I’ve bought a domain for it called: www.theuglygame.com and put up a small proof of concept for the moment which is tracking ratings in the background. The scale at the moment will go from Beckham to Beardsley as they seem to be the best yardsticks to use for a scale.

With this information I will then make teams of the week etc, perhaps even send an award out to the ugliest player in the premiership for a laugh. TUG Player of the Year and TUG Youth Player of the Year etc.

Writing the application should be simple enough, keeping it maintained with all the transfers etc will be a pain though so I’ll need help at first getting the database full of all the players from each team and a lovely photo of each of them. The site will not make any money as then I could get sued for making profit out of laughing at Wayne Rooney’s face or something similar. Plus I’m not in the mood to get images for every player so I intend to take them off the clubs websites or a news source. All of this could lead to nasty letter being sent to my good self so making absolutely no cash from this is paramount.

For the Geeks: I’ll be using hibernate as an ORM solution for this project and will be testing out the new feature of Eclipse using Java. My webhost runs a resin server without EJB support so it’s just plain servlets and JSPs and whatever Component framework spams news sites enough to get my attention (Struts, Spring, Tapestry etc).

So if you fancy helping me populate and maintain the database or fancy helping with any aspect of the site then send me an email to joe at this websites domain name.

Cheers,
J.

21
Nov
2005

2

I got soul, but I’m not a soldier

Hello everyone!

I’ve put up a video of my flat that I made using my phone (low quality when moving) for anyone to look at if they fancy checking out my digs. The flat is on the 4th floor so its a fair climb but we get good views.

This Friday I will be travelling with my family up to Aberdeen for graduation. I got a 2:1 mark for my project so I missed out on a First despite scoring 75% 1st marks in all my exams and assessments. This is a shame as Amazon have opened a new centre here and are interviewing graduates with Firsts. Hopefully the word has spread that SM has been hired by them which is great news (can you feel the jealously?!?), as our class genius it’s what he deserves.

The job is going good now that I’m involved in projects. SQA works by giving each different coder a different layer to the application to make then you do unit tests on different peoples work to make sure it’s all dandy. They use the traditional Waterfall approach to design doing concise documents on the system, requirements, specs etc then do a UML framework. This creates stub classes that we then implement. For J2EE stuff Struts are used as are message beans. Everything is checked into CVS. We use Netbeans as our main IDE on Windows XP then put our programs on AIX/Solaris/Linux backend servers using a PostGress like database. Best thing atm is my machine is about to go from 512MB or RAM to 2GB which as we all know is what Java likes to use! If you use Eclipse and haven’t seen Netbeans recently then you should definetly check out this great demonstation

I’ve decided to join a gym consortium in Glasgow called Glasgow Club as I think a year of just eating takeaway pizzas and pub lunches has taken its toll on me. I might document this process to inspire others (provided I don’t give up). I have a gym induction tomorrow so I’ll let people know how it goes. My aim is to get my BMI down to normal by my birthday in May which I think is achievable.

I’ve coded a few apps for fun in the meantime though they all use other webpages and String indexes so they break damned easily. Netbeans 5 has great j2me support so I’ve made a few phone applications sending XML to and from servers (I found a massively easier way to send data then what Bruce was recommending which speeded up the process).

Lot’s of Excitement on Friday as I got a new graphics card. I bought an nVidia 6800 GT (Asus pre-overclocked version) from eBuyer and hurriedly put it into my machine to find out that it uses a power cable. I own a shuttle so slack wires don’t exist so I had to put my hard drive on top of the machine to use both the gfx card and the hard drive at the same time. This was all fine and dandy until I answered the phone and nudged the power cable a tiny bit. Immediately the hard drive set on fire with candle flame sized flames coming out of each chip on my 200GB hard drive. The machine was miraculously still running powering the fireworks show so I grabbed the hard drive and disconnected it. Needless to say I haven’t checked to see if it works as the underside is now a smouldering wreck.

Alison is away in Belgium at the moment so I’m home alone. So it’s just wow for me and the start of a new regime tomorrow when she’s back. Hopefully I’ll keep the gym up and update my blog more often now.

See you on Saturday if you’re attending.

Joe.

01
Jul
2005

0

Link Movies!

So in between playing World of Warcraft all the time I go to pub quizes on a Thursday night. During which there is a movie linking round where you have to link 2 movies together by an actor that is in both.

After thinking about this for a while I decided to make a program so I could cheat on my phone. 4 hours later I can unveil to you…. my Kevin Baconizer!

Put in 2 movie titles in and it will tell you the common actors in the movies. Simple and effective.