this post was submitted on 24 Jan 2024
447 points (96.9% liked)

Programmer Humor

32410 readers
307 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

Saw this on HackerNews via @[email protected]

My Mastodon post about it & @[email protected]'s reply linking to OpenStreetMap's documentation with an example to find banks far away from police stations

all 32 comments
sorted by: hot top controversial new old
[–] [email protected] 104 points 9 months ago (1 children)

OSM is such a badass project

[–] [email protected] 32 points 9 months ago (1 children)

I am a contributor and I frequently bow out of decisions and because it gets pretty brutal.

But I feel like a ant compared to giants because their conversations go way over my head.

[–] [email protected] 88 points 9 months ago* (last edited 9 months ago) (2 children)

OSM can definitely find you a bank near a freeway ramp, but it can also find you a bank near a creek to make an inflatable boat getaway. What it can't do is arrange for decoys to confuse the police while you eacape.

The inflatable boat robber was ultimately caught and sentenced a year later.

[–] [email protected] 32 points 9 months ago* (last edited 9 months ago)

As an aside, I will say that the examples from the OSM Overpass API are pretty nifty for other applications. For example, I once wanted to find the longest stretch of road within city limits that does not have a stop sign or traffic light, in order to fairly assess ebike range by running back and forth until out-of-battery. I knew at the time that OSM had the data, but I didn't know it could be queried in such a way. Would have saved me some manual searching, as well as broadening to include rural roads just outside the city.

[–] [email protected] 12 points 9 months ago

The decoys story I believe got animated by Qxir on YouTube

[–] [email protected] 78 points 9 months ago

Please God do not give Google an excuse to lobby the government to kill any competitors to its Maps product

[–] [email protected] 64 points 9 months ago* (last edited 9 months ago) (1 children)

I don't see a problem with this, seems perfectly reasonable an API that let's you query whatever you want. By drawing attention to this you might get some "easily offendable people" to notice OSM and make a fuzz about this which will result in a worse API for everybody.

[–] [email protected] 1 points 9 months ago

Bwa, we've had worse ;)

[–] [email protected] 50 points 9 months ago (1 children)

Is getting on a freeway in Southern California a good way to get away from anything?

[–] [email protected] 6 points 9 months ago
[–] [email protected] 41 points 9 months ago

Breaking news. You can use data to find things.

[–] [email protected] 37 points 9 months ago

Always knew my unrelated OSM API key was useful for something. LOL

As a side note, OSM does trails in parks and the like with exquisite detail, much better than Google Maps. Just in case.

[–] [email protected] 24 points 9 months ago (2 children)

I'm probably missing something obvious, but what does distance from a highway ramp have to do with a bank being robbable?

[–] [email protected] 18 points 9 months ago (1 children)

Easier it get out and list among other vehicles before police can respond.

[–] [email protected] 7 points 9 months ago (2 children)

Surely it would be better to get to a multi-storey car park? Can't be followed by helicopter. Lots of vehicles to transfer to, or stash to money in to return to later.

A highway seems a great way to get caught. Limited exits. Very visible.

[–] [email protected] 5 points 9 months ago

Cops could just block the entrance and exit.

[–] [email protected] 2 points 9 months ago
[–] [email protected] 12 points 9 months ago

You need the highway section of the mission to shoot the cops while the NPC is driving.

[–] [email protected] 22 points 9 months ago (2 children)

Move over bitches, I am the getaway driver here. You think I jest? Tell me, are you afraid of doing 120 into oncoming traffic? Have you ever raced a cop up an on-ramp like it's a drag strip? How many flashing lights have you lost by completely disregarding your passengers cries of panic and just saying "I've got this, hold the fuck on" swerving across 6 lanes at [redacted], whipping out on a surface street, and ducking into a fast-food restaurant drive-thru, smooth as fuck? Pfft, I bet you've never even drawn up plans for a minigun installed on the top of a prius - because if you don't lose them in the first couple minutes, it's not speed you need, it's endurance. And a fucking minigun, duh.

Told you, I'm the getaway driver for this job. 😎

[–] [email protected] 7 points 9 months ago (1 children)

The minigun would work for any police helicopters too!

[–] [email protected] 4 points 9 months ago

Yo dawg got this minigun Prius mount handy? For a friend.

[–] [email protected] 20 points 9 months ago

This must be one of those people whose hobby is watching live car chases

[–] [email protected] 10 points 9 months ago
[–] [email protected] 5 points 9 months ago

And? This is like looking up hammers that don't leave fingerprints on the grip so you can get away with murder. The tool itself isn't the issue, the motive is, as well as the person responsible for using it.

[–] [email protected] 5 points 9 months ago

Knive, tool, murder, responsibility.

[–] [email protected] 1 points 9 months ago (1 children)
[–] [email protected] 3 points 9 months ago

It is the abbreviation of OpenStreetMap.org, a crowdsourced map of the world. You've 100% sure already used the data of the project, in the form of Organic Maps, OsmAnd, the maps on Facebook, instagram en Whatsapp or Pokemon Go.

Also checkout [email protected]

[–] [email protected] 0 points 9 months ago