Difference between revisions of "Longest streaks"
From Geohashing
(This page lists all Geohashing streaks of at least 50 days.) |
(update) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | The following table shows the longest Geohashing streaks as of 2023- | + | The following table shows the longest Geohashing streaks as of 2023-12-07. __TOC__ |
==Methodology and Limitations== | ==Methodology and Limitations== | ||
This page lists all Geohashing streaks of at least 50 days, that is, if there have been no days without an Expedition (or Coordinates reached) by the entire community for at least 50 consecutive days. It is generated by looking at the [[:Category:Expeditions|expeditions]] and [[:Category:Coordinates reached|coordinates reached]] categories, reports can only be counted if they have the proper categories. | This page lists all Geohashing streaks of at least 50 days, that is, if there have been no days without an Expedition (or Coordinates reached) by the entire community for at least 50 consecutive days. It is generated by looking at the [[:Category:Expeditions|expeditions]] and [[:Category:Coordinates reached|coordinates reached]] categories, reports can only be counted if they have the proper categories. | ||
Line 22: | Line 22: | ||
|7||102||[[2010-05-15]]||[[2010-08-24]] | |7||102||[[2010-05-15]]||[[2010-08-24]] | ||
|- | |- | ||
− | |8|| | + | |8||101||[[2023-08-22]]||[[2023-11-30]] |
|- | |- | ||
− | |9|| | + | |9||96||[[2012-08-15]]||[[2012-11-18]] |
|- | |- | ||
|10||74||[[2010-08-26]]||[[2010-11-07]] | |10||74||[[2010-08-26]]||[[2010-11-07]] | ||
Line 54: | Line 54: | ||
|2||106||[[2015-10-06]]||[[2016-01-19]] | |2||106||[[2015-10-06]]||[[2016-01-19]] | ||
|- | |- | ||
− | |3|| | + | |3||101||[[2023-08-22]]||[[2023-11-30]] |
|- | |- | ||
|4||76||[[2012-01-26]]||[[2012-04-10]] | |4||76||[[2012-01-26]]||[[2012-04-10]] | ||
Line 131: | Line 131: | ||
curStreak="1" | curStreak="1" | ||
fi | fi | ||
− | done | sort -gr | nl | while read rank streak start end | + | done | sort -gr | nl | while read -r rank streak start end |
do echo "|-" | do echo "|-" | ||
echo "|$rank||$streak||[[$start]]||[[$end]]" | echo "|$rank||$streak||[[$start]]||[[$end]]" |
Latest revision as of 18:43, 7 December 2023
The following table shows the longest Geohashing streaks as of 2023-12-07.
Methodology and Limitations
This page lists all Geohashing streaks of at least 50 days, that is, if there have been no days without an Expedition (or Coordinates reached) by the entire community for at least 50 consecutive days. It is generated by looking at the expeditions and coordinates reached categories, reports can only be counted if they have the proper categories.
Check out the program's source code.
Expeditions
# | Days | Start | End |
---|---|---|---|
1 | 271 | 2009-02-26 | 2009-11-23 |
2 | 201 | 2012-01-26 | 2012-08-13 |
3 | 121 | 2011-02-15 | 2011-06-15 |
4 | 106 | 2015-10-06 | 2016-01-19 |
5 | 105 | 2012-12-05 | 2013-03-19 |
6 | 104 | 2015-06-23 | 2015-10-04 |
7 | 102 | 2010-05-15 | 2010-08-24 |
8 | 101 | 2023-08-22 | 2023-11-30 |
9 | 96 | 2012-08-15 | 2012-11-18 |
10 | 74 | 2010-08-26 | 2010-11-07 |
11 | 72 | 2009-12-09 | 2010-02-18 |
12 | 65 | 2013-04-23 | 2013-06-26 |
13 | 64 | 2014-12-30 | 2015-03-03 |
14 | 63 | 2013-08-21 | 2013-10-22 |
15 | 62 | 2008-05-21 | 2008-07-21 |
16 | 55 | 2015-03-18 | 2015-05-11 |
17 | 55 | 2010-02-20 | 2010-04-15 |
18 | 54 | 2016-03-25 | 2016-05-17 |
19 | 53 | 2013-06-28 | 2013-08-19 |
Coordinates reached
# | Days | Start | End |
---|---|---|---|
1 | 179 | 2009-05-16 | 2009-11-10 |
2 | 106 | 2015-10-06 | 2016-01-19 |
3 | 101 | 2023-08-22 | 2023-11-30 |
4 | 76 | 2012-01-26 | 2012-04-10 |
5 | 71 | 2012-09-06 | 2012-11-15 |
6 | 69 | 2012-04-12 | 2012-06-19 |
7 | 67 | 2009-02-26 | 2009-05-03 |
8 | 63 | 2013-08-21 | 2013-10-22 |
9 | 57 | 2013-04-23 | 2013-06-18 |
10 | 54 | 2016-03-25 | 2016-05-17 |
11 | 54 | 2015-08-12 | 2015-10-04 |
12 | 54 | 2011-03-09 | 2011-05-01 |
13 | 50 | 2008-05-21 | 2008-07-09 |
See also
- Consecutive geohash achievement (per-Geohasher equivalent)
- Maps and statistics
Source code
The following program generates this page:
#!/bin/bash # Copyright 2023 Fippe # Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: # The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. api="https://geohashing.site/api.php?action=query&format=json&list=categorymembers&cmprop=title&cmnamespace=0&cmlimit=500&cmtitle=Category" expeditionRegex="^[0-9]{4}-[0-9]{2}-[0-9]{2} -?[0-9]{1,3} -?[0-9]{1,3}$" globalRegex="^[0-9]{4}-[0-9]{2}-[0-9]{2} global$" cutoff="50" dir="/tmp/geohashingstats/longeststreaks" mkdir -p "$dir" function gen { date -u +"The following table shows the longest Geohashing streaks as of %F. __TOC__" echo "==Methodology and Limitations==" echo -e "This page lists all Geohashing streaks of at least $cutoff days, that is, if there have been no days without an Expedition (or Coordinates reached) by the entire community for at least $cutoff consecutive days. It is generated by looking at the [[:Category:Expeditions|expeditions]] and [[:Category:Coordinates reached|coordinates reached]] categories, reports can only be counted if they have the proper categories.\n\nCheck out the [[#Source code|program's source code]]." for category in "Expeditions" "Coordinates_reached" do echo "==${category/_/ }==" echo -n > "$dir/$category" cmcontinue="0" while [ "$cmcontinue" != "null" ] do curl -so "$dir/tmp" "$api:$category&cmcontinue=$cmcontinue" cmcontinue=$(cat "$dir/tmp" | jq -r ".continue.cmcontinue") cat "$dir/tmp" | jq -r ".query.categorymembers[].title" | grep -E "$expeditionRegex|$globalRegex" | cut -d " " -f 1 >> "$dir/$category" done rm "$dir/tmp" echo "9999-12-31" >> "$dir/$category" echo '{|class="wikitable sortable center zebra"' echo '!#!!Days!!Start!!End' curStart="0000-01-01" curEnd="0000-01-01" curStreak="1" sort -u "$dir/$category" | while read -r date do if date -d "$curEnd + 1 day" +"%F" | grep -qx "$date" then curStreak=$((curStreak+1)) curEnd="$date" else if test "$curStreak" -ge "$cutoff" then echo "$curStreak $curStart $curEnd" fi curStart="$date" curEnd="$date" curStreak="1" fi done | sort -gr | nl | while read -r rank streak start end do echo "|-" echo "|$rank||$streak||[[$start]]||[[$end]]" done echo "|}" done echo -e "==See also==\n*[[Consecutive geohash achievement]] (per-Geohasher equivalent)\n*[[Maps and statistics]]\n==Source code==" echo "The following program generates this page:<pre"">$(cat "$0")</pre"">" echo "[[Category:Fun stuff]]" } gen | tee "$dir/longeststreaks.wiki"