HOTAS (Joystick + Throttle) Comparison

As part of the long list of preparations for the release of Elite : Dangerous I decided it was time to get a new HOTAS system.  Hands On Throttle And Stick means exactly what it says;  a joystick and throttle with so many buttons you don’t need to take your hands off to fiddle with the keyboard.  They can be expensive bits of kit, but after a lot of searching and reading I settled on getting the CH Fighterstick and CH Throttle.

This post will break down why I went for the CH and I’ll do a follow-on post about what I think about the HOTAS system itself.

Continue reading “HOTAS (Joystick + Throttle) Comparison”

PowerShell : Comparing Contents of Two Folders

Someone at work asked me if I knew a quick way in PowerShell to compare the contents of two folders. I asked a few questions and it turned out he was trying to rationalize all the music folders he had scattered round on his families computers. He wanted a way to look at all the files in a folder and check if an identical file (by identical he meant the same size) was present in a second folder.

I quickly thrashed out a line which he later said did the trick;

gci c:\source | %{$Found=$false;foreach($Item2 in $(
gci d:\target)){if($_.Name -eq $Item2.Name -and
$_.Length -eq $Item2.Length){$Found=$true}};
if (-not $Found){"$($_.Name) not matched."}}

Explanation about how it works below the line.
Continue reading “PowerShell : Comparing Contents of Two Folders”

Patching the World : The Spirit Level Book Review

I’m an optimistic technologist; I know that the application of reasonThe Spirit Level and knowledge is the best way to improve the world. This ethos is normally applied to tasks such as sorting out the universal remote control or un-jamming the cat flap but I believe that everything will improve with the march of progress.
But what if you could improve the world as a whole, rather than improving individual components (a cure for cancer, electric cars, un-jammable cat-flaps)?
That’s what The Spirit Level is about, and it’s well worth a read.
Continue reading “Patching the World : The Spirit Level Book Review”