Lurker 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://www.runeveryday.com Run Streak Association rules: ≥ 1 mile per day

Comments (495) 108 threads

Show all comments

Showing thread 6 of 108

rixed4 replies#
I don't know what impress me the most: that you run every single day for 10 years, or that you manage to have a data point for each of those. Not a single day did you forget your phone/watch/wtv? Not a single data loss? Not a single account hijaking/locked out/revoken token? Do you have your personnal SRE team?
k__1 reply#
Neurotypicals, am I right? :')
rixed#
You are always the neurotypical of someone, I guess :)
epolanski#
I keep track of my calories every day, every meal, every snack from a very long time. It's very rare to not have the phone or another device close when I'm eating or after the meal, even if offline I'll send a WhatsApp message to myself and it will be sent when im back online.

In the very rare occasions I don't have a phone I vividly remember what I've eaten and will record it later.

jdefr892 replies#
Same.. I am surprised someone would remember the exact dates to when they started running consistently... Seems odd..
randlet1 reply#
A lot of runners (me included) are data nerds and record every runs date/time, distance, pace, weather, shoes worn, how we're feeling, temperature, elevation gain etc.
SketchySeaBeast#
Watch the start of most race events and the first thing that people will do as they start is turn on their watches.
footy1 reply#
why? Give me 10 minutes and I could tell you the exact dates of each training program I've done since I was in University 18 years ago.
jdefr891 reply#
Really? I can hardly remember what the hell I was doing one day ago... I am probably just burned out though so that doesn't mean much.

Continue this thread — 1 reply

mminer2371 reply#
It's all stored on Strava. You just push a button when you start running and when you stop. If it's habit, you notice pretty fast if you don't have your phone, especially if you listen to music or something when you run.
rixed1 reply#
I don't run as much, and never more than 1h, yet it happened several times to me that my phone battery died on me while running. (I'm obviously not carrying a powerbank with me, and my phone is many years old). It would also expect that Strava or the network would fail from time to time (no need to go as far as antarctica for that - I've been living in germany for less than a year and I have lost track already of how many times the 5G/4G network has been out of order for hours). I guess strava has a good networkless mode. Or maybe my experience with tech has been particularly bad and I'm an outlier?
SketchySeaBeast1 reply#
I don't know about Strava, but I have a Garmin running watch. It's got a battery that lasts for over a week and stores all activities until it can be uploaded via phone. The only failure point there might be user error, but given we're talking about a 1 mile run, I barely count that as penance if I have to redo it.

Continue this thread — 1 reply