Today is the last day of the year 2015 and in few hours we will be in the new year. I thought of listing down highlight of the year but didn't able to think many events as i able to thought last year. Did i wasted one year or i survived one more year. It is difficult to answer this question but still trying to note down few highlight of this year:
1. Omi's School: This year we admitted our daughter to pre-school. We did a lot of searching of school, evaluating the school in various categories but finally gone with DY Patil school. It was a big excitement and fun while selecting school for her.
Thursday, December 31, 2015
Wednesday, August 19, 2015
Correcting WAN miniport devices on windows 8.1
Since I upgraded
my system to windows 8.1, I continuously get the problem of VPN not getting
connected due to corrupted WAN mini port (Indicated by yellow exclamatio n mark in Device Manager). This lead my formatting my system couple of
times but finally I able to find the resolution. Please perform the steps
below:
- Open Device Manager.
- In network adapters section, you will find WAN mini port devices (IP, L2TP, PPTP).
- You can observe the broken mini port my observing the yellow exclamation mark in front of them.
- In case WAN mini-ports are not listed try by selecting the option “See hidden devices” from menu.
- Got Registry editor and browse to HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet->Control->Class->{4D36E972-E325-11CE-BFC1-08002BE10318}
- Go through each of the sub keys to find the sub key corresponding to the broken mini-port. This information can be seen in the DriverDesc value.
- Once you got the key corresponding to broken mini-port, delete the sub key.
- For reinstalling the WAN mini-port go to Device Manager.
- Select broken mini-port.
- Right click the selected broken mini-port and select ‘Update Driver Software’
- On Next screen select the option of Browse my computer for driver software.
- On Next screen select the option of ‘Let me pick from a list of device drivers on my computer’
- Select the only network adapter listed there and click next.
- After successfully installing the driver you will observe the yellow exclamation mark is gone in device manager and mini-port is fully recovers.
- Repeat the steps 9 to 14 for all the broken mini ports,
Thursday, January 1, 2015
New Year Resolution
First of all a very happy new year to all of you.
As a new year tradition many of us make some resolution. Some people take it very seriously and review their entire year make a resolution which is nothing but plan for the next year. In combine with organization appraisal process, which happened at nearly same time this is a excellent opportunity for planning the next year.
I must admit i am one of these people. However most of us try to make the resolution which at the end of year can me measure as yes or no. However some people make a mistake to interpret it wrong and make a resolution like take as whole or leave. Please make a point to understand the difference between these two. The former makes ensure there is some improvement or achievement which might not be 100%.
The amount of improvement is generally we refer as target or goal. Achieving or missing this target decide whether resolution is kept or broken. Make sure you should not keep too much ambitious target. Goal should be balanced enough to motivate you to keep you trying to achieve the same.
As a new year tradition many of us make some resolution. Some people take it very seriously and review their entire year make a resolution which is nothing but plan for the next year. In combine with organization appraisal process, which happened at nearly same time this is a excellent opportunity for planning the next year.
I must admit i am one of these people. However most of us try to make the resolution which at the end of year can me measure as yes or no. However some people make a mistake to interpret it wrong and make a resolution like take as whole or leave. Please make a point to understand the difference between these two. The former makes ensure there is some improvement or achievement which might not be 100%.
The amount of improvement is generally we refer as target or goal. Achieving or missing this target decide whether resolution is kept or broken. Make sure you should not keep too much ambitious target. Goal should be balanced enough to motivate you to keep you trying to achieve the same.
Wednesday, December 24, 2014
Highlights of year 2014 !!!
The first blog of the year coming at the end of the year :). This year time passed away very fast and before i realized it is only few days left for calender to be replaced. Therefore I thought it is good time to scan the events happened during this year.
- New House: With all complexity finally able to build and shifted to my new house. It was a awesome feeling and enjoyed every moment of building the house.
- Promoted to M4 grade (Product Architect): This year i got promoted to new role of Product Architect. It was a new role and of course new challenge. I am not sure how much i able to do the justice to the role but at now at least i am aware and have more clarity about my career path.
- Beginning of Omi's school life: Time when passed never come back again. This year i come to know this statement is not correct but the correct statement is times always repeats itself. This year my daughter started her school life with Play school. Believe me it was more excitement for me than for her. I felt the excitement of first day in school, I enjoyed preparing her dress for fancy dress, i enjoyed all the small small activities done by her in school.
Monday, May 13, 2013
What is the difference between constant and readonly?
Constant
- Its value is determine at compilation time and embedded in the IL.
- Set at compilation time.
- Can only for define for primitive type.
- Its value is initialized at the run-time inside the constructor.
- Set during run-time.
- Can be define for value type and reference type.
Monday, May 6, 2013
Difference between reference type and value type
Value Type
- Allocated on stack
- Have both representation i.e. boxed form & unboxed form
- Derived from System.ValueType
- No Method can be abstract
- While assigning field by field copy is made.
- Storage is free as soon as they goes out of scope
Reference Type
- Allocated on heap
- Always has boxed formed
- Derived from any object other than System.ValueTye
- Methods can be abstract
- While assigning only memory address is copied
- Storage is freed using Garbage collection
Monday, April 29, 2013
Casting and Type Conversions in C#
Casting or type conversion is a method by which a data is converted from one data type to another. There are 2 types of type casting.
Implicit type casting.
Implicit casts are the casts that do not require any special syntax and it’s done by complier by its own. There is not data loss in implicit conversion. However there are some rules by which are followed by complier for performing the casting.
a. Derived class to base class.
If we try to assign a value from derived class to a base class it will work. That is because a derived class always is-a base class. Also, from a memory perspective, a derive class object contain the base class object in it and it can be access by a base class object without any problem. For example following code work without any problem..
class Base
{
}
class Derived : Base
}
class Program
{
static void Main(string[] args)
{
Derived d = new Derived();
Base b = d; // object b can access base class part of object d
}
}
b. Primitive types.
Since the complier has intimate knowledge about the primitive types it’s apply some special rules of type casting. The things here to remember is it allows the narrow type to be assign to wider type. Since this there is no chance to data loss this is consider as safe typing and hence no cast operator is expected from programmer.
static void TestCasting()
{
int i = 10;
float f = 0;
f = i; // An implicit conversion, no data will be lost.
}
Explicit type casting.
In explicit type casting there is possibilities type data loss hence it is essential for programmer to mention this to compiler by special syntax.
a. Base class to derive class.
C# compiler require the programmer to explicitly cast an object of a base type to an object of its derived type as there is possibility of failure at run time.
Base b = new Base();
Derived d = (Derived)b;
b. Primitive types.
Programmer also needs to explicitly mention the cast in case he needs to cast a wider type to narrow type. The reason here is these type of conversion might result in data loss and hence it unsafe.
static void TestCasting()
{
int i = 0;
float f = 0.5F;
i = (int)f; // An explicit conversion. Information will be lost.
}
Thursday, April 4, 2013
Sunil Narine is still a mystery
Narine started
the IPL 6 from where he left last session. Still Delhi’s batsman unable to read
his bowl. His ball was turning both ways. Except
Jayawardene all batsman felt clueless in front of Narine. Surely they
missed Shewag who was the one who had shown some success against him last
session. Overseas batsman was looked more pretty in front of him.
Also Gautam use Narine very smartly as a attacking bowler and utilized other slow bowlers like Bhatiya in between small spells of Narine. Narine got the good support from Breet Lee and Balaji.
If other team wanted to beat Kolkatta, they need to find out a way to play Narine.
Also Gautam use Narine very smartly as a attacking bowler and utilized other slow bowlers like Bhatiya in between small spells of Narine. Narine got the good support from Breet Lee and Balaji.
If other team wanted to beat Kolkatta, they need to find out a way to play Narine.
Sunday, March 31, 2013
Highlights of IPL 2013
A huge and fantastic victory over Australia sets the
atmosphere for IPL. After a long and very bad losses India shown some good
cricket in favorite condition. Along with more cricket and excited finishes
there are plenty of highlight of this session of IPL.
- Cricketing future of senior cricketers like Virender Sehwag and Gaoutam Gambhir are much dependent on this IPL session.
- Bhuvneshwar Kumar shown very promise in domestic session. I am very excited to see him in condition which favors pace balling and have quality batsman especially against swing balling.
- India played with 3 spinners in India but in SA it is most likely that only best spinner will be picked. This indicates a battle among inform spinners for capturing the place in playing 11 in SA.
- India U-19 team just has won the world cup. It would be very excitement to see these player again world class player and who among them will capture the place in senior team.
Sunday, February 5, 2012
Salary Appraisal!!
In many organization appraisal is going on in month of January. Some organization having the activity in April. In all the organization the new salary structure is advised as salary hike but really is it? Can any increase in salary lesser than inflation rate, considered as salary hike? For me definitely NO. Positive inflation rate indicates the amount of money you need to spend more for ensuring the same life style. It means the anything greater than inflation rate is actually the salary hike.
Government employee gets dearness allowance to counter the inflation rate but there is no such privilege for employees of private sectors. On top of DA government employee have a provision of increment annually. In short government employee have the salary hike each year in true sense. So be aware this time when you get your salary revision letter if you are really getting salary hike or salary cut.
Government employee gets dearness allowance to counter the inflation rate but there is no such privilege for employees of private sectors. On top of DA government employee have a provision of increment annually. In short government employee have the salary hike each year in true sense. So be aware this time when you get your salary revision letter if you are really getting salary hike or salary cut.
Saturday, January 28, 2012
Subscribe to:
Posts (Atom)