Blog Log In Register

🌱Switching to Syers branch

I am back with a new big update!


I am back with a new big update! 😁

In the last month I've been too busy to work enough to publish a new random update.

But last week I had some spare time and I put all my efforts on ending the Haines branch objectives and switch to the new one called Syers.


What's a branch...what are you talking about

Probably lot of you don't know much about code development so I'm going to explain this technical concepts as easy as I can.

I am using Git as version control system. (if you don't know what's Git read πŸ‘“ this)

This system allows me to get track of the changes I make in my code.

The stable version of the code is on a branch called stable and if I have to edit just little things I commit on that branch.

The cool part of Git is that, when I have to work on features that can break the stable version, I can just commit them in a new branch.

That means I can go back to the stable version whenever I want or merge the branches to the stable version when I ended coding them and I've tested them properly.

The major updates are called as famous skaters last-names 😎 in honor of them and you can vote the name of the next major update from the discord server.


Haines Update

The last major update I was working on was the so called Haines Update in honor of Jackson Haines who is regarded as the father of modern figure skating β›Έ.

To complete the last objectives and merge the update with the stable version of the website I had to reset the server πŸ–₯ and use Nginx instead of Apache as web server.

It was not so easy to understand how Nginx works and set all ready to host the website but after struggling a bit I made it.

Resetting the server leaded up to setup again the discord & telegram bot too; that's why figureskatingstatsbot was sleeping 😴 the 6th of February.

After that the website and the bot started working properly so I merged the branch to the stable one and officially released the Haines Update.


Syers Branch

It was time to create a new branch to work on new features so I created the Syers Branch in honor of Madge Syers that became the first woman to compete at the World Figure Skating Championships in 1902; name chosen in the discord server poll.

I had a hard time to go back working on the scraping function but in the end I managed to enable the import of Pairs and Ice Dance.

Than I updated the templates so Pairs and Ice Dance has now their own table color and show up in the competition preview as Ladies and Men do.

At the moment website can import all ISU competitions with result page made by ISUCalc, can show them and evaluate statistics πŸ“ˆ for each athlete.

There's a bug πŸ› though; due to the ISUCalc page generator update between years 2017 and 2018, result pages are a bit different.

As you can see by this image:

page generator update

left: 2017, right: 2018

in 2017 the results page shows the not qualified athletes with "FNR" acronym and not the short program score as 2018th page do.

Another difference is that the 2017th result page do not shows the not qualified athletes final placement number on the first column as 2018th page do.

Those two differences are making my scraping function struggle so it is getting only the qualified athletes data.

Talking about the user side, there's the possibility to register, manage the account (for privacy policy refers to this page) and of course share your appreciation to an athlete pressing the button be fan ❀.

Syers update will cost me some time in backend development because I want the admin side to be more consistent and clear.

Of course I'm going to solve the problem explained before and add new features and I'll report them in a new devlog.


Next Branch Poll

I also announce πŸ“’ that a new poll has been published in the discord server.

You can now chose the name of the next branch that will be created after the Syers Update.

Sign up to the discord server πŸ€—! It's a cool way to be part of this journey πŸ›«

Cheers πŸ‘‹ - 07/02/2021


Author: Fantantonio 

Date: 07-02-2021

Categories: service

Tags: #update #website