Monday, November 11, 2019

How to avoid automatic download of videos of WhatsApp on your phone?

Well! Are you worried about videos that are downloaded on you're phone when connected to Mobile data and Wi-Fi which consumes lot of space on your device. Changes this settings in WhatsApp immediately.

Mobile data:
  • Go to Settings
  • Click on Data and storage usage
  • When using mobile data
  • UnCheck Videos. 
Wifi:
  • Go to Settings
  • Click on Data and storage usage
  • When connected to Wi-Fi
  • UnCheck Videos. 
In Roaming: 
  • Go to Settings
  • Click on Data and storage usage
  • When roaming
  • UnCheck Videos. 
Note: Voice messages are always auto-downloaded in WhatsApp, you cannot change the inbuilt settings.

Is there any alternate to WhatsApp?
The answer may quite interesting because we have many apps for communication but may not secured or encrypted. Trust and Ease of access are the primary sole of WhatsApp which bought them Millions of downloads.

Monday, November 4, 2019

Samsung Galaxy M30s Specifications and Review

Samsung Galaxy M30s:

  • It comes in two variants ie (4 + 64 GB) & (6 + 128 GB) with three colors Pearl White, Opal Black, and Sapphire Blue. 
  • Key specifications of M30s are: 
  • Trile Rear Cam: 48MP + 8 MP + 5MP 
  • Front Cam: 16MP
  • Size: 6.4-inch
  • Storage: Expandable up tp 512 GB
  • Battery: 6000mAH lithium-ion battery, 15W Type-C fast charging feature. 
  • Warranty: 1 year for device and Half-year for accessories.
  • Price: 13,999/- & 16,999/-
  • Offer: Usually during Great Indian Sale and other offer period it is sold at 10% off for specific credit and debit cards.
  • Return details: Amazon offers 10 days to return this product under its terms and conditions. 
  • Exchange offer:  This device can be also bought with exchange and the exchange price depends up on the current model of your device. 
Amazing product from Samsung and this can be considered as the best in the entire Galaxy series and in the price range of 15000/-INR. Battery size at this price is an additional feature which is making it different from other models in Samsung and even with other brands as well. 

Friday, November 1, 2019

Maharashtra Assembly Election Result 2019

Elections held on 21st October'19 and result announced on 24th October'19 where BJP emerged as single largest party. Pre-Poll alliance between NDA alliance's BJP and ShivSena have achieved them victory despite both parties secured lesser seats when compared to last elections. Both the parties shared seats and released their own election manifestos. Out of total 288 assembly seats, 145 is the magic figure to form government.

Total Seats: 288(Magic Figure: 145).
BJP: 105
ShivSena: 56
Congress: 44
NCP: 54
Independents: 13
Bahujan Vikas Aaghadi: 3
AIMIM: 2
Prahar Janshakti Party: 2
Samajwadi Party: 2
Sawbhimani Pakasha: 1
Rashtriya Samaj Paksha: 1
Peasants and Workers Party of India: 1
Maharashtra Navnirman Sena :1
Krantikari Shekari Party: 1
Jan Surajya Shakti: 1
CPI(Marxist): 1

Though the NDA has surpassed magic figure 145 but struggling to form government as each party is expecting CM chair. 29 years young dynamic leader Aditya Thackeray is the first person to contest elections from Thackeray family and won with bumper majority. ShivSena MLA's, party workers are willing to see Aditya as CM at least for 2.5 years which is half term. This point has put BJP in trouble who are not ready to share CM seat but are ready to offer Deputy CM seat for full five years. The political drama is going on in Maharasthra for CM seat in between Aditya Thackeray and Devendra Fadnavis.

In 2014, BJP won 122 seats where they've contest in 260 assembly segments with a strike rate of 47% but this time in 2019 because of alliance with ShivSena they've contested only 150 seats and won 105 with a strike rate of 70%. Though contested in less number of least BJP had won over 100 seats. About 3 to 8 independent candidates who won this time are ready to support BJP in forming the government. BJP requires either ShivSena or NCP support to form government but not possible in any other way as they won't seek support from their lifetime rival Congress.

On the other hand ShivSena has started talks with NCP and Congress to form government which can be absolutely possible. ShivSena will reach 154 seats if they seek support from Congress and NCP. ShivSena has two chances whether to take support from BJP and take Deputy CM seat for 5 years or take support from Congress and NCP and have CM seat for 5 years. If not ShivSena, BJP has the possibility of taking support from NCP and they'll reach 159+ seats to form government.

President Rule Imposed in Maharashtra on 12th November 2019: Governor Bhagat Singh Koshyari, first invited BJP to stake claim but BJP didn't step ahead as they're not confident on the magic figure. Then Governor invited ShivSena to form government and had given a day time to get clarity on this but ShivSena failed to do so. Finally Governor asked NCP to form government but even NCP failed to form government under the given time. Governor recommended President rule in Maharashtra and was approved immediately by President Ramnath Kovind.

Ajit Pawar supported BJP with this effect Fadnavis took oath on 23rd November'19 and resigned on 26th November'19 as NDA alliance did not had the magic figure, Ajit Pawar was given Deputy CM post. Sharad Pawar managed to hold his MLAs and pulled those a few who were following Ajit Pawar. Couple of days ago even Prime Minister Modi was confident on Fadnavis and twitted that BJP will have government for five years in Maharashtra but it did not execute at all. ShivSena chief Uddhav Thackarey supposed to be the next CM and he will be backed by NCP and INC.

Uddhav Thackarey is New CM of Maharashtra: On 28th Nov'19 Uddhav Thackarey took oath as CM of Maharasthra putting an end to high level political drama. 

Friday, October 25, 2019

C Language Basics

In this tutorial let's learn about basics of C programming language. Theory and practical both play key role in the learning process.
                

Programs/Applications need inputs to produce output.
  • char 1 - a single character.
  • int 2 or 4 - integer: a whole number.
  • float 4 - floating point value: ie a number with a fractional part. 3.14
  • double 8 - a double-precision floating point value. 5678.899999
  • void - Valueless.
Derived Data Types:
  • Arrays
  • Pointers
  • Structures
  • Enumeration

Escape Sequences in C:

Escape Sequence   Meaning
            \t                 Horizontal Tab
            \n               New line
            \'                Single quote
            \"               Double quote
            \?               Question mark
            \\                Backslash

Keywords in C 

Meaning is already defined by Compiler

auto        double   struct       int
break      long       else          switch
char        enum     register    typedef
case        extern    return union
const       for         short       unsigned
continue  float      signed     void
goto         default  sizeof     volatile
do            if           static      while

Wrong way of usage:

int if;  //wrong

Note: Keywords cannot be used for creating variable and function names.

Reading Values from Keyboard in C

  • We use scan statement to take input from the keyboard. We can take one or multiple inputs using one scanf statement. 

Rules for Creating Variables:

  • Should start with alphabet or an underscore only. int abc; int ABC;
  • No spaces allowed.
  • Only _(Underscore is allowed to use).
  • keywords cannot be used as variable names.
  • Case sensitive.

scanf in C 


Explanation: 
scanf(“format string”, argument list);

Example:
int a=2;

int a;
scanf("%d",&a);

int a,b;
scanf("%d%d",&a,&b);

"For Loop" in C: 

"For Loop" in C: Initially it looks difficult, but after a while it will be the one of the common thing that you use in every program or application.
Let’s see how and why in my words!!!!!
To print my name the simple code is here:
  #include 
  int main()
  {
    printf("Kirthi");
    return 0;
  }


Output: Kirthi


Let’s say if I want to print my name(Kirthi) for 100 times, then I should write printf statement 100 times.


Or I should mention my name 100 times in the printf statement.
To simplify this, we need to use of “for loop”.


  #include<stdio.h> 
  int main()
  {
    for(int i=1;i<=100;i++)
    {
      printf("Kirthi \n");
    }
  return 0;
}
Output:
Kirthi
Kirthi
.
.
Kirthi(100 th time).


In above example for loop iterates 100 times because of the condition that we've specified. To make program smaller, to reduce lines of code for loop is used.

Tips For Improvement!

How to overcome Laziness?

It is a state where you cannot think⊂ and do as per your capability. Laziness causes mental and physical disorder if you won't react to it initially. Though it is not a serious disease which can be treated but it requires motivation to overcome. Focus on important things that you must accomplish. Organize your time properly in a day wise or weekly. Understand what you're thinking inside and change the way you think. Try to set smaller goals initially and work to achieve it. Consider this is the right time to break the silence inside you and think you can be a successful. Action is required for all your motivations in you. Obviously every step taken is really a beneficial for you.

  • Its directly not a problem or disease.
  • Requires motivation.
  • Focus on important things.
  • Organize your day properly.
  • Analyse your self-talk.
  • Break the silence, start thinking that you can do.
  • Every step taken is beneficial for you.

How to be active every moment?

Think present and live in reality, do not dig into past unnecessarily. The moment's which went wrong earlier would come to your head the moment you're alone and upset, so be alert control your emotions keep yourself calm and focus on something else. Listening to music would keep you active, prepare a playlist a role it whenever you feel your down.

How to say no without hesitation?

Be strong and say confidently that you oppose certain things without any second thought. Try to explain points that you think are correct in your perspective. Hence time will play key role so be sure of yourself. If you hesitate then you've certainly invited problems and you have to face the consequences of it.

How to improve yourself?

  • Be early at work
  • Wear formals
  • Look  cool
  • Set your goal
  • Be a performer
  • Wish your team mates with smile
  • Make right decisions
  • Think before you speak anything
  • Don't involve in unnecessary discussions
  • Read and respond to emails on regularly intervals
  • Learn more

How you should deal with your Manager?


  • Do your job(Implement accurately the responsibility that assigned to you).
  • Communicate all the important/key information by Mail, becomes formal.
  • Always speak in formal language(official), avoid speaking in regional language.
  • If you feel your Manager is arguing on irrelevant issues by holding grudges, just ignore them.
  • Do not disclose it with other team members whatever is happening in between you and your manager.
  • Pick right time to report it to higher authorities with right reasons possibly with proofs for what you point out.

Do not take resignation decision until you have an excellent offer in your hand. The end is not the solution for problems, any team any company would have issues, finding out the ways to overcome is important rather quit.

What role does your health play in your career?

A famous saying "Health is Wealth" is what everyone have to recollect at least once in a day. If you're not doing good then you can't be creative, that's it. Eat on time, eat good food, treat your body well, replacement or repair to any organ is painful and extremely costlier, finding the way to overcome from any health disorder is highly difficult. The first preventive step is to avoid eating foods that has too much fat in it especially the junk one's. Start your day with a couple of glass of water, prefer light warm, ensure you drink a minimum of two to three liters of water in a day. Water flushes away most of the junk that exists in your stomach and keeps it as much as calm as possible. On the other hand too much water can upset your stomach and you may have to go to wash room for a couple of times, so have it in limits. Eat fruits, fruit salads, and have fruits juices as much as you can which is considered to be extremely great diet.

What is the difference between function and method?

First let's understand function. In C programming language, we use functions which contains a piece of code and every function must have a unique name with which it should be called or invoked.

Example:
#include<stdio.h>
int sum();
void main()
{
  int z;
  z = sum();
  printf("z = %d",z);
}
int sum()
{
 int a=5, b=9, c;
 return c=a+b;
}

In Object-Oriented Programming languages we use objects to invoke methods.
Syntax: Object.Method();

Note: In C langugae we don't have concept of class and object.

Function does not belong to any object or class.
Method belongs to a class.

All methods are functions, but not all functions are methods. 

Wednesday, May 29, 2019

Best Stocks to buy in June 2019

On 20th May'19, all Stocks on both the indices NSE and BSE gained profits after exit polls revealed that NDA would attain power once again. The good news is that, there a few gem stocks that are under performing because of bad quarter results or some other reason. Now, we would discuss on what stock you can bet in June'19 which could give you atleast 10 to 40 percent profit.

Hero Moto Corp: It was seen trading around 2750/- levels on NSE at the end of May'19. This is the one of the strongest stock in Nifty Auto segment which could raise to 3500/- levels in a couple of quarters or by the end of 2019. One could add more quantities if it goes below 2500/- ie add on every fall. Hero is fundamentally a very strong company and their products does very well in Indian markets.

TCS: Tata Consultancy Services is fundamentally strong compnay and got an excellent potential to grow up by atleast 30 to 40 percent probaly in a year. It was trading around 2100/- levels on NSE by end of the May'19 and hopefully it may trade over 2500/- levels. This IT gaint is growing quarter by quarter and making itself one of the most stronger companies in NIFTY 50 itself.

Reliance Industries Limited: Got wide range of business in the market and in addition to this it got friendly government at the center which makes this legend stand tallest in terms of economically and fundamentally. Strongest company seen trading at 1300/- levels on NSE and would certainly expected to trade over 1600/- leves in near future and might also reach 1800/- by March'20.

DMart: Avenue Super Markets or DMart is doing excellent business and opening as many branches as possible in the cities where they're present in, its business spreading throughout the nation succesfully. DMart have got great offers on retail products especially for middle class people across the country. It is trading at 1300/- leves on NSE and expected to touch 1800/- leves probably by an year.