Contents
Notification areas
This section is for discussing how to define a notification area. The current implementation is of a "centicule" type, but I am still open for suggestions for future enhancement.
I envisioned that the user would create a text file with lines of the form:
lat long min min km
- 59 -139 59 0 3
- 54 -131 4 50 10
- 49 -123 11 7 10
That is asking to be notified of points falling within 3 km of N59 59' W139 00' (the bit of that graticule in BC), points falling within 10 km of N54 04' W131 50 (the bit of that graticule on land), and within 10 km of my house. I would definitely want e-mail notification. You register to be informed if your numbers come up, and then go about your daily life.
Thinking about that, I realize that calculating radii of coordinates takes a lot of processing power, so perhaps we just divide a graticule into some number (64?) squares, and you just specify which squares you care about. The numbering on the squares could be reversed and flipped at the equator and 0 meridian so that any one set of coordinates fell in the same numbered square all over the world. There could be an interface that overlays the numbered grid on the graticule so you can choose your squares. If you want to get fancy there could be a graphical interface where you choose your graticule, click on the squares you want, then fill in the 'description' and e-mail address.
You would just specify:
- email lat long square description
- user@isp.org 49 -123 53 Robyn's house
The program only need look at the 'square' number, the rest is for reporting. You send your list in and then every Dow Jones opening the program
- 1) calculates which square the coordinates fall in (astonishingly easy)
- 2) finds all the users who requested notification for that square
- 3) sends them an e-mail saying "Today's coordinates for the 49 -123 graticule look like they are near Robyn's house.
If any of this isn't clear, ask me. Tell me what the hard part is, if there is one, and I can come up with an alternate idea. -Robyn 22:01, 27 August 2008 (UTC)
Distance between two points on a globe doesn't really take all that much processing power, but it wouldn't scale all that well. If we were to go about this by dividing up the graticule into parts, I would suggest 100 parts, and the boundaries would be on the tenths of degrees. If we were to use a graphical setup, I would suggest it being an extension to the mapping tool we already have. --aperfectring 22:17, 27 August 2008 (UTC)
Danatar suggested some sort of wildcard or range system applied to the centicule area definition to reduce replicated information.
A wildcard has been added which will match all centicules for a graticule. I have also added the ability to match multiple centicules for a single comment. --aperfectring 07:03, 31 October 2008 (UTC)
Implementation Progress
This is the section where I will let everyone know about how things are progressing. I will post any and all known bugs, and how new features are progressing here.
I have a prototype which does everything but send the actual mail message to its destination. Currently it will only notify about the current day's (or the next day's for east of -30) hash being near a specific point.
That's awesome. Do you want some test data for it to watch? It could put the notifications on my user page or something. -Robyn 03:09, 30 August 2008 (UTC)
Well, right now it will only put out messages to the command line when something matches. I have been using some basic test data to verify it works as I expect it to, and it seems to so far. I plan to try and implement the mailing part tomorrow, and after that I will ask for some people to provide test data.
I am still working on this project. However, since work has been busy recently, I haven't had much time to get to this. I should get back to it in the next couple of weeks. --aperfectring 18:33, 23 September 2008 (UTC)
I have gotten a prototype which will e-mail out a notification. However, the only way I have gotten it to work prevents me from being able to distribute working source code (it has my gMail u/p in plain text). When I get home from work today, I will see what I can do about getting a new gMail account which I will send this notifications from. This will solve multiple problems:
1. People will get an e-mail from a person whose name is "Geohashing Notification" (weird, I know).
2. I would be willing to publish (in an obscure fashion to prevent spam) the e-mail address here for people to subscribe to the service.
3. If I forget to scrub the source of password information before sending a version out, my own personal e-mail address/pass will not be compromised.
I will put another post up here with how to subscribe when I am ready. Hopefully it won't be too long now! --aperfectring 17:50, 25 October 2008 (UTC)
I have just updated the preferred format for subscription requests. I have also included wildcards and multiple sections per line. In addition, I have cleaned up the e-mail format. I feel it looks a whole lot cleaner, and less hacked together by a programmer at the last minute. --aperfectring 07:11, 31 October 2008 (UTC)
Suggestions for Improvement/Enhancement
Danatar suggested that each user have their own page on the wiki, which would define their notification criteria, and the program would pull from there to notify.
I think it would be a neat option to be able to have an optional link to the peeron map in the e-mail. Also, it might also be cool to include a screenshot of the location, like the template on the wiki. --aperfectring 07:13, 31 October 2008 (UTC)
Notifications for Sunday (East) and Monday (East) are sent on Saturday and Sunday respectively. Could you send the notifications for all of the weekend on Friday when they are announced, together with Saturday's coordinates? Everything else is working fine so far. - Danatar 09:39, 19 December 2008 (UTC)
- This is something I would like to get in relatively soon. However, holiday notifications may be a little trickier to deal with, and may not be as easily implemented. --aperfectring 15:18, 12 January 2009 (UTC)
I would like to get the date for the coordinates included in the message sent. This is a prerequisite to being able to send out all coordinates when they are available. --aperfectring 15:18, 12 January 2009 (UTC)
Other Thoughts
This project looks very interesting and I currently can think of nothing to improve the basic idea or your thoughts. What I'd like to know is, are you still working on this or has the project died? I have no programming skills, so I don't know how difficult it is. Danatar 18:25, 23 September 2008 (UTC)
Hi aperfectring, I was wondering how this is going? It is a wonderful idea. Since I still have trouble uploading my photos I don't think I can be much use to you, but if you'd like a Guinea pig to test things on, I'm more than willing! Kate 01:31, 25 October 2008 (UTC)
This looks like a great tool. I've been kicking myself ever since I realised I missed a geohash on my university campus, and was just about to start tackling programming something exactly like this for myself. It wouldn't be hard to write a form in php or something that would save a properly formatted line to a text file. Booberfish 08:50, 19 December 2008 (UTC)
- Yes, that is a possibility. However, as it stands, I have no dedicated server for this. My home PC, which is running the script daily, does not have a global IP. If someone has a dedicated web server which allows cron jobs and has Perl 5, I would be more than happy to transfer the execution to it. --aperfectring 12:58, 19 December 2008 (UTC)
- My web host has that. I could try to set it up there, although it couldn't be for a couple weeks as I'm not at home. If nobody else steps up before then, I'll get the source from you and give it a shot. Booberfish 13:51, 19 December 2008 (UTC)
- I myself have only just gotten back into the swing of things off of the break. There are some maintenance things I would like to get done before transferring this elsewhere. --aperfectring 15:15, 12 January 2009 (UTC)
- My web host has that. I could try to set it up there, although it couldn't be for a couple weeks as I'm not at home. If nobody else steps up before then, I'll get the source from you and give it a shot. Booberfish 13:51, 19 December 2008 (UTC)
- Maybe make a category we can add our pages to? Also can't figure out how to contact you, 'email this user' doesn't work, IRC is too cool for me; here is my page: User:Arran4/Notification_point_table --arran4 02:16, 20 May 2009 (UTC)
- Ah when you bold it it becomes more clear, but it's kind of implicit still, you say email you, but you provide (obstructedly) your geohashing email. --arran4 02:52, 20 May 2009 (UTC)
- The reason why the e-mail address is not explicitly listed on the pages is because of spam. We have spam bots crawling around here, which will pick up email addresses which are sitting in text. Having to filter all of the spam from the few actual e-mails that are sent to that address is a tedious process. Since the e-mail address is on gmail's watchlist for spam bots, it may get switched to a private mail server at some point in the future, which will remove much of the spam filtering that gmail does. --aperfectring 11:57, 20 May 2009 (UTC)
- Ah when you bold it it becomes more clear, but it's kind of implicit still, you say email you, but you provide (obstructedly) your geohashing email. --arran4 02:52, 20 May 2009 (UTC)
Robyn, thanks for your help in making the sign up steps more clear. I have been meaning to get to that, but have been busy with real life sort of things. --aperfectring 11:57, 20 May 2009 (UTC)
Cool! I just got notified for a nearby hash. Of course, I was already looking at it, but it worked! Thanks for writing this. Jiml 14:43, 28 May 2009 (UTC)
Bug Reports
When the point falls in the bottom row, the notification tells me it's in "7" not "07". Slightly confusing. -Robyn 09:52, 19 December 2008 (UTC) This is a bug, and I will work to fix it --aperfectring 15:12, 12 January 2009 (UTC)
On Jan. 5, 2009, some of the coordinates were not sent out for the east of W-30 location (Jan 06). I only received the notification for the "*" section. I should have also gotten notification for 22, and 20-29 (shorthand). --aperfectring 15:12, 12 January 2009 (UTC)
Occasionally the last digit (millionths digit) differs from what the peeron map states. --aperfectring 15:20, 12 January 2009 (UTC)
I got a notification for centicule 00 for 2013-07-24 although the coordinates don't fall in there. It's graticule 54, 9 if that's important. Seems it's a border case. [1] --Koryu (talk) 11:06, 23 July 2013 (EDT)
- Very strange. It looks like all of the coords east of W30 were messed up. I'm not sure why that's the case. I will keep my eye on it tomorrow, it may have just been some error in fetching the DJIA data, but the ones west of W30 were fine, so that doesn't seem right... I will look more closely at the notifications tomorrow, and see if we get the same error again. --aperfectring (talk) 11:22, 23 July 2013 (EDT)
The map stopped working. It says you need to upgrade to Staticmap API V2. zhukant (talk)
Apperently something seems to be broken with my notifications. It worked until sometime in november or december (I can't remember exactly when I received the last e-mail) but found out yesterday that I missed a local hash point. Is anyone else experiencing problems or could it be my e-mail provider? --Oisín (talk) 07:02, 9 February 2017 (UTC)
Copy of the source
I would like a copy of the source, in order to try an add customized subject lines, and an automatic link to the graticle page. JesseW 14:55, 15 May 2012 (EDT)