Strava

Posted on
Page
of 219
  • Have we lost the filter where by when I click on a segment it shows my result rather then the current top 10?

  • Can't remember what my highest was, have only done a few stupid long Audax with a Garmin that records HR

    Found a way to export from GTC and combine the two parts (I'd reset part way to avoid losing it all) into one file and convert to .fit (otherwise the .tcx file is 55MB and won't upload).

    http://www.strava.com/activities/240158222

    Suffer score of 933. Bah.

  • It's built into strava now. Go to your setttings. :)

  • Indeed. (Not belittling a sub 4h marathon but...)

    By HR: 2h53m21s spent in Z4 (Threshold), 52m24s spent in Z3 (Tempo), 6m32 spent in Z2+Z1

    By Pace: 5m00s spent in Z4 (Threshold), 36m43 spent in Z3 (Tempo), 2h40m27s spent in Z2 (Endurance)

    Fastest 1km (3:59!) running through solid buildings in Canary Wharf?

    #justsaying

    i think those pace zones are based on current race times (my recent 5k pb) whereas the hr is historic (data comes from the activity) but my max hr is about the same as when i ran it (poss. a beat or two lower) so of the two the heartrate is likely more accurate which is what the suffer score is based on.

    the gps going mental in canary wharf because of the switchbacks and the buildings blocking the signal wouldnt affect the hr drastically and the inaccurary is probably only a +/- of 0.4 miles but it did mess up my best estimated records which is annoying. although i'm totes faster than TW anyways.

  • But Threshold HR is the max you can hold for 60 minutes. Even then its theory. If you actually can hold it for 60mins. You're the suffer king.

    So holding Your 60 min max for 173 mins is always going to make Strava go mental.

    HR max isnt going to change. Other than decrease With age. But the amount of it you can tollerate can be trained, as well the effectivity of each beat. My FTHR was around 158 a few years back when I had become a bit lazy. Its been calculated as 168 recently (ouchie).

  • 2015 KOMS can fuck off.

  • Use the Chrome Strava extension to remove the announcements of 2015 KOM

  • ... and then send the author a beverage :)

  • @TW As discussed elsewhere (Running thread) Strava sometimes thinks you've stopped mid run when you haven't, and then calculates your pace based off this incorrect "moving time". It's due to the uploaded file containing trackpoints that don't have position information in them.

    If you've got a .fit file you'll need to convert it to .tcx first (either import it to something like GC that can export it as TCX) or use a tool like fit2tcx.

    OK, UNIX (should work with cygwin) command line to remove trackpoints from a TCX file (from fit2tcx) that don't contain position information:-

    cat in.tcx | sed -e 's/^  *//' -e 's/  *$//' | tr -d '\n' | sed -e 's/<\/Trackpoint>/&\n/g' -e 's/<Trackpoint>/\n&/g' | grep -v "^$" | grep -v "Time..Alti" > out.tcx
    

    This assumes that the correct lines don't have the Altitude tag following on from the closing Time tag, i.e.

    Example OK line:-

    <Trackpoint><Time>2015-01-21T12:48:55Z</Time><Position><LatitudeDegrees>51.4546127</LatitudeDegrees><LongitudeDegrees>-0.2336897235</LongitudeDegrees></Position><AltitudeMeters>50.2</AltitudeMeters><DistanceMeters>890.66</DistanceMeters><HeartRateBpm><Value>168</Value></HeartRateBpm><Extensions><TPX xmlns="http://www.garmin.com/xmlschemas/ActivityExtension/v2"><Speed>3.407</Speed></TPX></Extensions></Trackpoint>
    

    Bad line (no position tags):-

    <Trackpoint><Time>2015-01-21T12:48:48Z</Time><AltitudeMeters>51</AltitudeMeters><DistanceMeters>872.7</DistanceMeters><HeartRateBpm><Value>170</Value></HeartRateBpm><Extensions><TPX xmlns="http://www.garmin.com/xmlschemas/ActivityExtension/v2"><Speed>2.802</Speed></TPX></Extensions></Trackpoint>
    

    You may need to tweak the grep -v argument to something that only matches the lines that don't have position information in them.

    I'll follow up with a perl script to do the same (and rip out best distance segments) which will be a bit more robust, optionally do interpolation to add position tags on the trackpoints missing them, and won't rely so much on it being a specific xml format. I can't be arsed to use an XML parser so it's all hand hacked.

  • As a premium member with a power meter in the post, do i need to do anything on my account (i.e., input my FTP somewhere) to start getting power analysis of my rides?

  • Training peaks/Golden cheetah .. strava is for "fun"

  • Yeh, i was going to use Golden Cheetah. But i use Strava anyway and so want to know how to get everything out of it...

  • Dont think strava (even premium) offers anything power specific over TP/GC ..

  • Indeed. Golden Cheetah does what Strava (Premium) does plus a whole lot more.

  • One line bash command. Like.

    Thanks for this.

    My regex is terrible - what dies this bit cover: /^ */

    Do you have one that automatically formats / indents xml files? tcx / gpx files on one line give me a headache.

  • If you're processing XML, a bytestream editor seems risky.

    Python+SAX/DOM pls.

  • 's/^ *//' replaces any spaces at the beginning of the line with nothing, essentially stripping off leading whitespace.

    ^ matches the beginning of the line
    the name space character matches at least one space
    space then kleene star (*) matches any number (including 0) spaces
    replace it with nothing.

    's/^ +//' would be cleaner (match beginning of line and then 1 or more spaces) but I've been bitten by lack of + support in the dim past and so I naturally avoid it.

    As for indentation, something like xmllint will do a better job, but for hackiness you could also just do something along the lines of:-

    cat a.gpx | tr -d '\n' | sed -e 's/> *</>\n</g' | perl -e '$in=0; while( <> ) { if( /<[^\/].*<\// ) { print " "x$i.$_; } elsif( /<[^\/]/ ) { print " "x$i.$_; $i++; } elsif( /<\// ) { $i--; print " "x$i.$_; } }'
    

    The sed separates tags onto a line by themselves and the perl does some rudimentary indentation.

    Expect the above to blow up (especially for strings that contain embedded > or < characters). It's 5 minutes' work whilst distracted on a conference call.

  • I think I used awk previously to chuck everything onto new lines.

    That was a long time ago, and my scripting now involved direct copypasta, and shouting if it doesn't do what I want.

  • It doesn't, but it does offer some stuff which is interesting to click into/out of when just looking at an old ride etc.

    You can set your FTP in the account setting section, and given enough data Strava will guesstimate it in the power curve tab.

  • Useless use of cat!

  • Useless use of cat!

    Shit HN or /. memes >>>>>>>>>>>>>>>>>

  • another piece of art :)


    1 Attachment

    • Schermafbeelding 2015-01-24 om 09.40.34.png
  • Too many hills for LFGSS

  • This site has possibly the worst UX of any site of its size i've ever used.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Strava

Posted by Avatar for deleted @deleted

Actions