Monkey see, monkey do; occasionally monkey learn.

random posts from a semi-sentient simian

    Search by
    mongo db

    MongoDB, Mongoid, MapReduce and Embedded Documents.

    I am using Mongoid [http://mongoid.org/en/mongoid/index.html]to store some data as documents in a MongoDB [http://www.mongodb.org/]database and then run some MapReduce [http://en.wikipedia.org/wiki/MapReduce]queries against the data. Now I have no trouble with mapping data from normal documents and an embedded document but I could not extract data from an embedded collection of documents i.e. class Foo include Mongoid::Document #fields field :custom_id, :type => String #relations

    agile

    The "Pigs" and "Chickens" fable

    I think anyone who is anyone who has heard of Agile and Scrum have heard of the Pigs and Chickens story and how it describes those who are committed to the delivery of the project, as "Pigs", and those who are just involved, as "Chickens"; if not click on the image below and learn more about it. [https://en.wikipedia.org/wiki/The_Chicken_and_the_Pig]However I was just recently re-reading "Death March [https://www.amazon.com/Death-March-2nd-Edward-Yourdon/dp/013143635X]" by Edward Yourdon (1st E

    open cover

    Mutation Testing; a use for re-JIT?

    Where to start... Mutation testing is described [http://en.wikipedia.org/wiki/Mutation_testing] as modifying a program in small amounts and then executing the original 'passing' tests that exercise that code and then watching them fail. It is a way of making sure your tests are actually testing what you believe they are testing. Setting the stage... So how can we do this with .NET? Well first we need to know what tests execute what code and we can use OpenCover [https://github.com/sawilde/openc