• 0 Posts
  • 26 Comments
Joined 1 year ago
cake
Cake day: August 11th, 2023

help-circle

  • I use multilingual keyboard layouts, so I know that at least on Windows the selected layout is specific to each window. If I chat with someone in one language, then switch to my IDE, it will not keep the layout I used in the chat window.

    But I also have accidently hit the combination to change layouts while doing something, so it can happen. I’m just surprised that Cyrillic с is on the same key as C, instead of S.








  • Not sure why you’d remember the ones you rarely need. I just memorized the things I use. Remembering stuff you use is much easier than learning a programming language. I’ve been programming for over 30 years and I’ve been using vim as my only “IDE” for the last 14 years. It would take me significantly less time to teach someone vim than to teach them programming.










  • You seem to talk about different things when you say “visual clue”. Yes, there will be a small duration in the video where the event happens and maybe a short aftermath. That’s not a visual clue, that’s the thing you’re looking for. What all others mean by visual clue is a definite indicator that you can see when picking any random frame in the video that tells you if that frame is before or after the event. That allows you to exclude all other frames from your search, reducing your search range by half.

    A stolen bike, a broken window, your examples that trash the place or end up with a crowd of people in the area, all leave such a visual clue. At any random frame you can check if the bike is there or not, the window is broken or not, etc.

    But let’s say you have footage of the street facing CCTV and you need to find at what time the suspect left the scene (crime happened somewhere else). There’s nothing that tells you when looking at the halfway point if the suspect already passed or didn’t. You still have to look at both sides of that point in time.

    The classic example for binary search is looking for a word in a dictionary. You open it halfway and see if the words there are before or after the one you’re looking for. Then you know which half of the dictionary you need to look in next. Then you use the same method for that half and so on.

    But what if someone highlighted a word in the dictionary and you don’t know which word? Binary search is useless. You have to skim through the whole thing until you see it.



  • It probably depends a lot on where you live. My wife’s bike got stolen and she was woken up by police coming to check on it (one of the maintenance guys at our apartment noticed a man at 7-Eleven riding it and recognized it; came back running to check if it’s indeed missing and called the police). We fully expected the police would do nothing about it (it was the cheapest Walmart bike), but an hour later they called that they found the bike and have the culprit in custody. It did help that the bike was a girly mint green with a wicker basket, so they instantly recognized it when they saw it.

    Then again, in San Francisco, when my wife got her car window smashed and wallet stolen (she was late for class and dropped her wallet under the car seat, didn’t stop to take it; but it wasn’t the wallet that caught the thieves’ attention, it was the breast pump bag that looked like a laptop bag; they threw it on the floor when they saw what it was), we never heard anything back from the police.