as days pass by

https://kryogenix.org/days

2 posts

Tech

Subscribe via RSS

  1. I was bought a new computer

    Twelve years ago I wrote about getting a new computer and now I have another new one. I didn't buy this one, though; it was a fiftieth birthday present from my parents. And I'm really rather pleased with it. First, let's have a look. Of the three things I'm most pleased with, the first is the look of it, which is all down to the case. Case FRACTAL TERRA Mini ITX Case (JADE) Processor (CPU) AMD Ryzen 7 9700X Eight Core CPU (3.8GHz-5.5GHz/40MB CACHE/AM5) Motherboard ASUS® ROG STRIX B850-I GAMING…

    0
  2. Calculating a rolling average without keeping all the numbers around

    OK, if you know anything about maths you will read this and shake your head in dismay because it's just obvious and why did I even need to think about it? But... I was quite pleased to think this through, so I thought I'd write it down in case anybody else finds it useful. So. Your job is to calculate the average of a set of numbers. This is not hard: the average value1 is the sum of the numbers divided by the count of the numbers. So the average of 2, 7, 8 is 2+7+8 17 ----- = -- = 5.666… ...

    0