Geeks With Blogs
The Adventures Of Captain Kernel Reflections on our computational world Software Design Discussions pertaining to the design or coding of software in a variety of programming languages.
When is a quote not a quote?

Answer – when it’s a Unicode quote!

Recently I saw some helpful code on the web closely related to some experiment I was doing, so I copied the fragment and pasted it into my Visual Studio edit window and hit “rebuild”.

The compilation attempt failed but that’s expected in such a situation, perhaps I needed to add a reference or add another “using” or something, but no the error was very odd.

Posted On Sunday, November 24, 2013 11:51 PM

Live Writer and Code Plugins
Since I recently had to get Live Writer working with GeeksWithBlogs and wanted to be able to embed neat looking source code snippets, I’m summarizing a few tips that others might find helpful. Live Writer was easy but for one thing – when attempting to connect to my Blog it failed because it could not access the Web API. Well embarrassingly this was due solely to my failing to enable the “Allow Web Service Access” checkbox in the configuration settings within the Blog itself. This checkbox is found ......

Posted On Friday, November 22, 2013 1:46 PM

Leveraging TaskCompletionSource
The TaskCompletionSource class is the means by which we can create and “manage” a Task ourselves. By “manage” I mean implement the underlying mechanism that embodies the progression of an asynchronous activity including its completion or possible termination due to exceptions. This is particularly useful in situations where we may be able to complete the task’s work synchronously – for example we might be able to cache data that we’re asynchronously retrieving from a network so that the first time ......

Posted On Friday, November 22, 2013 1:05 PM

Copyright © Hugh Gleaves | Powered by: