Site Issues Training Log & Site Support » What's this thing do? Rss Feed  
Moderators: k9car363, alicefoeller Reply
2007-03-06 3:19 PM

Elite
3650
200010005001002525
Laurium, MI
Subject: What's this thing do?
I noticed this at the bottom of my training log.  i think it's been there for a while I just never knew what it was for.  Is it intentional a mistake or a debug thing?



(thing.png)



Attachments
----------------
thing.png (34KB - 27 downloads)


2007-03-06 3:22 PM
in reply to: #713698

User image

Champion
13323
5000500020001000100100100
Subject: RE: What's this thing do?
2007-03-06 5:05 PM
in reply to: #713703

Elite
3650
200010005001002525
Laurium, MI
Subject: RE: What's this thing do?

oops

what'd i break this time?

2007-03-06 5:12 PM
in reply to: #713698

User image

Extreme Veteran
355
1001001002525
Kuna, Idaho
Subject: RE: What's this thing do?
So what is it for? 
2007-03-06 6:37 PM
in reply to: #713703

User image

Pro
4541
2000200050025
A farming town in MN
Subject: RE: What's this thing do?

Ron - 2007-03-06 3:22 PM DON'T PRESS IT!

That's like telling a kid not to stick a bean up his nose.  So anyways, pressed the button and didn't seem like anything hap

2007-03-06 7:13 PM
in reply to: #713950

User image

Champion
13323
5000500020001000100100100
Subject: RE: What's this thing do?

It's a button solely created to quantify the innate magnetism that us men have towards pushing unmarked buttons without any consequence as to the resulting action.

I'm sure it's genetically coded into our genes, just like bacon is.

Training logs that smelled like bacon....mmmm.....



2007-03-06 7:31 PM
in reply to: #713987

Elite
3650
200010005001002525
Laurium, MI
Subject: RE: What's this thing do?

since you probably have a script recording every time someone presses the button, why not post some results.  Lets see who has pressed it and how hasn't.  I wonder who has pressed it the most and whether more males have pressed it.

On a side note, I did press the button and it did something.  I opened up yesterday's (empty) training log and pressed the button.  It copied the distance and route from todays workout into the blanks.

2007-03-07 8:29 AM
in reply to: #713698

User image

Champion
11641
50005000100050010025
Fairport, NY
Subject: RE: What's this thing do?

If you look at our training logs, you'll see that Ron and me haven't really been training as much as we should given that the Lone Star Triathlon Festival is coming up in just a few weeks.

Well, there's a countdown timer running elsewhere on the site and every 108 minutes Ron or me has to enter a special code and push that button. If we don't, horrible things will happen. We've been so focussed on preventing these horrible things that our training has suffered.

 

That's our story and we're sticking to it.  

2007-03-07 10:22 AM
in reply to: #714403

Elite
3650
200010005001002525
Laurium, MI
Subject: RE: What's this thing do?

well i did some digging since you both were so helpfull.  it calls this function:

function routesubmitform()
{
  sndReq("action=newroutebike", routecallback)
  sndReq("action=newrouterun", routecallback)
  sndReq("action=newrouteswim", routecallback)
}

whith routecallback being:

function routecallback(http)
{
    if(http.readyState == 4){
        var response = http.responseText;
        var update = new Array();

        if(response.indexOf('|') != -1) {

            update = response.split('|');
            document.getElementById(update[0]).innerHTML = update[1];
            if (update[0] == "bikecontainer")
              updatebikeroute();
            if (update[0] == "swimcontainer")
              updateswimroute();
            if (update[0] == "runcontainer")
              updaterunroute();
            }
    }

and the update***route function being: 

function updatebikeroute()
{
  var importdistance, destinationformat, distance;

  destinationformat = getmeasurement(document.getElementById("bikedunit").options[document.getElementById("bikedunit").selectedIndex].value);
  importdistance = parseFloat(document.getElementById("bikedroute").options[document.getElementById("bikedroute").selectedIndex].getAttribute("totaldistance"));
  distance = document.getElementById("bikeddist")

  if (!isNaN(importdistance) & importdistance!=0)
  {
    distance.value = convertdistance(importdistance, destinationformat, "km")
  }

 

}

I have limited java script experience, but it's obviously something to do with the routes.  my guess is a debug thing you either forgot to take out or that you left in for testing.  Appears to go into your routes and pull the distance from whatever has recorded data or whatever was recently updated



Edited by vortmax 2007-03-07 10:22 AM
2007-03-07 10:28 AM
in reply to: #714629

User image

Champion
13323
5000500020001000100100100
Subject: RE: What's this thing do?

You do get the prize though vortmax.  I never thought it did anything!  But it was used by our other programmer for bug-testing during the integration of Mike's routetracker.  We will make it disappear.

2007-03-07 11:33 AM
in reply to: #714403

Veteran
222
100100
San Jose, CA
Subject: RE: What's this thing do?
marmadaddy - 2007-03-07 6:29 AM

If you look at our training logs, you'll see that Ron and me haven't really been training as much as we should given that the Lone Star Triathlon Festival is coming up in just a few weeks.

Well, there's a countdown timer running elsewhere on the site and every 108 minutes Ron or me has to enter a special code and push that button. If we don't, horrible things will happen. We've been so focussed on preventing these horrible things that our training has suffered.

That's our story and we're sticking to it.



Omigod. Does the button appear on the 4th, 8th, 15th, 16th, 23rd and 42nd pages?


New Thread
Site Issues Training Log & Site Support » What's this thing do? Rss Feed