Difference between revisions of "Talk:Implementations"

From Geohashing
(Wondering what the shell-script bug was)
(geohashing.info – Bing layers not working since November 5, 2024: new section)
 
(163 intermediate revisions by 53 users not shown)
Line 1: Line 1:
== Shell script broken? ==
+
{{talk archive notice|currentpage=1}}
 +
==Page Length==
 +
The page is exceeding the length some browsers can handle. Are there any problems with taking the individual implementations that include code and giving them their own pages, simply linked from here?  I'll do it, I'm just checking that there is no objection from the implementation maintaininers.
  
Is it just me, or is the shell script implementation broken? --[[User:Polysylabic Pseudonym|Psud]] 08:21, 26 May 2008 (UTC)
+
== iPhone Implementation ==
:Actually, please refer to my comments on the main page discussion. --[[User:Polysylabic Pseudonym|Psud]] 12:41, 26 May 2008 (UTC)
+
 
 +
Last night I finished a rough implementation of this to the iPhone 2.0 Beta SDK.  Right now it uses your current location and date and then does the math, then gives you a map with the destination address along with directions to there from where you are at.  This will be even more useful if the next 3G iPhone come with GPS, until then it uses it's less accurate cellular and wifi location tools to locate you.  I plan on adding a way to select your date and your desired graticule as well.  Eventually I'll also investigate filtering of the results in watery areas.  I can't distribute it currently, but as soon as I can I'll make it available.
 +
-- [[User:Shakedown | Shakedown]]
 +
 
 +
== Android ==
 +
 
 +
Will there ever be a G1 / Android version of this sort? It seems like it shouldn't be too hard with the included GPS, but I have no idea how to write something like that.
 +
 
 +
Seriously needed! geeks, please give us an android version, even if it just calculates the set of coordinates. We *got* cut and paste ;) pownd!
 +
BB
 +
 
 +
While waiting for a shiny version the tiny generator looks best suited. Use with dynamic maps and marble at the wonder.
 +
 
 +
 
 +
: * OK, I have version 0.1. Check it out at http://geoandhash.shmoula.cz/  --[[User:Shmoula|Shmoula]] 14:23, 24 March 2009 (UTC)
 +
 
 +
:: There's also one called [http://www.cyrket.com/package/net.exclaimindustries.geohashdroid Geohash Droid] which I find to be excellent -- [[User:Norsemark|NorseMark]] 21:23, 16 June 2009 (UTC)
 +
 
 +
== Suggested alternatives support added to the official implementation ==
 +
 
 +
I just added (with [[User:Cwolves]] doing most of the work) support for suggesting alternative meeting points, if the official point is difficult/impossible/illegal to get to.  I know there are still a few bugs in the voting buttons, but I'll be working to fix them.  Any issues should be reported here or in [irc://irc.foonetic.net/geohashing #geohashing]. [[User:Zigdon|Zigdon]] 21:24, 8 June 2008 (UTC)
 +
:How are the alternate locations on the irc.peeron.com map defined?  Is there any way to attach additional information to them, like volunteering who is suggesting it, or adding a comment after it's been created? -- [[User:Jevanyn|Jevanyn]] 16:40, 28 August 2008 (UTC)
 +
 
 +
== Display meetups for adjacent graticules ==
 +
Has anyone ever suggested having the official implementation display all the meetups in the eight [[graticules]] adjacent to the one selected? This would be another handy way to easily spot possible alternative meetup spots, especially if the graticule has members concentrated on the edge between two or more graticules (like [[New Orleans, Louisiana|New Orleans]], for example). -- [[User:Histumness|Histumness]]
 +
 
 +
I wrote something (outside of the wiki) to generate wikicode for links to neighbors, and also to "last Saturday", "next saturday" and optionally to other days.
 +
Here is a the asp/vbscript code and a ReadME file: [[NaviCodeGen]] (NAVIgational CODE GENerator)
 +
 
 +
I would be happy if this could become part of the "official implementation"
 +
 
 +
[[User:M5rammy|m5rammy]] 19:32, 30 June 2008 (UTC)
 +
 
 +
:Implemented on [http://gh.eupeodes.nl gh.eupeodes.nl] --[[User:Eupeodes|Eupeodes]] ([[User talk:Eupeodes|talk]]) 01:42, 26 April 2013 (EDT)
 +
 
 +
== Spam ==
 +
 
 +
Isn't it possible to ban an IP address? (I'm new around.) --[[User:Tomtom|Tom]] 13:09, 22 June 2008 (UTC)
 +
: Done. [[User:Zigdon|Zigdon]] 17:44, 22 June 2008 (UTC)
 +
 
 +
Perhaps we should rename the content in this page to something else like "Generators" or something, and abandon this one to the spam bots.  Or lock it down. -[[User:Wmcduff|Wmcduff]] 12:56, 9 August 2008 (UTC)
 +
 
 +
Is it possible to lock out editing by unregistered users? --[[User:Aperfectring|aperfectring]] 15:02, 10 August 2008 (UTC)
 +
 
 +
Someone please block the spammer IPs. Or make this page editable only by registered users. Who can do this? An admin? Where is one? --[[User:Tomtom|Tom]] 18:39, 5 September 2008 (UTC)
 +
 
 +
== propose better Flickr (and/or others) tagging ==
 +
 
 +
When dealing with tagging, it would be good the be able to search for a given graticule.
 +
 
 +
So xkcd could recommend, in addition to the "geohashing" tag, something like "graticule45N8E" (that would by my area ;)
 +
 
 +
-Luca
 +
 
 +
: See [[Talk:Main_Page/Archive_2#Flickr_.28and_other_photo_service.29_standard_tags|earlier discussion]] on this matter.  Standard photoservice tags are: "<code>geohashing</code>"; "<code>geohashing(N|S)##(E|W)###</code>" (with the graticule numbers, not zero-padded); and "<code>geohashingYYYYMMDD</code>" (with the date, zero-padded).  Note that the word "geohashing" is used in all cases.
 +
: For example, a photo from [[40,-79]] on [[2008-06-07]] would receive the tags "<code>geohashing</code>", "<code>geohashingN40W79</code>", and "<code>geohashing20080607</code>".  Of course, the success and utility of this method are dependent on its use by the Geohashing community. Hope this helps!  --[[User:Tjtrumpet2323|Tim P]] 13:51, 25 June 2008 (UTC)
  
:: I've rewritten the script to incorporate some earlier suggestions I made (they were left on the main page's talk page when the implementations were moved) about portability (you seem to have been bitten by the slicing issue I was worried about). However, you will need to have dc installed no matter what.
+
== integrate OSM name finder? ==
  
:: Perhaps all the implementation discussion in Talk:Main_Page and its archives should be moved here? I don't even have an account, so I'll leave it to someone who knows what they're doing. --Decklin
+
How about integrating the OSM name finder integrated in some of the notification services.  
  
== Shell script implementation ==
+
http://gazetteer.openstreetmap.org/namefinder/
  
While it runs on sh, ksh, and bash now, it still doesn't work on OpenBSD. If GNU date (which has the -d option) is not detected, I assume FreeBSD's -v is available; OpenBSD doesn't appear to have a comparable feature. Could someone test on OS X? No idea what's there (pretty sure they ship with wget, though).
+
It gives nearby places for various searches, and has a fairly comprehensible XML API. For example, todays location in my graticule yields:
  
Super brownie points if you can make it fallback to wget *or* fetch in one line so I can delete that stupid usage warning and have it run on FreeBSD out of the box. --Decklin
+
http://gazetteer.openstreetmap.org/namefinder/?find=52.792982%2C+13.119747
 +
:requested location  found about 6km north of suburb Vehlefanz in Oberkrämer, Oberhavel, Brandenburg, Bundesrepublik Deutschland, Europe (which is about 5km south-east of town Kremmen in Oberhavel, Brandenburg, Bundesrepublik Deutschland, Europe and about 40km north of city Potsdam in Potsdam, Brandenburg, Bundesrepublik Deutschland, Europe)
 +
:here's a url for it: http://www.openstreetmap.org/index.html?lat=52.792982&lon=13.119747&zoom=12
  
Could the user at 63.201.144.114 explain what broke? No math is being done in the shell in any case, and nothing added requires the script to be run under GNU bash instead of any POSIX sh. Extra features are nice, if they can only be implemented in the script itself, but that's an entirely separate issue.
+
Searches for other mapped features like "pubs near x,y" and "phone booths near x,y" work just as well. It works best, of course, in areas well-mapped on OpenStreetMap. And if your area is not well-mapped - you know how to use a GPS, right? ;)
  
== iPhone Implementation ==
+
== Link to this page broken with negative value? (Official implementation) ==
 +
 
 +
I wanted to edit my bookmark so that my graticule, (42, -83) was selected for me and I don't need to click every time I view the page (Annoying that set default just sets the default view and nothing more). I clicked on "Link to this Page" and found I was suddenly looking at graticule 42, -84. That's all I wanted to point out. --[[User:MiquelFire|MiquelFire]] 14:01, 30 July 2008 (UTC)
 +
 
 +
== globalhash implementation ==
 +
 
 +
I'm not very good at php programming, but if i could get some help from someone, probably we could make a similar system to [http://www.geohash.info/srv/feed.php http://www.geohash.info/srv/feed.php] for the [[Globalhash|global hash]] coordinates. --[[User:Tomtom|Tom]] 18:35, 5 September 2008 (UTC)
 +
:I should be able to help you some time next week, if no one else volunteers and is faster. -- [[User:Relet|Relet]] 20:24, 5 September 2008 (UTC)
 +
::Thank you. My main problem is the way of getting the coordinate data from an existing page or seed. I think postcalculations will be okay. --[[User:Tomtom|Tom]] 20:39, 5 September 2008 (UTC)
 +
 
 +
== irc.peeron map not working ==
 +
 
 +
I've been having trouble for the past week or so - going to http://irc.peeron.com/xkcd/map/map.html?lat=37&long=-122&zoom=9&abs=-1 gets me an unmarked map centered on Boston.  Until about mid-December, the URL above got me a map with the location in the [[San Francisco, California|San Francisco]] graticule. What's up, and can it be fixed?  [[User:Anthony|Anthony]] 19:06, 22 December 2008 (UTC)
 +
 
 +
:Navigate to San Francisco and hit the "Set Default" button.  Make sure you allow th site to save cookies. -[[User:Robyn|Robyn]] 23:37, 22 December 2008 (UTC)
 +
 
 +
:It's a known issue. It will reognise the default location set in the cookie, but not lat/long attributes in the URL. zig is looking into it. --[[User:Joannac|joannac]] 23:43, 22 December 2008 (UTC)
 +
 
 +
::Odd, I've been moving around and setting different defaults all month and haven't had any trouble. -[[User:Robyn|Robyn]] 23:59, 22 December 2008 (UTC)
 +
 
 +
:::Hmm, I also have been having trouble with it, as my default location has not automatically shown the point, but hitting the 'update' button fixes the problem, Regards, Tedd. [[User:UnwiseOwl|UnwiseOwl]] 00:40, 23 December 2008 (UTC)
 +
 
 +
::It certainly makes it harder to point out locations to other people - the [[Sacramento, California|Sacramento]] geohash [[2008-12-30|today]] is right downtown, but I can't easily put a link in my blog to show that anymore. [[User:Anthony|Anthony]] 15:15, 30 December 2008 (UTC)
 +
:::For the time being, you could just put a standard google map link to your blog. A link like http://maps.google.com/maps?q=48.025193,8.297793 (with the appropriate coordinates) will do. --[[User:Ekorren|Ekorren]] 15:23, 30 December 2008 (UTC)
 +
 
 +
== January 1st bug at irc.peeron.com ? ==
 +
 
 +
The market is closed tomorrow, so in theory, tomorrow's geohash locations are knowable.  But the map at http://irc.peeron.com/xkcd/map/map.html says '''Market data is not available for 2009-01-01'''.  It's not a huge thing, but it would be nice to be able to plan tomorrow's geohash today.  [[User:Anthony|Anthony]] 17:00, 31 December 2008 (UTC)
 +
:Usually peeron is quite reliable, we can only hope it will be fixed - or wait until it doesn't matter anymore. [[User:Ekorren/Hash_Inquiry_Tool|My own tool]] got a quick fix so you can look up the coordinates there, if you want. --[[User:Ekorren|Ekorren]] 17:28, 31 December 2008 (UTC)
 +
::Checking back, it's working now.  If my flight were any earlier, I might try to make one of the Iowa geohashes tomorrow, but alas, it is not to be. [[User:Anthony|Anthony]] 22:59, 31 December 2008 (UTC)
 +
 
 +
== The weekend of June 5-8 ==
 +
 
 +
Does anybody know why peeron isn't putting up this weekend's points, even an hour and a quarter after the Dow opened?
 +
:Nope. Are other implementations delivering the goods? -[[User:Robyn|Robyn]] 14:56, 5 June 2009 (UTC)
 +
::It's still rather delayed - it's been at least an hour late yesterday and today, too. [[User:Anthony|Anthony]] 14:25, 9 June 2009 (UTC)
 +
:::It's 11:46 AM EDT, and irc.peeron.com still has no market data.  The <nowiki>{{graticule}}</nowiki> template shows one set of coordinates, and <code>tjum.anthill.de</code> shows another.  I verified the opening Dow used by <code>anthill</code>, but I still don't know which ones are correct. -- [[User:Jevanyn|Jevanyn]] 15:54, 9 June 2009 (UTC)
 +
 
 +
== Israel on the peeron map ==
 +
The disappearance of Israel's internal roads from the peeron map some weeks ago was weird enough. But a few days ago even some of the BORDERS of Israel disappeared (specifically the Gaza, West Bank, and Syrian borders). What's going on here? Google Maps still looks perfectly fine. [[User:Yerushalmi|Yerushalmi]] 11:43, 13 July 2009 (UTC)
 +
:That's [[User:Zigdon|Zigdon's]] app but I doubt he's done anything to it, so Google must have changed the way they represent the data, perhaps in preparation for more choice in data displayed. Maybe there's something Zigdon has to update. -[[User:Robyn|Robyn]] 15:06, 13 July 2009 (UTC)
 +
 
 +
== Geohash for iPhone is not W30 compliant ==
 +
I have emailed Casey about this, but I have had no reply.  I use this app and like it, but I'm East of W30 (UK) and, contrary to the statement on this page, the W30 implementation appears only to "half work".  It has problems at weekends.  Does anyone know whether Casey is still around? --[[User:Macronencer|macronencer]] 11:14, 21 July 2009 (UTC)
 +
<br/>Update: I found Casey on Facebook, and my emails had gone into his junk folder.  I'm now talking to him about the problem --[[User:Macronencer|macronencer]] 16:07, 23 July 2009 (UTC)
 +
<br/>Good news: Casey sent me a fixed version to test and it seems to work perfectly!  Expect more news soon --[[User:Macronencer|macronencer]] 14:16, 2 August 2009 (UTC)
 +
 
 +
== Problems installing Geo::Hashing ==
 +
 
 +
Installing on Windows XP, Perl 5.10.0
 +
Most of the tests are failing, e.g.:
 +
#  Failed test 'Correct dlat returned'
 +
#  at t/Geo-Hashing.t line 19.
 +
#          got: '0'
 +
#    expected: '12664801'
 +
Use of uninitialized value $_[0] in multiplication (*) at t/Geo-Hashing.t line 59.
 +
...
 +
t/Geo-Hashing....ok 21/27# Looks like you failed 13 tests of 27.
 +
 
 +
Any ideas what I've done wrong? I downloaded the .gz, unpacked it, ran these commands:
 +
perl Makefile.PL
 +
nmake install
 +
nmake test
  
Last night I finished a rough implementation of this to the iPhone 2.0 Beta SDK.  Right now it uses your current location and date and then does the math, then gives you a map with the destination address along with directions to there from where you are at.  This will be even more useful if the next 3G iPhone come with GPS, until then it uses it's less accurate cellular and wifi location tools to locate you.  I plan on adding a way to select your date and your desired graticule as well.  Eventually I'll also investigate filtering of the results in watery areas.  I can't distribute it currently, but as soon as I can I'll make it available.
+
The install seemed to go OK. [[User:PhilHibbs|PhilHibbs]] 17:47, 28 January 2010 (UTC)
-- [[User:Shakedown | Shakedown]]
 
  
== Atom feed 30W-compliance ==
+
== A looong page. ==
  
I just added the atom feed and it seems to be 30W-compliant
+
Any ideas how to tidy it up? Maybe a sub-page per implementation? -- [[User:relet|relet]] 12:07, 29 May 2010 (UTC)
: After some thought, I suppose it would be ''somewhat'' compliant.  However, in some cases it's '''too''' compliant, or compliant in the wrong ways.  After 00:00 local time, it automatically switches to the next day, but keeps the old [[Dow]] value and rehashes.  East of 30W that behavior is desired, since you want to use the previous day's Dow anyway.  West of 30W, however, it means we get an "intermediate" hash that's invalid for us.  '''This much has always been a problem with the implementation.'''  Then, sometime after 09:30 [[ET]] (I don't know precisely when), it detects the new Dow value and updates the hash... but it does it both west of 30W where it is needed, and east of 30W where it is undesired.  In that case, you would get some other "intermediate" using the current Dow with the current day, which isn't what you want.  '''That's a new problem the [[30W]] Rule created.
+
:For some reason, i thought you said "a looming page" ... i was like, "What? Where?! How ominous!" -- [[User:Sermoa|sermoa]] 12:12, 29 May 2010 (UTC)
: '''In summary,''' it seems to produce invalid hashes between 00:00 (local) and ~09:30 EDT (UTC-4) west of 30W, and between ~09:30 EDT (UTC-4) and 24:00 (local) east of 30W.  That is, it's invalid from 00:00-~06:30 in US Pacific Daylight Time (UTC-7), from ~14:30-24:00 British Summer Time (UTC+1) or from ~21:30-24:00 Australia Western Standard Time (UTC+8).  I'm not even sure I know what would happen with the feed in New Zealand, where 09:30 USEDT = 01:30 NZST the next day.  It'll be even worse come late October/early November, when Australia/NZ switch into DSTand the US switch out... the gap will become 2 hours wider over a couple weeks' time.  And of course, these problems are mitigated over weekends, when you have several identical Dow values in a row.  Someone should check this out before the weekend, as I'll be busy until Friday 17:00 UTC. If anyone does, and has thoughts, hit me up on my talk page.
+
:I, too, thought it said "looming," but that;s beside the point. Perhaps we could sort the different implementations, maybe by 30W compliance, or programming language, or other stuff. Also, we could remove implementations that no longer work and put them in a "defunct implementations" page. just a thought. -- mnm7198
: Sincerely, your friendly <s>local</s> (global?) 30W-compliance "expert"... --[[User:Tjtrumpet2323|Tim P]] 15:34, 29 May 2008 (UTC)
 
  
== Mapping tool appears borken (5/25/2008) ==
+
== Java...? ==
  
My test case:
+
I know that a lot of people hate java for some reason, but I've built a java version of a geohashing calculator. Want me to post it?--[[Special:Contributions/208.102.35.1|208.102.35.1]] 15:57, 1 July 2010 (UTC)
* Go to [http://xkcd.com/geohashing Mapping tool].
 
* Zoom out a few, to see the US West coast.
 
* Center-up on Santa Cruz (if you don't know where that is, use San Francisco.)
 
* Zoom in a few, to get a nice view.
 
* Press UPDATE button. (Btw, I'm on Safari, on Mac OS-X/Leopard-latest.)
 
  
EXPECTED: A map-pin and coordinates that you can review.
+
== No-input required Mathematica 7.0 Implementation ==
ACTUAL: Pin & coordinates flash for a brief moment, then map recenters on Boston, with information gone.
 
  
NOTE: Things all worked fine yesterday and the day before (5/23-24.)
+
I know the page is huge, but I think a Mathematica implementation has some significant advantages and is worth posting here. I've written up the code; it's quite concise, and requires no user input. It can grab the Dow Jones quote automatically, along with the date and the user's location (based on IP address.) Mathematica also doesn't have to be compiled, so it will run identically for anybody using the newest version of Mathematica.
  
Aside: Is there a "bug reporting system", or is this it?  :)
+
[[Special:Contributions/131.104.247.94|131.104.247.94]] 01:49, 6 October 2010 (UTC)
  
Thanks!
+
== Algorithm is b0rked ==
[[User:Ted|Ted]] 18:55, 25 May 2008 (UTC)
 
  
: I can't seem to reproduce this in FF or Safari on OSX 10.4.11. Does safari have a javascript error console where it might be logging the error? [[User:Zigdon|Zigdon]] 19:10, 25 May 2008 (UTC)
+
I wonder why one ever chose this geohashing algorithm, besides for its simplicity.
  
: As far as bug reporting, this is one way, a better was is to come into IRC and talk to me there. Go to http://mibbit.com, select "foonetic" from the pulldown server, and #geohashing for the channel. [[User:Zigdon|Zigdon]] 19:10, 25 May 2008 (UTC)
+
I see the following problems:
 +
* The locations are not equally distributed, because FFFFFFFFFFFFFFFF is 18446744073709551615, giving us only places starting with 0 or 1 behind the decimal point. If you ignore leading zeros (which is not clear from the picture), you will have much more 1's than any other digit in the first place.
 +
::[[The_Algorithm#Randomness]] -- [[User:relet|relet]] 13:10, 24 March 2012 (EDT)
 +
* The place only changes during stock exchange trading hours. E.g. people in Europe starting in the morning will therefore all get the same number, no matter when exactly they start. On weekends, the place never changes.
 +
::Wrong.-- [[User:relet|relet]] 13:10, 24 March 2012 (EDT)
 +
* All people in an area get the same destination. Especially after trading hours.
 +
::That's the point. Otherwise why bother with the DJIA at all. -- [[User:relet|relet]] 13:10, 24 March 2012 (EDT)
 +
If somebody is interested, I (and probably everybody else here) can write a new algorithm which avoids these small problems... Now? --[[User:Yokel|Yokel]] 21:23, 23 March 2012 (EDT)
  
== Is it just me, or is the shell script borked? ==
+
: It's not 16rFFFFFFFFFFFFFFFF, it's 16r0.FFFFFFFFFFFFFFFF, which is 0.99999999999999999994578989137572477829962735995650291442871093750. The location ''never'' changes during stock exchange hours, it is taken from the opening value. -- [[User:Phyzome|Phyzome]] 08:49, 6 April 2012 (EDT)
  
Shell script bombs out for me in two places :(
+
== New structure ==
  
This:
+
I updated the structure of this site. I hope it is more readable. Your complai^Wsuggestions are welcome! -- [[User:relet|relet]] 06:55, 10 April 2012 (EDT)
<pre>[[ "$DOW" != +([0-9.]) ]] </pre>
+
:What's the motivation for keeping all of the implementations on one page? Wouldn't it be better to let the implementations have their own pages so that they could have their own discussion pages? - [[User:Scerruti|Stephen Cerruti]] 00:03, 10 May 2012 (EDT)
Was always returning true, so exiting the script with a "DOW not available yet.". I replaced that with
 
<pre>[[ -z "$DOW" ]]</pre>
 
to get past it.
 
  
then it falls over elsewhere with:
+
:It makes them easier to look over. There isn't that much discussion, anyway. We could archive the discussions from 2008 without any problems I suspect. [[User:Jiml|Jiml]] 01:27, 10 May 2012 (EDT)
<pre>./geo.sh:1: unrecognized modifier `0'
 
./geo.sh:1: unrecognized modifier `1'
 
,</pre>
 
For reference, the script reads:
 
<pre>#!/bin/zsh
 
DOW=$(wget -qO- http://irc.peeron.com/xkcd/map/data/$(date +%Y/%m/%d))
 
[[ "$DOW" != +([0-9.]) ]] && echo "DOW not available yet." && exit 1
 
MD5=$(echo -n "$(date -dW30 +%Y-%m-%d)-$DOW"|md5sum|cut -d' ' -f 1|tr a-f A-F)
 
echo "$1$(echo 10k16i0.${MD5:0:16}p|dc), $2$(echo 10k16i0.${MD5:16}p|dc)"</pre>
 
  
does it work for other people?
+
:The more verbose ones actually have their own page, and are just mentioned or included here. It's always an option. -- [[User:relet|relet]] 04:36, 14 June 2012 (EDT)
  
And by the way, is the date modifying in the right place? Shouldn't it retrieve yesterday's dow and caculate with today's date in 30W cases - rather than retrieving today's dow and using yesterday's date for the hash?
+
== Windows Phone 8 Implementation ==
  
I've so far worked out that it's failing on the line:
+
I'm currently working on [https://github.com/lucaswerkmeister/wp_geohashing an implementation for Windows Phone 8]. It's open source, so you can contribute!
<pre>echo "$1$(echo 10k16i0.${MD5:0:16}p|dc), $2$(echo 10k16i0.${MD5:16}p|dc)"</pre>
 
  
Better yet, I've further narrowed it further. The parts my system doesn't like are:
+
Current features:
<pre>echo "$1$(echo 10k16i0.${MD5:0:16}p|dc), $2$(echo 10k16i0.${MD5:16}p|dc)"
+
* On startup, your location and the according Geohash is loaded.
                            ^ ^^  ^^                          ^^  ^^  </pre>
+
* You can also change the graticule by tapping and holding anywhere on the map, and choosing "Use this graticule" on the context menu.
 +
I know it's not much, but I only started yesterday :) If you have any feature requests or any other comments, please tell me. --[[User:Lucwerk|Lucwerk]] ([[User talk:Lucwerk|talk]]) 14:19, 25 March 2013 (EDT)
  
It doesn't understand the numbers and it reports "command not found" for "dc"
+
== carabiner not allowing "submit this location" ==
 +
Selected today's point, dragged the red flag to create a green one, clicked on it and tried to click "submit this location" - no response. Expected to see it submitted, and the status area at the bottom showing both points. --[[User:Thomcat|Thomcat]] ([[User talk:Thomcat|talk]]) 19:59, 27 September 2013 (EDT)
  
--[[User:Polysylabic Pseudonym|Psud]] 08:49, 26 May 2008 (UTC)
+
==  carabiner.peeron.com is not working ==
  
== The Perl reference implementation ==
+
carabiner.peeron.com is no longer working ("Firefox can't establish a connection to the server at carabiner.peeron.com.") [[User:mkoniecz|mkoniecz]] ([[User talk:mkoniecz|talk]]) 15:25, 11 March 2014 (EDT)
  
I've been playing with the Perl reference implementation, and as I'm in Australia, I found it annoying to deal with its poor 30W capability. So I "fixed" it. Perhaps.
+
It's back up but the highly valued (by me) ability to view satellite images is missing. [[User:Sourcerer|Sourcerer]] ([[User talk:Sourcerer|talk]]) 12:05, 13 March 2014 (EDT)
  
: &lt;snip&gt; I updated the sample.pl to have a '-e' flag. If you run it with it, it will report the values according to the 30W rule:
+
== carabiner.peeron.com - erroneous dates between DSTs ==
 +
Apparently the dates between the US DST and the European DST have incorrect coordinates on the Peeron site. The expedition map inset relies on these coordinates. Suspect we will have a similar problem next spring. One example: [[2015-03-24 47 -122]] shows coordinates 47.3471785, -122.9093704 but instead should be 47.80686212, -122.35667391. The linked [http://carabiner.peeron.com/xkcd/map/map.html?date=2015-03-24 peeron] map shows the error message "Market data is not available for 2015-03-24". --[[User:Thomcat|Thomcat]] ([[User talk:Thomcat|talk]]) 23:28, 14 April 2015 (EDT)
 +
:I just ran a test for all 2015 values. I'll post a note on [[User_talk:Zigdon|Zigdon's talk page]]. --[[User:Crox|Crox]] ([[User talk:Crox|talk]]) 15:22, 16 April 2015 (EDT)
  
<pre>
+
== carabiner.peeron.com - Text hides controls ==
$ ./sample.pl 2/1/08
+
Please could we have a tweak. In both IE and Chrome and perhaps other browsers, there is banner text at the top of the map that hides the buttons that switch between map and satellite view. Could this text be moved into the box, bottom left or perhaps altered not to fill the whole screen width. Thanks. --[[User:Sourcerer|Sourcerer]] ([[User talk:Sourcerer|talk]]) 05:36, 8 June 2015 (EDT)
Downloading DJIA from google: http://finance.google.com/finance/historical?cid=983582&startdate=Jan+25,+2008&enddate=Feb+01,+2008
+
:On my droid, using chrome, I can't zoom out because the text, bottom left, hides the minus button. --[[User:Sourcerer|Sourcerer]] ([[User talk:Sourcerer|talk]]) 03:56, 11 June 2015 (EDT)
DJIA opening for 2008-02-01 is 12638.17
 
Date: 2008-02-01, DJIA: 12638.17
 
MD5(2008-02-01-12638.17): 917a4419e1345e42569bad9fa5ef5a17
 
Split: 917a4419e1345e42, 569bad9fa5ef5a17
 
Fractions: 0.5682718814070582, 0.3383129610792229
 
</pre>
 
  
<pre>
+
== geohashing.info – Bing layers not working since November 5, 2024 ==
$ ./sample.pl -e 2/1/08
 
Adjusting for 30W
 
Downloading DJIA from google: http://finance.google.com/finance/historical?cid=983582&startdate=Jan+24,+2008&enddate=Jan+31,+2008
 
DJIA opening for 2008-01-31 is 12438.28
 
Date: 2008-02-01, DJIA: 12438.28
 
MD5(2008-02-01-12438.28): ec6464f6d4d0da51c0c8fe874be8601c
 
Split: ec6464f6d4d0da51, c0c8fe874be8601c
 
Fractions: 0.9234068968406207, 0.7530669288934475
 
</pre>
 
  
[[User:Zigdon|Zigdon]] 21:36, 26 May 2008 (UTC)
+
Since yesterday, when I switch the map layer on https://geohashing.info/ from OpenStreetMap to either of the Bing layers, nothing loads (white background). Looking at the browser console and network request, not a single HTTP request is being sent to Microsoft servers and there are also no errors occurring at all.
  
::Thanks --[[User:Polysylabic Pseudonym|Psud]] 10:58, 27 May 2008 (UTC)
+
Does someone have an explanation for this? — [[User:Green guy!|Green guy!]] ([[User talk:Green guy!|talk]]) 10:55, 6 November 2024 (UTC)

Latest revision as of 10:55, 6 November 2024

Archive.pngTopics on this page which have clearly been handled or resolved can be found in the archives.
When archiving a section of this Talk page, please say so in the edit summary here.

Page Length

The page is exceeding the length some browsers can handle. Are there any problems with taking the individual implementations that include code and giving them their own pages, simply linked from here? I'll do it, I'm just checking that there is no objection from the implementation maintaininers.

iPhone Implementation

Last night I finished a rough implementation of this to the iPhone 2.0 Beta SDK. Right now it uses your current location and date and then does the math, then gives you a map with the destination address along with directions to there from where you are at. This will be even more useful if the next 3G iPhone come with GPS, until then it uses it's less accurate cellular and wifi location tools to locate you. I plan on adding a way to select your date and your desired graticule as well. Eventually I'll also investigate filtering of the results in watery areas. I can't distribute it currently, but as soon as I can I'll make it available. -- Shakedown

Android

Will there ever be a G1 / Android version of this sort? It seems like it shouldn't be too hard with the included GPS, but I have no idea how to write something like that.

Seriously needed! geeks, please give us an android version, even if it just calculates the set of coordinates. We *got* cut and paste ;) pownd! BB

While waiting for a shiny version the tiny generator looks best suited. Use with dynamic maps and marble at the wonder.


* OK, I have version 0.1. Check it out at http://geoandhash.shmoula.cz/ --Shmoula 14:23, 24 March 2009 (UTC)
There's also one called Geohash Droid which I find to be excellent -- NorseMark 21:23, 16 June 2009 (UTC)

Suggested alternatives support added to the official implementation

I just added (with User:Cwolves doing most of the work) support for suggesting alternative meeting points, if the official point is difficult/impossible/illegal to get to. I know there are still a few bugs in the voting buttons, but I'll be working to fix them. Any issues should be reported here or in #geohashing. Zigdon 21:24, 8 June 2008 (UTC)

How are the alternate locations on the irc.peeron.com map defined? Is there any way to attach additional information to them, like volunteering who is suggesting it, or adding a comment after it's been created? -- Jevanyn 16:40, 28 August 2008 (UTC)

Display meetups for adjacent graticules

Has anyone ever suggested having the official implementation display all the meetups in the eight graticules adjacent to the one selected? This would be another handy way to easily spot possible alternative meetup spots, especially if the graticule has members concentrated on the edge between two or more graticules (like New Orleans, for example). -- Histumness

I wrote something (outside of the wiki) to generate wikicode for links to neighbors, and also to "last Saturday", "next saturday" and optionally to other days. Here is a the asp/vbscript code and a ReadME file: NaviCodeGen (NAVIgational CODE GENerator)

I would be happy if this could become part of the "official implementation"

m5rammy 19:32, 30 June 2008 (UTC)

Implemented on gh.eupeodes.nl --Eupeodes (talk) 01:42, 26 April 2013 (EDT)

Spam

Isn't it possible to ban an IP address? (I'm new around.) --Tom 13:09, 22 June 2008 (UTC)

Done. Zigdon 17:44, 22 June 2008 (UTC)

Perhaps we should rename the content in this page to something else like "Generators" or something, and abandon this one to the spam bots. Or lock it down. -Wmcduff 12:56, 9 August 2008 (UTC)

Is it possible to lock out editing by unregistered users? --aperfectring 15:02, 10 August 2008 (UTC)

Someone please block the spammer IPs. Or make this page editable only by registered users. Who can do this? An admin? Where is one? --Tom 18:39, 5 September 2008 (UTC)

propose better Flickr (and/or others) tagging

When dealing with tagging, it would be good the be able to search for a given graticule.

So xkcd could recommend, in addition to the "geohashing" tag, something like "graticule45N8E" (that would by my area ;)

-Luca

See earlier discussion on this matter. Standard photoservice tags are: "geohashing"; "geohashing(N|S)##(E|W)###" (with the graticule numbers, not zero-padded); and "geohashingYYYYMMDD" (with the date, zero-padded). Note that the word "geohashing" is used in all cases.
For example, a photo from 40,-79 on 2008-06-07 would receive the tags "geohashing", "geohashingN40W79", and "geohashing20080607". Of course, the success and utility of this method are dependent on its use by the Geohashing community. Hope this helps! --Tim P 13:51, 25 June 2008 (UTC)

integrate OSM name finder?

How about integrating the OSM name finder integrated in some of the notification services.

http://gazetteer.openstreetmap.org/namefinder/

It gives nearby places for various searches, and has a fairly comprehensible XML API. For example, todays location in my graticule yields:

http://gazetteer.openstreetmap.org/namefinder/?find=52.792982%2C+13.119747

requested location found about 6km north of suburb Vehlefanz in Oberkrämer, Oberhavel, Brandenburg, Bundesrepublik Deutschland, Europe (which is about 5km south-east of town Kremmen in Oberhavel, Brandenburg, Bundesrepublik Deutschland, Europe and about 40km north of city Potsdam in Potsdam, Brandenburg, Bundesrepublik Deutschland, Europe)
here's a url for it: http://www.openstreetmap.org/index.html?lat=52.792982&lon=13.119747&zoom=12

Searches for other mapped features like "pubs near x,y" and "phone booths near x,y" work just as well. It works best, of course, in areas well-mapped on OpenStreetMap. And if your area is not well-mapped - you know how to use a GPS, right? ;)

Link to this page broken with negative value? (Official implementation)

I wanted to edit my bookmark so that my graticule, (42, -83) was selected for me and I don't need to click every time I view the page (Annoying that set default just sets the default view and nothing more). I clicked on "Link to this Page" and found I was suddenly looking at graticule 42, -84. That's all I wanted to point out. --MiquelFire 14:01, 30 July 2008 (UTC)

globalhash implementation

I'm not very good at php programming, but if i could get some help from someone, probably we could make a similar system to http://www.geohash.info/srv/feed.php for the global hash coordinates. --Tom 18:35, 5 September 2008 (UTC)

I should be able to help you some time next week, if no one else volunteers and is faster. -- Relet 20:24, 5 September 2008 (UTC)
Thank you. My main problem is the way of getting the coordinate data from an existing page or seed. I think postcalculations will be okay. --Tom 20:39, 5 September 2008 (UTC)

irc.peeron map not working

I've been having trouble for the past week or so - going to http://irc.peeron.com/xkcd/map/map.html?lat=37&long=-122&zoom=9&abs=-1 gets me an unmarked map centered on Boston. Until about mid-December, the URL above got me a map with the location in the San Francisco graticule. What's up, and can it be fixed? Anthony 19:06, 22 December 2008 (UTC)

Navigate to San Francisco and hit the "Set Default" button. Make sure you allow th site to save cookies. -Robyn 23:37, 22 December 2008 (UTC)
It's a known issue. It will reognise the default location set in the cookie, but not lat/long attributes in the URL. zig is looking into it. --joannac 23:43, 22 December 2008 (UTC)
Odd, I've been moving around and setting different defaults all month and haven't had any trouble. -Robyn 23:59, 22 December 2008 (UTC)
Hmm, I also have been having trouble with it, as my default location has not automatically shown the point, but hitting the 'update' button fixes the problem, Regards, Tedd. UnwiseOwl 00:40, 23 December 2008 (UTC)
It certainly makes it harder to point out locations to other people - the Sacramento geohash today is right downtown, but I can't easily put a link in my blog to show that anymore. Anthony 15:15, 30 December 2008 (UTC)
For the time being, you could just put a standard google map link to your blog. A link like http://maps.google.com/maps?q=48.025193,8.297793 (with the appropriate coordinates) will do. --Ekorren 15:23, 30 December 2008 (UTC)

January 1st bug at irc.peeron.com ?

The market is closed tomorrow, so in theory, tomorrow's geohash locations are knowable. But the map at http://irc.peeron.com/xkcd/map/map.html says Market data is not available for 2009-01-01. It's not a huge thing, but it would be nice to be able to plan tomorrow's geohash today. Anthony 17:00, 31 December 2008 (UTC)

Usually peeron is quite reliable, we can only hope it will be fixed - or wait until it doesn't matter anymore. My own tool got a quick fix so you can look up the coordinates there, if you want. --Ekorren 17:28, 31 December 2008 (UTC)
Checking back, it's working now. If my flight were any earlier, I might try to make one of the Iowa geohashes tomorrow, but alas, it is not to be. Anthony 22:59, 31 December 2008 (UTC)

The weekend of June 5-8

Does anybody know why peeron isn't putting up this weekend's points, even an hour and a quarter after the Dow opened?

Nope. Are other implementations delivering the goods? -Robyn 14:56, 5 June 2009 (UTC)
It's still rather delayed - it's been at least an hour late yesterday and today, too. Anthony 14:25, 9 June 2009 (UTC)
It's 11:46 AM EDT, and irc.peeron.com still has no market data. The {{graticule}} template shows one set of coordinates, and tjum.anthill.de shows another. I verified the opening Dow used by anthill, but I still don't know which ones are correct. -- Jevanyn 15:54, 9 June 2009 (UTC)

Israel on the peeron map

The disappearance of Israel's internal roads from the peeron map some weeks ago was weird enough. But a few days ago even some of the BORDERS of Israel disappeared (specifically the Gaza, West Bank, and Syrian borders). What's going on here? Google Maps still looks perfectly fine. Yerushalmi 11:43, 13 July 2009 (UTC)

That's Zigdon's app but I doubt he's done anything to it, so Google must have changed the way they represent the data, perhaps in preparation for more choice in data displayed. Maybe there's something Zigdon has to update. -Robyn 15:06, 13 July 2009 (UTC)

Geohash for iPhone is not W30 compliant

I have emailed Casey about this, but I have had no reply. I use this app and like it, but I'm East of W30 (UK) and, contrary to the statement on this page, the W30 implementation appears only to "half work". It has problems at weekends. Does anyone know whether Casey is still around? --macronencer 11:14, 21 July 2009 (UTC)
Update: I found Casey on Facebook, and my emails had gone into his junk folder. I'm now talking to him about the problem --macronencer 16:07, 23 July 2009 (UTC)
Good news: Casey sent me a fixed version to test and it seems to work perfectly! Expect more news soon --macronencer 14:16, 2 August 2009 (UTC)

Problems installing Geo::Hashing

Installing on Windows XP, Perl 5.10.0 Most of the tests are failing, e.g.:

#   Failed test 'Correct dlat returned'
#   at t/Geo-Hashing.t line 19.
#          got: '0'
#     expected: '12664801'
Use of uninitialized value $_[0] in multiplication (*) at t/Geo-Hashing.t line 59.
...
t/Geo-Hashing....ok 21/27# Looks like you failed 13 tests of 27.

Any ideas what I've done wrong? I downloaded the .gz, unpacked it, ran these commands:

perl Makefile.PL
nmake install
nmake test

The install seemed to go OK. PhilHibbs 17:47, 28 January 2010 (UTC)

A looong page.

Any ideas how to tidy it up? Maybe a sub-page per implementation? -- relet 12:07, 29 May 2010 (UTC)

For some reason, i thought you said "a looming page" ... i was like, "What? Where?! How ominous!" -- sermoa 12:12, 29 May 2010 (UTC)
I, too, thought it said "looming," but that;s beside the point. Perhaps we could sort the different implementations, maybe by 30W compliance, or programming language, or other stuff. Also, we could remove implementations that no longer work and put them in a "defunct implementations" page. just a thought. -- mnm7198

Java...?

I know that a lot of people hate java for some reason, but I've built a java version of a geohashing calculator. Want me to post it?--208.102.35.1 15:57, 1 July 2010 (UTC)

No-input required Mathematica 7.0 Implementation

I know the page is huge, but I think a Mathematica implementation has some significant advantages and is worth posting here. I've written up the code; it's quite concise, and requires no user input. It can grab the Dow Jones quote automatically, along with the date and the user's location (based on IP address.) Mathematica also doesn't have to be compiled, so it will run identically for anybody using the newest version of Mathematica.

131.104.247.94 01:49, 6 October 2010 (UTC)

Algorithm is b0rked

I wonder why one ever chose this geohashing algorithm, besides for its simplicity.

I see the following problems:

  • The locations are not equally distributed, because FFFFFFFFFFFFFFFF is 18446744073709551615, giving us only places starting with 0 or 1 behind the decimal point. If you ignore leading zeros (which is not clear from the picture), you will have much more 1's than any other digit in the first place.
The_Algorithm#Randomness -- relet 13:10, 24 March 2012 (EDT)
  • The place only changes during stock exchange trading hours. E.g. people in Europe starting in the morning will therefore all get the same number, no matter when exactly they start. On weekends, the place never changes.
Wrong.-- relet 13:10, 24 March 2012 (EDT)
  • All people in an area get the same destination. Especially after trading hours.
That's the point. Otherwise why bother with the DJIA at all. -- relet 13:10, 24 March 2012 (EDT)

If somebody is interested, I (and probably everybody else here) can write a new algorithm which avoids these small problems... Now? --Yokel 21:23, 23 March 2012 (EDT)

It's not 16rFFFFFFFFFFFFFFFF, it's 16r0.FFFFFFFFFFFFFFFF, which is 0.99999999999999999994578989137572477829962735995650291442871093750. The location never changes during stock exchange hours, it is taken from the opening value. -- Phyzome 08:49, 6 April 2012 (EDT)

New structure

I updated the structure of this site. I hope it is more readable. Your complai^Wsuggestions are welcome! -- relet 06:55, 10 April 2012 (EDT)

What's the motivation for keeping all of the implementations on one page? Wouldn't it be better to let the implementations have their own pages so that they could have their own discussion pages? - Stephen Cerruti 00:03, 10 May 2012 (EDT)
It makes them easier to look over. There isn't that much discussion, anyway. We could archive the discussions from 2008 without any problems I suspect. Jiml 01:27, 10 May 2012 (EDT)
The more verbose ones actually have their own page, and are just mentioned or included here. It's always an option. -- relet 04:36, 14 June 2012 (EDT)

Windows Phone 8 Implementation

I'm currently working on an implementation for Windows Phone 8. It's open source, so you can contribute!

Current features:

  • On startup, your location and the according Geohash is loaded.
  • You can also change the graticule by tapping and holding anywhere on the map, and choosing "Use this graticule" on the context menu.

I know it's not much, but I only started yesterday :) If you have any feature requests or any other comments, please tell me. --Lucwerk (talk) 14:19, 25 March 2013 (EDT)

carabiner not allowing "submit this location"

Selected today's point, dragged the red flag to create a green one, clicked on it and tried to click "submit this location" - no response. Expected to see it submitted, and the status area at the bottom showing both points. --Thomcat (talk) 19:59, 27 September 2013 (EDT)

carabiner.peeron.com is not working

carabiner.peeron.com is no longer working ("Firefox can't establish a connection to the server at carabiner.peeron.com.") mkoniecz (talk) 15:25, 11 March 2014 (EDT)

It's back up but the highly valued (by me) ability to view satellite images is missing. Sourcerer (talk) 12:05, 13 March 2014 (EDT)

carabiner.peeron.com - erroneous dates between DSTs

Apparently the dates between the US DST and the European DST have incorrect coordinates on the Peeron site. The expedition map inset relies on these coordinates. Suspect we will have a similar problem next spring. One example: 2015-03-24 47 -122 shows coordinates 47.3471785, -122.9093704 but instead should be 47.80686212, -122.35667391. The linked peeron map shows the error message "Market data is not available for 2015-03-24". --Thomcat (talk) 23:28, 14 April 2015 (EDT)

I just ran a test for all 2015 values. I'll post a note on Zigdon's talk page. --Crox (talk) 15:22, 16 April 2015 (EDT)

carabiner.peeron.com - Text hides controls

Please could we have a tweak. In both IE and Chrome and perhaps other browsers, there is banner text at the top of the map that hides the buttons that switch between map and satellite view. Could this text be moved into the box, bottom left or perhaps altered not to fill the whole screen width. Thanks. --Sourcerer (talk) 05:36, 8 June 2015 (EDT)

On my droid, using chrome, I can't zoom out because the text, bottom left, hides the minus button. --Sourcerer (talk) 03:56, 11 June 2015 (EDT)

geohashing.info – Bing layers not working since November 5, 2024

Since yesterday, when I switch the map layer on https://geohashing.info/ from OpenStreetMap to either of the Bing layers, nothing loads (white background). Looking at the browser console and network request, not a single HTTP request is being sent to Microsoft servers and there are also no errors occurring at all.

Does someone have an explanation for this? — Green guy! (talk) 10:55, 6 November 2024 (UTC)