Difference between revisions of "Talk:Implementations"

From Geohashing
imported>Zigdon
(Wrong market data for June 2008 in locations east of -30°)
(geohashing.info – Bing layers not working since November 5, 2024: new section)
 
(106 intermediate revisions by 45 users not shown)
Line 1: Line 1:
 
{{talk archive notice|currentpage=1}}
 
{{talk archive notice|currentpage=1}}
== Atom feed 30W-compliance ==
+
==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.
  
I just added the atom feed and it seems to be 30W-compliant
+
== iPhone Implementation ==
: 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.
+
 
: '''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 dayIt'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 rowSomeone should check this out before the weekend, as I'll be busy until Friday 19:00 UTC.  If anyone does, and has thoughts, hit me up on my talk page.
+
Last night I finished a rough implementation of this to the iPhone 2.0 Beta SDKRight 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 atThis 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 wellEventually I'll also investigate filtering of the results in watery areasI can't distribute it currently, but as soon as I can I'll make it available.
: Sincerely, your friendly <s>local</s> (global?) 30W-compliance "expert"... --[[User:Tjtrumpet2323|Tim P]] 15:34, 29 May 2008 (UTC)
+
-- [[User:Shakedown | Shakedown]]
:: I have just updated the feed so it should be 30W compliant. Let me know if it's still a problem. --[[User:Xxv|Xxv]] 18:03, 30 May 2008 (UTC)
+
 
 +
== 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)
  
== Python-CGI-JSON-o-Rama implementation ==
+
:: 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)
  
Hey so i've made a python version of the reference implementation that returns a JSON parseable object containing the lat/long when given a date, xloc and yloc. It uses the XKCD cache of dow values. I'll put it online in the next 5 mins :D
+
== Suggested alternatives support added to the official implementation ==
  
[http://users.ecs.soton.ac.uk/ss06r/GeoHashing/cgi-bin/geohashing.py Here] it is, fairly simple actually, hope someone finds it useful :)
+
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)
  
'''Update:''' I've tried to make it classify the region recommended for a particular day using the euclidian distance of the colour of the image provided by Google Maps
+
== 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]]
  
The code is on the link above, tell me what you think :)
+
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:Sinjax|SinJax]]
+
[[User:M5rammy|m5rammy]] 19:32, 30 June 2008 (UTC)
  
: Cool!  I was thinking of making it act as a web service, but for reference implementation it's more important to be simple than useful :) [[User:Zigdon|Zigdon]] 14:53, 21 May 2008 (UTC)
+
:Implemented on [http://gh.eupeodes.nl gh.eupeodes.nl] --[[User:Eupeodes|Eupeodes]] ([[User talk:Eupeodes|talk]]) 01:42, 26 April 2013 (EDT)
  
I mostly canabolised yours anyways! :) But yeh here you go. The webservice version returning AJAX from python can be found:
+
== Spam ==
- [http://geohashing.electronicwar.net/cgi-bin/geohashing.py?date=2008-05-20&xloc=-1.395606&yloc=50.899837 AJAX geohashing]
 
- [http://geohashing.electronicwar.net/ Example using the web service]
 
  
The implementation also has the ability to tell you whether the particular area is water, park/forest or other. It does this by checking the colour on google maps and doing a thresholded euclidian distance check against the expected colours for those things. Also If its water it tells you its probably not accessible I wanna try to add more features like this, things like rating locations based on food and letting you say how far your willing to travel
+
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)
  
Thanks to [[User:Sigmund Fraud]] from the IRC channel for the space on his server with python installed - [[User:Sinjax|SinJax]]
+
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)
  
I've added my own python implementation to the main page (only 5 lines) -- lilac
+
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)
: _very_ nice, im in awe! Though it must be said my concentration was usability as a web service and the implementation of that imaging stuff. Still. Very nice stuff. I love python :) - [[User:Sinjax | SinJax]]
 
  
Added a shell script implementation to the main page (slightly shorter than the Python version; let the flames begin) -- [[User:gnomon | gnomon]]
+
== propose better Flickr (and/or others) tagging ==
  
: deeply awesome; no flames from me -- [[User:lilac|lilac]]
+
When dealing with tagging, it would be good the be able to search for a given graticule.
: ${var:x:y} slicing isn't portable, so you should really call it a "bash script" and change the #!/bin/sh. I came up with nearly the same thing:
 
  
:: (echo 16i; echo -n "$(date +%F)-$(GET xrl.us/djiopen | col)" | md5 | sed 's/.\{16\}/0.&p/g' | tr a-f A-F) | dc
+
So xkcd could recommend, in addition to the "geohashing" tag, something like "graticule45N8E" (that would by my area ;)
  
: On Linux, it's md5sum, which prints a "-" for stdin, but dc happily eats that. Your web interface for getting the Dow data is much better/more flexible than that ganky little shortcut url to Y! Finance (they have historical data in .csv too, but at a different interface so I didn't include it), but consider using sed instead. You only have to fire up one dc at the end of the pipeline which is much cleaner IMO.
+
-Luca
  
: To make it print out my full co-ordinates, I created a graticule file:
+
: 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)
  
:: echo -e '42\n-71' > graticule
+
== integrate OSM name finder? ==
  
: and appended
+
How about integrating the OSM name finder integrated in some of the notification services.
  
:: | paste -d'\0' graticule -
+
http://gazetteer.openstreetmap.org/namefinder/
  
: to the pipeline. If you wanted it put it in a script file as you have and pass them as args, you could (untested):
+
It gives nearby places for various searches, and has a fairly comprehensible XML API. For example, todays location in my graticule yields:
  
:: | while read f; do echo $1$f; shift; done
+
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
  
: I'll stop here before I get any farther offtopic :) --Decklin
+
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? ;)
  
== Error on page? ==
+
== Link to this page broken with negative value? (Official implementation) ==
  
Just zooming in and out today gives me random meet up locations, any one else having this issue?
+
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)
:Yes, I am experiencing this as well.
 
::It seems to change everytime the applet is reloaded (refreshed, updated, zoomed, or moved) Is there any one who can fix this?
 
:::I'm not seeing this?  What browsers are you using? [[User:Zigdon|Zigdon]] 17:48, 23 May 2008 (UTC)
 
::::I'm experiencing this problem on IE6. [[User:MOE37x3|MOE37x3]] 18:10, 23 May 2008 (UTC)
 
:::::I get the error in IE7 but not Firefox.--[[User:Ahecht|Ahecht]] 18:57, 23 May 2008 (UTC)
 
::::::Same here, except I us IE6, not 7. Firefox fixed my woes, though. - [[User:MythGuy|MythGuy]]
 
  
:I, too, am experiencing this. I used the the alternative locater though. http://geohashing.electronicwar.net/
+
== globalhash implementation ==
:I hope we can we can get this fixed soon. - [[User:MythGuy|MythGuy]]
 
  
:With the debugger on, I noticed that "00" is appended to the DOW opening every time I click "Update." This changes the hash each time, creating random locations. Zigdon, we need your help. 16:33, 23 May 2008 (UTC)(James)
+
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)
::Ah. Well this is creating problems for me. I used the alternate locator, got location A, went to my local page to see if others might be planning on coming, saw a different GPS (thus giving me location B), I went to the real map and found that the first location that it pops up with is always the same, so I have three locations now... What do I do? - [[User:MythGuy|MythGuy]]
+
: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)
:::Gah.  Ok, I can reproduce this in IE6.  I'll see if I can find some simple hack, but doing browser specific code is evil. [[User:Zigdon|Zigdon]] 21:36, 23 May 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)
:::Ok, it should be fixed in the (beta) version: http://irc.peeron.com/xkcd/map/map2.html.  This will become live once the 30W decision is final. [[User:Zigdon|Zigdon]] 21:47, 23 May 2008 (UTC)
 
  
== Atom Feed ==
+
== irc.peeron map not working ==
  
I noticed yesterday that before the stock exchange data becomes available, the atom feed creates a kind of 'intemediary' geohash using todays date and yesterday's data. This might be intentional, but personally I find that undesirable on weekdays. Could it be modified to show yesterday's date and geohash until data is available? [[User:Nicktaylor|Nicktaylor]] 14:04, 23 May 2008 (UTC)
+
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 BostonUntil 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)
: I'm currently working on getting an alternative Atom Feed implementation ready for public use (although I think I'm going to wait until the [[#Proposed Time Zone Solution|Time Zone issue]] is resolved).  Mine will '''only''' update at 09:40 Eastern daily (accounting for DST changes), and uses the ''irc.peeron.com'' source for the [[DJIA]], which is updated at 09:35.
 
: I will '''certainly''' post it here when it's done, so stay tuned.  --[[User:Tjtrumpet2323|Tim P]] 20:10, 23 May 2008 (UTC)
 
:: The time zone issue has been resolved with the [[30W Time Zone Rule]]. I'll continue to work on getting my implementation ready.  --[[User:Tjtrumpet2323|Tim P]] 04:34, 24 May 2008 (UTC)
 
: I don't know if I'll bother with my Atom implementation.  I copied your original request at [[Implementations]]; I'll keep an eye on it there. --[[User:Tjtrumpet2323|Tim P]] 05:17, 26 May 2008 (UTC)
 
  
== Is it just me, or is the shell script borked? ==
+
: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)
  
Shell script bombs out for me in two places :(
+
: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)
  
This:
+
::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)
<pre>[[ "$DOW" != +([0-9.]) ]] </pre>
 
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:
+
:::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)
<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?
+
::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)
  
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?
+
== January 1st bug at irc.peeron.com ? ==
  
I've so far worked out that it's failing on the line:
+
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)
<pre>echo "$1$(echo 10k16i0.${MD5:0:16}p|dc), $2$(echo 10k16i0.${MD5:16}p|dc)"</pre>
+
: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)
  
Better yet, I've further narrowed it further. The parts my system doesn't like are:
+
== The weekend of June 5-8 ==
<pre>echo "$1$(echo 10k16i0.${MD5:0:16}p|dc), $2$(echo 10k16i0.${MD5:16}p|dc)"
 
                            ^ ^^  ^^                          ^^  ^^  </pre>
 
  
It doesn't understand the numbers and it reports "command not found" for "dc"
+
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)
  
--[[User:Polysylabic Pseudonym|Psud]] 08:49, 26 May 2008 (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)
  
:: 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. --Decklin
+
== 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)
  
== Shell script implementation ==
+
== Problems installing Geo::Hashing ==
  
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).
+
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.
  
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
+
Any ideas what I've done wrong? I downloaded the .gz, unpacked it, ran these commands:
 +
perl Makefile.PL
 +
nmake install
 +
nmake test
  
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.
+
The install seemed to go OK. [[User:PhilHibbs|PhilHibbs]] 17:47, 28 January 2010 (UTC)
  
== iPhone Implementation ==
+
== A looong page. ==
 +
 
 +
Any ideas how to tidy it up? Maybe a sub-page per implementation? -- [[User:relet|relet]] 12:07, 29 May 2010 (UTC)
 +
: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)
 +
: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?--[[Special:Contributions/208.102.35.1|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.
  
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.
+
[[Special:Contributions/131.104.247.94|131.104.247.94]] 01:49, 6 October 2010 (UTC)
-- [[User:Shakedown | Shakedown]]
 
  
== Wrong Market Data for 2008-05-30 ==
+
== Algorithm is b0rked ==
  
The official reference implementation has the wrong market data for Friday May 30.
+
I wonder why one ever chose this geohashing algorithm, besides for its simplicity.
  
Debugging gives: Market open on 2008-05-30 = 12593.87 While finances.google has 12647.36
+
I see the following problems:
--[[Special:Contributions/80.216.129.239|80.216.129.239]] 14:12, 30 May 2008 (UTC)
+
* 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)
  
* Can we assume it's getting the Dow Jones info from a feed, and thus the feed is wrong? [[User:Djomp|Djomp]] 15:02, 30 May 2008 (UTC)
+
: 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)
** My bet is that wherever they got their info from is correct, but it wasn't yet updated for today when the webpage hit it. --[[Special:Contributions/161.49.253.254|161.49.253.254]] 15:21, 30 May 2008 (UTC)
 
** The biggest problem to all this is that it means the Saturday meetup locations are wrong, too. [[User:Darcy|Darcy]]
 
*** Perhaps the [[DJIA#irc.peeron.com|peeron service]] should hit up Google every five minutes from, say, 09:35 to 10:00, just in case?  I've also noticed that this server's time is ~6-7 minutes fast, so a 09:35 hit could have actually been executed at 09:28, before the market opened...  --[[User:Tjtrumpet2323|Tim P]] 15:25, 30 May 2008 (UTC)
 
*** Even better, if the first hit returns the exact same number as the previous day, keep trying until something changes or it gets to be, like, noon...  --[[User:Tjtrumpet2323|Tim P]] 15:46, 30 May 2008 (UTC)
 
  
{{merge topic|to=Template talk:Expeditions/2008-05-31}}[[User:Tjtrumpet2323|Tim P]] 05:40, 31 May 2008 (UTC)
+
== New structure ==
* This has been corrected.  --[[User:Tjtrumpet2323|Tim P]] 19:12, 30 May 2008 (UTC)
 
  
== Wrong market data for June 2008 in locations east of -30° ==
+
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)
 +
: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)
  
The official reference implementation is attempting to fetch the wrong market data for dates in June 2008 for locations east of -30°.
+
: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)
*For 2008-06-01, it attempts to fetch market data for 2008-06-30.
 
*For 2008-06-02, it attempts to fetch market data for 2008-07-01.
 
*For 2008-06-29, it attempts to fetch market data for 2008-07-28.
 
*For 2008-06-30, it attempts to fetch market data for 2008-07-29.
 
*For 2008-07-01, it attempts to fetch market data for 2008-06-30 (correct).
 
Locations west of -30°: tested 2008-06-01, which fetches correct data.
 
Not sure of the extent of the issue, more testing needed.
 
- [[User:R0d3n7z|r0d3n7z]] 18:07, 30 May 2008 (UTC)
 
  
Further testing reveals that the problem is not confined to June 2008, but affects all months with less than 31 days for dates after the 30W rule was applied.  
+
: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)
Hope this helps pinpoint the problem. -- [[User:R0d3n7z|r0d3n7z]] 18:32, 30 May 2008 (UTC)
 
  
:It works perfectly fine here, and has been all along since the previous problem was fixed.--[[Special:Contributions/80.216.129.239|80.216.129.239]] 19:49, 30 May 2008 (UTC)
+
== Windows Phone 8 Implementation ==
:I'm not seeing this problem?  What browser/OS are you using?  What does the debugging info show when it gets the wrong data? [[User:Zigdon|Zigdon]] 20:05, 30 May 2008 (UTC)
 
  
:: I am experiencing this across several browsers. Screencaps: [http://img515.imageshack.us/my.php?image=ff15ff5.png FF1.5] [http://img501.imageshack.us/my.php?image=ff2ry9.png FF2] [http://img148.imageshack.us/my.php?image=ie6ev0.png IE6] [http://img58.imageshack.us/my.php?image=ie7hn0.png IE7] Debugging info shows an attempt to fetch market data for an incorrect date. -- [[User:R0d3n7z|r0d3n7z]] 20:41, 30 May 2008 (UTC)
+
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!
:::Tested with the exact same coordinates,dates and browser, and it generates the coordinates perfectly. So must be somethign wrong local. I'll remove the notes from the front page, as clearly several persons have no problems. --[[Special:Contributions/80.216.129.239|80.216.129.239]] 22:03, 30 May 2008 (UTC)
 
::::I've experienced the problem when testing with my 1. own computer on a) my home connection (202.156.183.xxx) and b) via a vpn connection to (155.69.xxx.xxx); 2. a second computer on my home connection; and 3. a remote machine at (155.69.xxx.xxx). Different browsers were used. Browser cache was cleared beforehand. No javascript errors were logged. The problem doesn't seem isolated to any one browser/computer/connection in particular. Any ideas for pinpointing the cause of the problem? -- [[User:R0d3n7z|r0d3n7z]] 02:24, 31 May 2008 (UTC)
 
  
::::I'm getting it in both Firefox and Opera, both with vpn (130.126.xxx.xxx) and without (83.49.xxx.xxx). [[User:Loggie|Loggie]] 05:33, 31 May 2008 (UTC)
+
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. --[[User:Lucwerk|Lucwerk]] ([[User talk:Lucwerk|talk]]) 14:19, 25 March 2013 (EDT)
  
{{merge topic|from=Talk:Main_Page#Issue_with_the_map}}
+
== carabiner not allowing "submit this location" ==
When I type the date 2008-06-01 into the [http://xkcd.com/geohashing map], I get the error "Market data is not available for 2008-06-30" However, I can type in 2008-05-32 and also 2008-05-33 and get coordinates. The 34th gives me "Market data is not available for 2008-06-02" (I'm looking at places east of -30°, by the way). [[User:Loggie|Loggie]] 22:37, 30 May 2008 (UTC)
+
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)
: I get the same problem.  BTW the coordinates returned for 2008-05-32 are *not* the correct coordinates for 2008-06-01, since it uses wrong date (2008-05-32) in the hash.  Not sure if you realize this or are just pointing out more data -- at first I thought you had found a tricky workaround :)
 
::Another observation, the page is also looking for DJI data on 2008-07-01, when I type in 2008-06-02, this is rather odd. --[[Special:Contributions/124.168.225.106|124.168.225.106]] 02:42, 31 May 2008 (UTC)
 
  
{{merge topic|from=Template_talk:Expeditions/2008-05-31#end_of_the_month}}
+
==  carabiner.peeron.com is not working ==
When looking for hash locations through Sunday and Monday, I found the reference implementation is looking for DJI data on 2008-06-30, suggesting that months are not being handled correctly. Can someone confirm?
 
  
This is clearly not a localized problem. Re-posting the notes on the front page. -- [[User:R0d3n7z|r0d3n7z]] 03:11, 31 May 2008 (UTC)
+
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)
  
'''UPDATE''' - I put a workaround in place aroudn this weird problem, but I still don't actually understand it. [[User:Zigdon|Zigdon]] 07:33, 31 May 2008 (UTC)
+
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)
:Now suddenly I'm experiencing the exact same problem, after it working fine before. Don't know if the workaround caused this problem for me or if it's just suddenly decided to show up. --[[Special:Contributions/80.216.129.239|80.216.129.239]] 10:55, 31 May 2008 (UTC)
 
  
::The workaround fixed the problem for me. Debugging info will print something like "YOU ARE INSANE. 6!=5!!! TRYING TO PLAY ALONG." when the workaround kicks in (in my case, that's any date in Feb/Apr/Jun/Sep/Nov after May 2008). Please check the debugging info to confirm if the workaround is active or inactive when you experience the problem. Either way, this is a really strange bug! -- [[User:R0d3n7z|r0d3n7z]] 12:48, 31 May 2008 (UTC)
+
== 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)
  
:::It's working for me now too. [[User:Loggie|Loggie]] 12:55, 31 May 2008 (UTC)
+
== 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. --[[User:Sourcerer|Sourcerer]] ([[User talk: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. --[[User:Sourcerer|Sourcerer]] ([[User talk:Sourcerer|talk]]) 03:56, 11 June 2015 (EDT)
  
: @Zigdon: I have a bit of a hunch, as I was seeing some similar problems in templates on the wiki today (UTC)...  I'll see if I can't take a stab at it...  --[[User:Tjtrumpet2323|Tim P]] 16:39, 31 May 2008 (UTC)
+
== geohashing.info – Bing layers not working since November 5, 2024 ==
:: Just take a look at http://irc.peeron.com/xkcd/map/xkcd.js, search for 'YOU ARE INSANE'. [[User:Zigdon|Zigdon]] 16:44, 31 May 2008 (UTC)
 
::: I discovered that link accidentally just minutes after posting that.  No luck yet.  It really is insane. --[[User:Tjtrumpet2323|Tim P]] 17:21, 31 May 2008 (UTC)
 
  
: I had the same very strange problem.  At the moment, the workaround kicks in when I use the tool.  [[Media:Youareinsane.png | This is what it looks like.]]  Using FF 2.0.0.14 as can be seen in the screenshot.  I'm online using Eduroam (http://www.eduroam.org) at K.U.Leuven (http://eduroam.kuleuven.be) with my laptop, running WinXPpro. If you need any other info, just ask. Let us know when the cause of this wacky bug has been found! --[[User:Rex|Rex]] 18:55, 31 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.
  
'''SOLUTION''' numbers need to be cast as int's before you do math on them: parseInt(datecomp[0])-1, etc. --[[User:Cwolves|CWolves]] 01:34, 1 June 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)
: I had the feeling it had to do with numbers being read in octal or math not being applied correctly to the months.  --[[User:Tjtrumpet2323|Tim P]] 01:50, 1 June 2008 (UTC)
 
: This makes sense (and that's for coming to my rescue :).  That said, I don't think it fixed the problem? [[User:Zigdon|Zigdon]] 02:30, 1 June 2008 (UTC)
 
:: Ah ha - I think I got it now.  JS didn't like me setting the month and day in two calls.  I can only assume that it's because the date which is being set (intermittently) is invalid.  Which is why the problem started happening when the *current* date was the 31st.  Calling setMonth(month, day) seems to fix it.  If anyone is still getting the 'YOU ARE INSANE' message in the debugging (when feeding it a valid date), please let me know. [[User:Zigdon|Zigdon]] 02:38, 1 June 2008 (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)