1499
Binary search (slrpnk.net)
submitted 3 weeks ago by ByteOnBikes@slrpnk.net to c/memes@sopuli.xyz
top 50 comments
sorted by: hot top controversial new old
[-] superkret@feddit.org 286 points 3 weeks ago* (last edited 3 weeks ago)

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.

[-] funkless_eck@sh.itjust.works 170 points 3 weeks ago

kids stole my car

cops gave chase

they crashed the car

ran on foot

cops gave chase

they ran into an abandoned house

cops stopped outside

they walked nonchalantly out of the house

cops did not arrest as they could not be sure it was the same people

literal skyrim npc behavior.

[-] AnUnusualRelic@lemmy.world 40 points 3 weeks ago

They were chasing running people, those had to still be in the house. Probably doing laps in one of the rooms.

[-] Speculater@lemmy.world 61 points 3 weeks ago

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.

[-] grrgyle@slrpnk.net 26 points 3 weeks ago

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

load more comments (3 replies)
[-] Milk_Sheikh@lemm.ee 34 points 3 weeks ago

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’

[-] captainlezbian@lemmy.world 31 points 3 weeks ago

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.

[-] grrgyle@slrpnk.net 27 points 3 weeks ago

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.

[-] stinky@redlemmy.com 16 points 3 weeks ago

Excellent point, it's not the presence of a cop that stopped them, it's the presence of another person.

[-] stinky@redlemmy.com 21 points 3 weeks ago

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.

load more comments (1 replies)
[-] Quill7513@slrpnk.net 20 points 3 weeks ago

out in these streets. cops make the streets more dangerous by far

load more comments (5 replies)
[-] tiramichu@lemm.ee 218 points 3 weeks ago

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.

[-] AnUnusualRelic@lemmy.world 78 points 3 weeks ago

It can also be both.

(Source: I have talked to cops before)

[-] voldage@lemmy.world 42 points 3 weeks ago* (last edited 3 weeks ago)

And why should we trust you about that, you cop talker

load more comments (5 replies)
[-] Escew@lemm.ee 134 points 3 weeks ago* (last edited 3 weeks ago)

They don’t pay cops to think. In fact, I don’t think they even pay cops to recover stolen bikes.

[-] makyo@lemmy.world 70 points 3 weeks ago

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.

load more comments (1 replies)
[-] AnyOldName3@lemmy.world 28 points 3 weeks ago

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.

[-] inv3r510n@lemmy.world 27 points 3 weeks ago* (last edited 3 weeks ago)

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.

load more comments (2 replies)
load more comments (1 replies)
[-] Anticorp@lemmy.world 118 points 3 weeks ago

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.

[-] timestatic@feddit.org 19 points 3 weeks ago

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

[-] Anticorp@lemmy.world 25 points 3 weeks ago

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.

load more comments (1 replies)
[-] PM_Your_Nudes_Please@lemmy.world 13 points 3 weeks ago

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.

load more comments (3 replies)
[-] Cracks_InTheWalls@sh.itjust.works 56 points 3 weeks ago

Honestly, this was the comment that exposed me (regular office rube) to binary search as a concept and it is so. fucking. helpful.

load more comments (11 replies)
[-] Ephera@lemmy.ml 53 points 3 weeks ago* (last edited 3 weeks ago)

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. 🙃

[-] someguy3@lemmy.world 31 points 3 weeks ago

I think the old school method was to plug in a stereo and turn the volume up. When you couldn't hear it then you got the right breaker.

[-] phughes@lemmy.ml 11 points 3 weeks ago

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.

load more comments (22 replies)
[-] glassware@lemmy.world 45 points 3 weeks ago

My bike was stolen, and I live in a small enough town that the cops actually did go through the footage to find the thief.

He called back 15 minutes later for more details and mentioned he was 15 minutes into the footage.

load more comments (2 replies)
[-] theangryseal@lemmy.world 43 points 3 weeks ago

Man, as someone who worked surveillance for years, I can’t believe that anyone would have a hard time with this.

It was so, so, so, so easy to find when something vanished.

Now, did so and so walk in the building? Yeah, kiss my ass. Not happening.

[-] chiliedogg@lemmy.world 24 points 3 weeks ago

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.

load more comments (8 replies)
[-] jaschen@lemm.ee 39 points 3 weeks ago

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.

[-] HoodieGyaru@lemmy.blahaj.zone 14 points 3 weeks ago

Well, did that warning stop him?

[-] jaschen@lemm.ee 22 points 3 weeks ago

Ya, it was pretty instant.

[-] octopus_ink@lemmy.ml 34 points 3 weeks ago* (last edited 3 weeks ago)

This is an innate skill in the days of the internet for anytime you are looking for just the right moment in a video of any kind. 🤔

[-] LorIps@lemmy.world 13 points 3 weeks ago* (last edited 3 weeks ago)

Well if you're looking for a moment with consequences on the video.

load more comments (1 replies)
[-] HawlSera@lemm.ee 25 points 3 weeks ago

He was never interested in finding the bike, he just wanted to "take notes" and go back to his donuts.

[-] PieMePlenty@lemmy.world 22 points 3 weeks ago* (last edited 3 weeks ago)

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?

[-] pyre@lemmy.world 21 points 3 weeks ago* (last edited 3 weeks ago)

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.

[-] Stern@lemmy.world 21 points 3 weeks ago

Cops are only useful if you need someone to get to the scene two hours late, and then shoot your dog.

[-] PolymathGirl@lemmy.blahaj.zone 19 points 3 weeks ago

Police are so f***ing worthless and useless

[-] dragonfucker@lemmy.nz 18 points 3 weeks ago* (last edited 3 weeks ago)

Drag has been in exactly this same situation. Stupid pigs.

Also binary search isn't a sorting algorithm. It's a search algorithm. It only works on a data set that has already been sorted.

load more comments (3 replies)
[-] Draegur@lemm.ee 18 points 3 weeks ago

Expecting feral hogs to be capable of reason was a mistake.

[-] Mango@lemmy.world 13 points 3 weeks ago

I'm a quality director and I did this the other day to identify the exact range of bad laminate in a number of film rolls!

[-] Ilovethebomb@lemm.ee 13 points 3 weeks ago

There's a similar logic applied to fault finding, start at the middle of the circuit.

If the fault is before that point, start at the quarter point, if it's after, three quarters, and keep splitting until you find it.

load more comments (1 replies)
[-] MunkysUnkEnz0@lemmy.world 13 points 3 weeks ago

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.

[-] LovableSidekick@lemmy.world 13 points 3 weeks ago

I remember marveling at how simple and obvious binary search was when I first learned about it in programming.

load more comments
view more: next ›
this post was submitted on 02 Dec 2024
1499 points (99.3% liked)

Memes

8522 readers
1282 users here now

Post memes here.

A meme is an idea, behavior, or style that spreads by means of imitation from person to person within a culture and often carries symbolic meaning representing a particular phenomenon or theme.

An Internet meme or meme, is a cultural item that is spread via the Internet, often through social media platforms. The name is by the concept of memes proposed by Richard Dawkins in 1972. Internet memes can take various forms, such as images, videos, GIFs, and various other viral sensations.


Laittakaa meemejä tänne.

founded 2 years ago
MODERATORS