en

articles in English language

TF-IDF with HADOOP STREAMING

Today I want to talk about how we can calculate tf-idf with hadoop streaming. First of all, for those who don’t know what TF-IDF is, I can explain. It’s statistical metrics of words, which reflects the importance of each word to a document. The bigger TF-IDF value of a particular word and a particular document the more frequently this word appears in a document and the rarely in other documents. You can gather more information from the Wikipedia article. It’s…

0
Read More

Stop java application gracefully

Today we are talking about how to stop java process gracefully. How can we shutdown your application? The first thing cames to my mind is to kill the application by next shell command kill -9 <application-pid>. It is possible to save PID app to somewhere, for instance into a file, and then read PID and execute the command. However in reality sometimes it’s an appropriate way.Imagine the situation — there is an application and this app has some work to…

0
Read More

Getting started with Selenide

Today we are talking about how to create a simple application based on selenide framework. Show me the code!© First of all, the selenide framework is a wrapper of selenium framework with a more convenient API. Very often it is used to test UI. However, there is another way of using selenide. Recently, I have faced that our partner did not provide any API except UI panel. It was very sad news for me because I have to scope with…

0
Read More

Why should you try android development?

I know, I had to write this article several years ago, but not it could be too late 😀 It is for you if you write java for backend and have never tried to do something. If you are already a mobile developer, I am not sure you will find something useful in the article so you can surely skip it. I try to describe why you should try to develop apps for Android. Currently, I am a backend java…

0
Read More