05 October 2010

Microsoft Conference: Transferring to the Cloud

Microsoft conference on the Cloud and Windows Mobile 7.

Steve Ballmer
Steve Ballmer on the benefits
of transferring to the Cloud
I went to a Microsoft event at ExCel centre today all about transferring to the Cloud. Being a natural cynic I wasn’t expecting much more than a load of marking speak. However I was pleasantly surprised to find a more practical format involving Microsoft people demoing features of the Cloud and then a Microsoft Partner talking about their real-world experience.

The timetable for the day was:

  • Introduction to the Cloud.
  • Chris Moon on surviving change.
  • Steve Ballmer on the benefits of the Cloud.
  • How Partners are using the Cloud.
  • Windows Phone 7.

So what is the Cloud? Really it’s a collection of services offered by Microsoft with a view to taking the effort of maintaining servers away from the end consumer, be they a small business of one or two employees with an online hosting requirement (Windows Azure), a large organisation of thousands of employees requiring a mail server (Exchange) or an end-consumer wanting to play games online (XBox Live). The emphasis here is on the business user but Microsoft recognises that there is a cross-over: People involved with business also have personal email addresses and Facebook accounts etc.

After the introduction to what is a step change in how to solve technical needs it was time for Chris Moon’s talk. Obviously Microsoft thought that their Partners would be reeling from the prospect of changing everything and he was indeed an inspiration. Having lost part of a leg and arm thanks to a mine he has learnt to deal with the change in his life with a positive outlook. It’s always great to hear an interesting life story and Chris’s surely is one of the most interesting I’ve heard.

I have never seen Mr Ballmer talk in real life before, only online, when I’ve always found I had to rush for the volume control when the video started to play. Real life experience was no different: when a mic’d up Steve started to ‘talk’ I found my head began to ache! His talking equates to shouting in my world! However I have sensitive hearing and was sitting right at the front. I’m pleased to say he looked like he’s lost some weight compared to the videos I’d previously seen, as I was always concerned for his health given the stress levels someone in his position must deal with. All that aside he’s a good speaker although he was obviously tired after having arrived in the country only that morning and already been to the University of London to give a presentation on the Kinetic controller for XBox.

After (a free!) lunch we were presented with details on specific aspects of the Cloud and their use by Microsoft Partners. It was great to see the applications actually running and to hear real business case studies. All praise to those partners who did get up to talk: the hall was full of about a thousand people and it’s never easy to face such a crowd, but even less so for us techies!

Windows Phone 7 holds an interest for me as someone who is currently without a tenable smart-phone as I’ve blogged about before, so it’s firmly on my list of potentials now along with Android and iPhone. Having seen a real live demo using a real device I have to say I’m impressed. Being a C# programmer I’m obviously going to be swayed by the easy of programming for a Microsoft device. That said I haven’t decided yet, I really like the quality of Open Source style projects and the Linux kernel of Android and the iPhone’s phenomenal popularity means as a developer it’s marketplace is very attractive too. Experience has also taught me that it’s often a bad idea to be an early adopter, as you get to pay top dollar for something that often doesn’t really work as well as it should. That said I do love the device’s interface and it’s ease of connectivity to my other Microsoft devices will probably affect my decision even if it isn’t the device I finally go for.

All in all it was a good day and despite my initial reservations about taking a day off work to attend I was glad I did. I learnt a great deal about the Cloud, got to see Steve Ballmer in person and also to ask the question I’d been dying to get an answer to: “If Microsoft is so keen on making Windows Phone 7 such a success why haven’t they allowed developers a preview of the physical device?”. Emulators are all very well for testing but they do not allow a real world experience: you just can’t mimic the end user experience of geo locating or finger swiping with an emulator. Basically the answer was that it wasn’t a policy choice, but rather down to hardware testing being held up. I was pleased to hear this as I think it’s madness: they’ll end up launching a device with a load of applications in the store that haven’t been tested on actual devices. I didn’t manage to pose it to the big man himself but I did catch the Windows Phone guy at the end and speak to him in person, so probably got a better reply anyway. He agreed that they would really like to get developers using the phone, but sadly it seems it’s stuck in development. One downside of outsourcing your hardware development I suppose.

04 October 2010

Windows 7 Brings Old Laptop Back From The Dead

How I installed Windows 7 on an old laptop. These instructions use a specific machine as a case study but are just as applicable to any PC and any operating system.

My dad has an ultra portable Dell Latitude X1. In laptop terms it’s small (about 25x20cm) and very light. He bought it when Windows XP was the latest and greatest and so of course has been running with that ever since. It has been sluggish for a while but more recently became unusable. Despite it’s advanced age he was keen to continue using it as it meets his needs for email, web and word processing very well in a small package. Despite everyone’s love affair with XP I have harboured a deep hatred of it since about three months after it came out. The honeymoon was over after my fights trying to get it to do the simplest of things, like connect to a network! You might say that my eXPerience was a poor one indeed (the name is from the ‘xp’ in experience!). Please no flaming on the subject: it’s my opinion and I’m entitled to it!

It used to be that installing the latest operating system from Microsoft on an old machine would be unthinkable as they used to release severely bloated behemoths, each one requiring the latest top spec machines even to run itself, let alone any programs. Thankfully this seems  to have changed after their less than perfect Vista release. I’ve often thought that Steve Jobs must love that operating system, as it seemed to drive so many people over to Macs! I hope that Windows 7 heralds a new age for Microsoft operating systems, forever.

When installing a new operating system the biggest concern is to be sure that you have all the old files you created. I couldn’t be sure of his backup regime so I decided to copy the entire hard drive. On larger systems you could decide to copy only the user files directory, but do check as some software still stores user specific information elsewhere on the drive. This also provides a fall back position if the install fails. I DO NOT recommend an ‘in place upgrade’. You are installing a new OS to improve the speed, reliability and security of your system. It’s a time consuming task but copying the files and formatting the drive does not add much to that. With that in mind why on earth would you want your old setup lurking in the recesses of your hard drive taking up space? My methodology was as follows:

  1. Run the Windows 7 advisory tool to check your computers compatibility.
  2. Copy the entire hard drive to a backup location and confirm the files have been copied.
  3. Install Windows 7 on the machine as admin user
  4. Install Microsoft Security Essentials.
  5. Download all updates.
  6. Create a ‘restricted’ user profile for the user’s daily use.
  7. Login as him/her.
  8. Copy files back from backup location.
  9. Install MS Office and any other required software plus updates.
  10. Check everything works and create any shortcuts etc.

If the advisory tool says that you can’t install it don’t lose heart: it gave me a bad report for this old machine but as it was unusable in its present state and I wasn’t prepared to install XP on it so I carried on anyway and it works just fine! That’s another reason why copying the entire hard drive is so crucial: at least if the install fails you have the fall back position of being able to re-install your old OS or another one like Ubuntu which, with Open Office is now pretty good competition for a fully fledged (useable and useful) operating system.

Copying the Entire Hard Disk

I wanted to be sure that I saved any work on the laptop so I wanted to do a copy of the entire drive. You can’t do this if you have booted from the drive as some files will be in use, so you need to either remove the drive or boot from another drive on the same machine. Happily this machine only had a 60GB drive so my idea was to boot up the machine from a different drive then copy the entire drive to an external USB hard drive. I have a 70GB drive from an older laptop and with an inexpensive 2.5” disk caddy this makes a handy USB drive. You could do the same with a ‘normal’ hard disk buy getting a larger caddy.

Buy/create bootable USB stick drive

I used an inexpensive USB stick to create a bootable USB drive using Ubuntu (instructions on how to do this here). A bootable USB stick is a useful tool to have anyway: with that to hand if your machine refuses to boot one morning, at least you’ll be able to get online and access your files without getting down and dirty with a screwdriver.

Boot from USB

In order to boot from USB you need to change some settings in BIOS. If you’re reading this you probably know what BIOS is but suffice to say it’s just the software that first loads on your computer and allows your operating system to load up. For a more in depth description view the Wikipedia Entry. You don’t have to use Ubuntu or a USB stick and it’s even possible to boot from the Windows 7 install disk to a command prompt (where you could use xcopy) but I personally prefer the Ubuntu route.

IMG_5934
Press F2 to enter BIOS
or F12 for Boot Menu
IMG_5929
Enable boot from USB
To enter the BIOS settings you usually have to press a key whilst the computer is starting up, just a few seconds after it has started but before the operating system starts to load. On Dell machines this is usually F2. When it loads it will usually be a very basic text interface with a list of sections down the left and settings on the right, often with a blue background. All BIOSs are different but somewhere will be a section referring to ‘Boot Sequence’ (sometimes under POST settings). This will typically be in the order: disk drive, CD drive, HDD (hard disk drive). Personally I prefer to have HDD at the top of the list as I boot using that most of all and if I want to boot from anything else I can always select it from a boot menu. If USB is an option then enable it here attach the USB stick and reboot.

You will probably have to enter a ‘Boot Menu’ in order to get it to actually boot from the USB, on Dells this is often activated by pressing F12 a few seconds after restarting. It will present you with a choice of disk drive, CD, etc… On some systems booting from USB won’t be possible in the BIOS so you’ll have to boot from a CD or DVD or remove the drive and attach it to another system (e.g. by putting it in a caddy).

Install Windows 7

Once the backup was created it was time to install Windows 7. I did this from an external DVD drive (as the machine does not have an internal  drive). I would recommend during this process that you connect up to your LAN via a cable. The wireless won’t work until it’s driver is installed and the connection is configured anyway whilst a cabled connection will likely work as is. This will allow the install process and newly installed OS to get the latest drivers and updates itself and with Windows 7 should mean you don’t have any major stumbling blocks. I do not miss the bad old days of stumbling around looking for drivers for your specific CD ROM drive. However, you may have issues with old peripheral hardware such as sound cards. For me the improved performance and reliability of Windows 7 over XP far outweighs the need to listen to music on my PC and with a little searching on your manufacturers website or the internet you may be able to fix this anyway.

The remainder of the steps should be self-explanatory and anyway differ according to a user’s  specific needs, but a list I use is:

  • OS Updates
  • IE
  • Microsoft Security Essentials
  • Configure desktop (resolution, sound, appearance)
  • Add drivers for devices not found or added by Windows (eg. Bluetooth)
  • Add peripherals (bluetooth keyboard, mouse, printer)
  • Move location of user document folders to alternative disk/partition (right click folder, Properties, Location, Move). NB you can’t move all but instead set up shortcuts from the C drive.
  • Copy Files back from backed up documents
  • Firefox
  • Tortoise Subversion (and download files from source control server)
  • Visual Studio
    • Plugins: ReSharper, GhostDoc
    • Test.Net
  • Open Office (an excellent alternative to the Microsoft Office suite) and or MS Office
  • MS Project
  • MS Visio
  • FileZilla

03 October 2010

Installing Ubuntu Alongside Windows

Some brief notes on installing what I think is a great alternative or backup to a Windows OS on a PC:
NB: If installing Windows do that first (see an earlier post):
  1. Create USB stick
    https://help.ubuntu.com/community/Installation/FromUSBStickQuick
  2. Follow instructions on
    https://help.ubuntu.com/community/Installation
  3. Once installed check for updates: System/Admin/Synaptic update manager
  4. Install StartUpManager to edit the GRUB menu:
    https://help.ubuntu.com/community/StartUpManager
  5. Run it (System/Admin/StartupMan) and change the timeout to 3s and default OS to Windows if you wish

02 October 2010

Free Anti-Virus Software for PCs: Microsoft Security Essentials

image
Free software from Microsoft? Yes it’s true. Users can now maintain the latest virus protection using this freebie from the giant. What’s really good about it is that unlike many of the off-the-shelf solutions it doesn’t use many of your PC’s resources (memory, disk access etc). It runs all the time in the background (as any virus protection should) and just quietly gets on with it’s job. It also updates itself automatically as part of Windows Updates so no need to stress about maintenance. I used to use AVG which I found to be very good but it is a bit more resource hungry than MSE. Although it isn’t documented it will also run on Windows Server too.
So what are you waiting for? Uninstall that Norton, AVG, or McAfee resource hog that’s slowing down your machine and download MSE from the website.

01 October 2010

Tortoise Repro Browser

When accessing a Subversion repository if you get
OPTIONS OF [URL] OK
Then its more than likely that you’ve just got the URL for the repository wrong. Try this format instead:
https://[Repo Server URL/IP]/svn/[Project Name]