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. need sorting and searching algorithm - help plz, urgent!

need sorting and searching algorithm - help plz, urgent!

Scheduled Pinned Locked Moved The Lounge
algorithmshelp
60 Posts 30 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.
  • A Abu Mami

    Christian Graus wrote:

    I keep buying bulk packs of all the same socks

    'Zackly what I did in my college and single days - 20 pairs of the same socks, 20 pairs of the same briefs, 20 T-Shirts (different colors - a compromise), and a few pair of jeans (patched of course). Not all that much different today. Most days I go to the office in T-Shirt and jeans. If I have to meet a client, I wear a new T-Shirt and a new pair of jeans. Hey - I'm a classy guy.

    C Offline
    C Offline
    Christian Graus
    wrote on last edited by
    #25

    I respect that. I wear metal shirts. They hide me from clients.

    Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

    A A 2 Replies Last reply
    0
    • A AspDotNetDev

      Mark the toes of the socks with a certain color of magic marker. Or buy everybody different brands. And buy yourself black/brown dress socks. Have your wife wear girly shirts, you wear button-up shirts, have your older son wear whatever t-shirts, and have your younger son wear nothing but Power Ranger themed clothing. Don't wear any underwear; if you can get the others to agree to that, then you're all set. :)

      [Forum Guidelines]

      A Offline
      A Offline
      Abu Mami
      wrote on last edited by
      #26

      Hey - finally somebody's trying to work out an algorithm. Not bad. Power Ranger stuff won't go with the young one - although I could just tell him it's special break dance apparel.

      A 1 Reply Last reply
      0
      • A Abu Mami

        Abhinav S wrote:

        My signature "sucks" today

        My signature "socks" today.

        A Offline
        A Offline
        Abhinav S
        wrote on last edited by
        #27

        Abu Mami wrote:

        My signature "socks" today.

        :laugh: That response had 5 written all over it.

        My signature "sucks" today

        1 Reply Last reply
        0
        • C Chris Meech

          In a couple of days from now, The Daily Insider is going to have a link to your post exclaiming the discovery of a new SOCKS protocol that is going to replace HTTP. :cool:

          Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra]

          A Offline
          A Offline
          Abu Mami
          wrote on last edited by
          #28

          Chris Meech wrote:

          new SOCKS protocol that is going to replace HTTP

          Enhanced with a proxy mechanism - having the wife do it.

          1 Reply Last reply
          0
          • D Doctor Nick

            You help with the laundry? :~

            ------------------------------------- Do not do what has already been done. Absolute power corrupts absolutely.. but it ROCKS absolutely, too.

            D Offline
            D Offline
            DaveyM69
            wrote on last edited by
            #29

            I actually do ALL the laundry in our house. The significant other used to 'do' it all but I got fed up of not having anything clean because she'd been too busy watching TV/sleeping/doing girly stuff. I wash it and dry it but... the only stuff I sort is mine and our son's. Her's go in a pile for her to sort out if she can ever be bothered - which is generally when she needs some clean.

            Dave

            If this helped, please vote & accept answer!

            Binging is like googling, it just feels dirtier. (Pete O'Hanlon)
            BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)

            1 Reply Last reply
            0
            • C Christian Graus

              I respect that. I wear metal shirts. They hide me from clients.

              Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

              A Offline
              A Offline
              Abhinav S
              wrote on last edited by
              #30

              Christian Graus wrote:

              I respect that. I wear metal shirts. They hide me from clients

              Now you see him, now you don't.

              My signature "sucks" today

              1 Reply Last reply
              0
              • C Christian Graus

                I respect that. I wear metal shirts. They hide me from clients.

                Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                A Offline
                A Offline
                Abu Mami
                wrote on last edited by
                #31

                Must be from the new stealth alloys.

                E 1 Reply Last reply
                0
                • C Christian Graus

                  Yes, this is the first advice I give all newly married men.

                  Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                  R Offline
                  R Offline
                  Rajesh R Subramanian
                  wrote on last edited by
                  #32

                  I've always wondered about Nish and his badly made omelet on his ONLY cooking attempt. Now it all makes perfect sense. :suss:

                  Workout progress:
                  Current arm size: 14.4in
                  Desired arm size: 18in
                  Next Target: 15.4in by Dec 2010

                  Current training method: HIT

                  A 1 Reply Last reply
                  0
                  • R Rajesh R Subramanian

                    I've always wondered about Nish and his badly made omelet on his ONLY cooking attempt. Now it all makes perfect sense. :suss:

                    Workout progress:
                    Current arm size: 14.4in
                    Desired arm size: 18in
                    Next Target: 15.4in by Dec 2010

                    Current training method: HIT

                    A Offline
                    A Offline
                    Abu Mami
                    wrote on last edited by
                    #33

                    Rajesh R Subramanian wrote:

                    Nish and his badly made omelet

                    You mean "his perfectly made omelet" :)

                    R 1 Reply Last reply
                    0
                    • A Abu Mami

                      Hey - finally somebody's trying to work out an algorithm. Not bad. Power Ranger stuff won't go with the young one - although I could just tell him it's special break dance apparel.

                      A Offline
                      A Offline
                      AspDotNetDev
                      wrote on last edited by
                      #34

                      Abu Mami wrote:

                      I could just tell him it's special break dance apparel

                      Or just cut holes in all his new clothes so they look like they've already been used for a day. ;P

                      [Forum Guidelines]

                      A 1 Reply Last reply
                      0
                      • C Chris Meech

                        In a couple of days from now, The Daily Insider is going to have a link to your post exclaiming the discovery of a new SOCKS protocol that is going to replace HTTP. :cool:

                        Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra]

                        A Offline
                        A Offline
                        AspDotNetDev
                        wrote on last edited by
                        #35

                        Use SOAP over SOCKS for a cleaner interface.

                        [Forum Guidelines]

                        1 Reply Last reply
                        0
                        • A AspDotNetDev

                          Abu Mami wrote:

                          I could just tell him it's special break dance apparel

                          Or just cut holes in all his new clothes so they look like they've already been used for a day. ;P

                          [Forum Guidelines]

                          A Offline
                          A Offline
                          Abu Mami
                          wrote on last edited by
                          #36

                          aspdotnetdev wrote:

                          already been used for a day

                          He only needs about 5 minutes.

                          1 Reply Last reply
                          0
                          • A Abu Mami

                            Just can't figure it out. How am I supposed to know which socks are my wife's, my young son's, my daughter's, my older son's. Sheesh! Everytime I take them off the line and throw them in the basket, my bride of 32 years complains that I need to keep them in pairs, sort them by owner, and so on. Now that boys wear those low-cut socks, I don't have a clue what belongs to who. And don't get me started with folding T-shirts, putting in the correct piles, colors, sizes, AAARRRRRGGGGHHHHHHH!!!!!! And, whoever heard of folding underwear. I just throw mine in the drawer. Fold underwear! Give me a break. I've got to move to a new place - something on the fifth floor or higher. Jumping out of a ground floor window just isn't effective.

                            S Offline
                            S Offline
                            Steve Mayfield
                            wrote on last edited by
                            #37

                            Write the name of the owner on the inside of all of the items ... markers are cheap :rolleyes:

                            Steve _________________ I C(++) therefore I am

                            1 Reply Last reply
                            0
                            • T tolw

                              I'm having a hard time deciding what troubles me most: that you know the scent of another man's wife, that you know the scent of some poor woman's husband, or that you know the scent of a dead rancid pole cat... ;)

                              Y Offline
                              Y Offline
                              Yusuf
                              wrote on last edited by
                              #38

                              :thumbsup: :laugh:

                              Yusuf May I help you?

                              1 Reply Last reply
                              0
                              • A AspDotNetDev

                                Mark the toes of the socks with a certain color of magic marker. Or buy everybody different brands. And buy yourself black/brown dress socks. Have your wife wear girly shirts, you wear button-up shirts, have your older son wear whatever t-shirts, and have your younger son wear nothing but Power Ranger themed clothing. Don't wear any underwear; if you can get the others to agree to that, then you're all set. :)

                                [Forum Guidelines]

                                A Offline
                                A Offline
                                Abhinav S
                                wrote on last edited by
                                #39

                                Your design has failed to consider a design 'Evolution point' - the younger son will grow out of Power ranger themed clothing some day. :)

                                My signature "sucks" today

                                A 1 Reply Last reply
                                0
                                • A Abu Mami

                                  Just can't figure it out. How am I supposed to know which socks are my wife's, my young son's, my daughter's, my older son's. Sheesh! Everytime I take them off the line and throw them in the basket, my bride of 32 years complains that I need to keep them in pairs, sort them by owner, and so on. Now that boys wear those low-cut socks, I don't have a clue what belongs to who. And don't get me started with folding T-shirts, putting in the correct piles, colors, sizes, AAARRRRRGGGGHHHHHHH!!!!!! And, whoever heard of folding underwear. I just throw mine in the drawer. Fold underwear! Give me a break. I've got to move to a new place - something on the fifth floor or higher. Jumping out of a ground floor window just isn't effective.

                                  Y Offline
                                  Y Offline
                                  Yusuf
                                  wrote on last edited by
                                  #40

                                  You think that is bad, Ms wife is away on long vacation to her parents house. Right now I have the liberty of doing it *my way*. Once she is back, I will get a pair of those tin foil hats.... :doh:

                                  Yusuf May I help you?

                                  A 1 Reply Last reply
                                  0
                                  • Y Yusuf

                                    You think that is bad, Ms wife is away on long vacation to her parents house. Right now I have the liberty of doing it *my way*. Once she is back, I will get a pair of those tin foil hats.... :doh:

                                    Yusuf May I help you?

                                    A Offline
                                    A Offline
                                    Abu Mami
                                    wrote on last edited by
                                    #41

                                    Yusuf wrote:

                                    wife is away on long vacation to her parents house

                                    Ahhh - blissful solitary laundry duty. Just put it all in the machine - colors, whites, undies, and all. Wash, dry, and then pile in the drawer.

                                    1 Reply Last reply
                                    0
                                    • A Abu Mami

                                      Rajesh R Subramanian wrote:

                                      Nish and his badly made omelet

                                      You mean "his perfectly made omelet" :)

                                      R Offline
                                      R Offline
                                      Rajesh R Subramanian
                                      wrote on last edited by
                                      #42

                                      In the terms of a man, yes. :)

                                      Workout progress:
                                      Current arm size: 14.4in
                                      Desired arm size: 18in
                                      Next Target: 15.4in by Dec 2010

                                      Current training method: HIT

                                      1 Reply Last reply
                                      0
                                      • T tolw

                                        I'm having a hard time deciding what troubles me most: that you know the scent of another man's wife, that you know the scent of some poor woman's husband, or that you know the scent of a dead rancid pole cat... ;)

                                        E Offline
                                        E Offline
                                        El Corazon
                                        wrote on last edited by
                                        #43

                                        tolw wrote:

                                        dead rancid pole cat

                                        Anyone who lived in the country knows that one... I'd rule that one out by default.... I'm just an old small-town country hick kid who happened to earn the money for a 'puter in high-school.... I earned it: seeding fields, shoveling ... natural fertilizer, bailing hay, sacking groceries, redrawing architectural drawings of schools, forging senior Id's, selling artwork, and science fair earnings (about $1500 worth over 5 years). :) okay, I'm a little more than a country hick kid. ;P

                                        _________________________ John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others." Shhhhh.... I am not really here. I am a figment of your imagination.... I am still in my cave so this must be an illusion....

                                        1 Reply Last reply
                                        0
                                        • D Doctor Nick

                                          Ah, so you did it properly then. You made an attempt and messed it up so as to avoid future requests to do it because you would just make it worse. Nicely done :-D

                                          ------------------------------------- Do not do what has already been done. Absolute power corrupts absolutely.. but it ROCKS absolutely, too.

                                          E Offline
                                          E Offline
                                          El Corazon
                                          wrote on last edited by
                                          #44

                                          Doctor Nick wrote:

                                          Ah, so you did it properly then. You made an attempt and messed it up so as to avoid future requests to do it because you would just make it worse. Nicely done

                                          I must be doing something wrong, though rarely asked, when I am asked (using the L word), I help, mess it up, and get questioned why I haven't learned it yet.... Help Need Codez Plz!!!

                                          _________________________ John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others." Shhhhh.... I am not really here. I am a figment of your imagination.... I am still in my cave so this must be an illusion....

                                          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