Don’t make me go get the error details

I hate every time I try to use the Copy Database Wizard, even now with the 2012 version of SSMS, because of this:



how… unexpected

Here I was hoping they’d be able to show a traffic spike and how their Azure-hosted site was able to handle the demand and elastically scale out.

Of course, maybe they’re just rejecting request from Chrome. 🙂


PowerShell to remove dead tracks from iTunes

There’s already existing methods for doing this, including an existing script RemoveDeadTracks.js – this was just because I was using the iTunes COM interface for other scripts anyway, so this kept me from having to download anything to do this.

The ‘verbose’ version of the script:

The one-liner version (if you just want something to copy-paste into a window) is:

(new-object –com itunes.application).LibraryPlaylist.Tracks | ?{ $_.Location -eq $null } | %{ $_.Delete() }


async isn’t really part of your method signature

The async ‘modifier’ is just there to let the compiler know how to interpret your method contents.  It’s not a ‘real’ modifier like public, private, abstract, override, new, etc.

Over the weekend, saw a thread on StackOverflow where the person asking the question seemed to think that having a method use async/await affected the class hierarchy such that all subclasses had to use it too.  That’s not the case at all – the actual compiled results is a transformed version, of course, but more importantly, it’s still a ‘regular’ task.