Talk:Implementations
Topics 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. |
Contents
- 1 Page Length
- 2 iPhone Implementation
- 3 Android
- 4 Suggested alternatives support added to the official implementation
- 5 Display meetups for adjacent graticules
- 6 Spam
- 7 propose better Flickr (and/or others) tagging
- 8 integrate OSM name finder?
- 9 Link to this page broken with negative value? (Official implementation)
- 10 globalhash implementation
- 11 irc.peeron map not working
- 12 January 1st bug at irc.peeron.com ?
- 13 The weekend of June 5-8
- 14 Israel on the peeron map
- 15 Geohash for iPhone is not W30 compliant
- 16 Problems installing Geo::Hashing
- 17 A looong page.
- 18 Java...?
- 19 No-input required Mathematica 7.0 Implementation
- 20 Algorithm is b0rked
- 21 New structure
- 22 Windows Phone 8 Implementation
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)
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)
- 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)
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 byanthill
, but I still don't know which ones are correct. -- Jevanyn 15:54, 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
- It's still rather delayed - it's been at least an hour late yesterday and today, too. Anthony 14:25, 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)