Show HN: Ten years of running every day, visualized
845 by friggeri | 433 comments on News.
Today marks ten years, 3653 consecutive days, of running at least one mile every day under the USRSA rules [1]. To celebrate, I built an interactive dashboard that turns a decade of GPX files into charts you can explore. Running has truly changed my life: I've made lifelong friends, explored beautiful places, and more importantly invested into my own health and fitness, which I'm starting to see the positive benefits as I get older. The stack is pretty simple: a NextJS app, with a Postgres database to keep all my running data, and all the stats are pre-computed and cached in Redis, so I effectively only hit the database once a day when a new run is ingested. On the fronted, I toyed with the idea of using D3 or pre-existing data viz libraries, but ended up rolling my own using SVGs directly, it gave me more control on the visualizations. I used the Strava bulk export to pre-populate the database, and I'm using their webhook API to do incremental updates. I have to tap into OpenWeatherMap and OpenCageDate to enrich the running data a little bit. Happy to answer anything about the stack, data pipeline, or how I stayed motivated for 10 years! [1] https://ift.tt/pCvmsOy Run Streak Association rules: ≥ 1 mile per day
Subscribe to:
Post Comments (Atom)
New best story on News: ChatControl: EU wants to scan all private messages, even in encrypted apps
ChatControl: EU wants to scan all private messages, even in encrypted apps 942 by Metalhearf | 515 comments on News.
-
Qualcomm and Apple agree to drop all litigation 467 by saeedjabbar | 122 comments on News.
-
NASA’s Science Mission Directorate will hold a community town hall meeting with Associate Administrator for Science Thomas Zurbuchen and his...
-
SubEthaEdit 5 is now free and open source 357 by schwuk | 29 comments on
No comments:
Post a Comment