From 7b764aa917040086d55ddf5779f932a4fb99d3d7 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Wed, 8 Nov 2023 13:32:21 -0500 Subject: [PATCH] Fixes markdown --- 29.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/29.md b/29.md index c54479f1..66f1e209 100644 --- a/29.md +++ b/29.md @@ -52,16 +52,16 @@ The `WINDOW-SIZE` is a number between 0 and 10 and represents each order of magn By truncating the `.created_at` to the first `WINDOW-SIZE` chars, it effectively creates the groups below: -0: Returns only one hash for the entire subscription -1: Groups by periods of 1000000000 seconds (~31.7 years): Periods start with `*000000000 and end with `*999999999` -2: Groups by periods of 100000000 seconds (~3.17 years): Periods start with `**00000000 and end with `**99999999` -3: Groups by periods of 10000000 seconds (~16.53 weeks): Periods start with `***0000000 and end with `***9999999` -4: Groups by periods of 1000000 seconds (~11.57 days): Periods start with `****000000` and end with `****999999` -5: Groups by periods of 100000 seconds (~1.16 days): Periods start with `*****00000` and end with `*****99999` -6: Groups by periods of 10000 seconds (~2.77 hours): Periods start with `******0000` and end with `******9999`   -7: Groups by periods of 1000 seconds (~16.66 minutes): Periods start with `*******000` and end with `*******999` -8: Groups by periods of 100 seconds (~1.66 minutes): Periods start with `********00` and end with `********99` -9: Groups by periods of 10 seconds: Periods start with `*********0` and end with `*********9` -10: Groups by periods of 1 second: Periods start with `**********` and end with `**********` +- `WINDOW-SIZE=0`: Returns only one hash for the entire subscription +- `WINDOW-SIZE=1`: Groups by periods of 1000000000 seconds (~31.7 years): Periods start with `*000000000 and end with `*999999999` +- `WINDOW-SIZE=2`: Groups by periods of 100000000 seconds (~3.17 years): Periods start with `**00000000 and end with `**99999999` +- `WINDOW-SIZE=3`: Groups by periods of 10000000 seconds (~16.53 weeks): Periods start with `***0000000 and end with `***9999999` +- `WINDOW-SIZE=4`: Groups by periods of 1000000 seconds (~11.57 days): Periods start with `****000000` and end with `****999999` +- `WINDOW-SIZE=5`: Groups by periods of 100000 seconds (~1.16 days): Periods start with `*****00000` and end with `*****99999` +- `WINDOW-SIZE=6`: Groups by periods of 10000 seconds (~2.77 hours): Periods start with `******0000` and end with `******9999` +- `WINDOW-SIZE=7`: Groups by periods of 1000 seconds (~16.66 minutes): Periods start with `*******000` and end with `*******999` +- `WINDOW-SIZE=8`: Groups by periods of 100 seconds (~1.66 minutes): Periods start with `********00` and end with `********99` +- `WINDOW-SIZE=9`: Groups by periods of 10 seconds: Periods start with `*********0` and end with `*********9` +- `WINDOW-SIZE=10`: Groups by periods of 1 second: Periods start with `**********` and end with `**********` -Notice that each group starts at 0 (inclusive) and ends at their last possible number 9 (inclusive).  \ No newline at end of file +Notice that each group starts at 0 (inclusive) and ends at their last possible number 9 (inclusive). \ No newline at end of file