Advanced

Re: Find for each year (by Target.) - in unique Country

[Resolved] Find for each year (by Target.) - in unique Country
July 28, 2016 12:19AM
Hello,

via e-mail I've got one request for checker script.
I believe it is not very difficult to code, but not so easy too (for me) :S

I see it as a tweak of Target.s' Find for each year with one additional condition - each of 17 finds (2000-2016) should be in different, unique Country (yep, this is not as challenging as it sounds, if you live in Europe).

There are 2 other conditions that should go in as variables:
- ExcludedCountries
- Log date should be earlier than Archive date (not sure if this is possible to set)

Example of script outcome:

2000: Geocache (GC40) - Belgium - 8.7.2016
2001: Ndebele 1 (GC26A9) - Poland - 2.9.2015
2002: Cologne Clone? (GC7F6F) - Germany - 30.12.2014
2003: Virtual Kurtenhof (GCGCFM) - Latvia - 26.8.2015
2004: Pärnu webcam / Pärnu veebikaamera (GCJ3A0) - Estonia - 27.8.2015
2005: Orlik (GCQ3W4) - Czechia - 17.6.2011
2006: 04.Retzer Land „Heiliger Stein“- Mitterretzbach (GCZB6W) - Austria - 18.7.2015
2007: Chatam Sofer Memorial (GC151ZE) - Slovakia - 15.4.2015
2008: Het Ooibos (GC1AB5N) - Netherlands - 29.12.2014
2009: Kalemegdan (GC1RG9X) - Serbia - 28.12.2013
2010: Ruins of the Kankiv/Kanko castle-KAHKIB (GC2H9MD) -Ukraine - 28.6.2013
2011: Stari grad Cakovec (GC2M4X6) - Croatia - 12.4.2016
2012: D2 - MINI MULTI - POWER TRAIL KVINTA IN TUNKA (GC3MWPR) - Slovenia - 12.4.2016
2013: Casse noisettes (GC4KD1Z) - France - 16.9.2013
2014: Kur bėga Šešupė... #5 (GC5AN0Y) - Lithuania - 25.8.2015
2015: The Elevator #2 (GC5XFE) - Luxembourg - 10.7.2016
2016: Lost place, Old swimming pool in Szentgotthárd (GC6B6R5) - Hungary -12.4.2016

Thank you for reading and potentially invested time & effort to make someone happy.
Draft of listing is created with this code: GC6NWAZ
Re: Find for each year (by Target.) - in unique Country
July 28, 2016 12:59AM
Do you have a name to test the checker
Re: Find for each year (by Target.) - in unique Country
July 28, 2016 02:54AM
Wow, that was quick, thank you very much!
Yes, netvor is the one who suggested this.

I noticed that some usernames are timing out due to high number of possible combinations I guess. But I hope it should not be major obstacle for publishing this ChC.

I will ask him to specify the list of excluded countries.
I know he does not want to allow countries that are not official independent countries (like Greenland), but I will ask him for full list.
Re: Find for each year (by Target.) - in unique Country
July 28, 2016 01:44AM
Here is the link http://project-gc.com/Challenges/GC6NWAZ/22055
I tested the checker with the name netvor.

Which are the excluded countries?
Re: Find for each year (by Target.) - in unique Country
July 28, 2016 11:51AM
is it for 2000-20016 or is it 2000-current year?
The taged checker has the year hard coded to 2016.
And shall the execution Chiang the to the "real country"?
G
What about Ireland? the gc.com country is for the island and includes both Republic of Ireland and Northern Ireland (UK)
Re: Find for each year (by Target.) - in unique Country
July 28, 2016 11:14PM
Thank you - hardcoded 2016 is fine.
Ireland .. what can we do? Just include as it is.
Re: Find for each year (by Target.) - in unique Country
July 28, 2016 11:17PM
Okay, please - here is the list of "countries" which should be excluded in variable:

["American Samoa","Anguilla","Antarctica","Bermuda","Bonaire","British Indian Ocean Territories","British Virgin Islands","Cook Islands","Cayman Islands","Christmas Island","Cook Islands","Falkland Islands","Faroe Islands","French Guiana","French Polynesia","Gibraltar","Greenland","Guadeloupe","Guam","Guernsey","Hong Kong","Isle of Man","Jersey","Macau","Martinique","Mayotte","Montserrat","Niue","Norfolk Island","New Caledonia","Northern Mariana Islands","Puerto Rico","Reunion","Saba","Saint Helena","St Barthelemy","St Eustasius","St Pierre Miquelon","St. Martin","Svalbard and Jan Mayen","Turks and Caicos Islands","US Minor Outlying Islands","US Virgin Islands","Wallis and Futuna Islands"]

Thank you so much, great job!
Re: Find for each year (by Target.) - in unique Country
July 29, 2016 12:15PM
The checker is adjusted to exclude the above "countries" and fixed to 2000-2016. Any future years are excluded

Remarks:
You had listed the "Cook Islands" twice.
To test the checker use irisisleuk to avoid the timeout problems
Re: Find for each year (by Target.) - in unique Country
July 29, 2016 02:14PM
That i not a complete list of gc.com countries that arent independet.
I noticed Aland Islands directly is missing
Aruba should alos be there if St. Martin is included. But in don't understan why if Nederlands in include The are all parts of "Kingdom of the Netherlands" and not the Netherlands from wikipedia

Quote

The four parts of the kingdom—the Netherlands, Aruba, Curaçao, and Sint Maarten—are constituent countries (landen in Dutch) and participate on a basis of equality as partners in the kingdom

There might be more mistakes I only looke a the one staring with A
Re: Find for each year (by Target.) - in unique Country
November 01, 2016 06:55PM
Challange published, request archived
Sorry, only registered users may post in this forum.

Click here to login