lowest common denominator

Your awesome tagline

365 notes

thedailywhat:

Cry of the Day: 35-year-old Sydneysider Kristian Anderson was recently diagnosed with cancer and is currently undergoing chemotherapy. Despite his illness, he wanted to express his gratitude for all the support he’s received from his wife Rachel, so he made her this special birthday video, complete with cameos by New Zealand Prime Minister John Key and actor Hugh Jackman.

Better get the plumber on the phone, because you’re about to break a water main.

[news.com.au]

2,271 notes

[Flash 9 is required to listen to audio.]
26,220 Plays
Doctordude
Tik Tok Together (Ke$ha vs The Beatles)

fuckyeahmashups:

Doctordude - Tik Tok Together (Ke$ha vs The Beatles)


Yes, this exists. And now it’s in your life. I’ll leave it up to you to decide if you want to hug me or shoot me, but in all honesty I kind of.. love it?

0 notes

[Flash 10 is required to watch video]

The first drive

0 notes

[Flash 10 is required to watch video]

The boy is still awake.

0 notes

Thycotic Code Challenge

I tried to reply to this post, but the comment form never posted. What I see is a common question that I have regarding TDD and unit testing in general:  what makes a good unit test?

In the code challenge graciously put on by Thycotic, we are asked to implement a conversion function between their Base13 number system and common Base10 number system.  

The instructions state that our “task is to implement the Converter.Convert method for this new number system to get all the unit tests passing.”

However, making all of the unit tests pass in this case is not the same as having a correct solution.  The following code would successfully pass all unit tests, but not be correct.

    public class Converter
    {
        public string Convert(int number)
        {
            switch (number)
            {
                case 5:
                    return "5";
                case 10:
                    return "x";
                case 13:
                    return "10";
                case 20:
                    return "17";
                case 5006:
                    return "2381";
                case 9999999:
                    return "20z1879";
                default:
                    return "";
            }
        }
    }

I wonder what the best approach for unit testing functionality like this is?