vtben
Forum Replies Created
-
AuthorPosts
-
January 17, 2013 at 8:20 pm in reply to: Freezing Saddles: Winter Bike Challenge (sign up open) #960230
vtben
Participant@GuyContinental 40872 wrote:
I’m already down… all week…
The plague is awful even WITH a flu shot. Ugh. Sorry ‘Ochos…
Me too. I seem to have caught whatever cold/flu/plague has been going around my office.
vtben
ParticipantSorry to the northbound cyclist on the MVT near DCA last night. I didn’t mean to blind you with my headlight. A ninja jogger startled me and I didn’t cover my light in time!
January 15, 2013 at 4:08 pm in reply to: Freezing Saddles: Winter Bike Challenge (sign up open) #959929vtben
Participant@ronwalf 40583 wrote:
Oh man, proof of my dork-hood is now forever etched into the interwebs:
Freezing Saddles: Virtual contest pushes area cyclists to rack up real mileageAre those bar-end mirrors in the pics? Do they work well?
January 14, 2013 at 6:14 pm in reply to: Freezing Saddles: Winter Bike Challenge (sign up open) #959868vtben
Participant@consularrider 40494 wrote:
Guess you should have left a little earlier, winds were calm from 7 to 8 am. :p
However, I did feel a drop in temperature along the Potomac after crossing under Memorial Bridge heading towards Roosevelt Island. The NWS reports the temperature has started dropping since it peaked at 61° this morning and I expect I will be underdressed when it is time to ride home.
I was going to say, I was on the MVT going north around 7:15am and crossed the 14th St Bridge a little later and didn’t notice any appreciable head/cross-winds. It does seem like there’s always a headwind in the afternoons going south on the MVT approaching Gravelly Point, but that may be in my head
January 12, 2013 at 7:48 pm in reply to: Freezing Saddles: Winter Bike Challenge (sign up open) #959809vtben
Participant@ejwillis62 40438 wrote:
[ATTACH=CONFIG]2272[/ATTACH] my new fenders. Ready for the wet now.
Nice. Same ones I have, though it looks like you did a much neater job installing them than I did! My front mud guard is a bit messed up from getting stuck under the wheel a few times, but that was due to user error I think.
January 9, 2013 at 4:44 am in reply to: Freezing Saddles: Winter Bike Challenge (sign up open) #959432vtben
ParticipantWell I’ll add that I’ve been pulling down Team V’s numbers as I’ve been unexpectedly out of town dealing with a family medical issue (not to worry, everyone’s fine now). I should be back on the saddle by this weekend and posting some non-zero days
January 7, 2013 at 10:12 pm in reply to: Freezing Saddles: Winter Bike Challenge (sign up open) #959254vtben
ParticipantApparently no one told mother nature that we were having this contest. 50’s this week and 60’s this weekend?
January 2, 2013 at 8:17 pm in reply to: Freezing Saddles: Winter Bike Challenge (sign up open) #958760vtben
Participant@hozn 39320 wrote:
OMG – it’s in Haskell. That’s awesome.
I know about as much about Haskell as I do about heaven, but the last couple lines of this block appear to explain the “flooring” and cast to int:
[COLOR=#990000][B]renderScores[/B][/COLOR] scores [B]=[/B] ol [B]$[/B] [B]do[/B]
mapM_ row [B]$[/B] reverse [B]$[/B] sort scores
[B]where[/B]
row us [B]=[/B] li [B]$[/B] [B]do[/B]
a [B]![/B] href (toValue [B]$[/B] [COLOR=#DD1144]”http://app.strava.com/athletes/”%5B/COLOR%5D [B]++[/B] (show [B]$[/B] uid us)) [B]$[/B] toHtml [B]$[/B] name us
[B]_[/B] [B]<-[/B] [COLOR=#DD1144]": "[/COLOR] td [B]$[/B] toHtml [B]$[/B] userScore us [B]_[/B] [B]<-[/B] [COLOR=#DD1144]" points ("[/COLOR] toHtml (days us) [B]_[/B] [B]<-[/B] [COLOR=#DD1144]" days, "[/COLOR] toHtml (floor [B]$[/B] miles us [B]::[/B] [COLOR=#445588][B]Int[/B][/COLOR]) [COLOR=#DD1144]" miles)"[/COLOR] [/CODE] That said, that looks like it's just for display, so it's possible the full values are being stored (?) I'm sure rcannon can illuminate. I too build my work life around open-source software; I love that this is open-source.It looks like he’s also flooring when calculating the score itself:
[CODE]userScore score = 10 * days score + floor (miles score)[/CODE]
But it also looks like if you were to do two rides in a single day, say 4.9mi and 1.1mi, it would be scored “correctly” as 6mi. If you were to do those same rides on separate days, they would be scored as 4mi and 1mi respectively. I’m not 100% sure about my interpretation of the code, so I’d be interested in hearing from the author.
Ben[CODE]renderScores scores = ol $ do
mapM_ row $ reverse $ sort scores
where
row us = li $ do
a ! href (toValue $ “http://app.strava.com/athletes/” ++ (show $ uid us)) $ toHtml $ name us
_ <- “: “
td $ toHtml $ userScore us
_ <- ” points (“
toHtml (days us)
_ <- ” days, “
toHtml (floor $ miles us :: Int)
” miles)”
[/CODE]That said, that looks like it’s just for display, so it’s possible the full values are being stored (?) I’m sure rcannon can illuminate.
I too build my work life around open-source software; I love that this is open-source.
It looks like he’s also flooring when calculating the score itself:
userScore score = 10 * days score + floor (miles score)[/CODE]
But it also looks like if you were to do two rides in a single day, say 4.9mi and 1.1mi, it would be scored “correctly” as 6mi. If you were to do those same rides on separate days, they would be scored as 4mi and 1mi respectively. I’m not 100% sure about my interpretation of the code, so I’d be interested in hearing from the author.
Ben[CODE]userScore score = 10 * days score + floor (miles score)[/CODE]
But it also looks like if you were to do two rides in a single day, say 4.9mi and 1.1mi, it would be scored “correctly” as 6mi. If you were to do those same rides on separate days, they would be scored as 4mi and 1mi respectively. I’m not 100% sure about my interpretation of the code, so I’d be interested in hearing from the author.
BenJanuary 2, 2013 at 5:20 pm in reply to: Freezing Saddles: Winter Bike Challenge (sign up open) #958698vtben
ParticipantIt’s interesting to see how the Strava API handles rounding for miles ridden. So far I only have 1 ride logged and my 4.9 mile commute only clocks in at 4 miles on the score page. I guess I need to tack on an extra lap around the block before pulling into work!
vtben
Participant@dasgeh 34830 wrote:
That said, most apartments could fit a bike, if you’re willing to give up space for something else/find a smart storage solution.
I bet Brompton could sell bikes by the truckload in Manhattan after Sandy!
October 31, 2012 at 8:15 pm in reply to: BikeArlington Lights For Bikes Event – Call For Volunteers! #954566vtben
ParticipantI’m available on Monday the 5th. Which side of the street will we be on?
vtben
Participant@Dirt 34153 wrote:
Honestly, I’d rather squeeze by the sign like that and have it be visible and effective than wayyyyyy off to the right. Thats’ just me though.
I thought the same thing when I saw the first pictures/tweets/complaints about placement.
vtben
Participant@khanb1 33723 wrote:
Another option is to maybe simply bring a set of cloths at work ahead of time so that I can change into after I wash up. That way I can carry just my laptop. But I’ll need a bag that won’t damage the laptop in case I wipeout (like I did on my way to work this morning).
I’m also a keep-all-my-work-clothes-at-work person and use the dry cleaner a couple blocks away. When I first started bike commuting I would carry my work clothes (and shoes!) every day both ways in a backpack. It actually wasn’t that bad, although that probably depends on how far you have to go. Also, adding a laptop to that mix would make things much more unpleasant.
vtben
ParticipantRevolights look really awesome too, but boy they’re expensive!
[video=vimeo;51042117]http://vimeo.com/51042117[/video]
vtben
ParticipantIt looked like someone connected with a mouse this morning, northbound on the MVT just before Gravelly Point.
-
AuthorPosts