Geeks With Blogs
Mark Pearl December 2011 Entries
Working with NDBUnit – my suggested project structure for removing complexity.
In the team that I have been working with lately they use NDBUnit to control the test database state for Integration Tests. Today I thought I would blog briefly on one of the issues we had and how we are going to go forward in the future in structuring our solution and working with NDBUnit. Let me say upfront that I am no expert with NDBUnit, so if you are an expert with this tool, and you can see glaring mistakes in this post, add a comment (I would appreciate that). That said, let me highlight ......

Posted On Friday, December 30, 2011 10:07 AM

C# soon to dethrone C++ as the third most popular language in the world
Every now and then I go to Tiobe to see their ratings on the popularity of programming languages. Usually there is nothing exciting out there, just a few small moves of languages so I was interested to see in December Tiobe had a headline of C++ about to be dethroned by C# Looking at the stats, sure enough, according to Tiobe C# is on the verge of taking the number 3 spot. It will be interesting to see what happens when Windows 8 hits the market with what seemed to be a revival of C++ during Microsoft’s ......

Posted On Wednesday, December 28, 2011 11:18 AM

InRule Basics
I have been looking into InRule, a business rule management system (BRMS) from InRule Technology, recently and thought I would do an intro blog on it. I have worked with business rule engines before and from past experience have developed my own list of priorities on what I feel are the most important aspects. Here they are… Priority 1 - Reduce the cost of change For me, one of the primary reasons for implementing a business rules engine is because you are expecting change and want to reduce the ......

Posted On Thursday, December 22, 2011 8:43 PM

A real world example of how not to develop software and how InRule can save the day.
A friend of mine works for a large bank… about a year and a half ago they needed a new system developed for their division. They went through the normal process of using one of the recommended service providers to develop the system and this was their experience, which is still typical with most institutions I know… For the first few months development of the system seemed to be progressing along fine. They had meetings, business analysts put things on paper and the developers nodded their heads ......

Posted On Thursday, December 22, 2011 4:23 PM

GWB Posts for spam advertisements
I have been a member of GWB for a while now, and have really enjoyed it. There is a sense of community and I enjoy some of the feedback and comments I get from other posters as well as reading other community members blogs. Part of the reason of joining GWB was seeing what other people with similar interests were blogging about and interacting with them. What does worry me is lately I have noticed an increase in spam by some of the other bloggers… By spam, I don’t mean reviews of products as blog ......

Posted On Sunday, December 18, 2011 4:28 PM

Getting Jenkins to ignore the exit code if failure
Today I had an issue with Jenkins where I wanted it to perform a set of tasks, but not worry about the exit code of any of the tasks…. In my instance I was using Jenkins to run DotCover to check the code coverage of a solution and then run a custom application to make sure the coverage was sufficient….The challenge I was facing that for DotCover to generate coverage statistics, it would need to run NUnit. If a test in NUnit failed for some reason, regardless of the the total coverage of the tests ......

Posted On Thursday, December 15, 2011 2:29 PM

Fix for NDbUnit - DbCommandBuilder.CreateSelectCommand(DataSet, string) failed for tableName = 'XXX'
I have recently been using NDbUnit for integration tests exercising the database. I am new to the tool, so the following exception caused a few hours of scratching my head before I figured out the obvious. Assume you are going through the quick start guide from the website, everything works perfectly. Then I changed to my production database and did the same thing and I get the following error…] DbCommandBuilder.CreateSele... string) failed for tableName = '…. Turns out the name of ......

Posted On Friday, December 9, 2011 2:05 PM

How I increased my typing speed - now does this make me a better developer?
I am not the fastest typist… I know it. Up till about a year ago I was a two finger typist and my two fingers could fly over the keyboard doing all sorts of acrobatics getting me up to a whopping 30 odd words per minute. Not bad for two fingers but barely close to some of my friends who speed away at 90+ words a minute using both hands. So it bugged me…. I mean I would like to consider myself a professional developer and feel that if I will be typing most of days then I should at least be doing it ......

Posted On Wednesday, December 7, 2011 9:03 PM

Linq to XML to make a RSS Feed Reader in C#
Today I thought I would just list a little tutorial on how to make an RSS feed reader in C#. The code is very simple… public class RssFeedReader { public IEnumerable<Post> ReadFeed(string url) { var rssFeed = XDocument.Load(url); var posts = from item in rssFeed.Descendants("item") select new Post { Title = item.Element("title").Value, Description = item.Element("description")... PublishedDate = item.Element("pubDate").Value }; return posts; } } public class Post { public string PublishedDate; ......

Posted On Friday, December 2, 2011 6:38 AM

Copyright © MarkPearl | Powered by: