The Picard Maneuver@startrek.website to Programmer Humor@programming.dev · 1 year agoProgrammer tries to explain binary search to the policestartrek.websiteimagemessage-square395fedilinkarrow-up12.51Karrow-down111
arrow-up12.5Karrow-down1imageProgrammer tries to explain binary search to the policestartrek.websiteThe Picard Maneuver@startrek.website to Programmer Humor@programming.dev · 1 year agomessage-square395fedilink
minus-squaresystemglitch@lemmy.worldlinkfedilinkarrow-up18·1 year agoHonestly you probably do it already without thinking about it when trying to figure out where you left off a video that you never paused. Or if you ever had VHS tapes, or so e from of disc media… perhaps a cassette when looking for a particular part of a song. Maybe not as methodical as perfectly breaking it down into halves of halves, but xlos enough to help you pin point what part you are looking for.
minus-squarePamasich@kbin.sociallinkfedilinkarrow-up4arrow-down13·1 year agoI’m pretty sure they were using sarcasm.
minus-squareKalkaline @leminal.spacelinkfedilinkarrow-up10·1 year agoI’m pretty sure I was serious. I don’t know how people can be that clever. It seems simple once it’s explained, sure, but I wouldn’t be able to come up with that on my own without someone else giving me a problem that points me in that direction.
minus-squarekhannie@lemmy.worldlinkfedilinkEnglisharrow-up6·1 year agoStudied this in computer science algorithms class waaaaayyy back in 1996 and by golly this one stuck with me. It’s so simple and so effective.
Honestly you probably do it already without thinking about it when trying to figure out where you left off a video that you never paused.
Or if you ever had VHS tapes, or so e from of disc media… perhaps a cassette when looking for a particular part of a song.
Maybe not as methodical as perfectly breaking it down into halves of halves, but xlos enough to help you pin point what part you are looking for.
I’m pretty sure they were using sarcasm.
I’m pretty sure I was serious. I don’t know how people can be that clever. It seems simple once it’s explained, sure, but I wouldn’t be able to come up with that on my own without someone else giving me a problem that points me in that direction.
Studied this in computer science algorithms class waaaaayyy back in 1996 and by golly this one stuck with me. It’s so simple and so effective.