You have reached the blog of Keith Elder. Thank you for visiting! Feel free to click the twitter icon to the right and follow me on twitter.

Connecting a Lumia 920 Windows Phone 8 to A Microsoft Surface 64GB WinRT Tablet

Posted by Keith Elder | Posted in Windows Phone | Posted on 06-11-2012

Tags: , ,

We were at Build last week in the Press room and I decided to check out the user experience of plugging in a Windows Phone 8 device (the Nokia 920) into a Surface WinRT unit. Walt Ritscher grabbed his HTC 8X Windows Phone he got a few days earlier at the Windows Phone 8 launch and started taking video. What you will see is an unedited, raw video that wasn’t rehearsed nor practiced. I merely plugged in the phone and started exploring to see what was going to happen.

The new Windows Phone application is very nice and gives all the control over the data on the phone the Zune should have given to Windows Phone 7 users. Check out the video.

First Look at connecting a Lumia 920 Windows 8 phone to an Microsoft Surface (ARM) from WaltRitscher on Vimeo.

Had to Put Down a Long Time Friend Today

Posted by Keith Elder | Posted in Family | Posted on 05-02-2012

After 7+ years of loyal service I had to put down a long time friend this morning. He was an amazing and loyal friend that I spent many hours with each and every day. He was such a trooper, always there for me when I needed him. No matter if it was early in the morning, or late at night or even during 10-12 hour work days. We shared many memories together over the years and I am incredibly sad to see him go.

The last several months he was in a lot of pain though. He didn’t once complain but I knew he was suffering and his time was nearing the end. He had lost usage in a couple of his legs and his arms were… well… let’s just say they’ve seen better days. He was no doubt suffering and I just couldn’t stand to see him suffer any longer. This morning filled with emotion I said my goodbyes and carried him outside to prepare him for his final resting place among the stars.

It is funny the things we remember when we have to part with something that just did its job day in and day out. My friend and I wrote many lines of code together over the years. We’ve answered hundreds of thousands of emails, read hundreds of thousands of web sites, watched thousands of Youtube videos and connected with friends online via Facebook and Twitter together.

We were together during the creation of many presentations I’ve given to the community. He was there when we bought our first house. He was there with me when I first read about the passing of a loved one, or the birth of a new family member. He was there to help me catalog the memories of my life digitally, whether it was creating a movie or uploading photos. He was there to help pay the bills throughout the years. He was there to make sure my time at work was comfortable.  He was there when we learned of tragic events like earthquakes, tornados, and even tsunamis. He was there everyday listening to the music I liked, and never once said change the channel I don’t like this one.

Dear friend, my office chair, it is sad to see you go. We made lots of memories together. Rest in peace.


Fishin’ With Geeks 2012

Posted by Keith Elder | Posted in Fishing | Posted on 23-01-2012

Some call it “Catfishing with Keith”, others call it “Fishin’ with Geeks”, others call it “Fishin’ with Friends”, whatever you call it plans are underway for 2012. You’ll find all you need to know about this annual event among the links below.


Links of Interests

Any questions that aren’t clear or unanswered please contact me.

Building an English-Based Rules Engine in .NET with IronRuby Slides and Demo

Posted by Keith Elder | Posted in .Net, C#, CodeMash, IronRuby, Presentations, Speaking | Posted on 19-01-2012

As promised at CodeMash to those that attended my session I finally am getting around to getting the slides and demo from my talk posted to my web server. You can download everything at this URL location:


What you will need to run the demo:

  • Visual Studio 2010

To run the demo you should be able unzip it, open it up in Visual Studio and hit F5.

Once the demo opens you’ll be presented with this.


In the middle of the screen you’ll see sample rules for the survey already loaded.

To convert these rules to Ruby script click on the “SurveyRuleSet” option listed under “Rule Sets”. This will load all of the available rules for that rule set.


Once you have the rules loaded for the SurveyRuleSet you can then click “Convert To Ruby Script” button and the English text in the middle of the page will be converted into Ruby Script.


Once you have the Ruby script generated click the “Use Script in Survey”.


This will open a form that has questions and answers.


Once the form is open just press “Submit” and the rules will fire. You can close the form, change the rules, re-gen the script and then re-run the form to see new rule values run.

When the “Submit” button on the Survey form is called, this is when the IronRuby engine gets invoked.

You can also load the SouthernRuleSet and then load the pre-typed Southern rules to see a “Southern DSL” of the same rules.

In Visual Studio you can open the SurveyRuleSet.cs file and uncomment the other attributes to enable Spanish instead of English (just as an example).


What you should try to take away from this the most are what it is doing and what is possible. We are running something very similar to this in production so this isn’t smoke and mirrors. There are a lot of things that are missing in the demo, but they are completely doable with some additional work. For example grouping isn’t done in this example, other rules like greater than, lesser than etc could all be added to the base ruleset class. Use your imagination and go wild.


Speaking at Hub City NUG Thursday Jan 19th 2012

Posted by Keith Elder | Posted in .Net, Presentations, Speaking | Posted on 17-01-2012

Not everyone can make it to CodeMash so I’m doing what I can to bring CodeMash back to you. This coming Thursday January 19th, 2012, I will be giving the talk I gave at CodeMash at the Hub City .Net User Group located in Hattiesburg, MS. The talk will start at 7:00 PM with food being served starting at 6:30 PM.

Presentation: Building an English-based Rules Engine Using .NET and IronRuby

Abstract: In this session we will explore writing an English-based rules engine that allows developers to create domain-specific rules for an application that can be easily understood by anyone. We will use a combination of C# and the DLR (dynamic language runtime) with IronRuby on the .NET platform to create a way to write, manage, and process rules for an application.

Time: 7:00 PM (6:30 PM food starts)
Location: Deloitte Hattiesburg
HATTIESBURG, MS 39401-7584

Deloitte’s entrance is an outside facing door to the right of Cloverleaf Mall’s food court.