GK Logo 003 350 x 100

A Day in the Life of Pi

A day in the life of Pi By Graham Kendall, University of Nottingham Most people have heard of the mathematical constant Pi (?), and will know that it’s roughly 3.14. Taking inspiration from these three digits, March 14 (3/14 in the US date format) is heralded as international Pi Day, first marked by US physicist […]

The Christmas Present Problem: It’s Hard – NP-Hard

As Christmas approaches, many of us are faced with the annual problem of who to buy presents for, how much to spend, what presents to buy and how to be fair to everybody. Is this a tough problem to solve? Perhaps some science will help? Let’s try and state the problem a little more precisely, […]

How to get ants to solve a chess problem

How to get ants to solve a chess problem By Graham Kendall, University of Nottingham Take a set of chess pieces and throw them all away except for one knight. Place the knight on any one of the 64 squares of a chess board. Can you make 63 legal moves so that you visit every […]

My First Java Project

It’s been a while since I decided to use Java as my new programming language of choice. Since my last post I have been honing my Java skills, with my first java project. I had a project I needed to do that is about analyzing academic papers, comparing them in various ways, sorting them, writing […]

Videos on the basics of Java

Videos on the basics of Java Whilst looking through youtube (see my previous posts – here and here – for why I am doing this), I have come across some very nice youtube videos on the basics of Java. A very nice series of videos by Jose Vidal starts from the the basics of Java: […]

Blackjack in Java

Whilst looking through youtube (see my previous posts – here and here – for why I am doing this), I came across a very nice resource that showed how to implement Blackjack in Java. I am sure the video’s presenter will be the first to admit that the project is far from complete (for example, […]

Learning Java, the first steps

In this post, I describe my first steps in learning Java. Not that I am a newbie to programming. I have been doing it for years, but mostly in C++, or various mainframe languages and editors. But I recently made the decisio to change to Java. Learning Java I thought it was about time to […]

Swing or SWT when using WindowBuilder

In my last post I was trying to decide whether to use Swing or SWT when using WindowBuilder. I am using the Eclipse IDE. Learning to use Swing or SWT The problem is, there does not seem to be any clear cut view as to which is best. This post on stackexchange is typical. Researching […]

What Java GUI development tool shoud I use?

In my previous post, I outlined the reasons why I was switching to Java as the programming language of choice for a football prediction system that I am developing. In this post, I try to decide what Java GUI development tool I should use? Should I use Swing or SWT as my Java GUI builder? […]

Time to switch to Java for a football prediction project

I have decided that it was time to switch to Java for a football prediction project that I have been planning for some time. I want to do the project justice so I thought I would start from the most basic decision. What programming language should I use? The Problem with C++ For the past […]