Google Cloud Platform

Hello folks,

Hope you all are doing fine, and reading this in all your good health.

Recently most of us have started reading and studying lots of things specially related to our skills set. One thing which keeps me going forward is Learning in this lockdown which keeps me up awake late in night.

As a developer you need to evolve continuously, because of the new trends or new skills set required at work. In general whenever, we get this chance to learn something new, we try to pick up those things which are right now in demand and in future will help you go further and also keep you safe from the fear of stagnation.

That’s why I have started learning about Google Cloud Platform popularly known as GCP. I will keep you update with my findings and learnings.

Till then be safe and stay strong.

~ Peace.

Tagged with: , , , ,
Posted in Uncategorized

Homebrew behind a proxy

Hi Guys,

I wanted to write this post as I was facing issues while installing formula use homebrew command on Mac OS behind proxy, finally I was able to do it using info given on this page.

Its really simple just use the http_proxy or https_proxy before the brew install command or any brew command you want to run behind proxy.

e.g.

https_proxy=https://username:password@proxy:port brew install apache-spark

http_proxy=http://username:password@proxy:port brew install $other_formula

Also one can set the git config settings for http.proxy and https.proxy like below:

git config –global http.proxy http://username:password@proxy:port

git config –global https.proxy https://username:password@proxy:port

These above settings will make sure to pass through proxies while brew connects to git repository.

Enjoy and thanks for reading.

 

Posted in Uncategorized

What do you think?

I was watching this new Badminton league on Star Sports and started thinking what has started with IPL (India Premier League) and suddenly there are loads of Leagues started around the concept (Auction the player – Buy the player – Earn the profit).

This franchise system has changed the energy of the very game, where it has entered either Cricket, or Football, or Tennis or Badminton. These are few sports which are already in limelight due to the recognition at world level and Olympics. What should intrigue you is the rise of the Indian desi sport Kabbadi. This was considered as the sport of the village and rural area (mostly due to the easily available sand field for making the Kabbadi arena :)).

So come to the point what did really intrigued me to write this blog, that raised the necessity to get the answers. It is what do you think what happens to spirit of the Indian. If you remember Chak De India! movie part where Shahrukh Khan asks every state players their intro and everyone stated that they are from so so state, but he choses Vidhya because she mentioned India in her intro.

So what do you think happens to the spirit of the Fans, Players, normal people who does not take care of what is going all in this sport (because they are already too much in following Soccer, FIFA and FI) anyway who has time to go for the extra stuff. Whether the very spirit of the game raised the very truly feeling of belonging to one Nation India ( rather than they are from so so Delhi, Chennai, Mumbai or so team).

What do you think spirit of the game really raises the feeling of the one truly nation India, among all the Indian players.

Disclaimer : Keep out all the Pros sportsperson as they are already above this spirit, they are already moved to very FORCE of the sport.

 

Thanks guys reading this, I will be really happy if you can put some thoughts here. May the force be with you.

Tagged with: , ,
Posted in Asia, Game, India

How to For Each in Hash Map in Java 8 using Lambda Expressions

Lambda Expression Java 8

In Java 1.8 (Java 8) this has become lot easier by using forEach method from Aggregate operations(Stream operations) that looks similar to iterators from Iterable Interface.

Just copy paste below statement to your code and rename the HashMap variable from hm to your HashMap variable to print out key-value pair.

HashMap<Integer,Integer> hm = new HashMap<Integer, Integer>();
/*
 *     Logic to put the Key,Value pair in your HashMap hm
 */

// Print the key value pair in one line.
hm.forEach((k,v) -> System.out.println("key: "+k+" value:"+v));

Below is the sample code that i tried using Lambda Expression. This stuff is so cool. Must try.

HashMap<Integer,Integer> hm = new HashMap<Integer, Integer>();

    Random rand = new Random(47);

    int i=0;
    while(i<100)
    {
        i++;
        int key = rand.nextInt(20);
        int value = rand.nextInt(50);
        System.out.println("Inserting key: "+key+" Value: "+value);
        Integer imap =hm.put(key,value);
        if( imap == null)
        {
            System.out.println("Inserted");
        }           
        else
        {
            System.out.println("Replaced with "+imap);
        }               
    }

    hm.forEach((k,v) -> System.out.println("key: "+k+" value:"+v));

Also one can use Spliterator for the same.

Spliterator sit = hm.entrySet().spliterator();

UPDATE


Including documentation links to Oracle Docs. For more on Lambda go to this link and must read Aggregate Operations and for Spliterator go to this link.

Tagged with: , , ,
Posted in Guide, Technical

Data Evolution

I was reading this article from Ericsson from their Mobility November 2014 report and got to know some details on Mobile/Data trends and future of the Smart Phone with Data technologies like GPRS/EDGE/3G/4G/5G.

There was one point where they were discussing about data consumed in 2013, 2014 and what will happen in 2020. Before I go further please read regarding Data consumption terminologies at this link http://en.wikipedia.org/wiki/Megabyte

In 2013 mobile data traffic was 2 EB/month and in 2014 it is 3.2 EB/month and in 2020 it will be 25 EB/month that is 40% increase in consumption.

Also number of smart phone devices with LTE/4G capabilities are going to increase and 3G devices will remain constant.

I would really like you guys to over this report once if you want to know about mobile phone and data statistics.

http://www.ericsson.com/res/docs/2014/ericsson-mobility-report-november-2014.pdf

Thanks

Tagged with: , , , ,
Posted in Analytics

Design Patterns

Cover of "Design Patterns: Elements of Re...

Cover via Amazon

Hello guys,

Last week I got a chance to attend a training on Design Patterns. I would like to share my views on that this is the best way to really learn object-oriented design. After recognizing these Patterns it will improve your coding skills to par and further in future it will make you a good developer.

Prior knowledge of any computer language is required but it will be advantage to those people who have worked upon languages related to OOPs concept. It will be easy for them to co relate their problems and easy design solution to their problems.

1. Design Patterns are solution to common design problems that developers face during designing simple/complex applications and GOF(Erich Gamma, Richard Helm, Ralph Johnson and John Vlissides) Gang Of Four identified those problems and make a series of those solutions as Design Patterns. I would recommend you all to read this book at least.

2. We can divide these 23 Design Patterns into three categories:

3. Structural Patterns are those patterns which are related to composing the classes and objects in order to form larger Structures. One can relate these patterns to common life examples like Bridge, Adapter etc. Let me write down those patterns:

  • Bridge
  • Adapter
  • Decorator
  • Composite
  • Proxy
  • Flyweight
  • Facade

4. Creational Patterns are related with Instantiating the objects, creating the good design concept while coding in order to make their use easy while developing applications, these are:

5. Behavioral Patterns  are related to Behavior of the objects, their communication with the other objects and their methods. Basically algorithmically design of the classes and their methods. These are:

  • Chain of Responsibility
  • Command
  • Interpreter
  • Iterator
  • Mediator
  • Memento
  • Observer
  • State
  • Strategy
  • Template Method
  • Visitor

So guys improve your programming skills as I am doing so right now. Please share your comments and suggestions to improve others.

Books you can read to improve your Design Patterns concept

1.  Design Patterns: Elements of Reusable Object-Oriented Software

2. Head First Design Patterns

Tagged with: , , , , , , , , , , , , , ,
Posted in Analytics, Review, Technical

Financial Dilemna

Is this a start of another Bubble burst – Financial? India is loosing its favourite destination for investment in the world. If you look closely you will find that most of the Blue Chip companies lost significant amount of their market capitalisation. Increasing NPAs(Non Performing Assets), rise of defaulters, reducing profit what does that mean, i mean once Banking stocks were shine of the every quarterly results. Now what else could be the reason and that is concern for middle class like us as the investors. Will you or will you not enter into this hideous, mischievous investment fund driven market?

 

Good Luck guys.

Tagged with: , , , , , , ,
Posted in Asia, India

Life is tough.

It is you who needs to make the call. Call that will change the path, path of your life to the better life. It leads us to choice, choice of the life that you want to live. Choice comes in two ways, ways which are suitable to us and those which are not. Ways that shows us the path, path that leads us to the desired. Desired makes you feel, feel brings harmony to the Nature. Nature makes you feel the Music, music that creates joy. Joy that is what you wanted in first place.

 

Tagged with: , , , , ,
Posted in Creativity, God, Nitin Mahesh, Religion

Nokia Lumia 920 in Newyork from the verge

Image representing Nokia as depicted in CrunchBase

Image via CrunchBase

So people are shouting Switch to Lumia. Well lets see what do you have Mr. Nokia Lumia 920.

– Wireless Charging : That is something Apple does not have.

– Nokia SmartShoot lets your remove unwanted objects in photos.  That is smart.

– Pure View, Nokia Maps/Drive/Transport, Nokia City Lens

– In Slate grey, Red, and Yellow colors

– 2000mAh battery

– Carl Zeiss rear camera

– Offline Maps is the feature

– Nokia Drive for free voice navigation

– Best Viewing experience with Nokia PureMotion HD+

– 4.5 inches curved glass display

– ClearBlack displays using smart Polarizers

– Automatic brightness control in light and no light

– Qualcomm Snapdragon S4 processor

– IE10 and HTML5

– Auto upload to SkyDrive in Windows Phone 8 (WP8) not only phone photos even from third party apps photos too, totally smart

– fastest LCD display on smartphone, WXGA, higher than 720p resolution

– Super sensitivity touch allows you to touch the display with gloves good in winters

– JBL Power UP speaker for Nokia

– Integrated NFC

– Smart Shoot, it analyzes and finds the objects that are moving that is really really smart feature, very useful

– Cinemagraph is the lens to make GIF

– Whole camera assembly has springs around it that makes 50 percent better picture quality

– 100,000+ apps

Most of the stuffs from : The Verge Live Coverage  from New York. It looks Yellow and Blue is the color theme.

Tagged with: , , , , , , , , , , ,
Posted in Guide, Review

Isi Umar Mein from Isi Life Mein

Hello Guys,

Start this fresh day with this fresh song Isi Umar Mein from the movie Isi Life Mein(2010).

Mohit Chauhan has put his fresh soul in this song.

Written by Manoj Muntashir, Music by Meet Brothers & Anjjan, and sung by Mohit Chauhan.

Enjoy Music Enjoy Life.

Tagged with: ,
Posted in Asia, Bollywood, India, Music, Pop

Mere Bina – Crook

Hello Guys,

One more beautiful song. I do not know how will it look like this video without this song. Anyway i know it will be disaster.

Listen to this song from the movie Crook(2010) and enjoy the Music and enjoy LIFE.

Song written by Kumaar, music by Pritam Chakraborty, and sung by Nikhil Dsouza.

Tagged with: , , ,
Posted in Asia, Bollywood, India, Music

Allah Jaane – Teri Meri Kahaani

Hello Guys,

Fresh song by Rahat Fateh Ali Khan from the movie Teri Meri Kahaani(2012) will be released on 22nd June 2012.

Written by Prasoon Joshi, Music by Sajid-Wajid and no need to tell who sung this beautiful song with his so much energetic voice Rahat.

Enjoy MUSIC Enjoy LIFE.

Tagged with: , , , , , , , , , ,
Posted in Asia, Bollywood, India, Music, Pakistan, Videos

Aas Paas Khuda-Unplugged from Anjaana Anjaani

Hello Guys,

To the core of your heart God is there inside you. Listen to this beautiful song Aas Paas Khuda from the movie Anjaana Anjaani(2010).

Written by Vishal – Shekhar, Music by Vishal Dadlani – Shekhar, Sung by Rahat Fateh Ali Khan and Shruti Pathak.

Movie video not good quality:

Video with lyrics good quality:

Tagged with: , , , , , , , ,
Posted in Asia, Bollywood, India, Music, Pakistan, Videos

Jo Tere Sang – Blood Money

Hello Guys,

Plug in your earphones and listen to this beautiful song from the movie Blood Money (2012).

Written by Sayeed Qadri, Kumaar; music directors are Jeet Ganguly, Siddharth Haldipur, Sangeet Haldipur and sung by Mustafa Zahid.

Tagged with: , , , , ,
Posted in Bollywood, India, Music, Pakistan, Pop, Videos

Teri Yaadon Se

Hello Guys,

Beautiful songs lining up one by one everyday, where are you? Come on listen to this song “Teri Yadon Se” from Blood Money(2012).

Written by Sayeed Quadri, Music by Pranay, sung by Mustafa Zahid.

Enjoy.

Tagged with: , , , , , , ,
Posted in Bollywood, India, Music, Pakistan, Pop, Videos

You May Be – Aladin

Hello Guys,

Tune up this recently old song from Aladin (2009), “You May Be”. Vishal Dadlani at his best.

Written by Vishal Dadlani and Anvita Dutt Guptan. Music Directors are  Vishal Dadlani and Shekhar Ravjiani. Sung by Vishal Dadlani and Shekhar Ravjiani.

Just listening to this song and humming this line in my head:

You may be Thodi si Diwani , Thodi si Crazy but Babbby you are the One.

Tagged with: , , , , , , , , ,
Posted in Bollywood, India, Music, Videos

Jhalla Wallah – Mera Aashiq Jhallah

Hello Guys,

This is the new song Jhalla Wallah from the movie Ishaqzaade(2012). Written by Kausar Munir, Music by Amit Trivedi and sung by our very own Shreya Ghoshal. Other good songs you may like from this movie are:

– Ishaqzaade

– Pareshaan (Link to my previous post for this Song)

– Jhalla Wallah

– Aafaton Ke Parinde

– Chokra Jawaan

Tagged with: , , , , , , , , ,
Posted in Bollywood, India, Music, Videos

Din Pareshan Hai

Din Pareshan Hain…

Amazing song written by Ali Moeen & Sajjad Ali, music director Sajjad Ali and singers are Sajjad Ali & Suman.

Movie: BOL (2011)

Tagged with: , , , , , , , , , , ,
Posted in India, Music, Pakistan

Main Pareshan Main Pareshan

Main Pareshan Main Pareshan.

This amazing song written by Kausar Munir, music by Amit Trivedi and sung by Shalmali Kholgade. Just listen and you will hook up this song for the whole day. Enjoy the great music.

Movie: ISHAQZAADE

Tagged with: , , , , , , , , , ,
Posted in Bollywood, India, Music

Reserve Bank of India

Hello Friends,

Today I am going to discuss about Reserve Bank of India (RBI). This is central bank of India.

It was established in 1934 as a private bank, government owned and it was not a commercial bank but its sole purpose was to provide basic services of Central Bank to India.

It is an agency or an institution to do traditional work of a central bank. Where Deposit, Credit can be done. Normal bank that we know are the bank which act as intermediaries between Depositors and Creditors.  Difference between Central bank and commercial bank is that Central Bank is bank of Commercial bank and Commercial banks are bank to Citizen.

Central bank works on government behalf,  like it can give pension, take income tax. It works for both government and commercial bank.

There are 27 PSU banks in India, 196 regional banks, various private banks and some international banks also like Bank of America and Citi. America has 4 central banks.

It make sure that savings are getting utilized, means savings should be in other forms of liquid cases like MFs, Share market, FDs etc.

It take care of Controlled Monitoring Expansion.

Some other institutional banks that got formed from RBI:

1964 – Industrial Development Bank of India from RBI

1982 – NABARD

1989 – National Housing Bank

RBI works as guide to these banks.

RBI works as custodian of foreign currency, controller of credit.

There is a question between RBI and government. Shall RBI works as free entity, no control from Government.

What is Deficit banking, you must be wondering: What happens When government needs money they order overdraft on their behalf to RBI and RBI release it. This is called Deficit Financing.

RBI gives guidance, advise, warning to break this deficit financing but govt ignores. So bank finds it is not good for future. Now an agreement happened between govt and RBI for limit of ordering Overdraft. So if government asks for more than the limit then RBI can decide what is good for future.

July 1991, Govt decontrol the government institution, and now almost every govt. institute is dismantling govt. control. So new economic system. no control, only market, capital power. So new situation is good but RBI should guide them.

Hope you liked my post. I will post more informative articles time to time.

The old RBI Building in Mumbai

Govt of India Mint, Behind the RBI HQ. Mumbai

Govt of India Mint, Behind the RBI HQ. Mumbai (Photo credit: Wikipedia)

The old RBI Building in Mumbai (Photo credit: Wikipedia)
Tagged with: , , , , , , ,
Posted in Asia, Delhi, Guide, India, Review

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 500 other followers

October 2020
M T W T F S S
 1234
567891011
12131415161718
19202122232425
262728293031  
Blog Stats
  • 4,395 hits