Yeah, pigs don't like to be corrected. Or made to look like they don't know what they're doing.
Programmer Humor
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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
And they absolutely hate ever doing anything about bicycle theft in particular.
I reported my bike stolen in college and I got a call the next day that they had found it parked in front of a nearby church.
It was stolen on a Sunday. I guess someone didn't want to be late to service.
What you're entering the third act of your love story and you have to get to the church in time to break up the wedding and declare your love, what's a little bike theft? The universe will take care of it.
Probably added the theft to the sins they were confessing that day as well.
God made them do it!
I thought this had to be hyperbole, so I did the math myself. I'm assuming human history is 200,000 years as google says, and we want to narrow this down to the second the bike disappeared. also that the bike instantly vanished so there's no partially existing bike.
each operation divides the time left in half, so to get from 200k years (6.311×10^12 seconds) to 1 would take ~42.58 divisions, call it 43. even if we take a minute on average to seek and decide whether the bike is there or not it would still be less than an hour of manual sorting
hell, at 60fps it would only take another 6 divisions to narrow it down to a single frame, still under an hour
edit: to use the entire hour we'd need a couple more universes worth of video time to sort through, 36.5 billion years worth to be exact. or a measly 609 million years if we need to find that single frame at 60fps
I regularly bisect commits in the range of 200k (on the low end) for finding causes of bugs. It takes me minutes. Pretty crazy
History is about 10k years, the 200k years is mostly pre-history. People didn't write stuff down until they invented agriculture and needed to track trade between owners, workers, etc
Just watch at 3X!
Combine AI image/visual-pattern recognition and quantum computing, and this search could be completed before it was even started.
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.
That's how I look for broken mods too. Move half of them into a temp folder, launch the game. If it works, put half of the sorted out ones back. if it doesn't work, remove another half and try again.
When I want to see a broken mod, I just surf over to Reddit.
Btw, this is why i have given up on Early Access on Steam; can't disable updates and have to fix your 100 mods then.
I'm a little surprised the police didn't already know about that method. Seems like they'd encounter enough CCTV footage that'd it'd be standard training.
I once again overestimate the training levels of the police.
I imagine it's utilized in more "serious" investigations and they just can't be arsed for theft.
Police try to understand anything challenge (100% impossible) (gone sexual) (gone violent)
"Exactly my point. We will not be investing an hour looking at the footage to pinpoint the time of theft, now get out!"
“This argument didn’t go down well.”
🤣🤣🤣 LMAO
What an awesome punchline, should have been on its own line for more impact.
just tell them there is a black man at the moment of theft, they will get on it lickety split!
Sad meme very relevant
I'm sure it didn't go well. If it was somehow framed in a sycophantic way where the police were led to believe it was their idea, I'm sure it would have gone better. Wait that might not be too difficult to do.
Na. If it's British police it's just an excuse. All they're there for after all these years of Tory cuts is to give you a reference number so you can make an insurance claim.
You just have to say there was a weird technique the Nazi's liked to use.
They probably already know all Nazi techniques.
The final project in my instrumentation class was to tune a PID controller for a hot/cold mixing valve. I (CS/ENG) was paired up with an engineering student and a lot of it was throwing parameters in, seeing if weird shit happened, and then turning down or up based on the result. I had a programming final and something else I was supposed to be studying for, so I just started doing a binary search with the knobs. We got the thing tuned relatively fast and my partner acted like I was a wizard.
How do you do a binary search for an open-end scale (are PID params open-end?) and three knobs at the same time when they interdepend in their influence? I need to know since i have a PID tuning on my personal projects plate
It's been ages, but we'd done rough calculations for the three controls so we roughly knew what we needed. Our teacher was big on manually tuning instead of just using formulas since he thought just running numbers "lacked artfulness."
So we grabbed a point and started searching around manually. I think we were just tuning the derivative portion at that point, trying to get a fast response without the system without it going chaotic and noisy.
God damn, whoever came up with that is clever. I would have never come up with that on my own.
What if you had to guess a number between 0 and 100 and the other person (or an application) only told you if the number is bigger or smaller? That's the form that's usually presented to CS students and most people end up figuring it out on their own. Then the trick is knowing how to generalize it.
It would have taken 5 minutes at most
My Graphics card/ssd wouldn't be able to handle the skipping of such big files
Jesus fucking Christ, I know police are dumb, in fact if your IQ is too high you can actually be legally barred from employment as a police officer in the United States of america. Look it up. But fuck incompetence of these Jokers continue to tickle my asshole in a negative way
I fuckin hate cops as much as the next person but people love to spout this fact, but there is literally only 1 police department ever that has been documented doing this, and it was the one police department in Connecticut.
However the court did in fact rule it was legal, yes.
But the way everyone talks about it you'd think this was some super widespread policy that many departments use. And as far as I can tell there's only ever been the 1 example. It's the same case that every single article about it refers to.
I'm realizing now that this would have been super useful when I worked in Loss Prevention way back when. Wish I had known...
Even without algorithm knowledge it should be fairly obvious that you can just fast forward several minutes and check if the item has gone missing.
Not the most efficient solution, but beats watching the entire tape in real time.
You can now go back working there with this new secret technique.
Sounds about right. Cops have low iqs
that dawn of humanity is only going to work if the rewind/fast forward is instantaneous.
I mean, in the era of VHS this won't work because ultimately you're fast forwarding and rewinding. So you're gonna watch it anyway. but in the digital era I thought this would be what any Police officer did?
Like... they're not even gonna spend 10 minutes on a theft?
Like... they're not even gonna spend 10 minutes on a theft?
What and be responsible for paperwork?
Cops are the biggest bludges you’ll ever meet.
I used to do this when having problems while rendering video in my past life.
That's a search algorithm, not sorting