Saturday, December 26, 2009

Christmas.NET - Dedicated to all the programmers out there

using Self;
using Self.Emotions;
using Self.Online.Blog;
using Self.Rides.Bike.Pulsar150;
using Self.Offline.GirlFriend;
using Self.Offline.SocialCircle.Dudes;
using Self.Gadgets.Canon500D;
using Self.Gadgets.AmazonKindle;

namespace Self.Life.Experience
{
    public class Christmas
    {
        public Christmas()
        {
            InitialiseComponents(Self.Life.Instances[CURRENT_INSTANCE]);

            GalacticDomination.Thread.Suspend();

            Emotion emo = Chrismas_Start(new System.TimeSpan(48, 0, 0));
            Self.Life.Experience.Add(emo.Summary);
            Self.Life.Components[2009].Vacation.Add("Chritmas", emo);

            GalacticDomination.Thread.Resume();

            var settings = new { Audience = "Public", LevelOfDetail = "Overview", OutputLanguage = "Human, C# v3.5" };

            Blogs[TECH_BLOG].Post(this, emo, settings);
        }

        [System.Serializable]
        [System.STAThread]
        public Emotion Chrismas_Start(System.TimeSpan duration)
        {
            if (Self.CurrentStatus == Status.Married)
            {
                Monotonus.Do("boring, chistmas tree, boring, big dinner, boring, gifts under tree, boring");
                throw new InvalidSystemStateException("maybe try a few linux commands like sudo. If not on mono then no chance buddy");
            }

            Shopping("Gifts", "for friends, family, her");

            WithHer("Bike to Secluded spots, Curvy Hilly Roads", "use lots of breaking ;)");
            WatchMovie("London Dreams", "could have been better movie but only spent half the time actually watching movie");
            WithHer("xoxo", "[censored]");
            WithHer("Dinner", "Chinese");
            if (GiveGift("Her", "Necklace").IsHappy) Self.MentalState.SaveSnapshot();
            WithHer("xoxo", "[censored], snuggle, [censored], snuggle");
            Gadget("Kindle", "Read some more from 'Spin by Robert Charles Wilson'");

            duration.Subtract(new System.TimeSpan(24, 0, 0));

            BikeTo("Mussoorie", "No Snow, still lots of fun");
            WatchMovie("De Dana Dan", "great Hera Pheri like fun");
            Gadget("Kindle", "Catch up on blogs using google reader mobile ed.");

            BikeTo("Back Home", "make too much noise, overspeed, pit stop for beer");
            WithBuddies("Get Drunk", "best part of the day");
            GiveGift("Buddies", "Suspicious dvds, " + Emoticons.EvilGrin.Load());
            Gadget("Canon500D", "takes pics of buddies in wierd and compromising situations");
            WithBuddies("Passed Out", "best part of the Night");

            duration.Subtract(new System.TimeSpan(24, 0, 0));

            return new Emotion(this, "Happy", "Huge Handover");
        }
    }
}

3 comments:

  1. Cool man...would love to see something similar in SQL :P

    ReplyDelete
  2. sure it is as easy as

    var settings = new {
    Audience = "Public",
    LevelOfDetail = "Overview",
    OutputLanguage = "Human, SQL"
    };

    right? :D

    ReplyDelete
  3. Hi guys...the Computer Society Of India (CSI) is launching a Knowledge Management portal.....u could interact wit some of the coutries top programmers and IT professionals through this initiative....do visit it ....http://bit.ly/cdps21

    ReplyDelete