Posts

Showing posts from June, 2018

Why we need to automate everything?

Image
I think I waste my time when I do something twice. Why I don't automate it? I don't have a clue. We need to automate more and more things. We need to save our time. Why? People time is very expensive. I think my time is priceless, so why I don't save my time by automate my processes? Sometimes it is unprofitable, because we need a lot of time and resources to automate and a little time and resource to do it many times like robots for join your telephone with charger. The problems, which we can automate, are exist. Add new post to your blog. Publish information about new posts on fan pages. A lot of things we can automate. We don't do it, because we don't think about profit. We think, when we do something fast we save our time. This is the wrong way to think. Example Netflix a creates a very good feature for saving my time. It automates skip intro and closing credits. This feature saves me hours. When I watched a TV show in another site I skip it manually (b

One good way to learn something

Image
Sometimes I am looking for way to learn something. I found one good way to do it. I share you my observations about it. Step 1. Find the problem When I want to learn something, I often start by finding the problem with it. This is the most important point for it. Why? When we have a problem we have motivation to resolve it. Maybe not you, but I have a problem with the forgiveness of yourself before resolve it. This is my way to focus on the problem and to not enjoy. Step 2. Resolve the problem using your new knowledge or finding a solution You should resolve your problem using the knowledge which you want to know. This lets you remember your solution and understand your knowledge. I think practice is the best teacher. So lets it teach you. During resolving a problem you something wants or should read more about a solution. Maybe you learn more about it because you will want to know how it works. I a lot of times had such an approach. I didn't want only resolve a problem, I

How we should use a streams?

Image
Do you think sometimes about how we should do something? I was that moment with streams. Maybe my post learns you about streams. My first contact The first time when I heard about streams, I thought this was the same as Apache collection library and abstract class. A lot of time this was for me the same. Why? Because I didn't know about how it work and for how case it is created.  What difference is on stream? Stream executes all operations only at the end of the pipeline. Find, match and collect are terminating operations. It's close our pipeline, execute operations and return result. When we implement the same without a stream, we execute each by each operation in the implementation place. Fun fact I heard that stream is faster than a loop. I don't know who give him that information, but it is crap. My tests show that the time of each way is close. Article on other side show you that the stream is slower . When stream uses? I like stream. It is very readable, so I