Technical Learning Outcome — Day 8 to Day 22

Vishnu Bochiwal
4 min readJun 2, 2019

In continuation with the previous blog series of my summer internship let’s continue with what I have learned in the past two weeks.

We have been given a task to think about a real-life problem which we are facing daily and for which we can develop a solution based on the technologies we are learning right now.

We have chosen a researched based project idea which is to analysis the brain activities with the help of EEG technique and Deep learning to predict the predict what our mind is thinking right now.

For this project, we have started the field work by collecting the data of brain activities, forming the clusters based on the similarities of waveforms. So that these clusters can be labeled accordingly and can be used as a training dataset for our idea implementation.

So basically our idea is to detect the word that our mind thought and based on that word perform that task automatically. It can be understood by the example that If I thought “Time” in mind that mobile will automatically speak the current time.

Apart from project field work and idea discussion with Vimal Daga Sir we have learning Machine Learning and deep learning in which we have learned classification. There are basically two types of classification one is Binary and another one is multiple. So Right now we have been taught and implemented binary classification by the help of logistic regression. Which can be used to predict values like true/false, yes/no, 0/1 or similar kind of outputs. It is based on the sigmoid function and it has equation y=1/(1+e^(-x)).

We have also learned AWS (Amazon Web Services) and right now we have used EC2 and EBS. EC2 is basically used for computing purposes and EBS provides storage volume which we can mount or attach to our EC2 instance. We have access EC2 instance by the help of ssh (remote login) in RHEL 7.5 and 8.

We have also implemented our own cloud by the Docker. We have implemented basic SAAS (Software As A Service) with an example of Firefox. User can log in via SSH and use firefox as SAAS. We have found some loopholes like user was able to run other software also even he paid for only Firefox. So we have implemented some security so that the user can only access Firefox. We can implement this further by providing many other softwares as service using our own cloud.

We have learned Docker by first going through why we needed docker. Then we have learned commands of docker like loading docker images, checking list of running or all docker containers, run docker container, remove docker containers, docker images, starting docker, attaching docker, detaching docker. We have learned to mount the folders to docker, copy files from docker to base OS and vice versa. We have step yum inside the docker and also implemented Computer vision codes and make the docker to support the GUI by the help of X window forwarding.

We have also learned the main idea about “How the docker is implemented and Why the docker is so fast that It can launch an OS within a second”. So we have come to know that when we create a Docker container, a process or command is run inside the base OS. By default, this command is “/bin/bash”. This concept was taught by Vimal Daga Sir by the going through a very basic approach that PID in Linux is no just a unique number it’s a folder inside the RAM. We have browsed the RAM and check it ourselves. We saw that there is /root folder mounted in every process and Docker has implemented this similar approach by mounting the /root folder of the docker image inside the PID folder of /bin/bash. That’s why it can launch an OS in just a second.

Next, we have learned Ansible. It is another tool of DevOps like Docker. Ansible is used to perform a similar task on multiple computers by just telling or specifying “What to do?” but we don’t tell “How to do?” as we need to do in other languages like python etc. Ansible is based on a declarative approach. We have also learned how to create a playbook and use it to perform many tasks at once in ansible which is simply a YAML (Yet Another Markup Language) file. YAML is based on the key value pair.

We have set up and installed Ansible inside the docker. We have also setup SSHD server inside docker so that anybody can ssh inside the docker. That’s it for these two weeks. Thanks for reading this and hope it may help you in some way.

--

--