Better HN
topnewbestaskshowjobs
Log inSign up

paulmach

289 karma · joined Apr 8, 2012 (14y ago) · 14 submissions

PhD in Applied Math, X-pro cyclist, Former Director of Strava Labs
Submissions

comment 8y ago · link · parent

Women's cycling is far from lucrative. They also lack a union and pay their own health insurance. Minimum salary for men at the highest level is about 30k euros per year. http://www.cyclingnews.com/news/minimum-wage-increase-for-wo...

2.

Alibaba Cloud(alibabacloud.com ↗)

520 points · by paulmach · 9y ago · 353 comments

3.

Futures/Promises in the Land of Golang(labs.strava.com ↗)

1 points · by paulmach · 11y ago · discuss

comment 12y ago · link · parent

Priorities....

comment 12y ago · link · parent

Using the API you can get both the Segment altitude data and the Segment Effort altitude data. The segment data is what's displayed on the website and can be bad. But the Segment Effort data would be a subset of the data from the activity. So you can get many many versions of the altitude for the segment and do any type of analysis you wish.

comment 12y ago · link · parent

My own quad tree, they're not that hard to write :)

We're not considering opening the data. But we are working with cities to help improve their bike infrastructure

http://bikeportland.org/2014/05/01/odot-embarks-on-big-data-...

comment 12y ago · link · parent

The overlay tiles zoom weird in leaflet. They get treated like a base layer so when you zoom, they get scaled 2x and the new tiles load on top. That doesn't look right when the tiles are transparent. There must be an option to fix this but couldn't find it.

I couldn't get the styles I wanted with mapbox so I just defaulted to google.

comment 12y ago · link · parent

We have a self-hosted version of the iD editor that already includes this data as a tracing layer. http://strava.github.io/iD/#background=Bing&map=16.97/-122.5...

I've also built another tool, Slide, to help use this data for faster editing, see http://labs.strava.com/slide/

comment 12y ago · link · parent

On this map I took out any point within 1km of the start or end of every ride. This is stronger than what users have set and eliminates 1000s of "hot spot".

I've looked into a couple of these cases and it's friends "coming by for a ride" or them stopping at their house mid ride.

I'm working on further eliminating these points by just not included "stopped" points. I've also tried doing some image processing to remove these hot spots but have had mixed results.

comment 12y ago · link · parent

The data is from http://www.strava.com

An overlay would be nice, but there is a version for both running and riding.

comment 12y ago · link · parent

It has every public ride and run with activity id < 120,000,000

It's not updated on every upload, but pretty much the complete dataset.

comment 12y ago · link · parent

Each pixel has a count. Each tile gets a 90 percentile value. Every corner gets the average of its 4 tiles. Every pixel in the currently requested tile gets a value [0, 1] based on the bi-linearly interpolated "max". It's then colored based on that final value.

Maybe unnecessarily complicated, but it does provide really good local normalization. You also get cool looking shading like in this location http://labs.strava.com/heatmap/#16/-121.76487/38.49134/gray/...

comment 12y ago · link · parent

Map creator here if you have questions.

The data is aggregated into a quad tree based on number of GPS points in each pixel. Tiles are then served on the fly using Go and C using CGO.

Cloudfront tackles most of the load, but the load balanced i2.xlarge instances can do about 300 tiles a second.

14.

Show HN: Strava Segment Time Gaps Plotted Every Second, ie: where you won(raceshape.com ↗)

2 points · by paulmach · 14y ago · discuss