1475
Binary search (slrpnk.net)
submitted 1 month 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 1 month ago* (last edited 1 month 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 168 points 1 month 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 39 points 1 month 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 64 points 1 month 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 25 points 1 month 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 33 points 1 month 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 30 points 1 month 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 1 month 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 1 month ago

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

[-] Quill7513@slrpnk.net 21 points 1 month ago

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

[-] stinky@redlemmy.com 20 points 1 month 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.

[-] djsoren19@yiffit.net 9 points 1 month ago

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.

load more comments (3 replies)
[-] tiramichu@lemm.ee 220 points 1 month 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 1 month ago

It can also be both.

(Source: I have talked to cops before)

[-] voldage@lemmy.world 43 points 1 month ago* (last edited 1 month ago)

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

load more comments (5 replies)
[-] Escew@lemm.ee 131 points 1 month ago* (last edited 1 month 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 68 points 1 month 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)
[-] inv3r510n@lemmy.world 29 points 1 month ago* (last edited 1 month 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 (1 replies)
[-] AnyOldName3@lemmy.world 28 points 1 month 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.

[-] Cracks_InTheWalls@sh.itjust.works 56 points 1 month 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 (8 replies)
[-] Ephera@lemmy.ml 53 points 1 month ago* (last edited 1 month 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 30 points 1 month 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 1 month 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.

[-] greenhorn@lemm.ee 10 points 1 month ago

My friend has some upcoming electrical work in his house, can you explain how to use binary search in this instance so I can tell him?

[-] spongebue@lemmy.world 29 points 1 month ago

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.

[-] Ephera@lemmy.ml 12 points 1 month ago

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

load more comments (8 replies)
load more comments (1 replies)
load more comments (6 replies)
[-] glassware@lemmy.world 44 points 1 month 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 1 month 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 25 points 1 month 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 1 month 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 12 points 1 month ago

Well, did that warning stop him?

[-] jaschen@lemm.ee 19 points 1 month ago

Ya, it was pretty instant.

[-] octopus_ink@lemmy.ml 35 points 1 month ago* (last edited 1 month 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 12 points 1 month ago* (last edited 1 month ago)

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

load more comments (1 replies)
[-] dragonfucker@lemmy.nz 31 points 1 month ago* (last edited 1 month 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)
[-] HawlSera@lemm.ee 26 points 1 month ago

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

[-] Stern@lemmy.world 22 points 1 month ago

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

[-] pyre@lemmy.world 22 points 1 month ago* (last edited 1 month 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.

[-] PieMePlenty@lemmy.world 21 points 1 month ago* (last edited 1 month 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?

[-] PolymathGirl 20 points 1 month ago

Police are so f***ing worthless and useless

[-] Draegur@lemm.ee 18 points 1 month ago

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

[-] LovableSidekick@lemmy.world 13 points 1 month ago

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

[-] MunkysUnkEnz0@lemmy.world 12 points 1 month 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.

[-] AbsoluteChicagoDog@lemm.ee 12 points 1 month ago

Pigs are threatened by anyone that's even slightly intelligent

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

Memes

8565 readers
1059 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