this post was submitted on 30 Nov 2023
66 points (100.0% liked)

Programmer Humor

19486 readers
734 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] -1 points 11 months ago (1 children)

The parent comment said that binary search is useful in situations like bike thefts where visual cues are present, and not useful in situations where visual cues are not present.

Just repeating myself at this point, but I was responding to this (the bolded part) …

Part of my job is to review security footage for reported incidents.

If there is a long-lasting visual cue that the event has or has not happened yet (e.g. a window is either broken or not), then a binary search is very useful.

If the event lasts only a moment and leaves no visual cue (e.g. an assault), then binary search is practically useless.

I disagree with the “leaves no visual cue” part, as I’ve commented on. There’s ALWAYS something caught on the video to help determine things. Maybe not enough, but never nothing.

[–] [email protected] 0 points 11 months ago (1 children)

I disagree with the “leaves no visual cue” part, as I’ve commented on. There’s ALWAYS something caught on the video to help determine things. Maybe not enough, but never nothing.

Then you should be responding to the "leaves no visual cues" part, not the "binary search is useless" part. If there WERE a situation that left no visual cues, THEN binary search WOULD be useless. It does not matter whether there ARE such situations.

[–] [email protected] -1 points 11 months ago

Then you should be responding to the “leaves no visual cues” part, not the “binary search is useless” part.

I did, by disagreeing with that statement, and listing reasons why.