User talk:Tjtrumpet2323

From Geohashing
Revision as of 02:53, 1 September 2008 by imported>Tjtrumpet2323 (Suppress Auto-Creation of Categories by Graticule Template?: done.)

e

  • en: Please, sign all of your posts here with your signature by typing "~~~~" after each post.
  • fr: S’il vous plaît, signez tous vos postes ici avec votre signature en tapant « ~~~~ » après chaque poste.

v · e

  • en: I will be taking a wikibreak to tour China with the University of Pittsburgh's Heinz Chapel Choir from 26 April 2009, 22:00 UTC to 13 May 2009, 16:00 UTC. During that time, I will be unable to reply to your questions and comments.
  • fr: Je prendrai un wikibreak pour visiter la Chine avec le Chœur de la Chapelle Heinz d'Université de Pittsburgh du 26 avril 2009 à 22h UTC jusqu'au 13 mai 2009 à 16h UTC. Pendant ce temps, je ne pourrai pas répondre à vos questions et commentaires.

Re:St. Louis

No big, thanks for letting me know. MToolen 19:34, 30 May 2008 (UTC)

NO PROBLEM. --Tim P 03:11, 9 July 2008 (UTC)

Bot for writing current coordinates

I saw that you are responsable for automatically updating the front page. I assume this means that you have a bot which calculates the coordinates and inserts them onto the front page. Would it be possible to have your bot also create a template that contains just the coordinates for a given day? For examply, it could create Template:Coords06-13-2008 that would take Lat and Long as input. That way, for setting up pages about a specific graticule on a specific day, we could just put in a string that is something like {{Coords2008-06-13|Lat=42|Long=71}} instead of having to copy and paste from the reference implementation. If you wanted to get fancy, you could even have the bot update a master template that uses if statements to lookup a certain day's coordinates, so that we would just have to call {{Coordinates|Date=2008-06-13|Lat=42|Long=71}}.--Ahecht 15:38, 13 June 2008 (UTC)

Unfortunately, I actually edit and create the pages manually (for the time being, it forces me to be up at 09:15). I am planning on eventually programming templates to automate almost all of the calculational stuff you mentioned; however it is all reliant on installation of the MediaWiki Implementation on this wiki, as stuff like md5() isn't a default wiki function. Please, feel free to bounce ideas off of me... but know that until the MWI is installed, not much can happen. --Tim P 15:45, 13 June 2008 (UTC)
DONE! This can now be accomplished with {{coordinates graticule|2008-06-13|lat=42|lon=-71}}. --Tim P 02:56, 9 July 2008 (UTC)

Coordinates Template Automation

I see that there are newer implementations of the coordinates on the main page. I'd just like to use a similar table on the expedition pages. (Something simple like this: {| class="wikitable" style="text-align: center; vertical-align: top; border: 3px solid black; border-collapse: collapse; margin: 1em" border="1" cellpadding="2" width="300" !width=50%| Date !width=50%| Coordinates |- ! {{date link|2008-06-29|D j M Y}} | {{coordinates|2008-07-02|30w=1}} |} Is there a way to put the integer parts of my graticule in front of the fractional parts? Thanks: --Tom 08:59, 2 July 2008 (UTC)

There will be eventually! In fact, that's probably next on my list of things to do with this exciting new functionality! --Tim P 15:33, 2 July 2008 (UTC)
DONE! Template:Coordinates graticule now offers this functionality! --Tim P 02:26, 3 July 2008 (UTC)
Hey tjtrumpet, awesome work on all the template magic. Might be worth writing up a little primer somewhere for what template magic exists and roughly how they're intended to be used. Hate to see them all get barely any use... --Nemo 09:33, 3 July 2008 (UTC)
Hey, so nice. We're all thankful. --Tom 14:24, 3 July 2008 (UTC)

template magic question

Tim: I've got a little bit of magic on the top of the Canberra, Australia which gives auto-links each day to upcoming points. (checks up to four days ahead and if DJIA is available, gives a link). THis was working fine when I got it up just before the DJIA long weekend, but now gives one extra day worth of coords - which are wrong due to the lack of DJIA data to feed the md5. This has only begun tonight though... I've not checked the changelogs of all the nested templates it's using, so might be something there. Otherwise, any ideas? (aside: it was this link box which got me generalising Template:Announce before realising that, as it stands, it's still unusable for that box. (though may be in the future yet) --Nemo 15:16, 8 July 2008 (UTC)

Anything returning .8843126, .7729682 is wrong. There is an error in the calculational templates because I was working on making them better and the wiki kept timing me out yesterday. Hopefully all will be better by 05:00 UTC, 9 July? Much sooner, I hope.... If your template is still having trouble once I'm sure everything on my end is proper, I'll take a look. --Tim P 16:43, 8 July 2008 (UTC)
I don't think those were the numbers I was getting yesterday, and as of right now, it is good (but the frontpage is broken) --Nemo 22:16, 8 July 2008 (UTC)
Well, I do know that the broken front page does calculate 30W incorrectly. I'm now working on figuring out just why it's doing so. --Tim P 22:18, 8 July 2008 (UTC)
I figured you knew it was broken... my observation was more along the lines of 'mine isn't, if that helps in debugging' :) --Nemo 22:53, 8 July 2008 (UTC)
RESOLVED. Thanks, Nemo. I'm pretty sure the "extra day" had something to do with something on my end... I noticed the incorrect 30W calculation applied something or other to the day after it should have. As an aside, great job on the templating! I'll be stealing some of your code for Main Page on Wednesday (EDT), seeing how you stole some of my userbox code. :) --Tim P 03:14, 9 July 2008 (UTC)
Yay for fixed. Happy to hear my usage is usefull too - I wasn't sure if it was best/intended use of the temnplates or not, but it was working so I was happy. My long term goal is to [a] update the Announce template to support alignment, then put that link box inside an Announce, and finally make the whole thing a template of it's own for wider graticule use. Left to my own devices though, this wont happen till after I get back from europe (see my user: page for timeframes). :) --Nemo 12:55, 9 July 2008 (UTC)

Thanks for fixing ASG. Main page?

The main page "Recent and Upcoming Coordinates" seem horribly horribly broken. ALL of them read .8843126, .7729682, and have all day. --an old geohasher (aka Thomcat 20:12, 8 July 2008 (UTC))

I'm currently working hard on it... it's one of those things I have no idea where it came from. I hope to have things working (if not perfectly) in the coming hours. --Tim P 20:14, 8 July 2008 (UTC)

As of 21:05, 8 July 2008 (UTC), it's not showing the same coords for every date, but some are still wrong (4-6 July and 7 July 30W all show .4130070, .7311430). Part of the problem involved me leaving a test variable in place, even after dispatching the templates. --Tim P 21:05, 8 July 2008 (UTC)

HUZZAH! I have fixed it at last! See Main Page. --Tim P 02:56, 9 July 2008 (UTC)

"Day of" Categories

I see you're away, so I'll wait patiently. I've been creating and categorizing uncategorized categories, and have run up against your parallel system of daily archives. The main system follows the hierarchy Root categories -> Meetup -> Meetup by date -> Meetup in 2008 -> Meetup in 2008-07 -> Meetup on 2008-07-01 -> 2008-07-01 38 -78

Your parallel system has  ? -> Category:Day of July 2008 -> 2008-07-01 plus the completely unused categories Category:Month_of_2008 -> Category:Day of 2008. I know this has something to do with the main page template magic, and is probably necessary, but if you could explain how it works and if there are any bits you don't need after all, I would appreciate the opportunity to finish the hierarchy.

I just realized a) how your hierarchy works -- found June and made July and August match up -- and b) that the last two categories I whined about were not created by you, but by User:Gissehel so I've gone off to hassle him instead. I'm still interested in the how/why of your hierarchy, but as it's complete and logical it doesn't bother me anymore. Welcome home. -Robyn 15:08, 16 August 2008 (UTC)
NO PROBLEM. Feel free to vent here in the future, even if it's not about my pages. --Tim P 13:26, 20 August 2008 (UTC)
Is there any way to make the Add Yours link a little more friendly on the Main Page? When the gallery hasn't started yet for a day, a user is faced with a blank page. I suppose the typical geohasher is smart enough to copy from the previous day, but it would be nice if it came up with a template. -Robyn 15:10, 19 August 2008 (UTC)
Unfortunately, I do not know of any way to prepopulate the edit field with a template in MediaWiki. Even if it is possible (and it might still be), that's a change that only a sysop can make (i.e., xkcd or perhaps Zigdon). Not having a consistent template to work from has been a frustration for me as well, but what can you do? --Tim P 00:27, 20 August 2008 (UTC)
Welcome back! Maybe an easy link to a fill in the blanks template would help. I don't know if it's seriously a problem, but I'd like to see more people showing off their pictures, and if any are deterred by the code, that is sad. -Robyn 00:54, 20 August 2008 (UTC)
Thanks! This is definitely something I can do, probably late tonight (EDT). --Tim P 13:26, 20 August 2008 (UTC)
DONE. Now, when the Recent Images template calls a day's gallery that doesn't yet exist, the prompt will say something like "Start the gallery for Wednesday 20 August. (how?)" The how-to page at Template:Expedition Images/How-to should be satisfactory for this purpose if links are carefully placed. I've already added one to Main Page. --Tim P 15:42, 20 August 2008 (UTC)

Suppress Auto-Creation of Categories by Graticule Template?

The graticule template well and wisely automatically categorizes a page it is on as Meetup in LAT LONG and Meetup on YYYY-MM-DD. Nost of the time that is what should happen. But sometimes someone does a Category:Retro meetup, e.g. an origin geohash, where the date of the Dow for which the coordinates were generated does not correspond to the date of the expedition. Now it's obvious, but what if next year someone decides to do an origin hash with their one-year old? And I just don't like having something that was not a meetup on DATE to be classed there. Could there be a no date category = true parameter for the template? -Robyn 02:41, 28 August 2008 (UTC)

DONE. Template:Meetup graticule now takes an optional retro=1 parameter, which adds to Category:Retro meetup. (I'd originally called the category something else before seeing your own version.) It is a legitimate concern, so I updated wording on the template documentation as well as updated all (three) of the relevant retro meetup pages. --Tim P 02:53, 1 September 2008 (UTC)