Shaun Wilde

Melbourne
49 posts
    Search by
    mongo db

    Creating a simple NodeJS app with Mongo

    Okay, I woke up this morning (6am) with a need to create a simple reporting dashboard to display the coverage results from OpenCover when it dog-foods its own tests. Now that OpenCover has no **_reported _**bugs, I decided to use my spare time to investigate other technologies for a while. What I needed was simple 'online' storage to capture results from the build system and the ability to extract that data into charts. Normally I'd probably knock up a simple rails app because it is easy to do,

    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