• Captain Aggravated@sh.itjust.works
    link
    fedilink
    arrow-up
    25
    ·
    11 months ago

    Let’s use the example of a bike theft. We enter into evidence a 4-hour security cam video that shows the thief with the bike.

    Scenario A: The camera can directly see the bike rack, and the bike in question is visible at the beginning of the video, and not visible at the end. Somewhere in this 4-hour video, someone walks up to the bike and takes it out of the bike rack. You can use a binary search to find the moment that happens in this video because you can pick a frame and say “Ah, this was before the theft; the bike is still there” or “ah, this was after the theft; the bike is gone.”

    Scenario B: The camera can’t directly see the bike rack, but can see the doorway you have to walk through to get to the bike rack. So somewhere in 4 hours of doorway footage, someone walks through the door, then a short time later walks back through the door with the bike. A binary search won’t help here because the door looks the same at the beginning or end of the video. A simple binary search won’t work here because the door looks the same before and after.

    • rekabis@lemmy.ca
      link
      fedilink
      arrow-up
      0
      ·
      11 months ago

      This is the explanation that CosmicCleric needs in order to understand binary search.

      Because as it is, (s)he’s failing abysmally at demonstrating any understanding whatsoever of that subject.

      • null@slrpnk.net
        link
        fedilink
        arrow-up
        0
        arrow-down
        1
        ·
        edit-2
        11 months ago

        Nah, they’re just gonna say you can use AI or something, as a retroactive explanation for what they obviously weren’t talking about in their original comment. They’re a troll; they’re not going to budge.

        Edit: Case in point. They’re now at the level of mental gymnastics that they’re saying part of their original response implied that they were talking about the capabilities of AI at some point in the future.