this post was submitted on 23 Mar 2024
211 points (94.1% liked)

Programmer Humor

19594 readers
588 users here now

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

founded 1 year ago
MODERATORS
 
top 7 comments
sorted by: hot top controversial new old
[–] bonn2@lemm.ee 78 points 8 months ago (3 children)

Just spitballin here. Is the route taking a highway? (I think I see an on ramp). If so, I am about 85% sure the algorithm is just assigning too much value to highways. Generally, highways should be "valued" more to avoid just going down tenthousand sidestreets to get everywhere.

The green route is a highway access ramp onto the highway.

The road that looks like it should connect is street-level.

This area of GTA is a cluster fuck of roads for shipping stuff.

[–] MazonnaCara89@lemmy.ml 17 points 8 months ago

Yes it's a highway, probably that's the case.

[–] soggy_kitty@sopuli.xyz 15 points 7 months ago* (last edited 7 months ago) (1 children)

Logically this "value" of a road is your predicted speed taking into account speed=distance/time. Modern navigation systems work the exact same way.

You know damn right people drive highway speeds on side roads in GTA

[–] FiskFisk33@startrek.website 2 points 7 months ago

the gps assumes legal speeds though

[–] FiskFisk33@startrek.website 8 points 7 months ago* (last edited 7 months ago)

That's the highway, probably better to just follow it.

[–] LinearArray@programming.dev 6 points 7 months ago