... all I'm offering is the truth. Nothing more. RSS 2.0
# Thursday, May 01, 2008

I am going to treat myself to the best restaurant east of the Mississippi ... Taco Bell ;)

Adsense 

Technorati tags:
Thursday, May 01, 2008 2:07:16 AM (Eastern Daylight Time, UTC-04:00)  #    Comments [0] - Trackback
Other things
# Tuesday, April 29, 2008

I was greeted by a friendly message box from FolderShare today informing me of what turns out to be the first major update since being acquired by Microsoft. I had to dig around for a list of what actually changed, but I find the following on the FolderShare blog site.

Thanks for your patience while we roll out our first major update. Some users have reported having problems with the new website and the new version of FolderShare for Windows. We’re happy to anounce that we've posted updates to address the majority of those concerns.

What we've addressed

  • The problem some users had with Windows Vista and Windows XP failing to respond.
  • All known website sign-in and library management problems.
  • The version number typo on the download webpage.
  • The difficulties that users of the IOMEGA external hard drive had with the website. Users may need to re-sync their PC libraries now that we've fixed that. (By the way, syncing with the actual devices isn't supported anymore, which we warned about in the previous blog post.)

FolderShare has been a great addition to the backup and file redundancy strategy of our house, and it is very light weight addition to the system tray ;) Download here.

Technorati tags:
Tuesday, April 29, 2008 11:56:15 PM (Eastern Daylight Time, UTC-04:00)  #    Comments [0] - Trackback
Tools
# Saturday, April 26, 2008

When .NET 2.0 hit the streets I never paid much attention to the partial class, the concept being that you can define a class over multiple source locations. For example I could have a source file with the following definition of MyDog:

    public partial class MyDog
    {
        public MyDog(int eyes)
        {
            Eyes = eyes;
        }

        private int Eyes;

        public int NumberofEyes
        {
            get { return Eyes; }
            set { Eyes = value; }
        }

    }

... then within another source file complete the definition of MyDog as follows (within the same namespace of course).

    public partial class MyDog
    {
        public string Vocalize()
        {
            return string.Empty;
        }
    }

For all intents and purposes this is the same as just creating one big "public class MyDog", you intellisense features are none the wiser and ILDASM does not appear to be able to discern the difference either.

image 

I had overlooked the features of the partial class, up until now, because I could not envision why I would need to spread a class over multiple source files. Surely spreading the definition of a class over multiple files was a singular waste of time ... except when you have automatic source file generation.

Fast forward to LINQ to SQL when it suddenly became trendy to allow Visual Studio to define your database connections and you will see that the auto generated files are replete with partial class definitions. This allows us, the humble LINQ to SQL consumer, to modify the auto generated class without actually modifying the source file in which it was so carefully created ... now *that* makes all the sense in the world!

Technorati tags: ,
Saturday, April 26, 2008 4:37:14 AM (Eastern Daylight Time, UTC-04:00)  #    Comments [0] - Trackback
C#
# Tuesday, April 22, 2008

I got this mail from MSN Music this morning, and it confirmed to me that DRM is simply not for me. I will happily pay a premium to either get MP3s directly or continue purchasing CDs that I can subsequently rip to MP3.

...I am writing to let you know that as of August 31, 2008, Microsoft will change the level of support to be offered for music purchased directly from MSN Music prior to November 14, 2006. As of August 31, 2008, we will no longer be able to support the retrieval of license keys for the songs you purchased from MSN Music or the authorization of additional computers. License keys already obtained as of August 31, 2008 will continue to allow you to listen to songs on all the computers that you previously authorized for service.

We wanted to send out this notification well in advance to remind you to backup your music and to provide you sufficient time to confirm license keys for the songs you've purchased from MSN Music.

... If you intend to transfer a previously downloaded song to a new computer (or an existing computer with a new operating system, such as an upgrade from Windows XP to Windows Vista) within the maximum allowed limit of 5 computers, please do so before August 31, 2008. You will need to obtain a license key for each of your songs downloaded from MSN Music on any new computer, and you must do so before August 31, 2008. If you attempt to transfer your songs to additional computers after August 31, 2008, those songs will not successfully play.

If you have additional questions about this process or any other questions about playing your music, please visit MSN Music online help for more information or feel free to contact our Technical Support representatives for assistance, prior to the August 31, 2007 date...

Sincerely,
Rob Bennett
General Manager, MSN Entertainment & Video Services

I do not download or share music illegally, but I do want to make sure that the music I am getting does not hold me hostage. Thankfully I spent at best about $40 on MSN Music and I have subsequently replaced most of that with MP3 counterparts. I was holding out hope that Microsoft would do the right thing here and offer people who had purchased MSN Music the opportunity to download the same songs under the Zune's DRM program, no such luck!

 

Technorati tags: ,
Tuesday, April 22, 2008 2:32:11 PM (Eastern Daylight Time, UTC-04:00)  #    Comments [0] - Trackback
DRM | Music
# Monday, April 21, 2008

I have been a proud graduate of the University of Central England in Birmingham (UCE), I have enjoyed my alumni status for over 10 years, and have followed the multiple changes (both upgrades and declines) to the institution over that time.

I must admit I was quite shocked to see that UCE had changed it name to Birmingham City University (BCU)! I vaguely remember seeing an email asking me to vote on a variety of potential names (Birmingham City University, Birmingham Chamberlain University and Birmingham Metropolitan University) and thinking to myself, why?

It is what it is! They have traded in a quite verbose name for BCU, which at least mentions the city in which the university is located. I guess I need to get new copies of my certificates. I do wonder, as far as my job goes, how much people care about my qualifications 10 years removed from graduation?

Technorati Tags: ,
Monday, April 21, 2008 9:31:15 PM (Eastern Daylight Time, UTC-04:00)  #    Comments [0] - Trackback
Education
# Monday, April 14, 2008

I am not sure what it is with developers but every single employer I have worked for seems to present me with another opportunity to fix legacy code with a conversion issue. Several weeks ago I was faced with a late Friday night Long (Big INT) to INT conversion ... sigh. I am not sure if there is some misplaced desire to save disk space or the maybe another specific design rational in using the smallest types available.

Anyway, I realized that I need to modify the XSD's associated with exposed methods in order to support the larger data type requirements, but I also needed to quickly jog my memory on the names of XSD types and how they relate to SQL data types ... too many languages ... too many types.

SQL Type XSD type Type restrictions
BigInt xsd:long  
Binary xsd:base64Binary  
Bit xsd:boolean  
Char xsd:string  
Decimal xsd:decimal  
TimeStamp xsd:base64Binary

<xsd:maxLength>8</xsd:maxLength>


You can find a complete list here.

Technorati tags:
Monday, April 14, 2008 10:39:25 PM (Eastern Daylight Time, UTC-04:00)  #    Comments [3] - Trackback
Sql | XML
Blogroll
Statistics
Total Posts: 330
This Year: 18
This Month: 2
This Week: 0
Comments: 30
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2010
Mark Downie
Sign In
All Content © 2010, Mark Downie
DasBlog theme 'Business' created by Christoph De Baene (delarou)