Author Archive

What is PhD about and what skill a good PhD should hold?

What is PhD about? PhD is the postgraduate academic degree involving three or more years of extensive and novel research on a specific topic/area. The curriculum, rules and regulations of awarding PhD degree vary from country to country, university to university and from discipline to discipline. For successful completion of PhD, the student must have

Stage or Commit and clone an existing project using Git

What is Git? Git is a fast distributed revision control system. What is in this article? This article is designed to be understandable by windows user or someone with basic UNIX command-line skills, but no previous knowledge of Git. It’s an introductory video which elaborate the basic commands of Git.  Repositories and branches and exploring

Retrieve tweets using multiple twitter accounts for the search API

You can read my last article before you proceed with further, where you can read how to use Twitter4J API which enables us to fetch more then 100 tweets. The idea is simple. Twitter search API allows the use of multiple accounts. You may create multiple accounts for search API and switch the sessions when one

How to retrieve more than 100 tweets with the Twitter API and Twitter4J

The twitter4j wraps the twitter API and provides you access to public_timeline and retrieve latest tweets. The twiter API returns only the last 20 tweets. For retrieving old tweets you may have to request the timeline a number of times. Twitter does not provide any other option (I guess you can use the streaming API

JShell – Java 9 interpreter (REPL) – Getting Started with Examples and Video Tutorial

Why JShell – Java 9 interpreter (REPL)? In order to evaluate your statements instantly without creating a project and compiling whole source code, Oracle recently introduced JShell in Java 9. JShell is a similar tool like other compiled language own for statements interpretation, sometimes called REPL (read-eval-print loop). It helps programmer to quickly evaluate code

Java 9 features – Collections Update

Finally, Java 9 is out and it’s high time to go through and discuss the issues of previous JDK releases and discuss the benefits of recently release JDK 9 features. Changing in Collections is one of the features that is of particular interest to developers and is discussed in this article. Some of the previous

Java 9 Support for Eclipse IDE and 1st Java 9 Example

Recently java 9 has been released and support to make your eclipse IDE ready to build, debug and run Java 9 code. Java 9 applications are available at Eclipse Marketeplace and you may install it from Marketeplace client in the Eclipse IDE by going to Help-> Eclipse Marketeplace or by dragging and dropping the following

Advance Streams Operations

Plethora of different operations available with streams. Some basic and very important operations are already been discussed in previous article (read it from here). Let’s see how collect, flatMap and reduce operations works. How to use Collect operation in streams? Collect is used to transform the elements of the stream into a different data structures

Streams in Java

Java stream API is available in java 8 and is completely different from InputStream and OutputStream of  java I/O. Streams are playing a vital role to bring functional programming to java. In this tutorial you will learn the most powerful operations offered by streams API such as reduce, collect, flatMap and parallel streams. Before starting

Functional Interfaces in Java

Java 8 introduced lambda expressions, which allowed us to write short and simple code using default interface methods, lambda expressions, method reference and repeatable annotations.  As we know java is a strongly typed language and it is mandatory to declare types but designers of lambda expressions omitted types when declaring the lambda expressions. To represents