Thursday, June 8, 2017

JUST CALL- SAY HI, JUST INVITE- PLEASURE TO MEET YOU !!!!!!

Recent years all major events happening in our life is always spread through social network, Facebook, Twitter or Whatsapp such as engagement, marriage, baby shower,so on. The days are gone where we visit friends or relatives home and invite them personally. Every event were considered important and everybody were considered special and not to be missed.

I stumble on my memories when I used to go with my parents to invite our relatives and friends for marriages or local festivals, it was so much fun !!! I get to meet lot of my uncles and aunties who would love to see me, offer delicious meals, take me to temples, movies and buy some snacks which my parents forbid, get to play games with my siblings and at last while returning back home they would offer a candy or trivial cash as token of love. I just perish those lovable moments.And when they arrive home a week earlier for occasion, house will be filled with people. No place to sit. This is the time when TV gets complete rest 😌 All ladies will help each others in cooking, chiming in decoration ideas, taking care of kids/babies, singing songs. All men would drink lot of coffee/tea, read newspaper, purchase items required, keep roaming in the car. All kids will be playing games and form rivals against disliked kids.

NOW, its all through emails or posts πŸ‘€ We are more concerned on getting the most number of likes on our profile picture updated rather than making time to talk to all the friends in our friends list.

Where are we heading to ? whats the purpose of our life. Think for a second what we achieve saving all the time inviting in-person. Life is to experience, not be like ROBOT.

I would say our parents and generations before are the luckiest as they had true friends and they respected each other. Let me ask you a question, when was the last time have you or your friend have talked on phone and how long has it lasted?

So please people,  come out of your comfort zone. Stop your speed and start living. Take a break and speak to your loved ones. Plan for lunch party and have fun. Its really a stress buster to meet all friends and relatives and spend some quality time with them. I am sure you will never need blood pressure tablets (only if you choose them wisely) πŸ˜‚

Sunday, March 19, 2017

First Scala Application in Eclipse -Windows

Here we shall learn to write simple Scala application so that you can try the legacy Hello World application yourself. Before moving forward, its required to set the environment by following my post.

Creating new Scala application

1. Go to "File" - "New" - "Other..." and select "Scala Project" from the folder "Scala Wizards"
2. Choose a project name and select "Finish"


3. Create package by right clicking on "src" folder. Give a name and click finish.



4. Select "File" - "New" - "Scala Object" to create a new object



5. Write statements/logic of application. This scala object is similar to Java's Main method class. For this, we can follow any of the two approach, 1) either extend "App" to this object or 2) explicitly write main method.

extend App 

use "main" method



You would  have noticed that each statement doesn't end with semicolon(";") . Yeah , Scala saved us from the ceremony to type semicolon as the compiler is made smart to determine the termination of statements. You can still type semicolon if needed but its void by Scala compiler.

6. Save the application and Run by right clicking on the Scala object and choose "Run as" - "Scala Application"


7. Output would be printed at the console


we successfully wrote our first Scala application !!!

Alternatively,If you want existing project to be imported in Eclipse, can be done as similar to importing Java or other applications, "File" - "Import" - "Existing Projects into Workspace". If still finding problem importing the project, then the project is compiled but not compatible to use in Eclipse. To make so, we need to compile project to support Eclipse. Open terminal and either go to the root directory where SBT is installed in order to make sure any applications in the system is compatible to use in Eclipse or navigate to the project folder path to make specific project compatible. Type the command

C:\Users\Profile> sbt eclipse
You should see response something like this

[info] Successfully created Eclipse project files for project(s):
[info] YourProjectNameHere
If there is an error then there would be problem with the plugins.sbt file setup under SBT root directory.To fix this, navigate to .sbt folder and check for plugins folder.  If not found then create a folder naming "plugins" and inside the plugins create a file named plugins.sbt. write the following into the file


addsbtplugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.5.0")
Reload the SBT from terminal by passing the command

> reload
Well done !!! So now import the project and you should see the project in Eclipse.

Since you are familiar with running Scala application, lets lecture on how to use REPL environment in Scala. If not familiar with REPL please read from here. Having said, we need to create Scala worksheet by going to "New"- "Scala WorkSheet"


Give a name to your worksheet and click "finish".

Now you can write each statement in the worksheet and see the results towards right.


So easy !!!!. Have fun with Functional Programming !!!


Saturday, March 18, 2017

Using Scala in Eclipse - Windows


Scala is Programming Language that supports Functional Programming. Scala source code is intended to be compiled to bytecode, resulting in flexibility to be run on Java Virtual Machine.In order to work on Scala, you need to have the following tools installed on your machine:

  • Java Development Kit (JDK)
  • Scala Build Tool (SBT)
  • Editor such as Eclipse,Intellij IDE or any other IDE of your choice

Check whether you have Java installed by typing in the console:

java

or check the latest version

java -version

If not installed then download java from the Oracle website ,run installer and include bin directory of installed JDK in Path environment variable as explained here.

Download SBT tool from here. Run the installer and include the bin directory (usually located under C:\Program Files\sbt\bin) in Path environment variable. Check if installed by typing in console

sbt

you will see something like 

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
[info] Set current project to Users (in build file:/C:/Users)

Also you can find the folder .sbt installed under C:\Users\User_Profile\.sbt

Lastly we focus on choosing IDE. Mostly recommended is Intellij IDE as it showcase the environment to run Scala application, but here I will spotlight on using Eclipse.

For Scala we have two options to use Eclipse, 1) either use any existing eclipse IDE (Kepler onwards is preferred as Scala plugin is not supported below Kepler) or 2) use Scale IDE for Eclipse which is very easy - download and use in 2 minutes.

If using regular Eclipse, choose Help/Install => New Software and paste the URL http://download.scala-ide.org/sdk/lithium/e46/scala211/stable/site. You would be provided with the options to install Scala for Eclipse IDE, accept it and download completes. Eclipse will restart.

Now you can create new Scala project if you find the Scala related options under File =>New

Good job guys 😊, Hope this blog helps you !!!


Monday, January 9, 2017

Guide to visit New York and Baltimore for first time !!!

Wish you all a wonderful Happy New Year 2017 !!!!

I hope all had great fun and enjoyed every moment of the new year ball drop with fireworks.

I did enjoy my New Year Eve in New York with my spouse and my friend's family.New York is such an amazing place to spend vacation. Awwww !!!!!! Suddenly thought to help newbies planning for vacation around New York, so here I am to share my experience with the world.

We had planned for five (5) days trip of which three (3) days in New York and rest 2 days in Baltimore.This post will be helpful for people who love lot of walking,it can easily cover 7 to 8 miles a day :)

Usually my husband and me opt to reserve a hotel away from downtown and take the earliest train or bus to downtown the next morning. This time my friend's husband planned to take a hotel in downtown and roam tension free, guess what, it really worked well. We comfortably booked around Times Square and spent whole time walking down all the street day and night.Its really awesome, I definitely mean it.

Day 1: Our travel started with drive to reach Manhattan and visit Time Square.Had lunch in Curry Express (Indian platter shop). Later visited the observatory in Empire State. I ever wondered how the magnificent structure was built in just less than a year. We can't event code a project without errors whereas people in earlier days constructed each story of Empire in a DAY.😲 Something which I want our future generations to follow and which I don't want our parents to know.πŸ˜‰The view from the top is amazing !!!!





We had amazing Mediterranean food from Maoz for dinner. Falafel was amazing !!!

Day 2: Woke up early morning and took a stroll to Time Square with hot coffee from Dunkin Donuts. The view is spellbound, need to watch it all the time.Ever wondered the busiest and crowded street look in the morning, then take look at my pics πŸ’—





I love authentic Indian food so we had the best south Indian breakfast in Saravan Bhavan. Just love the madras filter coffee, mind blowing.
Later visited Central Park and enjoyed the kiss of Sun over the green grass,very authentic.Got chance to see the Balto,dog, statue. We then took a bus ride to Grand Central Terminal. On the way watched the glorying Trump Tower. We had lunch nearby at Minar (again an Indian Restaurant). The Terminal is so magnificent.We headed to Brooklyn Bridge, very crowded yet amazing place. We did around 3 miles of walk over the bridge and took some photos.One of the most amazing place to visit at the evening.
Now was the time to have good dinner and great dessert. Yummm. Oh Yeah!!! So we walked to Little Italy. Had awesome Chinese dumplings at Excellant Dumpling House. Those steamed chicken dumplings are so awesome, am mouth drooling now πŸ˜‹. Time for dessert, so we headed to Cafe Palermo.You guys need to check this place, amazing menu.πŸ’˜

Day 3:  Took a quick stroll to Time Square in the morning. We checked out from hotel and did bit of shopping in Macy's & Uniqlo. Then started driving to New Jersey to Dimple's Restaurant for lunch.It was a hugely crowded restaurant but food was good.We took a short walk nearby as it was hub for all Indian cuisine, jewelry, apparels, dress and condiments. Its one of the place which feels like India :) After the great food we headed to drive to Baltimore- Inner Harbor. We had dinner at local store and ended the day.

Day 4: This was the day to spend in and around Inner Harbor.Wow...Wow..Wow..😲 I tell you its one of the wonderful place to visit.The view is so breathtaking. There is everything around the harbor, ice rink for skaters,restaurants, Ripley's believe it or not,Aquarium,Baltimore World Trade Center,Museums,Federal Hill Park,etc.One day is not enough. 😍.Eateries are around the Harbor walk to please your stomach.






Also don't miss the view from Fells Point.

Day 5:Wrapping our trip and back to home.Whole day was driving, nothing much in particular.😊

Hope you guys liked my post and thanks for reading such a huge blog !!!

P.S:My advice is take the hotel reservation right in the center of the downtown so that most of the time is spent to view the blissful scenario than wasting time on travel 😌

Tuesday, December 20, 2016

Arch Linux-Getting Started with Android Studio

In this post I am going to share my experience in setting up Android Studio IDE on Arch Linux platform.

STEP 1::

        Download Linux based Android Studio from Android Developer portal from this link to specific directory.In my case I saved in   home/Documents/Android_IDE/Android-Studio

STEP 2::
   
        Open terminal and navigate to the downloaded directory
                        
                      $ cd home/Documents/Android_IDE/Android-Studio                 

STEP 3::

        Extract the 'tar.gz' file
          $ tar -zxvf android-studio-bundle-133.1028713-linux.tgz              

STEP 4:: 
       Its time to download Java. Download Java SE from Oracle portal( Visit Oracle Java SE Download page). Extract files and voila!!!, Java is installed successfully.To verify if installed perfectly, type in terminal

                                                  $ java                                                             

If list of available commands are displayed then its done (good job!!!)
STEP 5::
Once Android Studio file extracted, navigate to bin folder
                $ cd /op/home/android-studio/bin                                        
 Start the Android Studio from the terminal
                                   $ ./studio.h                                                        
 Instead of starting Android Studio from the home directory, add the bin path to PATH environmental variable.
                $ JAVA_HOME=~/Development/jdk<version> ./studio.sh       
Hope it helped. Happy coding !!!

Relax Your Time !!!!!!

Hey guys, happy to see you all again!!!!

Likewise, I was able to connect to all my good old school friends after decades and when asked to meet over a coffee each said "I AM BUSY",the same phrase which i usually hear from almost all the people I know, my parents,siblings,friends & never the least from spouse as well !!!!.Well I wonder what they would be doing 24/7 ?????




Since the culture has changed a lot & we have accepted the changes at faster rate that we don't get time to have coffee with loved ones or go for a movie with best friends.Often there are fights within couples for not taking out for a dinner or not saying "how pretty you look" !!!!

So please, take time out of your busy day & spend it with your parents,spouse,kids or friends.
BE RELAXED :) Keep the FACEBOOK away for while, your wall will not fade away until it deserves your touch !!!!

Don't let technology ruin your life



If you like to cook for the family, invite them home and start the recipes together, I just love it !!!
There are reasons for parks to exist, movie theaters to exist, restaurants to exist. Go ahead, swipe in your credit and keep your smile reaching your loved ones hearts.

                       


Holidays are around the corner so plan ahead and enjoy life :) I am surprising my husband too :)

Merry Christmas and Happy New Year !!! Happy Holidays.


Thursday, February 12, 2015

Home Remedies for HeartBurn !!!!

Hey warm welcome you all !!!!!

In this modern world, we humans are required to work very hard for long hours in order to smell the aroma of living comfortable life.Its similar to the tale of tortoise and hare race, survival to the fittest




In this race, we have various expectation such as getting good job, updating technical skills, sustaining recognition among peers, excellent salary package and at last the most awaited, promotion!!!!!.We have a notion that these can make us happy. Of-course, there is always fruitful result for hard-work. But have we ever realized one aspect that we take for granted, that we don't even mind overlooking it.Did you guess?????

Yeah, its our care towards our body.We never spend time for our body that it expects from us. We always force our system to react as we like. This is the main problem which is overlooked and has not been a priority, ever (seriously!!!!)... As a result, our body starts to retard and oppose leading to various disorders or even fatal diseases.

Common disorders found in all of us include:
  • Obesity
  • Indigestion
  • Heartburn
  • Acidity
  • Stress
  • Craving on junk foods
  • Fatigue
  • Heart/chest pain
  • Bloating
  • Gastric
  • Ulcer
  • Lazy

In this post I will discuss Heartburn - cause , symptoms and home remedy 

                                                

What is heartburn??

               Its a form of indigestion felt as a burning sensation in the chest,caused by acid regurgitation into the esophagus.


How is it caused??

               Its mostly due to change in our lifestyle,food habits and rest.


Common symptoms of Heartburn

               Heartburn symptoms are similar to those of stomach upset but should be taken seriously if its prolonged almost everyday. It includes:
  • Burning sensation in the chest after each meal or drinks.
  • Burping occasionally.
  • Mouth smells as heated rod or metal.
  • Not able to complete one time meal.
  • Often feel to pass stools (motion).
  • Lack of sleep at night.
  • Dry throat and urge to drink water while sleeping at night.
  • Stress/restless behavior.

Home Remedies

  • Drink a lot of water:
    • Water helps to clean stomach and allows complete excretion, thus keeping stomach light and easy
  • Give COMPLETE REST to the body
    • Relax 5 mins for every 1-2 hours. Don't consider always sitting at desk, make a quick stroll and be right back to work.
    • Avoid stress if possible.
  • Take smaller meals
    • Break down meals into smaller portions and consume in intervals of every 2-3 hrs. By doing this, we help stomach to produce enough acid to burn  food & avoid heartburn.
  • Exercise 
    • Exercise is the best medicine for all problems. Take 30 mins brisk walk, Yoga or fitness exercise every day. Don't perform exercise which strains abdomen, stop it right away and continue walking for few days until its safe to start exercising.
  • Fruit Juices
    • Consume fruits as juices since the acid in the stomach will react faster to juices than whole fruits. Fruit juices such as banana, apple and watermelon helps to keep the stomach cool. Try avoiding critics such as lemon, orange, grapes.
  • Balance life
    • We need to balance work and personal life. As the great legend Abdul Kalam had quotes, WORK ONLY 8 HOURS A DAY in office. Practically not possible !!!!!!. 
  • Probiotics
    • Buttermilk or Probiotic yogurt  are the best helper to keep our system cool. Consume it anytime everyday. 
  • Till seeds 
    • it helps to generate required enzymes in stomach and keep it cool. Dry roast till seeds and grind them coarsely. Consume 1-2 spoons everyday with jaggery or without based on taste.
  • Dinner time
    • Have dinner about 2 hrs before sleep. Digestion will be slow during heartburn. 
  • Sound sleep
    • Last tip, add saffron to milk and consume daily after dinner. Saffron helps to clean stomach with unwanted bacteria and helps to get good sleep.Raise the head of your bed.

Things to avoid

  • Very spicy, fatty & junk foods.
  • Green Chilies in any food preparation.
  • Coffee, alcohol, coke and other beverages.
  • Mint, peppermint, chocolates.
  • No smoking.
  • Stress and depression.
  • Don't lie down soon after meal.
Follow these remedies everyday and feel the difference in the stomach and heartburn fading away.  :)

If still suffering from Heartburn then immediately make call to the Doctor and fix an appointment. 

Have a safe and stress free life !!!!!!

Feel free to share your comments, because knowledge is all about sharing.. !!!!!