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

    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.

    D Offline
    D Offline
    Doctor Nick
    wrote on last edited by
    #4

    You help with the laundry? :~

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

    A D C D P 5 Replies Last reply
    0
    • D Dalek Dave

      Sniff them. If they have no smell, they are your kids, if they smell of roses, your wife's and if they smell of three week dead rancid pole cat...

      ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave

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

      I did figure out one thing... If the socks look like torn rags, then they must be my young son's. He's thirteen and spends his time with karate, breakdancing, parkour, and other destructive boy-stuff. He burns more calories sleeping, than I do in a month. The problem is what if the socks are new? He only needs to wear them for a few minutes to destroy them. It's the new ones that throw me.

      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.

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

        Doctor Nick wrote:

        You help with the laundry?

        Umm, well, it's like this... Bride was busy making a cherry pie (my favorite). The "L" word was mentioned. I took the hint and tried to help. Obviously due to my lack of sorting and searching skills, this is not a regular pasttime of mine. I quit and went back to working on my programming project - much easier!

        D 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
          Dan Neely
          wrote on last edited by
          #7

          Doctor Nick wrote:

          You help with the laundry? Unsure

          ...that's either -50 or +100 man points depending on if the Wife's able to do it without help.

          3x12=36 2x12=24 1x12=12 0x12=18

          D A 2 Replies Last reply
          0
          • D Dan Neely

            Doctor Nick wrote:

            You help with the laundry? Unsure

            ...that's either -50 or +100 man points depending on if the Wife's able to do it without help.

            3x12=36 2x12=24 1x12=12 0x12=18

            D Offline
            D Offline
            Doctor Nick
            wrote on last edited by
            #8

            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 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
              Abhinav S
              wrote on last edited by
              #9

              Abu Mami wrote:

              help plz, urgent

              Did you search on the internet - see here? :-D I sympathize with you - I often cannot locate the right pair - not that I care but...

              My signature "sucks" today

              A 1 Reply Last reply
              0
              • A Abu Mami

                Doctor Nick wrote:

                You help with the laundry?

                Umm, well, it's like this... Bride was busy making a cherry pie (my favorite). The "L" word was mentioned. I took the hint and tried to help. Obviously due to my lack of sorting and searching skills, this is not a regular pasttime of mine. I quit and went back to working on my programming project - much easier!

                D Offline
                D Offline
                Doctor Nick
                wrote on last edited by
                #10

                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.

                A C E 3 Replies 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.

                  C Offline
                  C Offline
                  Chris Losinger
                  wrote on last edited by
                  #11

                  i do the laundry 75% of the time. which is only fair because 80% of the stuff in the basket is mine - i'm a sweaty beast and my wife wears a lot of dry-clean only stuff.

                  image processing toolkits | batch image processing

                  1 Reply Last reply
                  0
                  • D Dan Neely

                    Doctor Nick wrote:

                    You help with the laundry? Unsure

                    ...that's either -50 or +100 man points depending on if the Wife's able to do it without help.

                    3x12=36 2x12=24 1x12=12 0x12=18

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

                    Dan Neely wrote:

                    ...that's either -50 or +100 man points

                    Man points? Hell - went into overdraft about 25 years ago.

                    Dan Neely wrote:

                    depending on if the Wife's able to do it without help.

                    Seems she's only able to do it without help.

                    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.

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

                      Doctor Nick wrote:

                      You made an attempt and messed it up so as to avoid future requests to do it because you would just make it worse.

                      Hey - I've been married 32 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.

                        D Offline
                        D Offline
                        Dr Walt Fair PE
                        wrote on last edited by
                        #14

                        Why wash underwear? What a waste of time and resources ... You can get at least 4 wearings from a pair: wear them normal, then turn that backwards, then inside out and then reverse again. If you do that each week, it's actually cheaper to buy a new pair than to wash that one all the time.

                        CQ de W5ALT

                        Walt Fair, Jr., P. E. Comport Computing Specializing in Technical Engineering Software

                        1 Reply Last reply
                        0
                        • A Abhinav S

                          Abu Mami wrote:

                          help plz, urgent

                          Did you search on the internet - see here? :-D I sympathize with you - I often cannot locate the right pair - not that I care but...

                          My signature "sucks" today

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

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

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

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