MyCyclingLog

Page may contain affiliate links. Please see terms for details.

coffeejo

Ælfrēd
Location
West Somerset
What I've done so far this month is as much as I did in the whole of April 2011. :becool: But like most people seem to be, I'm down on where I was this time last year. I blame (a) the weather and (b) a prolonged rough patch in terms of mental health and mojo. But whatever the mileage, it was good to be out today, especially tanking it downhill at 33mph on my hybrid in my normal clothes and remembering the days when I bricked it if the speedo went anywhere near 30.
 
This week has been really fustrating after last weeks shunt. I then went on the Saturday forums ride and had a great time felt better as the day went on :thumbsup: After driving back in the car for four hours on Sunday I stupidly went for a ride however, struggled a wee bit for light so had to up the pace and although it didn't feel bad at the time I think it stressed my throat which has been in agony since Monday; the weather has been great too :sad:
 

TimO

Guru
Location
London
Hmm, when MyCyclingLog is down, it doesn't look like my attempts to make it tolerant of that, and just relying on the cached copy has worked. Bugger.

TickerFault.png
 

TimO

Guru
Location
London
Right, I know what the problem is (was), the website was returning a webpage, basically saying that it wasn't working for some reason (eg maintenance). That was interpreted as a "working" reply, but then the regular expression failed to match to anything useful on the webpage, because there was nothing useful there, so it "looked" like there was a group with no members in it.

Unfortunately, that's wiped out the cached copy (replacing it with an empty one), so even though I've now modified the code to use the cached copy when the returned page has no members whatsoever, since that's an implausible return, it still can't return anything useful. When the MyCyclingLogs website starts operating again, it should recover.
 

TimO

Guru
Location
London
Feel free to mention the aesthetics, the current design isn't very good, it's a quick hack to make things work.

I'm planning on allowing the next version to have XML definition files that detail the layout, so there can be differing layouts with things like bigger or small elements, other colours, fonts etc That way people can pick what bits they want. It won't be totally configurable, since for simplicity and security, I (or someone else like Shaun) will have to load up a layout, and then make it available via some simply passed parameter to the ticker (eg "&layout=small" or "&layout=YACF_Grey" etc).
 

TimO

Guru
Location
London
:laugh:

He basically fell out with Captain cache!
The main problem is that there isn't a "proper" programatic way to get data from the website, so we have to "scrape" the webpages, which isn't elegant, and can lead to problems such as happened earlier.
 

TimO

Guru
Location
London
I was just thinking that I'd prefer the banner across the ticker itself to read x miles of y rather than x%. :tongue:
Potentially easy enough to do. I was intending that the various parameters that could be displayed, would be inserted into the text strings as a "variable", so that could possibly be an alternative option. The mileage exists in both Lock's version, and my variants as text outside of the bar, so I guess that may be swapped, so it displayed the percentage, or some other information.
 

BSRU

A Human Being
Location
Swindon
Potentially easy enough to do. I was intending that the various parameters that could be displayed, would be inserted into the text strings as a "variable", so that could possibly be an alternative option. The mileage exists in both Lock's version, and my variants as text outside of the bar, so I guess that may be swapped, so it displayed the percentage, or some other information.
I hope people who prefer the modern metric measuring system are catered for, I assume they are.
 
Top Bottom