The Cody Humpwhistle Blog

linux and crypto currency podcaster

Tag Archives: math


Percent change different between same numbers

Okay, I get it, when going from 10 to 20, it’s a 100% change. And when going from 20 to 10 it’s a 50% change, but that doesn’t help me. The process I wrote for novascore to alert you when your ping response times change by great than 20% is great. But when it flips back to the prior value, as per the video below, it just doesn’t look “right”.

A node goes from 13ms to 19ms from one day to the next, so novascore sends the alert. It states there has been an increase to the ping response time of 32 percent, gravy. The following day, the line has returned to usual operation, dropping back from 19ms to 13ms, however the percent change is advertised as 46% decrease. It’s right, mathematically, but if one was just to loop at their emails at a glance, they’d be forgiven for thinking the line has returned to a lower response rate than original.

My brain operates line a¬†finely tuned intel 386, and it’s going to take some time before I come up with the solution to this simple issue.