quick coding projects to keep you sharp
r/ProgrammingPrompts
MVP would be a simple two-round runoff model.
A stretch goal would be to be able to select from different types of runoff voting models.
This would also be an ideal next-step after finishing the Django tutorial which includes a basic poll app.
References:
https://en.wikipedia.org/wiki/Runoff_voting
https://docs.djangoproject.com/en/4.1/intro/tutorial01/
I originally wanted something like this for urban exploration (post) because Google Maps has a built-in feature to identify a place as "Permanently closed," but doesn't allow you to filter for that. Simply searching "Permanently closed" shows some results but not others, and sometimes those addresses don't even display on the map (They only appear once you specifically search for it). I'm not a programmer by any means, but I was thinking that if you have a bot or script check every address in a range (either through whatever database or API Google Maps provides, or by entering addresses from an external database if it has more than Google does) it may be possible to get more results.
While that is the main draw for something like this to me, it seems like it could be useful in general as well. Searching for other keywords like "Restaurants" or "Barber" sometimes seem to do a pretty bad job at finding stuff, either not displaying things until you get really zoomed in or just straight up missing something that has those key words somewhere in the name or description. A bot that looks through all the addresses and shows a map that truly shows all the locations that satisfy that search, whether the keyword is directly in the name or hidden somewhere Google apparently doesn't check that well like a description or review, could be really useful.