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. Binary search outperforms linear

Binary search outperforms linear

Scheduled Pinned Locked Moved The Lounge
algorithmshelp
9 Posts 6 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.
  • P Offline
    P Offline
    Peter_in_2780
    wrote on last edited by
    #1

    Working at fire control yesterday, a colleague lost his car key. One of those fancy proximity unlock, push button start beasties. He could get in the car and start it but spent the best part of an hour searching for the key on his person, in and around the car. So he called for help. Step 1. get in the car and drive it 20m or so to another parking spot. Still works, so not on the ground where he first parked. Step 2. get out of the car and walk away, let me try to start it. No dice, so not in the car. Must be on his person. Step 3. go to the bathroom and strip. Aha! internal fob pocket in his sweat pants that he didn't know about.

    Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012

    C OriginalGriffO O S 4 Replies Last reply
    0
    • P Peter_in_2780

      Working at fire control yesterday, a colleague lost his car key. One of those fancy proximity unlock, push button start beasties. He could get in the car and start it but spent the best part of an hour searching for the key on his person, in and around the car. So he called for help. Step 1. get in the car and drive it 20m or so to another parking spot. Still works, so not on the ground where he first parked. Step 2. get out of the car and walk away, let me try to start it. No dice, so not in the car. Must be on his person. Step 3. go to the bathroom and strip. Aha! internal fob pocket in his sweat pants that he didn't know about.

      Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012

      C Offline
      C Offline
      charlieg
      wrote on last edited by
      #2

      I have the push button start in my 2018... doing some errands, walked out, got in the car, off I went. Finished my supply run at Lowes, got back in the car, it started... did another pass at another store... on the way back to the car, I noticed I did not have my keys. You know what I mean - you just know the keys are in this pocket, wallet is on this side, etc. Spent 30 minutes going over my steps in the store... got back to the car... it started, okay wtf? Turned out the keys had fallen out of my pocket and under the driver's seat. It's a wonder I've not had the car stolen.

      Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

      M 1 Reply Last reply
      0
      • P Peter_in_2780

        Working at fire control yesterday, a colleague lost his car key. One of those fancy proximity unlock, push button start beasties. He could get in the car and start it but spent the best part of an hour searching for the key on his person, in and around the car. So he called for help. Step 1. get in the car and drive it 20m or so to another parking spot. Still works, so not on the ground where he first parked. Step 2. get out of the car and walk away, let me try to start it. No dice, so not in the car. Must be on his person. Step 3. go to the bathroom and strip. Aha! internal fob pocket in his sweat pants that he didn't know about.

        Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012

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

        My friend Tim bought a car with keyless start and all was fine until one day Eryl had to drive it - and stalled it at the lights about two miles away. It wouldn't start, just dead. Where was the key? In Tim's trouser pocket ... :-D

        "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 AntiTwitter: @DalekDave is now a follower!

        "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

        P 1 Reply Last reply
        0
        • OriginalGriffO OriginalGriff

          My friend Tim bought a car with keyless start and all was fine until one day Eryl had to drive it - and stalled it at the lights about two miles away. It wouldn't start, just dead. Where was the key? In Tim's trouser pocket ... :-D

          "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 AntiTwitter: @DalekDave is now a follower!

          P Offline
          P Offline
          Peter_in_2780
          wrote on last edited by
          #4

          Or dropping someone at the train station... The first keyless we had in the fire district fleet, a newbie stalled on the roundabout into town. She had to radio in to get instructions about how to start it. :-O It was a manual, needed to be in neutral as well as foot on brake.

          Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012

          OriginalGriffO 1 Reply Last reply
          0
          • P Peter_in_2780

            Or dropping someone at the train station... The first keyless we had in the fire district fleet, a newbie stalled on the roundabout into town. She had to radio in to get instructions about how to start it. :-O It was a manual, needed to be in neutral as well as foot on brake.

            Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012

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

            IIRC, when the Top Gear team were playing with supercars James May lost the key to his Mclaren somewhere inside the car and couldn't find - or lock - the car so anybody who wanted to could have just driven off with it ...

            "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 AntiTwitter: @DalekDave is now a follower!

            "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

            1 Reply Last reply
            0
            • C charlieg

              I have the push button start in my 2018... doing some errands, walked out, got in the car, off I went. Finished my supply run at Lowes, got back in the car, it started... did another pass at another store... on the way back to the car, I noticed I did not have my keys. You know what I mean - you just know the keys are in this pocket, wallet is on this side, etc. Spent 30 minutes going over my steps in the store... got back to the car... it started, okay wtf? Turned out the keys had fallen out of my pocket and under the driver's seat. It's a wonder I've not had the car stolen.

              Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

              M Offline
              M Offline
              MarkTJohnson
              wrote on last edited by
              #6

              My 2017 Chevrolet Colorado is so base, you have to use the key to unlock the doors. No fob, but then also no cruise control (the one thing I miss).

              I’ve given up trying to be calm. However, I am open to feeling slightly less agitated. I’m begging you for the benefit of everyone, don’t be STUPID.

              C 1 Reply Last reply
              0
              • P Peter_in_2780

                Working at fire control yesterday, a colleague lost his car key. One of those fancy proximity unlock, push button start beasties. He could get in the car and start it but spent the best part of an hour searching for the key on his person, in and around the car. So he called for help. Step 1. get in the car and drive it 20m or so to another parking spot. Still works, so not on the ground where he first parked. Step 2. get out of the car and walk away, let me try to start it. No dice, so not in the car. Must be on his person. Step 3. go to the bathroom and strip. Aha! internal fob pocket in his sweat pants that he didn't know about.

                Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012

                O Offline
                O Offline
                obermd
                wrote on last edited by
                #7

                Would this be called a strip search?

                1 Reply Last reply
                0
                • P Peter_in_2780

                  Working at fire control yesterday, a colleague lost his car key. One of those fancy proximity unlock, push button start beasties. He could get in the car and start it but spent the best part of an hour searching for the key on his person, in and around the car. So he called for help. Step 1. get in the car and drive it 20m or so to another parking spot. Still works, so not on the ground where he first parked. Step 2. get out of the car and walk away, let me try to start it. No dice, so not in the car. Must be on his person. Step 3. go to the bathroom and strip. Aha! internal fob pocket in his sweat pants that he didn't know about.

                  Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012

                  S Offline
                  S Offline
                  StarNamer work
                  wrote on last edited by
                  #8

                  I have a keyless Renault Clio, but, a few years ago, my wife had a Honda CRV which required a key. Many times I was driving the Honda and parked up to go in a shop and came back to find I'd forgotten to lock it! My car just locks when I walk away! :)

                  1 Reply Last reply
                  0
                  • M MarkTJohnson

                    My 2017 Chevrolet Colorado is so base, you have to use the key to unlock the doors. No fob, but then also no cruise control (the one thing I miss).

                    I’ve given up trying to be calm. However, I am open to feeling slightly less agitated. I’m begging you for the benefit of everyone, don’t be STUPID.

                    C Offline
                    C Offline
                    charlieg
                    wrote on last edited by
                    #9

                    I hear you. Going to college, one of our friends had a 70s something like this: Redirect Notice[^] Trivial to keep it running, basic engine. You did have to do the rotor and points every 5k miles. As compared to my daughter's 2017 Tahoe that has thrown a lifter. Now the engine does have 230k miles on it, but it has one of those efficiency modes that shuts down 1/2 the engine to get better mileage. I shudder at the added complexity of modern cars.

                    Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

                    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