Uraz Cross Bike 2019

Cross Bike Uraz 2019

The same place, the same route as on 2018 edition, but with much better weather – there was no mud! Race was difficult to me. I made a lot of training on winter using trainer and Zwift and improved my results on many segments, but it was still difficult – because too fast, too hard beginning and using CX bike on forest terrain with some roots. Never more things like this!

Laravel Eloquent: MongoDB relations

Laravel MongoDB

Laravel offers very complex Eloquent – ORM simple to use, but with a lot of options. One of them is relations support. We can define several types of relations between our models and then use them to simplify get the data. Relations are also support by MongoDB extension for Eloquent, which is available on GitHub. Sometimes it may be difficult to use because of some issues with ObjectId and BSON. Let’s see how it can be solved.

Continue reading “Laravel Eloquent: MongoDB relations”

Few words about meditation

Meditation

I have been planning this post for a long time, but there has always been something “more important”. But finally, it’s time to write about meditation. In the beginning I must said one important thing – I’m not very experienced in meditation. I tried and use several techniques, but I’m not a big source of knowledge about that. If you want to see professional opinions, professional descriptions and tricks, use good literature for that. I can only describe my feelings, my observations and what I think about mediation. It’s only my opinion, do not use it as general “rating”.

Continue reading “Few words about meditation”

Divide and Conquer

Divide and Conquer

I work as a software developer and very often must solve big, difficult problems. In most cases, first look at the problem is: “what a crap, it’s impossible to do this!”. But it isn’t true, there are no impossible things. I always take a step back, wait a moment and try to see only one or few parts of issue. Now it’s much simpler. This is divide and conquer principle. Very useful not only in IT, but also on whole live, if you know how to use it.

Continue reading “Divide and Conquer”

Vue-fragment – many components inside template

Vue is very nice JS framework with – in my opinion – very clean and simple structure. It’s separate HTML, CSS and JavaScript, in effect it’s much cleaner than React. But Vue is not ideal, and sometimes its limitations can be strange and annoying. Good example is that we must use only one child elements on every component. It doesn’t matter in many cases, but try to render table with some child components and conditions – I promise you, it will be real nightmare.

Continue reading “Vue-fragment – many components inside template”