Posts

Program for Hand sanitizer dispenser using Arduino and Servo

Image
  #include<Servo.h> Servo servo_tap,servo_dispensor; int angle = 0; int VCC =13; int Trig = 12; int Echo = 11; int GND = 10; int buzzer_vcc = 2; int buzzer_gnd = 5; float duration,distance =30; boolean flag = false; //================================================ void setup() { servo_tap.attach(4); servo_dispensor.attach(6); Serial.begin(115200); pinMode(VCC,OUTPUT); pinMode(Trig,OUTPUT); pinMode(Echo,INPUT); pinMode(GND,OUTPUT); pinMode(buzzer_vcc,OUTPUT); pinMode(buzzer_gnd,OUTPUT); //================================================= digitalWrite(VCC,HIGH); digitalWrite(GND,LOW); digitalWrite(buzzer_gnd,LOW); } //================================================== void detect_human() { digitalWrite(Trig, LOW); delayMicroseconds(2); digitalWrite(Trig, HIGH); delayMicroseconds(10); digitalWrite(Trig, LOW); duration = pulseIn(Echo, HIGH); distance = (duration*.0343)/2; delay(1000); Serial.println(distance); } void ...

Hadoop installation Guide (Step by Step) Pre-install Version

Image
Click on the link below to download the Pre-configured version of hadoop setup. Pre-configured hadoop setup Install nautilus. For installation press Ctrl+Alt+T or open terminal. Type “ sudo apt-get install nautilus ” and hit enter. Type “ sudo nautilus ” and using it go to the /usr/loca l it will be located at “ computer ” drive. Extract the pre-configured file. Now open the terminal Alt+Ctrl+T and run these commands (Follow instruction of sudo apt-get update sudo apt install default-jdk sudo addgroup hadoop sudo adduser –ingroup hadoop hadoop1 sudo adduser hadoop1 sudo sudo apt install openssh-server It will ask for the password and press “ Y ” if asked while installation it will asked for “ Enter the new value, or press ENTER for the default . Just press enter. Give blank for the Name ,Number and phone and press “y”. After completion of the commands switch to the hadoop1 user by typing “ su hadoop1 ” and enter your password. Now run below commands ssh-keygen -t rsa -P “” cat ...

Face Recognition using Python | Face_Recognition Library Explain

Image
Face Recognition is the most exciting field of the computer Science and Engineering.Facial Recognition is the technology which uses science and mathematics to recognize the faces.This technique is capable not only identify the faces but also verify a person from the image or from any video. There are so many method to recognize the faces but the simplest way is to compare the images and try to find out the similarities aong them. Facial recognition was never that much easy until open source community not contributed in this field. Because of open source community efforts, we now feel very easy to recognize the faces using some dedicated libraries. In this article, we are going to understand to use the worlds easiest library to recognize the faces. In this blog, I am going to explain how to recognize the face using python face_recognition library which is capable to recognize the face from the python programming. It has built-in the state of the art face recognition capa...

Data Wrangling Better than ETL ?

Image
As a Data Science and big data analytics enthusiast I always wondered about the word “DATA WRANGLING” and then i decided to take a deep dive into the ocean of data wrangling…. As a Data science enthusiast I was aware about the term ETL, which mean Extract the data from one or several sources which are resembled form or may be in odd form and store on the desire system, where transforming the same mean  cleaning the raw data and transform the data to the purpose oriented form and loading is simply the data insertion into required database or target system. But here the question raised, If ETL is the solution since 1970 then what this Data Wrangling, If we go with the wikipedia then, wrangling means “Data Munging” and I am not going to talk on the munging right now. Wrangling is the process of transforming the RAW data into desired format. But the same is the ETL do.Then what is the difference between Data Wrangling and ETL. After some research on the same i came to know that there are t...

5 Apps for Parents to keep child safer

Image
As we know this is the era of communication and technology and obviously we are addicted to the mobile phone and our kids too. As a parent I know the pain of giving your mobile phone to your kids and waiting for the same. Some time we we tell the kids about battery draining , internet unavailability and bla bla…but kids are kids and we need to give them our phone and we know the attachment of youtube and our children, some time they accidently opens some video which we don’t want they suppose to open and here the problem begins.Some time they even install some app via advertising and which is dangerous for the mobile app security. These are some mobile app which can make your mobile phone a safer place for your children and you too. 1.Youtube Kids :         So as the name suggest this is the Youtube app which is specially developed for the kids. Every time when we give our mobile phone to the children we worried about the links and the video we don’t want they supposed...

Five Way to live a happy life

Image
In the world of competition, all are running behind material comforts. Everyone is toiling for fulfilling their wants. Yet, after receiving all the comforts people find themselves not completely happy. After having everything still, they are not happy. Then if we ponder over such situation, we can conclude that it is not only material things which make life worth living, in fact, more than things we need to concentrate on thoughts which make life worth living. To improve and concentrate over such thought process, here are the best 5 secret ways through which we can control are thoughts, minds and finally which can lead to happy life. Expect from self: The problem is, we expect from others and that mostly hurts, and if we start expecting from self eventually we start improving and living. It is the self-talk which is the secret as, with interaction with self, we are meeting the most important person in life that is the own mind. Be with nature: If we be with materialistic world of thing...

Hbase Installation Step by Step with professional way

Image
Hbase Installation step by step professional way 1.First of all you need to install hadoop and you can get the complete installaion, step by step guide from video given below where you can install the hadoop by professionla way or you can also try my automated process which is on website http://cloudyrathor.com/how-to-install-hadoop-in-10-minutes/ 2.Once you install the hadoop then you need to download the setup of hbase, here in my case i downloaded the apache 1.4.0 for the compatibility of my hadoop version. 3.Now login with the user which you made while hadoop instalation in my case i created the dedicated user named “hadoop1” . 4.By using su hadoop1 you can login into the hadoop user and once you login with the same its time to start the hadoop by typing “start-all.sh” or you can start the hadoop by typing start-dfs.sh start-yarn.sh Now check all the daemon and service of the hadoop by typing jps …. you can also check the version of the hadoop by typing “hadoop -v...