Socket and Port in TCP

A unique connection is a combination of 5 things that are TCP protocol, Source IP, Source Port, Destination IP and Destination Port; in short called a Tuple. A TCP listens on ONE port and communicate on that same port. If the client (Source IP) wants to make different TCP connections to a server; the client […]

Abstract vs Interface classes

A. INTERFACE : In every sector have some guidelines or conventions that must be followed by the players : Standards are Interfaces.In java, an interface is a reference type that contains only constants (does not need to implement or declare the variables), method signatures(no braces), default methods, static methods, and nested types.1. Implemented by classes […]

how to start investing

So! you are here! Congratulations on your first step towards your Financial Freedom! First of all, before starting any investments there are few things we should be taking care of, okay? give some thoughts in to it ; few of them are listed below. Create an Contingency fund to serve us in any of our […]

how to set maven proxy settings

If your network proxy is correct and maven is unable to download dependencies or connection getting timeout then we need to setup the maven proxy settings to get access to the internet. We can configure proxy at apache-maven-*.*.*\conf\settings.xml <settings>   <proxies>    <proxy>       <id>example-proxy</id>       <active>true</active>       <protocol>http</protocol>       <host>proxy.example.com</host>       <port>8080</port>       <username>proxyuser</username> […]

how south korea controlled coronavirus

Wanted to share a glimpse of how life goes on in South Korea during this pandemic. Hand sanitizers (min 70% Alcohol based) everywhere such as, entry/exit gates, cafeteria, Lifts Anti virus coating film is attached to the elevator buttons Thermal sensing camera tracking at every entry gates in office One sided dinning in cafeteria, the […]

How to sync Data from Server using Json Differential Synchronization

Differential synchronization is best described by a paper by Neil Fraser Make use of HTTP PATCH Method Utilize JavaScript Object Notation (JSON) Patch Utilize JavaScript Object Notation (JSON) (Related) Pointer A nice video presentation on Efficient Client-Server Communication with Differential Synchronization and JSON Patch by Brian Cavalier and Craig Walls One request to do all […]

how to use Git from command line

Some Basics:upstream refers to the original repo that have forked.origin is our fork: our own repo of GitHub project, clone of the original repo of GitHub. Update your origin repo as per upstream repo.Clone a repo to local work-space$ git clone your-repo-link.git$ git remote add upstream main-repo-link$ git config –get remote.origin.url main-repo-link.gitget latest changed to […]