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 4 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.
  • D Doctor Nick

    I help fold but that's only because she doesn't know how. Otherwise I buy her the washer and dryer and show her how to use them one time. The rest is up to her. There's also a chance that were she to ever see this post she would die from laughing so hard...

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

    L Offline
    L Offline
    Luc Pattyn
    wrote on last edited by
    #17

    Folding? There's an app for that. Ask Elaine, she is bound to know all about it. :)

    Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


    I only read formatted code with indentation, so please use PRE tags for code snippets.


    I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).


    N 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.

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

      I keep buying bulk packs of all the same socks. That makes mine easy to find, then everyone else is on their own.

      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 1 Reply Last reply
      0
      • A Abu Mami

        Sorry - that links to a morning sock search algorithm. I'm trying to deal with a much more complex problem... sorting/searching straight from the laundry line while Bride is supervising.

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

        Abu Mami wrote:

        while Bride is supervising

        "Stack overflow - out of memory error."

        My signature "sucks" today

        A 1 Reply Last reply
        0
        • C Christian Graus

          I keep buying bulk packs of all the same socks. That makes mine easy to find, then everyone else is on their own.

          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
          #20

          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 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.

            P Offline
            P Offline
            Phil Martin
            wrote on last edited by
            #21

            Do what I do - just keep piling them up and pair them up occasionally. When it becomes too much, use them for oil rags or donate them and buy new socks. Well, I don't do it that often, but it has happen once or twice in the last ten years.

            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.

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

              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 A 2 Replies Last reply
              0
              • A Abhinav S

                Abu Mami wrote:

                while Bride is supervising

                "Stack overflow - out of memory error."

                My signature "sucks" today

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

                Abhinav S wrote:

                My signature "sucks" today

                My signature "socks" today.

                A 1 Reply Last reply
                0
                • 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
                  #24

                  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
                    #25

                    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

                      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.

                      C Offline
                      C Offline
                      Chris Meech
                      wrote on last edited by
                      #26

                      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 A 2 Replies 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
                        • 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
                          #28

                          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 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
                            #29

                            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
                            • 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
                                          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