Difference between revisions of "User talk:Tjtrumpet2323"

From Geohashing
imported>Nemo
(template magic question)
imported>Tjtrumpet2323
(template magic question)
Line 37: Line 37:
  
 
:: 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) --[[User:Nemo|Nemo]] 22:16, 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) --[[User:Nemo|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.  --[[User:Tjtrumpet2323|Tim P]] 22:18, 8 July 2008 (UTC)
  
 
== Thanks for fixing ASG. Main page? ==
 
== Thanks for fixing ASG. Main page? ==

Revision as of 22:18, 8 July 2008

Talk to me! Just be sure to sign with "~~~~" when you do...


Re:St. Louis

No big, thanks for letting me know. MToolen 19:34, 30 May 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)

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)

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)