In computer science, serialization is the process of converting an object into a sequence of bits so that it can be stored in a file, memory or transmitted across a network link to be "resurrected" later in the same or another environment.

Friday, July 30, 2010

Why Microsoft Should Give PDC10 Attendees a Free WP7 Device

I was talking to Rob Chartier last week and brought up the idea that Microsoft should give Windows Phone 7 devices to PDC attendees this November which he obviously agreed with.

Main reasons, App is The Killer App. Gone are the days that you would buy a phone because it could do something you wanted (software wise), today we buy the phone that is the better platform, has more applications and is more usable (doesn’t require a stylus to function ;).

How do you get a better platform and more apps? you make sure there is an ample supply of developers and applications on you platform. How do you make sure that you will have enough applications and developers? You gather a bunch of developers that are already invested in your technologies, perhaps for a conference regarding said technologies and give them sample devices; naturally the developers will go home and start writing applications for those devices. In a short little while you’ll have a lot of applications and a bunch of experienced developers working on your platform.

So far Microsoft has been showing a lot of good signs, a few days ago news came out that all the blue badgers and even all the interns will get free WP7 devices. It also shouldn’t come as a surprise to anyone if Microsoft did give WP7 devices out this year since it wouldn’t be the first time that they have given away hardware for their upcoming platform. Remember PDC09, every attendee received a tablet. back then it was used to encourage touch and ink development for Windows 7.

Last and certainly not least I’m gonna be there and Rob is gonna be there too. My 3GS is starting to show it’s age and Rob defiantly needs help in the mobile department, he is still struggling to use the abomination that is Windows Mobile 6.5. every time he takes out his stylus to click on something I die a little bit inside.

 

Friday, July 23, 2010

Making Tortoise SVN More .NET Friendly

Imagine this, you just finished coding a pices of logic, something which the likes of the world has never seen, you try to unleash your awesomeness into the wild so you right click on your source folder, TortoiseSVN>Add and BAM, all of the sudden you are hit with a list of auto generated files trying to ruin your party, you know what I'm talking about; files in Bin folder, Obj folder and of course the .suo, .reshareper and even if you did an upgrade to a newer version of visual studio all the upgrade files.

Well, There is solution for this major buzz kill. The solution was actually fairly simple, all you need to do is add some .NET specific ignore rules so all these extra clutter is automatically kept away from your repository,

Bring up TortoiseSVN Settings. (Right click on any folder>TortoiseSVN>Settings)


You should already be in General Setting Section. There is a text box for Global ignore pattern. this is where you can add any ignore rule which will apply anytime you try to add files to repository.

Add "_ReSharper* *.suo *.user bin obj Debug Release _UpgradeReport_Files *.dbmdl" to the end of the text that is already in that box and click OK, And you are done.

You can read more on how to write your own custom rules by following the pattern matching notation that tortoise follows.