this post was submitted on 21 Nov 2023
106 points (96.5% liked)

Software Gore

965 readers
1 users here now

A community for posting software malfunctions

Deliberately bad software or bad design is not software gore, it must be something unintentional

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient and shear it



founded 11 months ago
MODERATORS
106
Negative Steps (programming.dev)
submitted 11 months ago by mac to c/software_gore
 
top 10 comments
sorted by: hot top controversial new old
[–] [email protected] 41 points 11 months ago

My dude moonwalks everywhere.

[–] [email protected] 23 points 11 months ago (1 children)

Did you walk more than 2,147,483,647 steps so it overflowed and went around into the negatives?

[–] [email protected] 11 points 11 months ago (1 children)

No 9,223,372,036,854,775,807 steps

[–] astraeus 10 points 11 months ago* (last edited 11 months ago)

I would walk 4,611,686,018,427,387 miles and I would walk 4,611,686,018,427,387 more just to be the man who walks 9,223,372,036,854,774 miles to fall down at your door

[–] [email protected] 16 points 11 months ago

Are you left handed or walking against the spin of the earth?

[–] [email protected] 10 points 11 months ago

Walking backwards makes you unfit

[–] [email protected] 6 points 11 months ago

Why you walk backwards everywhere?!!

[–] [email protected] 6 points 11 months ago* (last edited 11 months ago)

Antiwalking my way to an early grave

[–] somegeek 5 points 11 months ago (1 children)

Can someone guess how this happens?

[–] [email protected] 5 points 11 months ago* (last edited 11 months ago)

Random possible explanation:

  • Steps are not recorded as a single number, but instead as a list of timestamped+GPS'd events (probably in small batches rather than per-step). This is the data they'd want to collect about you if their goal was to monetise your habits.
  • "Number of steps" on the UI parses this list of step batches to work out how many steps you have taken, but also subtracts a previous number from it (eg global number of steps at start of day) to get just the steps for today.
  • Timetravel caused by timezone change or daylight savings. The global number of steps at start of day ends up bigger than the sum of steps batches. Perhaps the sum of steps batches only gets processed up until "now" and "now" has moved backwards.