Difference between revisions of "Implementations/Utilities"
imported>AeroIllini |
Hamblingreen (talk | contribs) |
||
(12 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
== Comic Creator == | == Comic Creator == | ||
{{30w compliant|yes=1}} | {{30w compliant|yes=1}} | ||
− | A python class to recreate [http://xkcd.com/426/ the original comic], but for any given date with your own coordinates! | + | A python class to recreate [http://xkcd.com/426/ the original comic], but for any given date with your own coordinates! Created by [[User:Hugo|Hugo]]. |
− | + | ||
− | + | The comic creator has been moved to github: https://github.com/hugobuddel/geohashingcomic | |
+ | |||
+ | It used to run as a cgi service, but these are all down now. | ||
In the image, [[Dow]] values less than 10,000.00 are padded with leading spaces, however in the algorithm it is not so it is compliant with other the algorithms. As [[User:Tjtrumpet2323|Tim P]] suggested, the comic is akin to all the bank cheques with "19__" printed on them being used in 2000. The "form" has 5+2 "boxes" because that's how [[Dow]] prices are now, but that doesn't mean it can't be different. | In the image, [[Dow]] values less than 10,000.00 are padded with leading spaces, however in the algorithm it is not so it is compliant with other the algorithms. As [[User:Tjtrumpet2323|Tim P]] suggested, the comic is akin to all the bank cheques with "19__" printed on them being used in 2000. The "form" has 5+2 "boxes" because that's how [[Dow]] prices are now, but that doesn't mean it can't be different. | ||
Line 11: | Line 13: | ||
* The -0 issue is ignored. Only if you enter -0 as an integer you get an incorrect outcome. You are supposed to enter your own location as a float, up to 6 decimals, everything is okay even when you enter -0.0. | * The -0 issue is ignored. Only if you enter -0 as an integer you get an incorrect outcome. You are supposed to enter your own location as a float, up to 6 decimals, everything is okay even when you enter -0.0. | ||
− | == | + | == Hashie (IRC bot) == |
− | |||
− | |||
− | |||
− | |||
− | |||
{{30w compliant|yes=1}} | {{30w compliant|yes=1}} | ||
− | + | Because the Shmulik bot and relet are not online Eupeodes created a new bot. Over the coming time features will be implemented in an attempt to fill the gap left by shmulik. Documentation can be found on [[User:Eupeodes/Hashie|Eupeodes/Hashie]] | |
− | |||
− | |||
− | |||
== Probability Calculators == | == Probability Calculators == | ||
− | |||
These do not calculate the hash, but instead the probability of the hashpoint to land in certain areas. | These do not calculate the hash, but instead the probability of the hashpoint to land in certain areas. | ||
Line 40: | Line 33: | ||
[[User:AeroIllini/GeoHistory]] | [[User:AeroIllini/GeoHistory]] | ||
− | == | + | ==notify-send bash tool== |
+ | Linux users can use [https://github.com/cyclingzealot/bin/blob/master/geoHashNote.bash this bash script] to give them desktop warnings of nearby geohashes. notify-send, bc, sed, xml_grep are needed to run the tool. It will but has not been tested within cron at the time of this writting. | ||
+ | |||
+ | ==Regiohashing Minesweeper Tool== | ||
+ | These were created to help people display their [[Regional geohashing achievement|regiohash achievement]] progress. | ||
+ | * [[User:Hessophanes/Regiohashing|The original]], by [[User:Hessophanes|Hessophanes]] ''(No longer works)'' | ||
+ | * [[User:XXOs/Regiohashing|A recreation]], by [[User:XXOs|XXOs]] | ||
+ | |||
+ | ==Mepohash== | ||
{{30w compliant|yes=1}} | {{30w compliant|yes=1}} | ||
− | [ | + | |
+ | [https://mepo.milesalan.com Mepo] is "a fast, simple, hackable OSM map viewer for mobile and desktop Linux." It also happens to be my maps app of choice. Due to it's scriptable nature, I naturally wanted to integrate geohashing into my map solution to make geohashing on my [https://pine64.org/pinephone Pinephone] as seamless as possible. Also, as someone newer to bash scripting this was an interesting exercise in creating an implementation from scratch. I bring to you mepo_geohash.sh, a simple 30W compliant script that opens Mepo to the detected graticule's hashpoint of the day. By moving the map and calling the script again, you can get the hashpoint for the graticule you moved to. You can view the script at [https://lists.sr.ht/~mil/mepo-devel/patches/36811 this mailing list], whether it gets accepted into the main project or not I hope someone can get use out of this handy little script. | ||
+ | |||
+ | [[User:Hamblingreen]] | ||
+ | |||
+ | [[Category:Implementations]] |
Latest revision as of 07:16, 14 November 2022
Contents
Comic Creator
This implementation IS FULLY 30W-compliant. |
A python class to recreate the original comic, but for any given date with your own coordinates! Created by Hugo.
The comic creator has been moved to github: https://github.com/hugobuddel/geohashingcomic
It used to run as a cgi service, but these are all down now.
In the image, Dow values less than 10,000.00 are padded with leading spaces, however in the algorithm it is not so it is compliant with other the algorithms. As Tim P suggested, the comic is akin to all the bank cheques with "19__" printed on them being used in 2000. The "form" has 5+2 "boxes" because that's how Dow prices are now, but that doesn't mean it can't be different.
- Bugs
- The font sizes are not exactly as the original and there can still be some alignment problems.
- The -0 issue is ignored. Only if you enter -0 as an integer you get an incorrect outcome. You are supposed to enter your own location as a float, up to 6 decimals, everything is okay even when you enter -0.0.
Hashie (IRC bot)
This implementation IS FULLY 30W-compliant. |
Because the Shmulik bot and relet are not online Eupeodes created a new bot. Over the coming time features will be implemented in an attempt to fill the gap left by shmulik. Documentation can be found on Eupeodes/Hashie
Probability Calculators
These do not calculate the hash, but instead the probability of the hashpoint to land in certain areas.
- Land usage - calculates the probability of certain types of land (forests, water, and the like).
- Public transport probability - calculates the probability of a certain distance from public transport.
HashPlacer
The HashPlacer is a perl script that allows you to define limit boxes on a map, and will notify you via email if the day's geohash point lands in one of these boxes. This is especially useful if you define a limit box surrounding your favorite park, or your neighborhood, or even your couch. Currently the only areas supported are "boxes"... two latitude points and two longitude points define the corners of a graticule-shaped "box".
GeoHistory
GeoHistory is a perl script that outputs a [kml] file containing every historical geohash point in a specific graticule since a specified date. This can be used to get a retroactive Couch Potato Award, apply for a Curse of Unawareness Award, or simply study past geohash points.
notify-send bash tool
Linux users can use this bash script to give them desktop warnings of nearby geohashes. notify-send, bc, sed, xml_grep are needed to run the tool. It will but has not been tested within cron at the time of this writting.
Regiohashing Minesweeper Tool
These were created to help people display their regiohash achievement progress.
- The original, by Hessophanes (No longer works)
- A recreation, by XXOs
Mepohash
This implementation IS FULLY 30W-compliant. |
Mepo is "a fast, simple, hackable OSM map viewer for mobile and desktop Linux." It also happens to be my maps app of choice. Due to it's scriptable nature, I naturally wanted to integrate geohashing into my map solution to make geohashing on my Pinephone as seamless as possible. Also, as someone newer to bash scripting this was an interesting exercise in creating an implementation from scratch. I bring to you mepo_geohash.sh, a simple 30W compliant script that opens Mepo to the detected graticule's hashpoint of the day. By moving the map and calling the script again, you can get the hashpoint for the graticule you moved to. You can view the script at this mailing list, whether it gets accepted into the main project or not I hope someone can get use out of this handy little script.