Sunday, May 17, 2020

Dangers of posting personal information on social media

Remember what users do now on Facebook. You hold yourself busy with your family and friends, but still, create a brand name and reputation. You connect to the public with whom you choose to communicate. If you aren't present, it's almost a disadvantage.
-Mark Zuckerberg, Co-founder, and CEO of Facebook

The internet, especially social media like Facebook, is a lifeline for lonely senior citizens. Yet this popular social networking site has advantages and drawbacks. On the one hand, the social network helped older adults remain engaged and even locate dates and relationships for their families and friends. In comparison, you might be open to scammers if you reveal a little too much.

Thursday, April 2, 2020

Microsoft withdraws investments from Israeli startup AnyVision

An Israeli startup, AnyVision, promised 99.9% accuracy in face recognition solutions and impressed the world. Their solutions work on any sensor, and picture quality to provide real-time results.

A team of researchers discovers powerful antibiotic using AI

An antibiotic is a medicine that inhibits the growth of or destroys microorganisms. Bacteria are constantly mutating to survive these antibiotics. The world changed in 1928 when the first anti-biotic, Penicillin, was discovered. It saved lives of many. Penicillin cured many infectious diseases like pneumonia, rheumatic fever, and several other bacteria-induced problems.

Sunday, March 25, 2018

What is Crossover

What is crossover?

You may have heard of various recruiting and job search platforms but have you heard of Crossover? If you have yet to hear of this company, you may just be on the miss of something that is revolutionary! Why exactly, ‘revolutionary’ one may question. Firstly, Crossover is a global effort to transform the modern workplace. The company believes that talent should transcend geographical boundaries, allowing for the best of the best to be able to work from wherever they may be.

Wednesday, December 20, 2017

SendGrid Email API integration with Spring Boot REST Application

SendGrid is a popular cloud-based email delivery service. A few months ago, I had an opportunity to work with this technology along with Spring Boot application to send email to subscribers. Today I am going to develop a very simple Spring Boot REST application to integrate SendGrid email API to send an email to a valid email address.

Sunday, December 17, 2017

Breadth First Search(BFS) In Java

BFS or Breadth First Search is a very well-known graph traversal algorithm. The following java program performs this algorithm using adjacency list representation of graphs. Graphs may contain a cycle. To avoid processing a node twice, we used a Boolean array, name visited.

Friday, December 15, 2017

Generate unique permutation in Java

We already saw how to generate all possible permutation in java. Today we will modify our algorithm to remove duplicate entries to keep only unique permutation.

For an example, if the given string is: 112, our program will generate:


Spring Boot REST API - Convert English Number into Words

Spring is one of the most popular Java EE application framework. Today we will develop a very simple Spring Boot REST API which receives a number as a request and in response, we will get the corresponding English words.

Please note that, this is not a tutorial to learn about Spring Boot REST API. I assumed you already familiar with this technology.

Spring Boot REST API - Spring Bean Scope illustration

We already know that Spring defines 5 types of bean scopes:

a) singleton
b) prototype
c) request
d) session
e) globalSession

Last three scopes are only available on web-aware application. Singleton and prototype are spring’s core scope and singleton is the default scope.

Thursday, November 23, 2017

Sieve of Eratosthenes In Java

The sieve of Eratosthenes is a famous ancient algorithm to find all prime numbers up to a given limit. We are going to implement this algorithm in Java.

Steps we will follow:

a) Lets we have an array of size 25.
b) First start with 2, remove all numbers which are divisible by 2.
c) Find the next number, which is 3. Remove all numbers which are divisible by 3.
d) Next survivor is 5 and we repeat the same procedure.
e) For the given limit 25, we don't need to find anymore survivor after 5, as 5 X 5 = 25. In other words, we only process up to the square root of the limit.
 f) All survivor numbers in the array are Prime. We save those numbers in a separate array.