Geeks With Blogs
The Adventures Of Captain Kernel Reflections on our computational world November 2013 Entries
Dabbling in F# on a Surface Pro 2
As I study the F# language there’s an occasional need to quickly try out certain things by entering expressions or small functions and executing them. In addition to the Visual Studio Interactive F# console there’s also the Tsunami utility which is a great way to play with F#. I find my Surface tablet well suited to this because I can use it in a variety of locations and settings but that entails using the on-screen keyboard and frankly I think the on-screen keyboard on the Surface is rather lackluster. ......

Posted On Tuesday, November 26, 2013 7:47 AM

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

Running Session Scripts with F#
I’m beginning to explore the F# language – some years ago I spent quite a bit of time working with a language named “APL” which was a very influential early functional language, wonderful to use partly because it had it’s own symbolic notation like mathematics does, more of this in some future posts though… Anyway I’ve recently discovered (thanks to Vasily Kirichenko – here’s his blog) that I can dynamically monitor the state of an F# Interactive session within Visual Studio 2013 (I havent tried ......

Posted On Sunday, November 24, 2013 11:28 AM

I was trained as a computer programmer using the PL/1 language. This was formal training, I had to be assessed at each stage and progress through the ranks of trainee programmer, assistant programmer, junior programmer eventually reaching senior programmer after several years. During my training I was tutored by mentors, looking back those people were some of the best software developers I ever worked with yet in those days the title “software developer” didn’t exist. The training included written ......

Posted On Saturday, November 23, 2013 2:14 AM

Robert Tinney
I feel rather fortunate to have developed interests in electronics and computing right at the beginning of the microprocessor era. Today’s generation are entering the technology, software and internet fields at a time when they are well established and the chaos, experimentation, excitement and optimism are somewhat less than they were forty years ago. This is a subject I’ll be returning to from time to time as I blog; it was a fascinating and stimulating period in which the idea of “personal computing” ......

Posted On Friday, November 22, 2013 11:24 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: