Subscribe: Craig McMurtry's WebLog
http://blogs.msdn.com/craigmcmurtry/Rss.aspx
Preview: Craig McMurtry's WebLog

Craig McMurtry's WebLog





Last Build Date: Sun, 04 Jun 2017 15:16:23 +0000

 



Testing Spark Streaming code ingesting data from Kusto, using ScalaTest

Wed, 31 May 2017 00:42:35 +0000

Mr. Marcin Kuthan has a post on testing Spark Streaming code that, in production, would be ingesting data from Apache Kafka.  However, his strategy is to mock out the Kafka source, so as to unit test the Spark code.  That approach is more pure, certainly, than the one that led me to this post of...



Enable Intel Virtualization Technology under Windows 8 … and still have a working USB keyboard

Sun, 25 Aug 2013 09:16:12 +0000

This morning, I set about installing the Windows Phone SDK on a Windows 8 64-bit desktop.  The emulator relies on Hyper-V, which in turn relies on the virtualization support of the central processing unit, which, in this case, is an Intel Core i7.  After rebooting into the BIOS and enabling virtualization, I found that I would...



Skyfall

Thu, 15 Nov 2012 13:32:26 +0000

I have to talk to someone about the newest James Bond film, Skyfall. Lacking anyone I know personally who cares, I’m doing it here.  Maybe there will be spoilers in what I am aboutto write.    While Skyfall isnot as bad as Quantum of Solace wasand while it might be a fine action thriller, it’s not...



Jon Duckett’s "HTML and CSS: Design and Build Websites:" Go from CSS zero to hero in an evening

Wed, 03 Oct 2012 12:07:28 +0000

Whenever I've developed Web applications, which I used to do all the time and now do only periodically, I've never had the luxury of receving HTML and CSS from the designer: only an image of the layout.  I expect that's not entirely uncommon, that the work of rendering the designs with HTML and CSS is...



Displaying a downloaded icon

Sat, 31 Dec 2011 14:23:09 +0000

Let's say that you want your Microsoft Foundation Classes (MFC) application to display an icon that it has downloaded, rather in the way that Internet Explorer displays icons on its tabs.  The first step is to download the remote icon to a local file.  Here is a function for doing that: void WebResource::Download() {        if(!(this->uniqueIdentifier))...



Working around a WebBrowser ActiveX control resize bug of which you may or may not have been aware

Sat, 31 Dec 2011 13:46:27 +0000

If you are hosting the WebBrowser ActiveX control in a native code application (perhaps following these instructions, then you may or may not have noticed that the control does not always resize correctly.  Specifically, if you maximize the application, then the same functions that will work properly to maximize any other child control (MoveWindow or SetWindowPos)...



Steve Jobs …

Wed, 05 Oct 2011 17:06:08 +0000

...  you so changed the world ... thanks for making lives like mine possible.  RIP.



A Windows Communication Foundation JSONP Service

Sat, 13 Aug 2011 20:00:00 +0000

All of the samples I've found that show how to build a JSONP service using the Windows Communication Foundation have the thing hosted in IIS.  IIS is literally the last place I want my Windows Communication Foundation services hosted ... especially because I'll only want them in IIS once I've debugged them, and debugging outside...



Integrating a desktop application with Windows Live

Fri, 15 Jul 2011 10:47:02 +0000

If one searches the Web for samples of how to integrate a desktop application with Windows Live, unfortunately one finds one's way to material that is out-of-date.  So here is some code that works as of July 2011.  The code is for a Windows Form that has a browser control and a text box.  The...



The Artificial Intelligence Oxymoron

Sat, 21 May 2011 19:15:21 +0000

I'm reading Stephen Levy's wonderful book about Google, In the Plex.  In the account of the development of AdSense, an engineer explains the process of having software understand a Web page well enough to match its content with an advertisement.  He says that fundamentally the problem is that of enabling a machine to accept a...