Cops suck at their job, and they hate it if you explain it to them.
I can't remember a single time in my 40-years-long life when a cop genuinely helped me in any way,
apart from writing a report (full of errors and spelling mistakes) that my insurance demanded.
And I really don't believe they "make the streets safer" either.
In Montreal, I was riding my bike drunk and crashed pretty badly. I broke a tooth and was bleeding out of my mouth. I got up and kept riding home when a cop stopped me who was sitting next to his car monitoring pedestrian traffic. They took out their first aid kit, gave me some gauze, asked if I needed to go to the ER, then let me be on my way.
I feel like that wouldn't happen in the US. I was still very drunk.
And Montreal cops don't have that great a reputation, at least from what I've heard.
Only interaction I had with one was when they were handing out pamphlets about hiding your (white) headphone cords on the metro. I guess people were stealing iphones
Yeah, it probably would. They would be interested in just how and why you got a bloody face. And even US cops carry basic medical supplies like a band-aid.
US cops aren't the best, but they can and do help with such things.
My family was victimized in a home invasion that went “get therapy” badly and the cops in their defense did get us in touch with resources and gave us the report of insurance, but they also all but accused me of being a drug addict because I have scars on my arms and had a bowl in my apartment (weed is legal here). They also refused to look at the cut window screen or the footprint on the other side of the window insisting that because the front door was unlocked after the burglar left through it we must’ve left it unlocked and that’s how he entered.
We didn’t like the cops before we were victims of violent crime, but it’s much more pronounced of a dislike afterwards. I’ve heard my entire life that “when you’re victimized by criminals you’ll come to appreciate the cops” and I can’t help but laugh at that sentiment.
Hell in a different instance I got robbed by a guy, got his license plate, phone number, and confession (buying something off the internet, guy took both things and ran, then later messaged asking for sex), and want to know what I’ve never seen since? That money. Like I’m not happy with the guy, but unlike my home invader I don’t even think he needs to be kept away from society, I just wanted my fucking money back.
Got rear ended on the highway. Recorded make and model, rough driver description, and plate number with state, and direction they were heading. Told dispatcher and cops on scene everything, they couldn’t have given less of a fuck.
“We’ll keep a lookout, but really there’s nothing we can do.”
So why am I paying taxes for you welfare queens then? My insurance hotline was far more helpful at next steps and what needs to happen vs ‘shit sucks bro, here’s your case number, you gotta smash F5 on our website until the report gets uploaded. lol no, we wolnt reach out to you’
I was pushing a cart full groceries home when two white guys walked right up and started looking in my shopping cart. Exactly at that moment a cop car pulled up beside us.
That's all they had to do. It was pretty good timing.
Probably nothing would have happened either way, but still. It also occurs to me that the presence of anyone else would have likely had the same effect. Like a prof rolling up on a unicycle, or someone walking their cat, or even a lone horse. Perhaps even a bold raccoon.
Same here. They show up after you get hurt, not before. They are supposed to make us safer, but we have more cops than any country in the world and we are not safer.
In the U.S., cops statistically do nothing. They don't prevent crime, they don't solve crimes, they're just a publically funded security firm for local businesses to contract. It would honestly be more surprising if you had a useful interaction with the police.
Even though this is all colloquially known and accepted, don't think of arguing to lower the police budget in any way. Gotta make sure those buffoons have their surplus army equipment so they can feel safe while they rob and oppress citizens.
It's not that the cops don't know how to search a video, they simply don't want to, because theft of property from you, a working-class nobody, is nothing to them.
And also that - depending on the format of the video and software involved - doing a "binary search" might not be that simple
With my own NVR system, it takes great quality video and I can pull files of it, but the actual interface is pretty janky to say the least, and accessing stuff like the fisheye cameras only really works well within the vendor's app.
No they don't care. It's why bike thieves are such assholes, there's barely any money to be made off it at massive inconvenience for the bike owner but they do it because they know 99% no one comes after them.
If this is Cambridge in the UK, both times I reported a bike theft, they confidently told me that they recover and return most stolen bikes. They absolutely do not recover or return most stolen bikes. Bike theft is so rarely sorted out by the police in Cambridge that nearly no one bothers reporting it as everyone knows their bike is gone forever, even if they parked it in good view of a CCTV camera and the frame was engraved with contact details all over.
In america at least cops can’t have an IQ that’s too high or they won’t get the job. They want people smart enough to do the capitalist class’s bidding but dumb enough not to question anything.
The official reason is that if you're too smart, the menial repetitive nature of most police work will get boring and you'll quit. The rationale being they didn't want to invest in training if you aren't going to stick around.
I had a bike stolen from a convenience store once. I talked the clerk into letting me review the footage. I found the guy stealing the bike on tape, along with the licence plate of the car that dropped him off. Through a bunch of sleuthing I found out his name and exactly where he lived. I called the cops with all of this information and evidence and told them I want to press charges. Then basically said "lol, fuck off". So I kept trying to find out where the bike was. It was an expensive bike and I wanted it back. While looking for the bike I found out the thief had sold it for money that he spent on meth, and then got caught with the meth, so he was actually in jail. I called the cops back and told them I have one of their inmates on video stealing my bike, I have the license plate number of his collaborator, and I have witnesses. I want to press charges, and they already have the guy in custody. Again, their answer was basically "lol, get fucked. We don't help people". Fuck the police.
Wait couldn't you have filed a lawsuit? I mean yeah, the cops didn't do their job (I guess they could be sued for that too). But you would need proof in text form so just ask them again in a mail or letter. If they don't do their job and you have proof then they're screwed
Against who? A meth addict bike thief definitely doesn't have any money. Do you mean against the police? Possibly? Idk. I lived in a conservative town where the Chief of Police was basically idolized. I definitely didn't want to paint a target on my own head. This was 20 years ago, so if I had other options, they're gone now.
If they don't do their job and you have proof then they're screwed
Nope, Warren v. District of Columbia had the SCOTUS rule that the police have no obligation to protect or serve. They can’t be sued for failing/refusing to do their job, even if it puts people in harm’s way.
The case revolved around a dude on a train who got stabbed. There was a psycho moving down the train cars stabbing people, and the police were chasing him. A passenger saw the attacker coming, saw the police in pursuit, and decided to help. He stopped the stabber, expecting the police to quickly catch up. Instead, the police locked the passenger inside the train car with the stabber, and watched through the tiny windows until the stabber was tired out from stabbing the passenger.
The passenger sued the police department, stating that they refused to protect him. The SCOTUS ruled that the police have no obligation to protect nor serve, and can’t be sued for failing to help you.
not the commenter you asked but i use a binary search when i'm playing a modded game that is having issues to pinpoint which mod(s) cause the issue. beats launching the game over and over to test each mod by a long shot.
a recent example: i put together a mod list for risk of rain 2 to play with some friends, but the game crashed on launch when all the mods were installed. so i disabled half the mods (in order, alphabetically or other) and tried to launch the game again - still crashing. disabled half the remaining enabled mods, test, repeated as necessary. with only a few cycles of booting the game, i was able to determine the specific mod causing a crash on startup out of my list of 50 something mods.
Imagine you work at a company that sells cookies. The company offers a variety of cookies at different price points to different customers. The company sets up contracts offering a customer a set variety of cookies at various prices, with a clause stating that if the customer wants a different type of cookie the company makes later on, it will be priced and added to their list. This should be in the form of regular contract amendments/addendums, but it isn't.
Several years go by, and in the course of that several different varieties of cookies have been added by the customer. The price given to them at the time may not account for the cost of materials and labor today, or how many of those cookies not mentioned in the contract are being ordered v. how many were expected, the fact that you outsourced some of those cookies, or brought some of those cookies in-house, etc. The cookie executive asks you "When did we offer customer x cookie y at price point z?"
Now, the company has a perfectly good database of cookies and price points for customers, but it's very old tech and requires certain access privileges, which are very hard to give people outside of the accounting department. Accounting is never able to help with this, and the cookie executives try poorly and fail to get people like you access. But you do have years and years of cookie addition request forms, which are kept in chronological order by customer and contain a list of all types of cookies requested up to that point in time.This is where binary search helps - you can pretty quickly find the one where the cookie y was added even though there are hundreds of these forms.
It's not a situation that should exist - we have a god damn cookie database where you can just pop in customer x and cookie y to get price z, with an effective date - but in my crazy cookie factory it helps a ton.
There's other examples but they're all pretty much variants of this thinly veiled analogy.
My dad once told me that he had to find the circuit breaker that corresponded to a particular wire and because we have around 60 circuit breakers in our house, he had to flick one off, run down and check the wire, run back up, flick the next circuit breaker off, and do that quite a lot of times.
In that moment, I got to explain binary search to him and he was genuinely interested. 🙃
I hook a cheap webcam up to a USB battery pack and load it up on my phone. Then I plug in a light and point the camera at that. It makes it a single trip and doesn't bother the neighbors.
Turn off half the breakers. See if you still have power where you need to go. That will tell you which half it's on. Turn off half of those breakers, repeat.
Oh, well, you switch off half the fuses, then you go check the wire.
Let's say the wire still has power on it, so now you know that none of the fuses in that half affected it (which you can turn back on now).
Then you do the same thing again with the other half of the fuses, i.e. you switch off half of the fuses in that half and go check the wire.
Now, let's say the wire is dead, so now you know that the fuse you want is in this quarter.
So, then you flick off half of the fuses in that quarter and check the wire again, and so on.
With every step, you eliminate half of the remaining fuses, so for 60 fuses, you need at most 6 steps (which is the logarithm for base 2 of 60).
Turn off half the breakers. Now you know which half the outlet is on, based on whether or not it has power. Repeat.
For instance, let’s say you have 100 breakers. You turn off the first 50. Your target outlet still has power. So now you have divided the potential number of breakers by half, and you know the breaker is somewhere in 51-100.
So you cut that in half, and turn off 51-75. Your outlet is now dead, so you know it’s somewhere in the 51-75 range that you just turned off; if it were still on, it would be somewhere between 76-100.
So now you reset 51-63, while leaving 64-75 off. It is still dead, so you know it is somewhere between 64-75.
Maybe now you turn on all of the odd breakers, leaving the evens off. It is still dead, so you know it must be 64, 66, 68, 70, 72, or 74. Reset the first three. Your outlet has power now, so it must be one of the first three.
Flip 64 and 66 off. If you get lucky, your outlet still has power and you know it is 68. But you get unlucky, and it is dead. So now you know it must be either 64 or 66.
Flip 64 back on. If it has power, you know it’s 64. If it doesn’t, you know it’s 66.
We just eliminated 99 breakers and found the correct one using only 7 tests. Because each test eliminated half of the potential values, it whittles things down very quickly. We went from 1-100, to 51-100, to 51-75, to 64-75, to the evens between 64-74, to only 64/66/68, to 64/66, and finally landed on 66 as the correct breaker. If we had gotten lucky earlier, we could have done it in 6 instead. If you had simply started with breaker 1 and worked subsequently, it would have taken 66 trips to the breaker box to figure out.
Where binary search really excels is with large data sets. Even if it had been 1000 breakers instead of 100, it still would have only taken an extra three or four searches (1-1000 > 1-500 > 1-250 > 1-125 > 1-75… etc…) to narrow it down.
I don't think that's true, it's more of a set problem. If you pull half the fuses, and the thing is still on, then you've ruled out that half. Then you pull half the remaining fuses, and if it turns off it was one of the new half you pulled. Then you put another half back in, ect .
You know, after posting that comment, I really doubted myself, if it really is binary search, because Wikipedia also tells me it needs to be a sorted array.
But yeah, I think that's only relevant, if your method of checking whether it's in one half or the other uses > and <. As far as I can tell, so long as you can individually identify the fuses, a.k.a. they're countable, then you can apply binary search.
It should still at least have a fast-forward option. You go at the highest speed possible until the bike disappears. Then you rewind at a slower speed until it shows up again. Then you can play the tape from there.
I worked at a major outdoors retailer with a "gun library" of high-end firearms.
In one of our quarterly steel audits (where we pull all 10,000 guns put hands on them, verify the serials, etc) we discovered a $10,000 rifle was missing.
The thing is, the case it was in obscured the gun itself from the security cameras. It was behind like 6 other guns in a glass case any customer could item and pull the guns out to look at them (guns themselves were trigger-locked of course).
So we had to have the gun library manager sit there and watch 3 month's of surveillance video of a specific case that was proclaimed opened 20 times an hour in a highly-trafficked area of the store. Because of all the activity, the video had to be watched in real time, and we were open 13 hours a day.
The manager ended up quitting over the boredom combined with stress.
Honestly, if your security system didn’t allow you to set motion alerts, that’s a bad system. Basically any modern system will allow you to set motion alerts. You can specify a section (or sections) of the screen that will create a flag in the footage when motion is detected.
My job’s parking garage had a car get broken into, and a musician’s (very expensive) instrument was stolen. We didn’t have a camera pointed directly at the car that was broken into, but we had cameras at every entrance and exit, and on the ramps leading between each floor. Management was expecting to scrub through literal hours of footage. Using some basic motion detection, I set it to flag any time someone came up or went down the specific ramps or stairs that led to the level the car was on. It ended up being like 45 cars.
Then I just did a quick timer, to see how long each person lingered on the floor. Like 40 of the cars came up the ramp from the lower level, then like 30 seconds later went up the next ramp to the next level. So it wasn’t them. Only like five of the cars actually didn’t go to the next level.
And out of those five cars, four had drivers/passengers seen on the stairwells leading back down to the ground floor; They had parked on the same level as the incident, and went downstairs.
Only one car lingered on the same level for about 2 minutes, then quickly left again. At the exit, there was a camera on the gate which pointed into the cars. We got crystal clear footage of the driver, (someone who the musician knew) and the instrument case was very obviously sitting in the passenger seat.
The entire search (it was like 3 days of footage) took like 10 minutes total, simply by being able to whittle down when people were coming and going.
Story time: I'm in Taiwan and I have a white female friend who is here for college.
She went on a "date" with someone she met on an app and they met at some coffee shop. The dude turned out to be SUPER creepy and she cut the date short and left. The dude proceeds to online stalk her for months. She barely speaks Chinese and was scared to go to the police due to the language barrier and the stalking was all online. Also she doesn't know the guy's name and he had since deleted his profile from the dating app.
My wife and I convinced her to go to the police. She left with some print outs of the stalking emails and DMs just to file a report, not expecting much.
The police tried their hardest to communicate with her and spent the next 4 hours helping her. They found the guy using traffic light footage on the day of the date and was able to use CCTV footage and using his metro card at the subway. Within the day, they found him, visited him and gave him a warning.
Aaaaaaagh, why cant you talk this way to people?! Life would be so much easier! Why didnt the argument go down well?! Is the cop stupid?! Binary search works! The guy was correct! God damnit, why must people be so unaccommodating, even when proven their accommodation would not take long?
it could take 5 minutes, sure, but it's still 5 minutes of work and that's not why we signed up for the job. so unless you give us the exact minute the bike was stolen we can't help you. if you do, we probably still won't help you. call us if you have some dark-skinned people to shoot, but otherwise stop bothering us.
In electronics testing, it's called the half split method. Not getting the correct voltage. Halfway through the circuit. Go back halfway. If you are reading the correct voltage, go forward halfway.
When I read this originally, it was a nice example how programmer brain can be applied IRL. Also works when trying to find something and I see the listing is someway sorted, like time tables and eshop product categories.