Wednesday, October 30, 2019

Fake it, until you make it ..

Some are born geniuses and then there are rest of us, the strugglers. We are not born intelligent, we have to fight our demons, each and every time, the hard way. So be it. Struggle, study, practice, repeat.

Hard work is the way forward. And keep faking, until we make it.
Good day :)

Friday, October 18, 2019

Design Patterns - Using C#

Design Patterns are some known solutions for problems which has been encountered previously.

Can b broadly categorized in 3 grps :
1. Creational Patterns

i) Abstract Factory
ii) Builder
ii) Factory Method
ii) Prototype
ii) Singelton


2. Structural Patterns

i) Adapter
ii) Bridge
iii) Composite
iv) Decorator
v) Facade
vi) Flyweight
vii) Proxy


3 Behaviorial Patterns
i) Chain of Responsibility
ii) Command
iii) Interpreter
iv) Iterator
v) Mediator
vi) Memento
vii) Observer
viii) State
ix) Strategy
x) Template
xi) Visitor

Friday, June 28, 2019

Thought of the day

Make peace with with yourself. You are not a machine. Neither are your family-members. Everyone needs rest, a little of free-time and me-time. Don't beat yourself up. Don't put your foot in so many boats at once. Don't try to learn too many things at a single time. You are already pushing yourself too hard. What you already are doing, not many are doing.
Be always competitive.

Note : I generally don't like using word you but at times it becomes necessary.

Thursday, December 20, 2018

IPL 2019 Starting XIs


On any given day 20 overs has to be bowled. And  best of the bowlers could have a bad day. So we need at least 6 bowling options. I prefer 3/4 Seamers, 2/3 spinners in the XI. 2 allrounders in XI provides a lot of flexibility. Some of our bowlers/allrounders are not 4 overs match bowler. Like, I will never bowl Hardik 4.

Openers and #3 should always look out to hit boundaries and care less for their wk
Best batsman of team will bat at #4 either to attack or consolidate


RCB
1/2 Akshdeep Nath/Parthiv/Moeen/Milind/Gurkeerat
3 De Villiers (if any of the openers get out in powerplay De Villiers at #3 otherwise Kohli)
4 Kohli
5 Hetmeyer/Klassen
6 Shivam Dube
7 Grandhomme/Stoinis
8 Sundar/Negi
9 Coulter Nile/Southee
10 Umesh/Siraj/Navdeep Saini/Khejroliya
11 Chahal

Gurkeerat cud b used for fielding. One of Nath/Parthiv/Klassen has to play for wk. Bowling is looking Good. Batting has always been the Strength. They just have to settle on some good openers. I would suggest to try Nath & Sundar.


MI
1 Lewis/ De Kock
2 Suryakumar Yadav
3 Ishan Kishan
4 Rohit
5 Krunal
6 Yuvi
7 Hardik
8 Cutting/Pollard
9 Milne/Malinga
10 Behendorff/McCleghan
10 Markande
11 Bumrah


CSK
1 Narayan Jagadeesan/ Ruturaj Gaikwad/ M Vijay
2/3 Watson/ Raina
4 Rayudu
5 Dhoni
6 Kedar
7 Bravo/ David Willey
8 Bhajji/Jaddu
9 Deepak Chahar/ Shardul Thakur
10 Ngidi
11 Mohit Sharma


SRH
1 Shreevats Goswami/Wridhiman Saha
2 David Warner/Martin Guptill
3 Manish Pandey/Deepak Hooda/Ricky Bhui
4 Kane Williamson/ Jonny Bairstow
5 Mohd Nabi/ Shakib
6 Abhishek Sharma/Vijay Shankar/Yusuf Pathan
7 Rashid Khan
8 Kaul/Sandeep Sharma/Khaleel
9 Bhuvi
10 Basil Thampi/ Billy Stanlake/ T Natarajan
11 Nadeem


KXIP
1 K L Rahul
2 Mayank Agrawal/ Chris Gayle
3 Nicholas Pooran
4 Karun Nair
5 Mandeep Singh/ Sarfaraz
6 Henriques/Hardus Vijoen/Sam Curran/ David Miller
7 Varun Chakravarthy
8 R Ashwin
9 Ankit Rajpoot/Mohd Shami
10 Andrew Tye
11 Mujeeb Ur Rehman


DC
1 Prithvi Shaw/ Manjot Kalra (some matches)
2 Shikhar Dhawan/ Colin Munro (some matches)
3 Rishabh Pant/ Ankush Bains (some matches)
4 Colin Ingram
5 Iyer
6 Chris Morris/ Keemo Paul
7 Axar Patel/Rahul Tewatia/Jalaj Saxena or Sherfane Rutherford (some matches)
8 Avesh Khan/Nathu Singh/Harhsal Patel
9 Amit Mishra/ Sandeep Lamichhane (some matches)
10 Rabada/Trent Boult
11 Ishant Sharma


KKR
1 Chris Lynn
2 Sunil Narine/Joe Denly
3 Robin Uthappa
4/5 Nitish Rana/Shubhman Gill
6 Andre Russell/Carlos Baithwaite
7 Dinesh Karthik
8 Piyush Chawla
9 Nagarkoti/Shivam Mavi/Prasidh Krishna
10 Lockie Ferguson
11 Kuldeep Yadav


RR
1 Rahul Tripathi/Prashant Chopra or Vohra or Rahane (some matches)
2 Jos Butler
3 Samson/Aryaman Birla
4 Riyan Prayag
5 Steven Smith/ Ashton Turner
6 Ben Stokes
7 K Gowtham/Shreyas Gopal
8 Jofra Archer/Oshane Thomas
9 Dhawal Kulkarni
10 Mahipal Lomror
11 Unadkat/Varun Aaron

Sunday, September 9, 2018

Solving a 3X3 rubic cube

Hey there

This might not be the solution you are looking for .. to solve a 3x3 rubic cube. This I might be sharing at a later point of time. But today I m here to share an even bigger concern.

Before attempting to solve a rubic cube, be assured it can be solved. I mean that it is not wrongly setup. The sides and the corners. In such a way it can't be solved.

Example, instead of a blue-orange side, a orange-green side has been placed.

No matter, how much we try, it can't be solved.

And worst part it can't be determined.

I wasted a week and was not able to solve. Disassembled it, assemble it again and I was able to solve it. Though did not know exact problem but I m able to solve it now every other time almost.

For
1. how to solve a rubic cube and
2. Disassemble & assemble it back
Keep watching this space.

If urgent, pls drop a comment. I will get back with you.

Saturday, August 25, 2018

RESTful API Designing guidelines  —  The best practices


Even if we are not writing APIs for other developers and products, it is always very healthy for your application to have beautifully crafted APIs.
There is a long debate going on the internet, about the best ways to design the APIs, and is one of the most nuanced. There are no official guidelines defined for the same.
The API is an interface, through which many developers interact with the data. A good designed API is always very easy to use and makes the developer’s life very smooth. API is the GUI for developers, if it is confusing or not verbose, then the developer will start finding the alternatives or stop using it. Developers’ experience is the most important metric to measure the quality of the APIs.
The API is like an artist performing on stage, and its users are the audience


1) Terminologies

The following are the most important terms related to REST APIs
  • Resource is an object or representation of something, which has some associated data with it and there can be set of methods to operate on it. E.g. Animals, schools and employees are resources and delete, add, update are the operations to be performed on these resources.
  • Collections are set of resources, e.g Companies is the collection of Company resource.
  • URL (Uniform Resource Locator) is a path through which a resource can be located and some actions can be performed on it.

2) API endpoint

Let’s write few APIs for Companies which has some Employees, to understand more.
/getAllEmployees is an API which will respond with the list of employees. Few more APIs around a Company will look like as follows:
  • /addNewEmployee
  • /updateEmployee
  • /deleteEmployee
  • /deleteAllEmployees
  • /promoteEmployee
  • /promoteAllEmployees
And there will be tons of other API endpoints like these for different operations. All of those will contain many redundant actions. Hence, all these API endpoints would be burdensome to maintain, when API count increases.
What is wrong?The URL should only contain resources(nouns) not actions or verbs. The API path/addNewEmployee contains the action addNew along with the resource name Employee.
Then what is the correct way?/companies endpoint is a good example, which contains no action. But the question is how do we tell the server about the actions to be performed on companies resource viz. whether to add, delete or update?
This is where the HTTP methods (GET, POST, DELETE, PUT), also called as verbs, play the role.
The resource should always be plural in the API endpoint and if we want to access one instance of the resource, we can always pass the id in the URL.
  • method GET path /companies should get the list of all companies
  • method GET path /companies/34 should get the detail of company 34
  • method DELETE path /companies/34 should delete company 34
In few other use cases, if we have resources under a resource, e.g Employees of a Company, then few of the sample API endpoints would be:
  • GET /companies/3/employees should get the list of all employees from company 3
  • GET /companies/3/employees/45 should get the details of employee 45, which belongs to company 3
  • DELETE /companies/3/employees/45 should delete employee 45, which belongs to company 3
  • POST /companies should create a new company and return the details of the new company created
Isn’t the APIs are now more precise and consistent? 😎
Conclusion: The paths should contain the plural form of resources and the HTTP method should define the kind of action to be performed on the resource.

3) HTTP methods (verbs)

HTTP has defined few sets of methods which indicates the type of action to be performed on the resources.
The URL is a sentence, where resources are nouns and HTTP methods are verbs.
The important HTTP methods are as follows:
  1. GET method requests data from the resource and should not produce any side effect.
    E.g /companies/3/employees returns list of all employees from company 3.
  2. POST method requests the server to create a resource in the database, mostly when a web form is submitted.
    E.g /companies/3/employees creates a new Employee of company 3.
    POST is non-idempotent which means multiple requests will have different effects.
  3. PUT method requests the server to update resource or create the resource, if it doesn’t exist.
    E.g. /companies/3/employees/john will request the server to update, or create if doesn’t exist, the john resource in employees collection under company 3.
    PUT is idempotent which means multiple requests will have the same effects.
  4. DELETE method requests that the resources, or its instance, should be removed from the database.
    E.g /companies/3/employees/john/ will request the server to delete john resource from the employees collection under the company 3.
There are few other methods which we will discuss in another post.

4) HTTP response status codes

When the client raises a request to the server through an API, the client should know the feedback, whether it failed, passed or the request was wrong. HTTP status codes are bunch of standardized codes which has various explanations in various scenarios. The server should always return the right status code.
The following are the important categorization of HTTP codes:

2xx (Success category)

These status codes represent that the requested action was received and successfully processed by the server.
  • 200 Ok The standard HTTP response representing success for GET, PUT or POST.
  • 201 Created This status code should be returned whenever the new instance is created. E.g on creating a new instance, using POST method, should always return 201 status code.
  • 204 No Content represents the request is successfully processed, but has not returned any content.
    DELETE can be a good example of this.
    The API DELETE /companies/43/employees/2 will delete the employee 2 and in return we do not need any data in the response body of the API, as we explicitly asked the system to delete. If there is any error, like if employee 2 does not exist in the database, then the response code would be not be of 2xx Success Category but around 4xx Client Error category.

3xx (Redirection Category)

  • 304 Not Modified indicates that the client has the response already in its cache. And hence there is no need to transfer the same data again.

4xx (Client Error Category)

These status codes represent that the client has raised a faulty request.
  • 400 Bad Request indicates that the request by the client was not processed, as the server could not understand what the client is asking for.
  • 401 Unauthorized indicates that the client is not allowed to access resources, and should re-request with the required credentials.
  • 403 Forbidden indicates that the request is valid and the client is authenticated, but the client is not allowed access the page or resource for any reason. E.g sometimes the authorized client is not allowed to access the directory on the server.
  • 404 Not Found indicates that the requested resource is not available now.
  • 410 Gone indicates that the requested resource is no longer available which has been intentionally moved.

5xx (Server Error Category)

  • 500 Internal Server Error indicates that the request is valid, but the server is totally confused and the server is asked to serve some unexpected condition.
  • 503 Service Unavailable indicates that the server is down or unavailable to receive and process the request. Mostly if the server is undergoing maintenance.

5) Field name casing convention

You can follow any casing convention, but make sure it is consistent across the application. If the request body or response type is JSON then please follow camelCase to maintain the consistency.

6) Searching, sorting, filtering and pagination

All of these actions are simply the query on one dataset. There will be no new set of APIs to handle these actions. We need to append the query params with the GET method API.
Let’s understand with few examples how to implement these actions.
  • Sorting In case, the client wants to get the sorted list of companies, the GET /companies endpoint should accept multiple sort params in the query.
    E.g GET /companies?sort=rank_asc would sort the companies by its rank in ascending order.
  • Filtering For filtering the dataset, we can pass various options through query params.
    E.g GET /companies?category=banking&location=india would filter the companies list data with the company category of Banking and where the location is India.
  • Searching When searching the company name in companies list the API endpoint should be GET /companies?search=Digital Mckinsey
  • Pagination When the dataset is too large, we divide the data set into smaller chunks, which helps in improving the performance and is easier to handle the response. Eg. GET /companies?page=23 means get the list of companies on 23rd page.
If adding many query params in GET methods makes the URI too long, the server may respond with 414 URI Too long HTTP status, in those cases params can also be passed in the request body of the POST method.

7) Versioning

When your APIs are being consumed by the world, upgrading the APIs with some breaking change would also lead to breaking the existing products or services using your APIs.
http://api.yourservice.com/v1/companies/34/employees is a good example, which has the version number of the API in the path. If there is any major breaking update, we can name the new set of APIs as v2 or v1.x.x

Thanks to Mahesh HaldarReference : https://hackernoon.com/restful-api-designing-guidelines-the-best-practices-60e1d954e7c9

Sunday, July 1, 2018

Our success and our happiness are as personal as our toothbrush

Our success and our happiness are as personal as our toothbrush.

Sooner we learn and accept it better it will be for us. This applies to everyone including adults, especially working professionals.

Monday, January 15, 2018

Massive unsaid, undocumented shift in Return Policy by E-Commerce companies

Monday. Jan-15-2018. 1:10 pm

E-commerce buyers are restraining online orders after recent changes in policies mainly return policies. The bigger players Flipkart, Amazon, Ebay, Shopclues does not accepts returns that simply.

It is no more like the televised ad from Flipkart which shows you can try and return, if did not like it

Recently Flipkart and Ebay declined my return requests despite products not being up to the expected quality.

One unexpected story is from Amazon. Bought a product, requested replacement. Executive took the returned item but it was not shown on Amazon India. I was taken aback and totally surprised. How is it even possible for Amazon?

Moral : Order items only if we are too sure it is going to be useful quality item.

Love and Value, what we have

Monday. Jan-15-2018. 1 pm

I had bought a Reebok Jacket-cum-Cheater, way back in 2012. It became my loyal companion wherever I had go. On bike, foot, or to my hometown. It shielded me from wind, dust and little bit of cold. I could reach places without my actual clothes getting dirty.

I got married in 2014. By then my loyal companion, the Jacket had lost some of its sheen and luster. My other companion, my wife said, it doesn't look good anymore. May be I should consider replacing it. I did not heed any attention to her words. Every few months, she kept repeating. It got to my mind, she had a point. I started looking out for new jackets but was not able to buy any, whatever reasons may be.

My office gifted me a sweat-shirt. Instead of Jacket, started using the new one on my commutes, but I was not comfortable. It did not shield me from morning or evening winds. I used to shiver, a little.

In meantime, my old companion got angry. Zip stopped working. I had to use sweat-shirt.

A month or two went by. One day I wore my old companion despite runner not working. Got it fixed, on route to office. And I was happy and comfortable again.

Moral : At times, we do not value what we have. We learn their values in their absence.

This moral was not new to me but I never had felt it myself. Today, I did. Let's love and value what we already have than what we desire to have. 

Be like salt. People may not notice you, in your presence. But they must miss when you are not there :)

Monday, May 1, 2017

Namma Bangalore and a little introduction


Previously Bangalore, and now officially known as Bengaluru, is the capital of Karnataka and silicon valley or IT City of India. It is located on the Deccan Plateau at a average height of around 900 meters from sea-level. It is famous for its pleasant climate throughout the year and that is because of its elevation i.e. highest among the large cities in the country. Though this is not entirely true now. Starting March its get hotter and remains hot till mid-May. Post that rainy season starts and once again it becomes pleasant. Nonetheless I love Namma Bengaluru :)


In late 1980s it was too evident that the growth of urbanization was spilling over the current broader and now the city is the second fastest-growing major metropolis in India. The spell and richness of Namma Bengaluru, and things people cherish about Bangalore are some of its collectibles, memorabilia and souvenirs.


The city has something for everyone – right from exclusive boutiques and international brands to street side sellers. Today there are so many exquisite Malls across the city and for bargain hunters there are arcades on K.G.Road, Malleshwaram, Chickpet, Basavanagudi, Jayanagar 4th Block, Shivajinagar, Basaveshwar Nagar, Rajajinagar, Marathahalli etc.


Paintings, Arts and Crafts

It has a rich tradition of Paintings, arts and Craft and these are famous to the tourists and collectors. Karnataka is famous for the Sandalwood Oil produced here but is pretty expensive. Besides this, Channapatna dolls, Rameshwaram paintings and other beautiful sculptures are also available here. Crafts like kalamkari, madhubani, dhokra items, Mangalgiri, hand block print clothes, Natural fiber items, furniture, organic foods, and home furnishers are few of the famous items in Bangalore.

One can easily go for bargaining and negotiation in these shops. It is better to decide beforehand what to buy.


Indian Sarees and other ethnic dress wear

A wide range of sarees, especially exclusive south Indian verities are extensively available in Bangalore. Among them is the most famous local version of Mysore Silk Saree. Other famous Saree varieties include Kanjeevaram Silk Sarees, Surat (Gujarat) Saree, Arani (Tamil Nadu) Sarees, Benares Sarees, VenkataGiri, Pochampally and many more varieties of ethnic dress wear.
Where to buy

Majestic / City Bus Stand area, Chickpet and MG Road are the famous for shops for Saree and craft materials. Residency Road is also famous for its exquisite handicraft shops. Alankar Plaza in KG Road, near the City Railway Station has shops that sell clothes at almost half the price of those sold in big retain malls. The whole area is always crowded and it seems something like a shopping carnival is going on. Stroll around during an evening and shop from everything from clothes to counterfeit watches and the latest electronics.

MG Road, Brigade Road and Commercial Street are located at the downtown streets and highly famous for shopping, restaurants and leisure activities. A number of big-brand stores and smaller chains can be found here easily from where tourists and travelers can have wide options based on their budget.
Electronic and electrical, and perfumes and watches



In Bangalore is considered as the IT capital of the country, and is famous for latest IT related devise and gadgets. Across the city there are many computer stores where one can buy computers and accessories. But the most famous area for electronics and computers is SP Road and SJP Road. These roads are near City Market (Russell Market) and are full of shops dealing with computer and electronic goods. They sell at almost 25% less than the market value. Here from numerous stores one can get an assembled desktop in a couple of hours. While SP Road houses mostly computer related shops, SJP Road is famous for a lot of electronics stores, hardware (nuts and bolts) and a horde of electrical accessories. Computer Warehouse in Barton Center, MG road is another shop selling assembled and branded computers at rates similar to those found on SP road.

In National Market complex at Gandhinagar (Near City Railway Station and Bus Stand) there are numerous shops where one can get everything from Rolex watches replicas to expensive imported perfumes, electronics, clothes and anything else for the fancy buying.

Other complexes similar to National Market include SukhSagar Mall, Bajaj Mall, Burma Bazaar, Hajee Janaas and Bngkok Plaza.


Sweets and sweetshops



Indian sweets are famous for its varieties of taste and look; it can please all kinds taste buds. Bangalore is no different than the other big cities of the country in having rich tradition of variety of sweets and sweetshops. These shops offer the most appetizing and delicious sweets at affordable prices. Some of the most famous sweets of the city are Badam Halwa / Almond Halwa Sweets, Manganem (goanchana dal sweet dish), Pineapple(annasipazham) kesari, Carrot apple muffins, Kharabhaath, Choco nutty bars (no bake and no egg), Malpua with sinful special rabdi, Gulabi Halwa, Dry Fruit Burfi, Kesar Burfi, Cadbury Roll, Kesar Roll, Kesariya Dollar, Mava Paan, Badam Bhog, Choco Mava Roll, Anjeer Mawa Burfi, Gulkand Roll, Ajmeri Kalakand, Santra Kalakand etc.
Here are a couple of places suggested to visit:

Anand Sweets and Savories is famous for its hand-crafted Indian sweets. It started in Commercial Street; Anand Sweets now has expanded to 5 specialty stores in the city. Bengali sweets such as Rajbhog, Sandesh, KheerKadam, Dry Fruit Srikhand, Mango Srikhand, Rasgulla, Malai Gulla, Rasmalai and more are made exclusively by their Moiras. It is premium Indian sweets and the first of its kind sweet shop. They offer a very wide range of products for every person.

Good quality of Almond, Pistachio, Cashewnut and Fig collection are also available here for gift purposes. Other equally famous stores are Sri Venkateshwara Sweetmeat Stall, Kanti Sweets, Sri Krishna Sweets, Adyar AnandaBhavan etc.


Books – new and old (Avenue Road)



Avenue Road is the den for bargain-hunters for book shopping in Bangalore. It is adjacent to KG road near the City central railway station and bus-stand. One can find from management to the latest fiction novels. Moreover, old books of all kinds are also available here. One can sell or exchange books in the shops here. Strand Book Stall‎ - Conducts bargain book fairs and sells second-hand books, Manipal Centre, Dickenson Road, Sapna Book House,Thunga Complex, Gandhi Nagar.

Shopping is categorized to the varied list of items that the consumers wishes to buy. From food and clothes to books, every place is famous for such type of shopping joint. Whenever you are in the city of Bangalore, be sure to check out the mentioned shops and streets to find out the things that you are looking for. These shops are simply a great experience to visit, regardless of whether you want to buy the stuffs or not. We, people are so hungry for new things that every day of our life can be easily spend in shopping without every getting bored from the concept.

Sunday, April 9, 2017

Never underestimate thyself

Life is not like a school where we will be taught first and examination follows. Its the opposite. Difficulties will come through and we will learn.

Now everyone is unique, different from others. Same problem could be solved numerous ways. And when it's a life related problem, there is not right way to solve it. We all handle it as per our capabilities, as per our skills. Bottom-line is get it solved.

Since everyone is different. Someone possess patience, someone else could be a quick learner. One could be blessed with a razor sharp brain. Other person could have a very good memory. Our leaning speeds could differ as well. But that does not mean one is better than other. Yes a person could be better than other at a specific skill-set.

I have seen in same class, one guy will understand and grasp things very first time. Whereas another kid need to go through same thing again and again for coming to same level of understanding. God has blessed first guy in this instance with sharp brain. And same GOD has blessed the other guy with preservance and Hard-working nature. But neither of the guys should get discouraged. I am a  firs hand witness that some of the brilliant guys in my class are nowhere and still struggling. Whereas some of mediocre students are doing very well in their lives and are so successful.

I am myself a example of same. I was a very bright student in my school days. blessed with a very sharp brain and a very good memory. But gone are those days. For learning a new topic now I take longer than some of my colleagues but that doesn't mean I am slower. I have my own speed and am quite happy with that. At times, I am not able to understand some things or complete some tasks and seeks my colleagues help. But same is the case with them. I am good at some and helps them achieve a particular thing.

We might approach same problem in different ways. And finally reach at same result. Other one might have taken lesser time. But I was no way slower. My approach might serve for a longer time.

So, we should not think much, get depressed or anything like that why I am not able to remember everything I read. Why I am unable to recall what I read yesterday only/ Why this guy is faster than me. The answer is GOD made us that way, and there must be a purpose. We might not realize that today.

But yes if we are slower and need more efforts. We should not shy away from working hard. If we are not able to remember what we read. We should read it again and again. We should practice it, write it.

Never compare ourselves to someone else. We have no idea, what is their life about. The guy could be a superman in office but he might be bad at relationships. Believe that we our blessed on our own ways.

Luck plays a factor but there is not shortcut for hard-work.


Do not wait for Perfect Time ...


Do not aim for Perfection.
Never wait for Perfect Time.
If so, we will keep waiting forever and a perfect time might never arrive.

Quest of making things perfect requires huge resources, dedication and time. And still we might not be perfect. Remember 80-20 Pareto principle. 80% of work can be completed with just 20% effort but for rest 20%, 80% efforts will be needed

I does not mean we should never go for perfection or making things 100% perfect. But I mean to aim for perfection in things which are utmost important and not every small task. Do not seek perfection in tasks such as our day to day things. Nevertheless, we might want to improve ourselves daily bit by bit.

Buddha's middle path is the one we should aim for (I might have understood it wrong). But Balance in life is very important and thus comes the Middle Path.

From where I see a biggest chunk of our efforts should go in our main work. For example I am a software engineer. So a very big chunk should be going therem in my office work. As this is where we are earning our bread and butter. We should always do our works very honestly. Doesn't matter if we are getting required results or not. Promotions and recognition is a different field altogether. As is the gist of Geeta, Karma (of course Karma doesn't only include this). Our efforts should only increase. And if we are not getting desired results we should circumspect, why this is not happening? Why I am not getting desired results? Where am I lacking? What more can I do to get promoted? There are high chances, we should be able to find out where exactly are we lacking. We should mend our ways not the efforts.And in case we are unable to, seek outside help. Consult colleagues or whoever we think can help us. Could be our Managers.

Then comes Health, Happiness, Family, Friends and contentment (in the exact sequence, think over it)

But Balance and Patience are keys leading to a successful life.