# Friday, April 14, 2006

Cocktails
Originally uploaded by James Snape.

Not very religious for Easter weekend but what the hay. The blue one is a "little devil" which befits the owner.

by This posting is provided "AS IS" with no warranties, and confers no rights.
posted on Friday, April 14, 2006 6:35:04 PM (GMT Daylight Time, UTC+01:00)  #    Comments [0] Trackback

Oysters
Originally uploaded by James Snape.

by This posting is provided "AS IS" with no warranties, and confers no rights.
posted on Friday, April 14, 2006 3:31:53 PM (GMT Daylight Time, UTC+01:00)  #    Comments [0] Trackback
I was asked this week why mix 12 comes before mix 9. Simple answer is that when I recorded them I tended to do a trance one, then a hard house mix and the odd progressive or disco thrown in. When releasing them this time around I've decided to reorder into genre's. First all the trance, then progressive etc.
by This posting is provided "AS IS" with no warranties, and confers no rights.
posted on Friday, April 14, 2006 1:26:21 PM (GMT Daylight Time, UTC+01:00)  #    Comments [0] Trackback
# Wednesday, April 05, 2006

At Microsoft we get a fair bit of mail with all the distribution lists. The 'Mark All as Read' command only operates on the current folder so I knocked together a macro to do the recursion. The code below iterates the selected folder and it's children marking all the mails as 'read'. There may be optimisations as my VBA is a bit rusty so I'd love to hear what they are.

Sub RecursiveMarkAsRead()
  MarkFolderAsRead Application.Explorers.Item(1).CurrentFolder, True
End Sub

Sub MarkFolderAsRead(ByVal parent As MAPIFolder, ByVal recurse As Boolean)
  On Error GoTo ErrorHandler
  If parent.UnReadItemCount > 0 Then
    Dim item As Object
    For Each item In parent.Items
      If TypeName(item) = "MailItem" Then
        Dim mail As MailItem
        Set mail = item
        mail.UnRead = False
      End If
    Next
  End If

  If recurse = True Then
    Dim folder As MAPIFolder
    For Each folder In parent.Folders
      MarkFolderAsRead folder, recurse
    Next
  End If

Exit Sub
ErrorHandler:
' Ignore this folder
End Sub

by This posting is provided "AS IS" with no warranties, and confers no rights.
posted on Wednesday, April 05, 2006 4:12:58 PM (GMT Daylight Time, UTC+01:00)  #    Comments [1] Trackback
# Tuesday, April 04, 2006

This mix is a little different in style to the previous ones. Recorded in 1999, it's all about the disco. Can you spot some remixed classics?

Now playing: James Snape - MiniDisc Mix 9 (66.0 MB)

by This posting is provided "AS IS" with no warranties, and confers no rights.
posted on Tuesday, April 04, 2006 1:06:48 PM (GMT Daylight Time, UTC+01:00)  #    Comments [0] Trackback
jas990207d.mp3 (66.03 MB)
# Friday, March 24, 2006

This one had me stumped for a while, especially as I couldn't find anything with the internal knowledge search tools. The symptoms are an Excel add-in that runs perfectly on it's own but crashes when run in the Visual Studio 2003 debugger. Actually, if you enable native debugging, it crashed Visual Studio too...

It turns out that by default Microsoft Office applications try to host the most recent version of the .NET runtime. That means you can't attach a .NET 1.1 debugger if you have .NET 2.0 installed side-by-side. The details are here but you basically have three options:

  • Develop with Visual Studio 2005 and .NET 2.0
  • Use "Start Without Debugging" from VS2003 and then attach a 2.0 compatible debugger
  • Create a configuration file for the relevant office application and ensure there is only a <supportedRuntime> element for version="v1.1.4322"

Now playing: Scott Hanselman and Carl Franklin - XML Tools and Technologies

by This posting is provided "AS IS" with no warranties, and confers no rights.
posted on Friday, March 24, 2006 12:23:50 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
# Tuesday, March 14, 2006

Today's trance mix was recorded in December 1999 and contains a track by Lost Tribe and a few other Hooj Choons works. It ends with another Perfecto favourite - "Sun" by Virus.

Now playing: James Snape - MiniDisc Mix 12 (62.6 MB)

by This posting is provided "AS IS" with no warranties, and confers no rights.
posted on Tuesday, March 14, 2006 10:42:34 AM (GMT Standard Time, UTC+00:00)  #    Comments [2] Trackback
jas991212t_128.mp3 (62.64 MB)
# Monday, March 13, 2006

I have a couple of invites available. The first 3 comments to this post with valid e-mail addresses can have them.

by This posting is provided "AS IS" with no warranties, and confers no rights.
posted on Monday, March 13, 2006 7:03:39 PM (GMT Standard Time, UTC+00:00)  #    Comments [1] Trackback
# Tuesday, March 07, 2006
Today's trance mix is a little larger than the previous two because I'm experimenting with encoding bit rates. It's recorded at 192k instead of the usual 128k. If anyone can tell the difference then I'd appreciate a comment to let me know. The mix was recorded in March 1999 and was inspired by the kind of music that Sasha and Digweed produce.

Now playing: James Snape - MiniDisc Mix 10 (95.7 MB)

by This posting is provided "AS IS" with no warranties, and confers no rights.
posted on Tuesday, March 07, 2006 12:59:09 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
jas990314t_192.mp3 (95.74 MB)
# Tuesday, February 28, 2006

Today's trance mix was recorded in January 1999 and contains tracks by Storm and Robert Miles.

Now playing: James Snape - MiniDisc Mix 8 (60.4 MB)

by This posting is provided "AS IS" with no warranties, and confers no rights.
posted on Tuesday, February 28, 2006 12:58:36 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
jas990109t_128.mp3 (60.44 MB)
# Monday, February 27, 2006

For the second time I've wasted time trying to work out why the serialized output from the XmlSerializer was missing elements so it's time to write the answer here as a reminder for next time.

Basically the XmlSerializer will not output content that it can't read back in which means that any read only property will not be serialized.

This is not the case for properties that implement ICollection or IEnumerable as collections have their own serialization rules.

by This posting is provided "AS IS" with no warranties, and confers no rights.
posted on Monday, February 27, 2006 4:01:09 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
# Tuesday, February 21, 2006

I have a large pile of records at home waiting to be mixed but I just don't have the time right now. What I do have is a number of MiniDisc recorded mixes that I made in the late 90's and later. Tastes change but some of them don't sound dated today so I thought I'd put them up here for consumption. I hope to release a few of them over the next few weeks. They are all about an hour long (the full length of a MiniDisc) but won't have a cue sheet or track listing. If you are desperate I can probably find out a particular track for you.

Today's trance mix was recorded in 1998 and begins with one of my all time favourite tracks by The Infinity Project. Enjoy...

Now playing: James Snape - MiniDisc Mix 3 (64.4 MB)

by This posting is provided "AS IS" with no warranties, and confers no rights.
posted on Tuesday, February 21, 2006 12:41:06 PM (GMT Standard Time, UTC+00:00)  #    Comments [2] Trackback
jas980823t_128.mp3 (66.45 MB)