Archive for admin

“Technical debt” – now a mainstream term

moneyI wasn’t surprised to read an article on the BBC news website explaining that UK banks (and more importantly their customers) are likely to experience more “software glitches” in 2013. The likelihood of problems increases as systems age, experienced technicians leave through free-will or redundancy and corners are cut to meet project deadlines.

I was surprised however, to read the term “technical debt” in the mainstream press. Normally this term is consigned to the “geek world”. Technical debt builds up in computer systems for a variety of reasons, as outlined in the article.

  • Increased complexity of systems
    This is exacerbated by mergers and demergers which force IT systems, never designed to co-exist to be “made compatible” with each other”. Rather than rewriting code, or migrating to a new shared platform designed specifically for the purpose, a sticking plaster approach is taken. This works in the short term but increases system complexity (and risk) in the long term.
  • Under-investment and a lack of modernisation
    Rather than invest in upgrades, the “if it isn’t broke, don’t fix it” mentality is allowed to predominate. This is sensible in the short term but builds up problems for later.
  • Outsourcing
    It’s harder to modify somebody else’s code than changing your own. As well as this, after outsourcing or off-shoring becomes entrenched in your organisation  your in-house teams may  lack the skills to do this work. This leaves you more reliant on the external contractor than would be desirable.

Technical debt, like other debts needs to be paid in the end and unfortunately UK banks are finding this out the hard way. The well-documented, recent problems with Faster Payments, NatWest batch jobs and Knight Capital’s trading errors will be the tip of the iceberg. There will be a significant number of “near misses” that go unreported.

Testing, why bother?

The article goes on to mention testing and says that ”Modern computer systems are so complicated you would need to perform more tests than there are stars in the sky to be 100% sure there were no problems in the system”.

This may be true, but all testing is important and good testing can (and does) flush out problems that otherwise can go on to cripple banking systems. This leads me on to another major risk factor for banks and other sectors.

Who is doing your testing?

School children aren’t allowed to mark their own homework, so why do you allow your IT project teams to do it? Testing best practice says that the test team should be separate from the development team. This helps to prevent problems from being brushed under the carpet by a development team that is desperate to get their code deployed so that they can move onto the next project or invoice the customer.

Agile development methods have tended to merge testing and development teams (for good reasons). Testing becomes an inherent part of the software development work, reducing the likelihood of big problems at the end of a project.

Having said that, in my opinion; regardless of your development techniques it is vital to get at the very least an independent review of your tests. Ideally a separate team should complete your testing. Otherwise you can’t even start to quantify the technical debt building up within your systems.

Office window time-lapse

As followers of this blog will know, I’ve been experimenting with a Raspberry Pi (RPi) and one of the uses that I found for it is as a webcam server. I have plans to put a permanent webcam in the TrustIV office window in Manchester and I’ll be using a RPi to do this.

My installation is pretty straightforward:

  • Raspberry Pi
  • Logitech C270 webcam
  • Shared windows folder for storage of images

I installed the standard Raspbian operating system and connected the Pi to the Office network. Once I identified it by IP address, I connected to it via SSH. I left the RPi in “headless mode” without a keyboard, monitor or mouse attached.

I installed fswebcam software. Fswebcam is a simple webcam app. It captures images from a V4L1/V4L2 compatible device or file, averages them to reduce noise and outputs the image to PNG or JPEG formats. The resulting image can then be saved to a file, like the image below.

Webcam time-lapse

Click on the image above to see the timelapse, alternatively read on for the geeky bit…

I mounted an external shared windows folder (called nas) using these commands:

cd /mnt
sudo mkdir nas
sudo mount -t cifs -o username=<username>,password=<password> //PC/nas /mnt/nas
(instructions from the Raspberry Pi adventures blog.

Then I wrote a short script called webcam.sh  that created a folder on the NAS and saved images to that share at five-second intervals

mkdir /mnt/nas/$(date +”%Y%m%d”)
sudo fswebcam -r 640×480 -S 15 –jpeg 95 –save /mnt/nas/$(date +”%Y%m%d”)/webcam.jpg

while true
     do
     sleep5
     sudo mv /mnt/nas/$(date +”%Y%m%d”)/webcam.jpg /mnt/nas/$(date
+”%Y%m%d”)/webcam_$(date +”%m%d%Y%H%M%S”).jpg
     sudo fswebcam -r 640×480 -S 15 –jpeg 95 –save /mnt/nas/20130121/webcam.jpg
done

run using
sudo ./webcam.sh

To “stitch” the video together, I used Windows Live Movie Maker to convert the folder of images to a time-lapse video. Images were replaced every 0.05 seconds, meaning that the “action” was sped up 160x faster than real life.

If you read this far, well done. The video is now on the TrustIV blog page, click the image below to see the timelapse footage, and keep checking back there for the webcam. (When I finally get round to installing it) :-)

Webcam time-lapse

 

 

Google Cloud Print – Is this Google’s best kept secret?

Printing to your iPhone or iPad
Yesterday I was in the TrustIV office and I registered to attend a Microsoft Partner event in Manchester. At the end of the process I was advised to print a copy of the ticket to take with me so that I could be given access on the day of the event.

I had registered using Google Chrome browser but because I rebuilt my laptop last week I didn’t have a default printer. Perhaps this is what drew my attention to a printer that I didn’t remember configuring.

Chrome screenshot

As well as this, I noticed a link to my iPad. I have installed Google Chrome on each of these devices but until now I hadn’t noticed that this gave printer support.

I printed my ticket to the iPhone and within a few seconds I was a pop-up on my iPhone to say that a document was ready to view. Clicking on the link opened Google Chrome where I could view a copy of my document…… or so I thought.

iPhone screenshot - document ready

 

When Chrome opened I saw a warning message saying that I had to sign in and enable the print-to-phone feature to see my documents.

iPhone screenshot - Print-to-phone jobs are available: please sign in and enable this feature to get data

 

I wasn’t sure how to do this initially but then I found that if I opened  “Settings” -> Basics, then clicked on my Google account name, I was able to enable the “Chrome to Mobile” setting which meant that I could view my printed documents.

 

So far so good, but a little experimentation showed me even more features.

Printing from your iPhone/iPad
By modifying settings in Chrome it is possible to allow iPhones or iPads to print to your PC or laptop printer. [Other devices are available – Ed]

  • Open Chrome settings (using your mouse to click the “three horizontal lines” icon or typing chrome://settings/ in the address bar.
  • Click “Show advanced settings…”
  • Scroll down to “Google Cloud Print”
  • Click “Manage Print Settings”

This opens a page where you can grant different Google accounts access to your laptop or PC printers. Once you do this it is possible to print directly to your shared printers from within your iPhone applications.

This is such a useful feature, I can’t believe that I hadn’t heard of it until now.

X8 cancellation – further update

In my last update, I mentioned that I had written to Transdev urging them to reconsider the withdrawal of the Manchester commuter service for those people living between Rawtenstall and the Red Hall Hotel North of Bury. I felt that the recommendation that I had made would have given them the opportunity to develop a profitable service alongside the existing X43 service which bypasses our communities.

Unfortunately Transdev will not compromise and have written to me to insist that the service is not financially viable. They recommend catching a bus to Bury and then using the tram to get to Manchester.

I remain convinced that a well-advertised service from Rawtenstall (or even Burnley) traveling via Edenfield and then continuing along the current X8 route would be faster than the X43 and consequently would be popular.

I have sent copies of these two routes together with the notes that I have made showing that the X8 route is faster than the X44 to Rossendale Transport. Although we are unlikely to have a continuous service from when Transdev abandon the route, I remain hopeful that Rossendale Transport will look at this route favourably.

X8 route – Approx 45 minutes (Rawtenstall to Manchester) - http://goo.gl/maps/xZlOU
X43 route – Approx 55 minutes (Rawtenstall to Manchester) - http://goo.gl/maps/o23ta

Thank you to the 144 signatories to the petition. I’ll keep you informed by email and this blog when and if I hear more news or information from Rossendale Transport.

Update to X8 campaign

The campaign to save the X8 service via Edenfield to Manchester seems to be gathering momentum. We now have over 120 signatures on the online petition. If you still haven’t “signed”, you can complete the petition below.

Last week I took a picture of fellow passengers as we waited to board the X8 at the Rostron’s Arms stop in Edenfield.

The picture and an accompanying story was published in the Rossendale Free Press.

Possible alternative to X8
A fellow passenger, Jenni Scott, suggested that perhaps Transdev could run the X44 service through Edenfield again if it terminated in Shudehill rather than Chorlton Street. If this were the case, the time lost travelling through Edenfield could be made up by avoiding congested Prestwich and Broughton as it travelled into Manchester.

X8 faster than current X43 service
This seemed like a sensible idea to me so I looked at the X8 and X43 timetables for rush-hour. After looking at the timetables for the current X43 and X8 services, I realised that the X8 takes an average of 45 minutes to get from Rawtenstall to Shudehill and the X43 takes 57 minutes to do a similar distance from Rawtenstall to Albert Square. This shows that the via Edenfield-Cheetham Hill route could potentially be faster than the conventional route via the Edenfield by-pass and Prestwich.

Email sent to Transdev
I sent an email to Russell Revill, the managing Director of Transdev plc and suggested that a regular X44 service on the new route could prove very popular for commuters, offering a faster journey time to Manchester and a terminus in the Northern Quarter of Manchester. I suggested that a service departing at regular, perhaps hourly, intervals would encourage greater passenger numbers and potentially offer Transdev two profitable routes into Manchester.

Mr Revill agreed to take this suggestion to his board meeting on Friday and let us know the outcome of this discussion. Whilst this isn’t (yet) great news, hopefully it shows that Transdev is prepared to listen. I for one would be delighted if this resulted in a better service for Edenfield and surrounding areas.

 [emailpetition id="1"]

[signaturelist id="1"]