Posts

Showing posts from 2018

Artificial intelligence

Artificial Intelligence Artificial Intelligence is a way of making a computer, a computer-controlled robot, or a software think intelligently , in the similar manner the intelligent humans think. In other hand Artificial intelligence (AI) is the ability of a computer program or a machine to think and learn. It is also a field of study which tries to make computers "smart".   AI involves many different fields like computer science, mathematics, linguistics, psychology, neuroscience, and philosophy.  History of artificial intelligence The artificial intelligence began in ancient times with myths, stories and rumors of artificial beings feelings with intelligence or consciousness by master craftsmen. AI researches were reached the peak after invention of Programmable digital computer in the 1940.This device and the ideas behind it inspired a handful of scientists to begin seriously discussing the possibility of building an electronic brain. AI research

R language

Image
Basic R commands Hi folks, Today we going to learn about R Language and its basic commands. R is a programming language and free software environment for statistical computing and graphics that is supported by the R Foundation for Statistical Computing. The R language is widely used among statisticians and data miners for developing statistical software and data analysis. Write these small script into rscript (New File -> Rscript).After write every script hit ctrl+Enter then your script will be run. 1+1 output will show in console window like this > 1+1 [1] 2 R commands Command Output 1-1 > 1-1 [1] 0 6/2 > 6/2 [1] 3 pi^2 > pi^2 [1] 9.869604 exp(1) > exp(1) [1] 2.718282 var1 <- pi > var1 <- pi var1^2 > var1^2 [1] 9.869604 var2 = 42 > var2 = 42 exp(3) -> var3 > exp(3) -> var3 > var3   [1] 20.08

REST API

Image
Simple Introduction of REST API In the IT field REST API or API is the most important magical word.So, by this blog I'm going to touch that magical topic. REST API (Representational State Transfer) is one of the easiest way of accessing web services. It is a concept or architecture for managing information over the Internet. REST API architecture API(Application Programming Interface). It is a set or rules which allows one piece of software application to talk to another. Following "rules" can include into he REST API C reate R ead U pdate and  D elete operations.  Those are simply call it as CRUD operation. This REST API is called by HTTP server through 'url'. REST API is used by  making HTTP GET or HTTP POST or HTTP DELETE or HTTP PUT request from the client side to the server to get or to put some information to the server. It can give output in any format like CSV, JSON, RSS etc. So it is depend on requirement to which for

Ubuntu codes and behave of its reasons

Image
I would Like to share some basic commands for Ubuntu.I will update more commands on my future blogs. Ubuntu commands Command          Reason ping This is a utility used to verify whether network data packet is capable of being distributed to an address without errors. tar xvzf package.tar.gz                    To extract the files sudo su Go to root privilage pwd See the path. touch to create new file. mkdir to create new directory. vi to open the file through VIM editor cd to change the path php x.php to run the php file on terminal systemctl status network Check the network.service status User Management Every process (running program) on the system running for particular user.Every file is owned by a particular user. arebhy@arebhy-Aspire-5742:~$ ps aux USER PID %CPU %MEM VSZ RSS TTY

VIM editor

Image
Here briefly I would like to tell about VIM editor. VIM VIM is choice of most of the developer and power user.  It saved the file without touching keyboard it automatically saved the file. VIM has 3 mode :        1.insert mode.        2.command mode.        3.Exit mode. 1.insert mode. From command mode, press i key o go insert mode at the cursor's correct position.Then we can begin the editting. Press Esc key to return command mode. 2.command mode After opening vim editor, we begin in command mode.This is the basic mode. In this mode, we can move around the file(using PageUp , PageDown or arrow keys) 3.last-line mode.  From command mode  press : character to go to exit mode. :q!                  this character use quite without save the editing. :wq!               this character use quite with save the editing. :q                   this character use quite. :w                  this character use write changes to file. :wq                this c

DDOS Attack

Image
DOS attack stands for Denial Of Service Attack.It means single attacker attacking single target. One computer and one Internet connection is used to flood the server with packets between valid and non valid request The attacker sends the large number of legitimate looking to the server in a way that the server cannot really distinguish between valid and non valid request. It will overwhelm the system to a point that the server cannot handle the capacity anymore. The point of DOS attack is overload the targeted servers bandwidth and other computer resources.This will make the server inaccessible to others. What is DDOS Attack? DDOS stands for Distributed Denial Of services Attack.It is most similar to DOS Attack, but the results are much difference. Instead of one computer and one Internet connection in normal DOS Attack. DDOS Attack utilize many computer and many connection the computer behind the such an attack are often contributed in the whole world and will be part

DNS Server

Image
DNS (Domain Name Server) is an Internet service which translates domain names into IP addresses. Each time you use a domain name, DNS translates the name into the corresponding IP address Each website has IP address to brows Internet.. we cant memorize all IP addresses.  So this service mainly done by DNS server. Early day DNS use central body protocol carryout this task, Now uses Distributed protocol. Transport layer DNS use UDP port 53. BIND(Berkeley Internet Name Domain) is a free open source DNS sserver. Configuration of BIND(DNS server) Installation in DNS server on Ubuntu sudo apt-get install bind9 To setting up DNS server on your mechine through vim editor vim /etc/bind/named.conf.options forwarders { 8.8.8.8; //edit those IP addresses 8.8.4.4; 192.168.2.240; 192.168.2.241; }; After change the file hit Esc and :qw! to save the file Then open the file vim /etc/resolv.conf Change as above

DHCP (Dynamic Host Configuration Protocol)

Image
DHCP stands for Dynamic Host Configuration Protocol. It used to provide network configuration information's to clients automatically.For an example, if a device comes into the network, a server send the all the network parameter to he device, rather than configure IP address,subnet mask and DNS IP manually or statically through network administrator,this is what call as DHCP. It uses UDP(User Datagram Protocol) DHCP server used port number 67 and DHCP client used port number 68.It reduces the load for Network Administrator and easy to assign IP addresses for large networks. DHCP uses DORA process : D - D iscover O - O ffer R - R equest A - A cknowledgement                                                                                          Client(Port 68)                                                Server(Port 67) Step 1 : If a device comes into the network it sends the Discover messege to  DHCP server.               (Before it send the Discover m