From Puerto de la Cruz to Teide

Tenerife Cycling

Last days I was on Tenerife, it was my first longer vacation in a year. One day I decided to rent a bike and go from city when I was (Puerto de la Cruz, north Tenerife) to Teide volcano. It was something amazing: only 36 kilometers one way, but all time up. Close to 2100 meters up in such distance – whow! It was the longest climb I ever made. Not the most difficult, because average slope was about 4-5%, maximum about 9%. On Karkonosze Pass I ride climbs more than 25% in this year. But this one was also difficult by length: almost 3 hours of intensive riding… Amazing, real. And also, with amazing views – check my Strava to see them.

Ultegra ST-R685 shifters and BR785 hydraulic brakes review

Shimano RS685 BR785 #2

About year ago, I decided to change my brakes, and also shifters on bike. It was long journey, because I changed many things before without good results. This post is not only a review for Shimano Ultgra ST-RS685 shifters and BR785 brakes, but also some comparison to other, mechanical brakes. If you don’t like long post, there is small version: yes, it’s a very good choice to exchange brakes to hydraulic. They are much better than mechanical, and if you will be not stingy, you will not have to do anything in long time. After a year, I really don’t see any downsides of this change and can only regret, that I didn’t do it earlier.

Continue reading “Ultegra ST-R685 shifters and BR785 hydraulic brakes review”

Use Vuex to avoid multiple requests from different components

JavaScript is asynchronous, it’s big advantage, but in some cases, also a big problem. The most popular mistakes relate to AJAX requests. Many people trying to do something before there is a response with data, and it cannot work. Now we can use many comfortable tools, and don’t have to remember about that – one of them is async/await. But sometimes, it can be still a problem. Let’s say, we use Vue, have one page with multiple similar components. Each of them needs some data from the same API endpoint, and calls request. In that case, we can’t use async/await, because there a lot of completely separate components. How can we avoid multiple requests then? There are few solutions, one of them is to use Vuex and this post is about that. 

Continue reading “Use Vuex to avoid multiple requests from different components”

Browsers JavaScript performance test

JavaScript Test

Browser is today one of the most important aplications – very often we don’t have to use other, specific aplications, we need only browser to open not only pages, but also complex internet services and apps, email clients, remote desktops, stream, play games or use social media. Most of these services are based on JavaScript, so performance in this area is very, very important for overall browser performance. There are many browsers, but we have only limited browsers engines now. I decided to made a small test and compare popular browsers JavaScript performance. Results are not surprised me, but have some interesting conclusions.

Continue reading “Browsers JavaScript performance test”

X Marathon around Lubin

X Marathon around Lubin

Just like every year, a mararhon around Lubin was in last days of August 2019. Some people ran 100 km or less, other used bicycles and also many different distances. It was my third start on this marathon, and like every year, I decided to ride 110 km, the longest one. Weather was great – especially in the morning. All day was sunny, without rain, but also hot, there was about 32 degree Celsius (~92 degree Fahrenheit).

It wasn’t race, but great marathon: you could choose start time (from 6am to 10am, every 30 minutes) and also choose path, but must visit all eleven control points. As every year, I rode some in forrest, some on roads, and also lost way few times. Theoretically the best option is to ride across the red trail, but some sections are terrible for gravel or cx bikes. Overall, it was fantastic day!