Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. WTSOTCOTD

WTSOTCOTD

Scheduled Pinned Locked Moved The Lounge
question
25 Posts 13 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Emmanuel Medina

    Genre: Pop Considering the next:

    public enum BodyParts
    {
    Head,
    Torso,
    Arms,
    Legs,
    None
    }

    And this:

    public class Person
    {
    BodyParts bodyPart;

    public Person() : this(BodyParts.None);

    public Person(BodyParts part)
    {
    bodyPart = part;
    }

    public void Remove(Object target)
    {
    if (bodyPart == BodyParts.Head)
    throw new Exception("Can't perform operation");
    }
    }

    What's the song of this code?:

    var you = new Person();
    var me = new Person(BodyParts.Head);
    me.Remove(you);

    If you think you can do a thing or think you can't do a thing, you're right - Henry Ford Emmanuel Medina Lopez

    A Offline
    A Offline
    Andrew Rissing
    wrote on last edited by
    #7

    Kylie Minogue - Can't Get You Out Of My Head I've never heard of this singer/song, but hey...I'll give it a shot.

    A E 2 Replies Last reply
    0
    • M Marco Bertschi

      The Magnetic Fields – A Chicken With Its Head Cut Off[^]

      cheers Marco Bertschi


      Twitter | Articles


      You have absolutely no idea how glad I am that I have no idea at all. - OriginalGriff I'm at peace with the world and myself. - Me

      A Offline
      A Offline
      Argonia
      wrote on last edited by
      #8

      Should we call PETA ?

      1 Reply Last reply
      0
      • A Andrew Rissing

        Kylie Minogue - Can't Get You Out Of My Head I've never heard of this singer/song, but hey...I'll give it a shot.

        A Offline
        A Offline
        Argonia
        wrote on last edited by
        #9

        Noooo don't ...damn ...another lost soul

        A 1 Reply Last reply
        0
        • S S Houghtelin

          Kyile Minogue, "Can't get you out of my head".

          It was broke, so I fixed it.

          E Offline
          E Offline
          Emmanuel Medina
          wrote on last edited by
          #10

          And here I was hoping this one wouldn't be guessed as fast :laugh:. At least it wasn't Collin this time. I guess I'll have to recur to less mainstream stuff or songs in my mother language ;P

          If you think you can do a thing or think you can't do a thing, you're right - Henry Ford Emmanuel Medina Lopez

          S F C 3 Replies Last reply
          0
          • E Emmanuel Medina

            And here I was hoping this one wouldn't be guessed as fast :laugh:. At least it wasn't Collin this time. I guess I'll have to recur to less mainstream stuff or songs in my mother language ;P

            If you think you can do a thing or think you can't do a thing, you're right - Henry Ford Emmanuel Medina Lopez

            S Offline
            S Offline
            S Houghtelin
            wrote on last edited by
            #11

            But your code... it's so readable. :laugh:

            It was broke, so I fixed it.

            E 1 Reply Last reply
            0
            • A Andrew Rissing

              Kylie Minogue - Can't Get You Out Of My Head I've never heard of this singer/song, but hey...I'll give it a shot.

              E Offline
              E Offline
              Emmanuel Medina
              wrote on last edited by
              #12

              Did you guess the song and then googled?

              If you think you can do a thing or think you can't do a thing, you're right - Henry Ford Emmanuel Medina Lopez

              A 1 Reply Last reply
              0
              • E Emmanuel Medina

                And here I was hoping this one wouldn't be guessed as fast :laugh:. At least it wasn't Collin this time. I guess I'll have to recur to less mainstream stuff or songs in my mother language ;P

                If you think you can do a thing or think you can't do a thing, you're right - Henry Ford Emmanuel Medina Lopez

                F Offline
                F Offline
                Freak30
                wrote on last edited by
                #13

                Actually, this was the first of the posted songs I recognized. The previous ones (at least the ones I saw) I hadn't even heard of.

                1 Reply Last reply
                0
                • S S Houghtelin

                  But your code... it's so readable. :laugh:

                  It was broke, so I fixed it.

                  E Offline
                  E Offline
                  Emmanuel Medina
                  wrote on last edited by
                  #14

                  Yeah I gotta find ways to obscure it a bit without making it too hard.

                  If you think you can do a thing or think you can't do a thing, you're right - Henry Ford Emmanuel Medina Lopez

                  P 1 Reply Last reply
                  0
                  • E Emmanuel Medina

                    where did you get the chicken from? :omg:

                    If you think you can do a thing or think you can't do a thing, you're right - Henry Ford Emmanuel Medina Lopez

                    OriginalGriffO Offline
                    OriginalGriffO Offline
                    OriginalGriff
                    wrote on last edited by
                    #15

                    Tesco.

                    The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                    "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                    L 1 Reply Last reply
                    0
                    • E Emmanuel Medina

                      Yeah I gotta find ways to obscure it a bit without making it too hard.

                      If you think you can do a thing or think you can't do a thing, you're right - Henry Ford Emmanuel Medina Lopez

                      P Offline
                      P Offline
                      Pete OHanlon
                      wrote on last edited by
                      #16

                      Obfuscated songs - a whole new genre.

                      I was brought up to respect my elders. I don't respect many people nowadays.
                      CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

                      K 1 Reply Last reply
                      0
                      • OriginalGriffO OriginalGriff

                        Tesco.

                        The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                        L Offline
                        L Offline
                        Lost User
                        wrote on last edited by
                        #17

                        Should have got another one for free then.

                        K 1 Reply Last reply
                        0
                        • P Pete OHanlon

                          Obfuscated songs - a whole new genre.

                          I was brought up to respect my elders. I don't respect many people nowadays.
                          CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

                          K Offline
                          K Offline
                          Keith Barrow
                          wrote on last edited by
                          #18

                          Not really[^] :)

                          “Education is not the piling on of learning, information, data, facts, skills, or abilities - that's training or instruction - but is rather making visible what is hidden as a seed”
                          “One of the greatest problems of our time is that many are schooled but few are educated”

                          Sir Thomas More (1478 – 1535)

                          1 Reply Last reply
                          0
                          • L Lost User

                            Should have got another one for free then.

                            K Offline
                            K Offline
                            Keith Barrow
                            wrote on last edited by
                            #19

                            BOGOF.

                            “Education is not the piling on of learning, information, data, facts, skills, or abilities - that's training or instruction - but is rather making visible what is hidden as a seed”
                            “One of the greatest problems of our time is that many are schooled but few are educated”

                            Sir Thomas More (1478 – 1535)

                            1 Reply Last reply
                            0
                            • E Emmanuel Medina

                              And here I was hoping this one wouldn't be guessed as fast :laugh:. At least it wasn't Collin this time. I guess I'll have to recur to less mainstream stuff or songs in my mother language ;P

                              If you think you can do a thing or think you can't do a thing, you're right - Henry Ford Emmanuel Medina Lopez

                              C Offline
                              C Offline
                              Colin Mullikin
                              wrote on last edited by
                              #20

                              I was away from my office for a little while, so I didn't see the thread until now... My reign of terror has ended. :sigh:

                              The United States invariably does the right thing, after having exhausted every other alternative. -Winston Churchill America is the only country that went from barbarism to decadence without civilization in between. -Oscar Wilde Wow, even the French showed a little more spine than that before they got their sh*t pushed in.[^] -Colin Mullikin

                              1 Reply Last reply
                              0
                              • E Emmanuel Medina

                                Genre: Pop Considering the next:

                                public enum BodyParts
                                {
                                Head,
                                Torso,
                                Arms,
                                Legs,
                                None
                                }

                                And this:

                                public class Person
                                {
                                BodyParts bodyPart;

                                public Person() : this(BodyParts.None);

                                public Person(BodyParts part)
                                {
                                bodyPart = part;
                                }

                                public void Remove(Object target)
                                {
                                if (bodyPart == BodyParts.Head)
                                throw new Exception("Can't perform operation");
                                }
                                }

                                What's the song of this code?:

                                var you = new Person();
                                var me = new Person(BodyParts.Head);
                                me.Remove(you);

                                If you think you can do a thing or think you can't do a thing, you're right - Henry Ford Emmanuel Medina Lopez

                                G Offline
                                G Offline
                                GuyThiebaut
                                wrote on last edited by
                                #21

                                Metallica - One. A completely wild guess :^)

                                “That which can be asserted without evidence, can be dismissed without evidence.”

                                ― Christopher Hitchens

                                E 1 Reply Last reply
                                0
                                • G GuyThiebaut

                                  Metallica - One. A completely wild guess :^)

                                  “That which can be asserted without evidence, can be dismissed without evidence.”

                                  ― Christopher Hitchens

                                  E Offline
                                  E Offline
                                  Emmanuel Medina
                                  wrote on last edited by
                                  #22

                                  Shhhh don't reveal tomorrow's one.

                                  If you think you can do a thing or think you can't do a thing, you're right - Henry Ford Emmanuel Medina Lopez

                                  1 Reply Last reply
                                  0
                                  • E Emmanuel Medina

                                    Did you guess the song and then googled?

                                    If you think you can do a thing or think you can't do a thing, you're right - Henry Ford Emmanuel Medina Lopez

                                    A Offline
                                    A Offline
                                    Andrew Rissing
                                    wrote on last edited by
                                    #23

                                    Yeah, I guessed the song name based on the code and the top of the list showed a 'pop' type artist. So, I assumed I got it right. ;-)

                                    1 Reply Last reply
                                    0
                                    • A Argonia

                                      Noooo don't ...damn ...another lost soul

                                      A Offline
                                      A Offline
                                      Andrew Rissing
                                      wrote on last edited by
                                      #24

                                      Ha, hardly...I didn't listen to the music. ;)

                                      1 Reply Last reply
                                      0
                                      • E Emmanuel Medina

                                        Genre: Pop Considering the next:

                                        public enum BodyParts
                                        {
                                        Head,
                                        Torso,
                                        Arms,
                                        Legs,
                                        None
                                        }

                                        And this:

                                        public class Person
                                        {
                                        BodyParts bodyPart;

                                        public Person() : this(BodyParts.None);

                                        public Person(BodyParts part)
                                        {
                                        bodyPart = part;
                                        }

                                        public void Remove(Object target)
                                        {
                                        if (bodyPart == BodyParts.Head)
                                        throw new Exception("Can't perform operation");
                                        }
                                        }

                                        What's the song of this code?:

                                        var you = new Person();
                                        var me = new Person(BodyParts.Head);
                                        me.Remove(you);

                                        If you think you can do a thing or think you can't do a thing, you're right - Henry Ford Emmanuel Medina Lopez

                                        F Offline
                                        F Offline
                                        Flynn Arrowstarr Regular Schmoe
                                        wrote on last edited by
                                        #25

                                        First song that popped into my head was ELO's "Can't Get it Out of My Head" from their Eldorado album. Which is wrong, but accurately describes the Kylie Minogue earworm you just planted... :-\ Flynn


                                        _If we can't corrupt the youth of today,
                                        the adults of tomorrow will be no fun...
                                        _

                                        1 Reply Last reply
                                        0
                                        Reply
                                        • Reply as topic
                                        Log in to reply
                                        • Oldest to Newest
                                        • Newest to Oldest
                                        • Most Votes


                                        • Login

                                        • Don't have an account? Register

                                        • Login or register to search.
                                        • First post
                                          Last post
                                        0
                                        • Categories
                                        • Recent
                                        • Tags
                                        • Popular
                                        • World
                                        • Users
                                        • Groups