Archive for the ‘Computing and the Web’ Category

Hibernate is not a real option in Vista

Friday, August 15th, 2008

This is not a contrived situation.  I want to turn off my PC, a full-power-down, right now, to fit a new hard drive. But I also want to keep all my desktop settings, applications that are open, etc.

But I can’t, because Vista does not have a Hibernate option.  This knowledge-base article outlines how it can be switched-on, but unfortunately, even then it does not deliver fully! The best it seems to do is enable a Hibernate option as part of the Sleep logic (see the screen-shot below). I don’t want to set my computer to go to sleep and hibernate after 0 minutes - I want to be able to occasionally tell my computer to hibernate, knowing that I can then unplug it at the wall, knowing that I will then save all of the power that it might consume, even when ‘off’.  Yes, computers can use a lot of power even when ‘off’.

(more…)

Initializing a New Disk

Thursday, August 14th, 2008

I just installed a new SATA disk, and was a little surprised that it did not appear on Windows Explorer as soon as I had installed it in a caddy and connected it via the caddy’s USB port.  Then I remembered that I would have to partition the disk, which is done via Administrative Tools | Computer Management (Administrative Tools is available from Control Panel, then select the Storage | Disk Management item from the tree at the left of the screen).  The unallocated (as in - not allocated to a particular type of disk partition) appears in the list as a black-barred-box, as per the screen-shot below.  I right-clicked, and tried to create a partition, but to no avail, as every time I got the message: “The operation cannot be completed because the disk is not initialized.” This quick post is about the simple solution to that problem.

(more…)

Coding Idioms Gone Wrong

Wednesday, August 13th, 2008

Before I started this blog, I researched the exact meaning of the word Idiom, and was surprised to find from Wikipedia that it does not mean quite what I expected; “An idiom is a term or phrase whose meaning cannot be deduced from the literal definitions and the arrangement of its parts, but refers instead to a figurative meaning that is known only through common use”. Their example is ‘Kick the bucket’ meaning to die, which has no apparent connection with striking an object for carrying solids or liquids with the extremity of one’s leg!

(more…)

Changing the Location of My Documents

Tuesday, August 12th, 2008

A long time ago, I got the impression that there was a sense that separating programs and data was considered a ‘Good Thing’.  The move to the Windows Registry; which centralised hundreds of ini files that previously each program had needed, was an example.  Why this idea suited me is that if we centralise data storage, we make it easier to backup key data (i.e. the stuff that changes a lot) separately from program data (which should not change so much - however ironic that may sound the day after a post about patch-frequency).

(more…)

Patching My Head In

Monday, August 11th, 2008

I’m not a massive games-player, but having recently built a new PC I was keen to see my new graphics card (a Sapphire Radeon HD 4850) at work.

CoH Patch Download Screen

I loaded Company of Heroes, forgetting that the Company of Heroes - Opposing Fronts installation would overwrite the former. Oh well. Granted, I obviously did not need to load both pieces of software to have a quick game and to see my new 3d card at work, but I did. The only problem is, I have had to apply about 6 patches so far - that means downloading probably in the region of 1GB of data, and each time wait for the download, and then the patch to occur.  As the patch itself obviously has to be done while the software is not running, that also means several restarts of the software.  I simply can not figure out how to run Opposing Fronts without the update applying.

(more…)

Answers to the Test

Saturday, February 9th, 2008

My previous post posed some C# questions based on some code with incomplete output. This post provides the answers… don’t cheat now…

(more…)

Test Yourself on C# Types

Saturday, February 9th, 2008

I’ve been thinking about writing a technical test for my employer, and thought that I would start by following-up on my last post, and create a basic test on types and how they are passed as parameters.

(more…)

How to Delight your Client

Saturday, February 2nd, 2008

(and how your Client can Delight You)

Yesterday’s post reminded me just how much value I have begun to place in my working-relationship with our on-site client-liaison. She has a fiery temperament, is outspoken and very different from me, differences which I have come to appreciate. And let’s not forget, in an otherwise all-male office, she is a she and, sad but true, it really does help to have a little bit of a mix of the sexes.

(more…)

The Down-Sides of Unmanaged Development

Friday, February 1st, 2008

Some time ago I wrote about the joys of working for my new employer, in a low overhead environment. I think I can now say with some certainty that this has become a confused and un-managed environment. We’ve grown quite some way since I wrote that entry, and this has been a substantial contributor to the situation.

(more…)

Some Basic Object Ideas

Saturday, January 26th, 2008

I’ve been thinking about some basic ideas recently related to the design of a Object Layer for the C#/.Net project that I’m working on. Actually, it’s not a proper OL really, more of a set of enhancements to the Data Access Layer generated with MyGeneration for the Gentle framework. Of course, this is all rather old-hat for anyone who’s utilised Datasets in .Net 2 or later, but there you go.

(more…)