Author Archive

Playing with heatmaps

My 'hello world' heatmap

Over that past few days I’ve been playing around with creating heatmaps to overlay onto OpenStreetMap – the image on the left is where I’ve got to so far. My interest in this is for creating heatmaps from data collected during my colleagues health sciences research in Ethiopia.

There are already several programs and services available to create heatmaps, for example gheat and OpenHeatMap. But none of these quite suited me, gheat because I didn’t want to create a full tile server – just an image to overlay on a particular area of the map and OpenHeatMap because I wanted to have access to the code to tweak how I wanted.

I then found heatmap.py which (using a similar algorithm to gheat) did almost exactly what I wanted. There were only a couple of changes that I needed to make:

1) Update to account for the Mercator projection – I wanted my overlay to be on a view of the whole world (zoom level 2 in OpenStreetMap). When I first ran the program the areas over northern Europe (and others) were almost but not quite inline with the marker overlays, but this was due to the projection. I just edited the input script to convert my lat/lng coordinates into Mercator coordinates. I also hooked up the heatmap.py script to read the lat/lng coordinated from a MySQL database.

2) Allow the script to have weights against each point. The current script looks at the number of points in a particular area (or on top of each other) to generate the ‘heat’. I also wanted to allow for points to have a weight – as mentioned here. I’ve not yet implemented the weighting, but I’m not anticipating this to be too tricky. GHeat (as far as I can tell) doesn’t allow for weights on points, but OpenHeatMap does (please let me know if I’m wrong about this).

All has been much easier than I’d expected, I’ve learnt a little more about python and once I’ve got the weighting working how I’d like, then I’ll share the code back.

Peer Programming

For the past week or so, I’ve been over in Cambridge doing a some programming work for Aptivate (a not-for-profit IT development company). It’s been good to get back into doing some programming work after quite a long break – over the past couple of years I’d only really worked on a few personal projects. Quite surprised how much I’d forgotten, but more surprised how much I’d actually managed to remember.

At the moment I’ve been working on a survey application for health centres in Rwanda, to collect baseline information about the facilities and services they’re able to provide, with a view to better target resources and measure any improvements made.

What I have found interesting has been Aptivate’s use of peer programming and agile development methods. Rather than programming alone, pairs code together. At first you may think of this as being quite an inefficient way of working, especially given a limited number of programmers and many projects to work on. But actually, I’d argue the opposite is true. Whilst working alongside someone, there is far less temptation to get distracted by checking email or wandering off onto the internet.

Caving in the Peak District

I’ve been caving in quite a few places in the UK, but never in the Peak District, until this weekend. I went up there with a few friends from Winchester for a long weekend to do the round trip route in Giants Hole – was a fun trip, but was very pleased the water level in the Giants Windpipe section wasn’t too high.

Here’s a video showing some of the more interesting sections (Giants Windpipe starts just after 6mins):

Will need to sort out getting a robust & waterproof camera to take down when I go next time, otherwise I just end up with a photo of us all standing outside the entrance, a bit like this…

Rob, Steve, Paul, me and Steve outside entrance to Giants Hole

Getting connected

I’ve just moved back to my old house in Northampton and have been trying to figure out if there is a way to get a decent broadband connection at home but without a 12+ month contract. there do seem to be a few places which offer shorter contracts (1 or 3 month notice), but then a phone line is also needed – which again, requires a 12 month contract. Plus for the short term contracts, there is a connection fee. The only place I found that would offer short term broadband plus phone was IDnet (http://www.idnet.net) – but this is going to be an expensive option. £17.99 per month for broadband, £10 per month for line rental and £47 connection fee = total of £130.97 for 3 months (or about £44 per month). I’m currently using a o2 mobile broadband dongle (£15 per month or 3Gb download), so works out at £45 for 3 months, unless I start going over the 3Gb limit (very likely). Although even with allowing for spending on extra downloads, this will still works out much cheaper. If anyone has any better, cheaper suggestions (not including hacking a neighbours wireless connection!), I’d be very interested to hear.

The main downside I’ve found with the mobile broadband is the speed, it’s noticeably slower than fixed line broadband – although with the connection speeds I had in Ethiopia, the mobile broadband in UK is a vast improvement in terms of both speed and cost. Whilst in Addis the other day I noticed that the CDMA internet connection was far slower than that available in Mekelle, I expect as a result of the number of people using CDMA now and the lack of capacity in the infrastructure. As a result more people are buying EVDO connections – these are monthly contracts and quite expensive (approx 460 birr per month minimum). If EVDO becomes too popular it’s only a matter of time before these seem slow and unreliable.

Apart from these hassles, moving back to the house has been good. Realised just how much stuff I managed to pack into the loft, so have spent the last couple of days moving everything down and getting it sorted out. Most of which I’ll get rid of in one form or another (freecycle, charity shops etc).

School Visits

Visiting a school near Wukro

Yesterday, I had a visit out to Wukro, to meet some the heads from the local health bureaus and visit some schools in the area. Two of the PhD students from Mekelle have projects in this area, looking at prevalence of parasites in children and how this may be reduced. We’re investigating using phones and GPS to collect the survey data, and have it automatically sent to a server (via GPRS) when the data collector comes into a mobile reception area. We’re also looking at how learning materials and/or diagnostic tools could be made available electronically (again using phones) to the Health Extension Workers.

We visited two schools, both a fairly short distance (10-15km) from the main Mekelle to Adigrat road, but both feeling quite remote. Both were primary schools with around 1000 pupils each – but neither had access to clean water and one had no electricity – although both did have mobile phone reception.

Getting connected to GPRS ought to be relatively straightforward, however the SIM card needs to be GPRS enabled first. It’s free to enable, but isn’t automatic. We went to the ETC office in Mekelle to ask them to do this, but for some reason currently it can’t be enabled for Tigray mobile numbers (0914xxxxxx), I then asked them to enable my Addis mobile number (0910xxxxxx), but was then told it can only be enabled in Addis. So we’re a little stuck, being unable to test the GPRS availability on any of the phones that we have between us. The good news is that SIM cards are now much cheaper – 85 birr each (with 15 birr credit included), compared to the 360+ birr I paid less than a couple of years ago.

The past month has flown by, feels as if I’ve only be back for 5 minutes. I’m generally very happy with the progress we’ve made on the project over the past year. Looking forward to coming back again in September again to see how everything has moved on again.

Comparing netbooks

On returning from Ethiopia (the second time – at Easter), my little Asus Eee PC 701 was really starting to show signs of wear – after heavy use for the previous 2 years, the trackpad buttons had started to go, plus the space bar was getting far less than responsive. So just before I returned I ordered a new Asus Eee 1008HA which arrived a day or so after I arrived back in the UK. The increased screen size, disk size and slightly larger keyboard have all been great, but there have been a few things that I’m not so keen on:

  1. the USB ports are too far recessed for some of my devices (notably the CDMA mobile internet dongle) to be properly inserted, so I end up using a small USB hub or extension lead. Plus there are only 2 USB ports
  2. It feels a little too fragile. The 701 was chunkier and so felt more solid, with this I feel I should be wrapping it in cotton wool before I put it in my bag. The monitor adapter (the VGA dongle) and network port, plus the covers for the USB and headphone sockets, all feel as if they’ll break easily.
  3. There’s not an easy way to upgrade the RAM. I had seen a video on YouTube on how you can open it up, but it’s not just a case of unscrewing a panel and popping in a new stick of RAM.

The reason I’d bought another Asus Eee was because of my experience with the first and I’d basically bought the 1008HA without having seeing one for real. Although I’ve not had any issues with the new machine in the nearly 3 months I’ve owned it, it only feels like a matter of time :-(

Ethiopian TV presentation

Student being interviewed for ETV

This morning we had another visit from the Ministry of Education, coming to find out about our Digital Campus elearning project. They’ve had quite a punishing schedule over the past few days – not helped by a mix up which left them with 1 day to complete a 2 day car journey. Nonetheless, they seemed very enthusiastic and keen to learn about our project, looking at how similar programmes and technologies could be introduced at other Ethiopian Universities.

Unexpectedly (for me), our visitors were accompanied by a reporter and journalist from ETV, so I had to provide an impromptu presentation to camera about our project, which I’m expecting to be broadcast nationwide sometime over the next few days. I hope I gave a better performance than England did last night against Algeria! I think the appearance of the TV team surprised the students working in the lab, but a couple of them were happy to be interviewed, so really pleased they’ve been able to get feedback and opinions from the students too.

Serving two masters

In the past, I’ve worked on quite a number of research projects developing prototype software and web applications, where, due to the nature of the project (pilot/prototype/research) you never quite get the time to invest in making these systems as robust, well structured or documented as you’d like. Yet at the same time, a tension starts when there is a push to get these systems used in the real world, and they become to be treated as production level systems. No, it’s not quite that black and white, research projects need some real world testing to prove their worth and production systems will never be perfect.

With our new thin client labs and OpenSolaris server I feel we have a similar tension. On one side, these labs were a facility for us to try out new ICT policy and infrastructure for the university, for example, disabling flash devices, using university mail accounts, amongst many others. Yet at the same time, our lab is the only functioning lab available in the Engineering College. A review yesterday by the ECBP team, found that there was only one other lab (approx 30 PCs) which was functional and had relatively modern PCs (less than 5 years old) – but this lab isn’t yet networked (it’s in the computer science building – which, almost a year after being occupied by the department, still hasn’t been networked except recently for some of the staff offices). So there are 40 networked terminals available for a student population of over 2000. That’s a ratio of 1 terminal to 50 students in a college teaching engineering, technology and computing.

So we have a question of priorities, do we stick with the research goals and risk the labs not being usable due to the decision we’ve made (but then have something interesting to write up), or do we focus on providing students with a lab they are able to use effortlessly?

For me, it’s an easy decision to make. We must focus on providing a robust and reliable lab (contrary to the other labs) for the students to benefit from and not worry about the fact that they’re sharing passwords, using webmail rather than university mail accounts and the like. This doesn’t contradict some of the bigger research aspects we wanted to look into (e.g. demonstrating we can create a more robust and scalable architecture than the usual PC labs), but does mean that we very quickly needed to make compromises (such as allowing the use of flash drives) we didn’t want to have to make so soon.

The dog ate my homework

Have been hearing a few critical comments from some staff regarding the Certificate in Online Education and it’s content. Apparently some staff feel that learning about some of the techniques that we have been showing them is beneath them, or they already know how to perform these functions (for example use of graphics editing software). In my mind it’s just another excuse not to participate in the training. It also shows that they aren’t coming to the training with an open mind and consider that elearning is simply a technical issue, rather than a way of truly improving the quality of their course content and activities. I’m quite sure that some staff are capable of using some of the software, but in order to give them a certificate they need to prove is to us by actually demonstrating their skills with the courses they deliver to students.

Unfortunately, it still seems far too common here for staff to receive a lot of training, but never follow the training up by implementing what they have learned.

There are a wide variety of other reasons (excuses) I’ve heard as to why staff haven’t participated in the training, but there are few I believe as anything other than excuses.

More positively, except for the England v USA result, I’ve now found a few good places to watch the world cup matches. Apparently some students here have requested alterations to their exam timetables so they are able to watch all the games. I don’t think they received a particularly sympathetic response!

Otherwise, another busy week, spending much of the time with the new Institute of Technology (officially the Tigray Institute of Technology, but this results in an unfortunate acronym!), working on an action plan for the implementation of elearning into the new institute. They certainly seem to have more commitment than we received from the rest of the university over the past year. But hope that the Institute will be able to set a good example of how changes can be made in the rest of the university.

A team of staff (Joern, Selamawit, Haileleul and Oliver) from ECBP on.e arrived yesterday to begin working with the Institute and the new elearning team here. We’re planning how we can integrate our two separate training programmes for staff (elearning team and the tutors) and assisting with planning the technical/ICT infrastructure required.

Crackbook

Finally has been great to see the new computer labs in full use. On Tuesday I went over to the lab at Ayder, to find it not only open, but full of students (all 45 terminals in use), so this was very pleasing to see. The only downside was that students were almost exclusively using Facebook (except for the girl looking at the wikipedia page on Enrique Iglesias) rather than anything to do with the courses our tutor have produced.

I suspect that this is only to be expected, students rarely get to use a computer so the first thing they want to do is check their emails and facebook status. I still can’t really figure out exactly what the appeal is of spending so much time on facebook – but maybe that’s just me. There is talk at the university of blocking facebook and some of the other social networking sites simply because of the bandwidth they consume, but then last year there was also talk of doing the same with some webmail services (specifically Yahoo).

The use of the labs in this way isn’t really too concerning for the project – as least it demonstrates the demand is there and better than the labs being empty or locked. Surely students can’t spend 24/7 on facebook (or can they?) and eventually perhaps they’ll move onto something more constructive? Or do we need to get the course content and learning activities into facebook?

We have noticed that many students are sharing accounts/passwords – giving them to their friends. Seems there’s little we can do about this apart from trying to educate students that their documents and work are at risk of being deleted/copied etc if they give out their account details. Or we introduce fingerprint or iris scanning!

Over the past couple of days I’ve been started the training programme for the three new elearning staff, all going well so far. They’ll receive some training from ECBP (Engineering Capacity Building Programme, Ethiopia, funded by GTZ) so we’re looking at ways in which we can coordinate the Digital Campus training programme with theirs.

Our internet connection has been quite poor since I returned – off for 2 days last week then another 2 full days this week. There is an incredible difference in the number of students in the labs between when the internet is on and when it’s off.

Am now trying to decide where the best place will be to watch the England match on Saturday, choice is basically between either the Axum hotel (free entry but expensive drinks), or a DSTV house (very cheap entry and better atmosphere, but no drinks!)