What's new?

The coolest programming algorithms for beginners, explained humanly (Part 1)

The main definition is “to contain it self” . In 1904, an  advert image showed a woman who held a cacao pack with exactly the same image of her on the packet. Of course, in photography and graphics this effect has been used multiple times, but also in mathematics and computer science.

Binary search
In a very few words, it means, searching an element from a list dividing that list in 2 parts. If is less than the middle item, than it will look in the first part, dividing again that list. The guide of binary search is to compare elements till it finds the one that equals to what we are searching for.
For example looking for "4", having the elements above. First, it compares 4 with 7 and decide that 7 bigger, so it start looking for 4 in the first part. Then, it divides again the left part of…
Android 3.3 and its amazing Navigation feature

I hope this article will be read by persons who want to work as android developers, but they considered it is too complicated or the interface is not very friendly.

Android 3.3 comes with new features in order to make app development easier. The best thing in my opinion is the Navigation component, which make easier the view of the entire app.

Now it’s easier to handle the User Interface flow, to handle Up and Back actions properly by default, to be more creative but in the same time to respect the logic standards.

How to use it?

1.Add the dependencies in the project Gradle file:
 implementation "android.arch.navigation:navigation-fragment:$nav_version" // use -ktx for Kotlin
implementation "android.arch.navigation:navigation-ui:$nav_version" // use -ktx for Kotlin

2.Create a new folder in “Res” and then add a new xml file(for resource-type select navigation).

3. Go to "Design" option- like at Layout files whe…
AndroidX or "No more stress with the compatibility of the Android Support Libraries"

Android already have 10 years since it has been release and of course, numerous versions with new features added and constant improvements.  Developers had to make sure they have always the same version of the Android Support Library or otherwise some problems might appear in Gradle. Ta-na-na! the solution is migrating to AndroidX.

-Android Studio has to be 3.2.1(Toolbar-Help-About to check the android version);
-You need to have compile at least have compileSdk 28(Android 9.0);
-In build.gradle(Project) has to be classpath

How to migrate: Toolbar->
Migrate to AndroidX.

I It t will appear a message of possible errors and then the option “Do Refractor”. Also, the option to zip the project folder and to save it somewhere in your computer. In a few moment the Gradle will sync, I personally didn’t have any problems with my project.

Travel Quiz - Latin America

  I've always been fascinated by Latin America: starting with the music, colors, traditions till its ancient history and amazing geography.

     I wanted to create a big app to include interesting facts of this beautiful part of the world,  to have an educational side but also some travel tips and interactive content. This takes time and for a small developer it is important first the feedback of the app, so I launched it as a quiz.  After every question, it is shown a text with detailed info. I tried to cover historical things, from aztects, inca and maya times to scientific facts like how the water drain at Ecuator or where is the best place to see the Milky Way.           In the future, I want to add more info and also pictures of Latin America, from the beautiful nature of Brazil, to colored folkloric pattern in Peru, the wine from Argentina or Chile, irresistible music of Colombia or Venezuela and the most delicious food in the world in Mexico.

Machine Learning for Humans: Personality tests with IBM Watson Personality Insights

 First of all, you don't need any programming skill, account or payment to see how this interesting Machine Learning feature work.

Machine Learning is a part of Artificial Intelligence that, analyzing a big volume of data, can make prediction with a high precision. Usually this technology is used mostly in rational cases for taking better decisions and to anticipate some events, but the emotions and feeling, considered belong to humans(so far) are not in the center of development.

IBM Watson Personality Insights is a tool to understand better the customer needs, values and feedback and to help companies to improve their strategies. The link with the demo is below, you can introduce you own text and on the output it can be seen the personality analyzed.

        The service is available in …
    How affect some effects

 Cobra Effect  A hundred years ago, when India was a British colony, the number of cobras was a serious problem in the cities. The governors decide to pay for each head of cobra brought. Soon, the population of cobras decreased, but some people with entrepreneurial spirit started to raise in order to get money for their heads. When the governors found out(they wouldn’t like to waste money this way) put the new business men to release the cobras in the forest. In the end, the population of cobras increased very much.
Placebo Effect
Everybody knows it, everybody loves it. It is used in medicine, when patients receives pills with neuter action, but they are told it is a treatment. Even many times it cures the symptoms, not the disease, it is incredible what we can do with our mind.

The Boomerang Effect In psychology, when you try to convince someone, it's possible exactly to get the opposite. That…
The tragedy of jobs(not Steve)

       Many times I saw on social media sarcastic photos about the persons that go to a job that could have it without graduating a college. Starting to my case, I will give some arguments why it is not a big tragedy to have that kind of job.

-Work is not a shame! Maybe that person didn’t find any job and couldn’t stay waiting.
-Not everyone is going to collage because of a powerful wish, but a social pressure. It’s better to do something  you are comfortable with, than to be always behind other colleagues.
-Actually it can be an opportunity for a great career, specially in big companies. I know persons that started as sale assistant and now they are the leaders in the company.
-It’s a way to see how it is that work, that salary and how important is that you, as client, to not be the greatest jerk.
-It can help to have a good discipline and resistance at stress(to me, as freel…