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 2 of 108

musikele3 replies#
It'd be perfect if we can have a toggle to switch to metric system, like kilometers, meters, celsius for temperature, etc. I find it very hard to follow the numbers expressed in miles
navane3 replies#
I know it's a dumb trick but it works for me: I use the Fibonacci sequence. 3 miles? 5 km. 8miles? 13km. 33 miles? 55km.
catoc1 reply#
Ha! That’s nice.

I never realized 1.609 miles/km is close to the golden ratio (1.618)

donpott#
It is quite clever. My own rule of thumb is "add half of the amount in miles, then 10% of the (original) amount in miles". What's interesting is that it happens to be just as precise as the method shown above (ie. 1.6 v 1.609 v 1.618 )
gus_massa1 reply#
My dumber version: Just multiply by 1.5. It's fine unless you are using a treasure map.
chakintosh1 reply#
Same here. Usually it's x1.6 but 1.5 is easier to calculate and you add a teeny bit after.

Continue this thread — 1 reply

mnaimd#
Hey, this is very smart. The golden ratio... Wow!
DanielVZ4 replies#
Fahrenheit is easy if you just forget trying to translate it to Celsius and just equate it to roughly:

- 0 = freezing
- 50 = mild
- 100 = Very hot (not burning just very hot)

stephen_g1 reply#
Yeah but Fahrenheit still feels super alien and unintuitive if you haven’t used it much. I have like three or four approximate values that I think I know what they feel like, but most of the time I really have to stop and think.
anton-c7 replies#
For casual human use I would say Fahrenheit is one of the more easily defended imperial units since it has more resolution.

In reality hearing its 80 outside where I live could mean beautiful day or sweltering mugginess so it's never been a great indicator for me regardless of unit.
Or when people adjust a thermostat by like 2 degrees. If you changed it and didn't tell me idk if I would even perceive it. Temperature is weird.

Continue this thread — 7 replies

brudgers1 reply#
0 = freezing

“Frigid” would perhaps be less confusing “Freezing.”

toss11 reply#
...except 0°C is literally originally defined as the freezing point of water? "Freezing" seems more on-point to me...
filleduchaos1 reply#
The temperatures given in that comment are very obviously in Fahrenheit...?

Continue this thread — 1 reply

0_____0#
If you go for a run at 0C with a T-shirt you'll probably be OK. Gloves and ear coverings would be nice.

If you go for a run at 0F in a T-shirt, you won't be running for very long. That's like -18C.

Breza#
That's a great way to look at it. Fahrenheit is arguably aligned with how people perceive temperature. Zero is so cold that you probably should stay inside. One hundred is so hot that you should probably stay inside.
tbassetto2 replies#
I can somehow convert distances in my head, by pace is harder! If someone has a trick to quickly convert between minutes/mile and minutes/km please chime in.
fivestones#
Yeah! Please do
mosquitobiten#
I always use minutes as percentages of hours to convert miles to km, 30min is 0.5 hours so following that 30miles=50km.