Archive for the ‘university’ Category

a new kind of extreme programming

Sunday, December 9th, 2007

XP is regarded as a good technique for producing clean effective code. I however think that pulling yet another all nighter is also extreme. I guess the logical conclusion would be to code with a laptop whilst skydiving from a plane……a bit like extreme ironing

Once this coursework is handed in, my house mate Darren will have been  awake, coding, for 51 hours including doing a  part time job. 51 hours!!!!! Thats got to be the new definition of XP!

The upside is that in that time, I managed to implement SMTP in a Java using sockets. nice.

A word of warning: eating chicken korma during a code marathon is likely to knock you out for two hours……

The library being used for what it was made for!

Wednesday, December 5th, 2007

Put simply, the library is under exceptional use, especially given that its twenty past eleven in the evening. You can tell its coming up to exam time!

This is probably the best time to be in the Library. Usually everyone is chatting and fighting, and overall not observing the “Shut up in this area!” signs. It makes a nice change to see people actually working :)

To anyone who has exams coming up, and for anyone stuck trying to send a file down a Java TCP socket, all the best with your studies!

Netbeans 6.0 rc2 - What a joy to use!

Monday, December 3rd, 2007

This post is for the benefit of anyone who had the displeasure of using Netbeans 5.0 that came with OpenSuse 10.3 .

The first thing to say is that netbeans does take a little while to load, which is a shame really because it looks like they missed the opportunity to show off javas threading abilities. The other downer is that it eats alot of ram :( you’ll want at least a gig to run netbeans and happily get on with your other desktop tasks (music, word processing etc)

After the load, the fun stuff!

The best thing to say is that the web container integration works really well. It comes with glassfish as a standard, but you can add many different different verions of tomcat ontop if you prefer that. It makes deploying your servlets or jsps as easy as hiting F6 (which runs you main project, remember to select your project as main first!) . You can change where netbeans deploys the servlet by right clicking on the project and going to properties. Once in properties you can go down to run and select your server :) Of course, you will need to have the server running first!

IMO the best update for the editor is the code highlighting, particularly the instant rename. You can basically out the caret in the middle of a word and hit <ctrl> + R The editor then selects every other instance of that word in the file and changes it as you change the currently selected one accordingly.

First late night study

Monday, November 12th, 2007

I’m pleased to announce tonight is my first late night group study session of the Academic year! Its been a while, but provided the kebab shop is open and theres enough Supermalt (with added vitamins) I’m sure its going to be fine :) It reminds me of the many nights spent getting code ready for the next day, usually because we spent more time getting extra-curricular stuff working. This time its a “Project Initiation Document” which needs to be handed in for Thursday. Its going well so far, and its good to hear other peoples views on your work.