## Archive of posts in Dec, 2022

### The longest all-$1$ substring of a random bit string

Given your probability of breaking the combo at each note, what is the probability distribution of your max combo in the rhythm game chart? I considered the problem seriously!

- Categories: math
- Tags: long paper, rhythm game, algorithm, probability

### I made this, for the number of days in a week is prime

The number of days in a week is prime, so we cannot utilize weekly periods to help us remember periodical events unless the period is a multiple of 7. However, there may be something that we need to get reminded of which happens once per two days or three days. For example, I wash my hair once per two days and wash my clothes once per eight days. To solve the problem, I wrote a Ruby program to help remind me of those routines.

- Categories: programming
- Tags: selfhosting, linux, ruby