loading words...

Dec 22, 2018 04:26:21

Manage your broken streak.

by @brianball PATRON | 226 words | 401πŸ’Œ

Brian Ball

Total posts: 401πŸ’Œ
Total words: 114364 (457 pages πŸ“„)

There's a streak feature on 200wordsaday and other sites. It's a great way to strengthen your skills using nothing but the physics of consistency.

It works. It can give you something to smile about, show off and look forward to breaking.

Unless, you aren't on the right schedule.

If you think you have the whole calendar day, you could be wrong. Maybe the programmer didn't want to have to deal with timezones, and the whole site is on a single 24-hour clock. 

The problem arrives when you start your streak writing in the mornings -- then, due to travel, you choose to write in the evening on the next day. More than 24 hours could elapse but you think it's only the next calendar day.

Example: You normally write at six in the morning, so you're catching the streak  at whatever time the server is. Then, you suddenly miss the six am slot but write that day at seven pm. Now, the time between your writings is 36 hours.

Technically, the distance between two calendar days can be as much as 47 hours and 59 minutes.

So, the streak algorithm might need to be considered. Else, we'll have people writing every calendar day without being able to rack up a streak.

However, if the goal is to write at least once every twenty for hours, then all is fair.

  • 1

    Yes, this is an interesting engineering problem!

    It's waaay simpler to sync everyone on a single timezone when you are a global community.
    Managing time is super hard: this article is hilarious at describing this complexity. I don't think a user would like to deal with this in her settings :P

    Right now everyone has to write at least once every 24h to keep their streak going. It's not a matter of time period/timezone between two publications, everyone is aligned on Zurich's timezone :)

    Basile Samel avatar Basile Samel | Dec 22, 2018 06:52:37
    • 1

      @basilesamel -it’s not a hard problem at all. You just have then choose a tz and then do the math based on that window.

      Brian Ball avatar Brian Ball | Dec 23, 2018 07:29:50
    • 1

      @brianball ok I will look it up ? no worries

      Basile Samel avatar Basile Samel | Dec 23, 2018 08:04:46
  • 1

    @brianball lol, might want to bring that up with @basilesamel. but I ended up doing extra posts accidentally too because of that :P at least extra words never hurt!

    Victoria Maung avatar Victoria Maung | Dec 22, 2018 05:54:13
  • 1

    @brianball tricky tricky

    JDaniel Richer avatar JDaniel Richer | Dec 22, 2018 05:42:49
contact: email - twitter / Terms / Privacy