<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Vinay Keshava</title>
    <description>The latest articles on DEV Community by Vinay Keshava (@vinaykeshava).</description>
    <link>https://dev.to/vinaykeshava</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F667177%2F7843ef64-43c4-4c4d-8bbb-d0bee415d9e0.jpeg</url>
      <title>DEV Community: Vinay Keshava</title>
      <link>https://dev.to/vinaykeshava</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vinaykeshava"/>
    <language>en</language>
    <item>
      <title>Python Day-1</title>
      <dc:creator>Vinay Keshava</dc:creator>
      <pubDate>Tue, 24 Aug 2021 17:54:27 +0000</pubDate>
      <link>https://dev.to/vinaykeshava/python-day-1-27ee</link>
      <guid>https://dev.to/vinaykeshava/python-day-1-27ee</guid>
      <description>&lt;p&gt;1.Python Interpreter&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Np9onjq7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2n75exxoxvcr7yk4kkeq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Np9onjq7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2n75exxoxvcr7yk4kkeq.png" alt="Python Interpreter"&gt;&lt;/a&gt;&lt;br&gt;
Python can launched by typing python3 in the prompt of you linux terminal .&lt;/p&gt;

&lt;p&gt;' &amp;gt;&amp;gt;&amp;gt; ' this is python prompt,waiting for the input.&lt;br&gt;
Python interpreter can be used as a calculator,simple arithematic calculations can be using the operators +,-,*,/,(()) .&lt;/p&gt;

&lt;p&gt;Variables can also be used in the python interpreter and values are assigned to it.&lt;br&gt;
In the example shown width and height are variables and values are assigned to it , their value is calculated and stored in 'area', later using the print() function the value of area is printed.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--dVAHd13P--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7vcxlua1gxvrjgidjkbp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--dVAHd13P--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7vcxlua1gxvrjgidjkbp.png" alt="Python interpreter Calculator Examples"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Python supports integer, floating, decimal, fraction and also python has builtin functions for complex number it used 'j' to indicate the imaginary part 3+5j&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--XeG8fIu8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bf4c5ryjos0frp767bv8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--XeG8fIu8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bf4c5ryjos0frp767bv8.png" alt="Complex Numbers in python interpreter"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;-&amp;gt; To open a file in interpreter mode &lt;br&gt;
python3 -i filename.py&lt;/p&gt;

&lt;p&gt;2.Strings&lt;br&gt;
 -&amp;gt; Single Quotes: Identifier representation.&lt;br&gt;
 -&amp;gt; Double Quotes: String representation.&lt;br&gt;
 -&amp;gt; Triple Quotes: Multiline Texts&lt;br&gt;
The below table represents how python uses indices&lt;/p&gt;

&lt;p&gt;+---+---+---+---+---+---+&lt;br&gt;
 | P | y | t | h | o | n |&lt;br&gt;
 +---+---+---+---+---+---+&lt;br&gt;
 0   1   2   3   4   5   6 &lt;/p&gt;

&lt;p&gt;-6  -5  -4  -3  -2  -1&lt;br&gt;
 &lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Q2Z9nsSq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dzeu8hq5bh1du1ksn8no.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Q2Z9nsSq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dzeu8hq5bh1du1ksn8no.png" alt="Python Strings"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>linux</category>
      <category>python</category>
    </item>
    <item>
      <title>NTP,ARP</title>
      <dc:creator>Vinay Keshava</dc:creator>
      <pubDate>Sun, 01 Aug 2021 09:23:19 +0000</pubDate>
      <link>https://dev.to/vinaykeshava/ntp-4p63</link>
      <guid>https://dev.to/vinaykeshava/ntp-4p63</guid>
      <description>&lt;p&gt;NTP stand for Network Time Protocol&lt;br&gt;
when two machines are communicating the time has to be synced.&lt;br&gt;
If the time wont be in sync with each other there would be miscommunication so for this reason the time has to be updated using NTP server where the server shows the exact time .&lt;/p&gt;

&lt;p&gt;This protocol uses it for keeping the time in sync.&lt;/p&gt;

&lt;p&gt;ARP Address Resolution Protocol is used to find the hardware address or the MAC address of the destination machine&lt;br&gt;
&lt;a href="https://study-ccna.com/arp/"&gt;https://study-ccna.com/arp/&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Gnome Boxes</title>
      <dc:creator>Vinay Keshava</dc:creator>
      <pubDate>Sat, 31 Jul 2021 18:37:27 +0000</pubDate>
      <link>https://dev.to/vinaykeshava/gnome-boxes-2i54</link>
      <guid>https://dev.to/vinaykeshava/gnome-boxes-2i54</guid>
      <description>&lt;p&gt;Gnome Boxes&lt;/p&gt;

&lt;p&gt;I have been using the oracle virtualbox since a long time it was slow and had to configure heavily.&lt;br&gt;
I just found out i had the Gnome boxes on my host computer fedora .&lt;br&gt;
Gnome boxes is simple fast, minimalistic.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--rQdwhUVm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ct3r1oev34cvnan18zt4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--rQdwhUVm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ct3r1oev34cvnan18zt4.png" alt="Boxes"&gt;&lt;/a&gt;&lt;br&gt;
I have installed Antix linux as one of the boxes and after using it for a while it simple fast and responsive &lt;br&gt;
But in Boxes i cannot find options about increasing the display size that was the disadvantage.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--d3ulrPkV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/76trbex9amlur4rre91i.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--d3ulrPkV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/76trbex9amlur4rre91i.png" alt="Boxes"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>TCP/ IP Network Model </title>
      <dc:creator>Vinay Keshava</dc:creator>
      <pubDate>Wed, 28 Jul 2021 12:10:08 +0000</pubDate>
      <link>https://dev.to/vinaykeshava/tcp-ip-network-model-1k82</link>
      <guid>https://dev.to/vinaykeshava/tcp-ip-network-model-1k82</guid>
      <description>&lt;p&gt;TCP/IP Network model&lt;br&gt;
I was intrested in security so i started using tools without knowing the basic knowledge of it , i started with Nmap a port scanning tool on kali linux scanning random ip addresses i did not understand what TCP UDP port was,later started learning about networks.&lt;/p&gt;

&lt;p&gt;TCP/IP network model or Transmission Control Protocol/Internet Protocol Network model.&lt;br&gt;
TCP/IP network model has five layers they are:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Application Layer&lt;/li&gt;
&lt;li&gt;Transport Layer &lt;/li&gt;
&lt;li&gt;Network Layer&lt;/li&gt;
&lt;li&gt;Data-link Layer&lt;/li&gt;
&lt;li&gt;Physical Layer
&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--K8RStIOu--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/23w5mbjicak1j0he8nmj.png" alt="TCP/IP model"&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Each layer a different protocols &lt;br&gt;
1.Application layer has HTTP,HTTPS,SMTP,FTP,TELNET.&lt;/p&gt;

&lt;p&gt;2.Transport layer has TCP/UDP&lt;/p&gt;

&lt;p&gt;TCP stands for Transmission Control Protocol and User Datagram Protocol an example for UDP is video call where continous delivery of packets, if a packet is lost it does not care ,while in TCP if a packet is lost it asks the sender to send it again.&lt;/p&gt;

&lt;p&gt;When the data arrives at the transport layer, the protocols at the layer start the process of data encapsulation. The transport layer encapsulates the application data into transport protocol data units.&lt;/p&gt;

&lt;p&gt;The transport layer protocol creates a virtual flow of data between the sending and receiving application, differentiated by the transport port number. The port number identifies a port, a dedicated location in memory for receiving or sending data. In addition, the transport protocol layer might provide other services, such as reliable, in order data delivery. The end result depends on whether TCP, SCTP, or UDP handles the information&lt;/p&gt;

&lt;p&gt;Establishing a TCP Connection&lt;/p&gt;

&lt;p&gt;TCP uses segments to determine whether the receiving system is ready to receive the data. When the sending TCP wants to establish connections, TCP sends a segment that is called a SYN to the TCP protocol on the receiving host. The receiving TCP returns a segment that is called an ACK to acknowledge the successful receipt of the segment. The sending TCP sends another ACK segment, then proceeds to send the data. This exchange of control information is referred to as a three-way handshake.&lt;/p&gt;

&lt;p&gt;3.Network layer - IP (logical addressing )ICMP &lt;/p&gt;

&lt;p&gt;&lt;a href="https://youtu.be/OTwp3xtd4dg"&gt;https://youtu.be/OTwp3xtd4dg&lt;/a&gt;&lt;br&gt;
&lt;a href="https://docs.oracle.com/cd/E18752_01/html/816-4554/ipov-29.html#ipov-32"&gt;https://docs.oracle.com/cd/E18752_01/html/816-4554/ipov-29.html#ipov-32&lt;/a&gt;&lt;/p&gt;

</description>
      <category>linux</category>
    </item>
  </channel>
</rss>
