The Magic of Startups-the instagram story

Share

One of the historical buyout for a san francisco based startup  InstaGram which has a mere 13 employees in a whooping in $1 billion has sent tremors across globe and will definitely create a positive and innovative environment for startups and VC’S.

It’s an easiest way to share your photos with friends and family.Take a picture, choose a filter to transform its look and feel, then post to Instagram. Share to Facebook, Twitter etc.

It is one of a kind of new idea of sharing pictures on mobile.Currently It is offered only for ios and android.So idea is simple,user friendly and productive.

Do we need HRs in IT industry?

Share

Who is HR manager?human resource manager?.What good HR can do for a company? the answer is nothing.These are the people who are kept on job by MNCs most of time as contractors to look after administrative and operational functions.But these people think like they are owners of the company.

The process of recruitment is itself malfunctioned.why HR should discuss salary,they feel jealous when technical people get paid more than them and behave rudely.They sometimes forget manners to talk to intelligent people(not all but some HRs who never deserve but, are out there).

They do not do any productive work or any value addition to the organization.Some companies  totally fell into HR hands once their technical founders retire or move forward.Their power should be divested.

They should only do data entry type of work and should never be given any managerial position where a technical person has to report to these kind of people.

Recruitment process should be reformed and salary discussion should be with project managers and then after HRs can do paper work.As they do not know how to behave with technical people so they should be no where involved with the recruitment process.Their job should be restricted to facilitaters.

Anna Hazare next target should be Eduction System and its mafias

Share

Here As a citizen of India I would like to stress on below points through this blog which requires urgent notice of Anna Hazare and his team and he should also raise these points :-

1.Reforms in Higher education system.

2.Private engineering and mba colleges is shop set up by political leaders    and clever businessmen.These shops are looting money from people.

3.Industry should be promoted by a separate committee instead of ministry.

4.Employment should be made as fundamental right of citizens.

5.Private universities should be banned and more government engineering and mba colleges should be opened and should be enough to provide provide degrees to all based on entrance exam score.

6.Fees of private schools,private engineering colleges and mba colleges are very high and goes to pocket of  political leaders and education mafias.Education for common man is no longer affordable.

I wonder why points raised by anna and his team are not even considered to be debated in parliament?why government is not willing to take all inputs from jan lokpal bill by anna hazare?Answer is simple all official and political leaders are indulged in corruption.Other issue like bringing the black money back also should be conveyed by Anna.

After non sense talk of manish tiwari who addressed anna by using “tum” word for him which is an insult for a person who is elder and respected by all indians,it seems manish tiwari has gone underground.

This Congress Government has not done anything except to promote all private colleges and education mafias.

Apart from corruption,there are other burning issues  like higher education and employment.These days education mafias are looting the country with the help of ministers.The government is allowing these private engineering colleges and mba colleges to flourish.These mafias have opened many private universities and colleges which is only doing business.There are multiple colleges whose owners are businessmen who just want to make money out of dream of middle class.

I would like to convey to Anna Hazare about this ,so that poor people will get higher education free of cost or at nominal fees.why private schools,engineering colleges,mba colleges are allowed to flourish.If seats at IITs and IIMs are not enough then government should open as many government colleges required to provide higher education to all indians and seats should be allocated as per marks.

Hard earned money of common man is going to pockets of political leaders and businessmen.The policy makers (political leaders and officials of AICTE and UGC) are lying idle and receiving huge money from  education mafias.

Dynamic memory allocation in C++

Share

In C++,

new keyword is used to dynamically allocate memory at run time.

Ex- int *p=new int() or int *p=new int;

in case of array;

int *p=new int[20];

C++ provides two types of handling of exceptions:-

1.bad_alloc

2.nothrow (defined in new header)

1.bad_alloc explained

#include<iostream>
#include<new>

int main()

{

try{

int *p= new int[10];

}
catch (std::bad_alloc &d){

std::cerr<<”bad_alloc caught”<<d.what()<<std::endl;

}
return 0;
}

2.nothrow

For exception handling when new fails ,there is default method nothrow which is defined in new header is used.

Ex-

#include<iostream>
#include<new>
int main()
{
int *x= new (std::nothrow) int[10];

if(x==0)

{

std::cout<<”error : memory could not be all0cated” <<std::endl;

}

else

{

//do some operations here with p

delete []p;

}

return 0;
}

Assignment operator and pointer of class within another class explored

Share

Assignment operator is provided by compiler by default.But if a class conatin any pointers(to a class or to any data type ) then bitwise copy(shallow copy) has to be overrriden by deep copy.

Basically while doing a bitwise copy both copies of pointers inside a class will point to same location so we should define our own assignment operator.

A classic example is provided:-

Please do compilation and report any problems if any.

class C
{
};
class D
{
C *c1;
C *c2;
public:
D()
{
c1=new C();
c2=new C();
}
D& operator=(const D&);
};
//Assignment operator of above class will be
//implemented as follows
D& D::operator=(const D & d)
{
if(this == &d){
return *this;
}
else if(this != &d){
if(c1!=NULL)
{
delete c1;
}
if(c2!=NULL)
{
delete c2;
}
c1=new C();
c2=new C();
c1=d.c1; //this->c1=d.c1;
c2=d.c2; //this->c2=d.c2;
}
return *this;
}
int main()
{
D a;
D b;
b=a;
return 0;
}

which is better,Initialisation list or assignment for intialization of data members of a class

Share

For a variable inside a class there are two ways to initialize it.Either initialization list can be used or inside constructor data members can be initialized.

Now out of these two ways using initialization list is efficient.Compiler does not make a separate copy of  data members of a class to be initialized.

Ex- class A{

int x;

};

A::A():x(temp){}

the other one is assignment inside constructor

A::A(){

x=temp;

}

This is inefficient because a separate copy of object is created here and passed to x object’s assignment operator.Then temp gets destructed at ;(x=temp;) .Code runs faster when initialization list is used.

There is exception to this also.Initialization list can create troubles when there are two constructors of class and they are initializing data members of class in different orders.Certainly a debatable topic for efficiency.

what are default functions provided by compiler to a class

Share

This is one question which is not clearly understood.

C++ compiler provides 5 default functions for a class:-

Default Constructor,

Default Copy Constructor,

Default Assignment Operator,

Deafult Destructor,

Default Address Operator

IPL a complete business game

Share

India’s cricket talent is getting destroyed for sake of business by so called business lobby in india for their own benefits.Let name one player who has come out of this IPL game and has helped india to win world cup comfortably.Each and every game indian is winning because of wishes of indian cricket crazy fans and due to some extent by perfomances.Their batting looked weak against australia in quarterfinal and pakistan in semifinal.They are winning games on the basis of luck and more of dhoni’s luck.Indian team is looking like as if they are at the mercy of other team.They are not winning like australia.

IPL owners are making money and putting the hard earned money of public in their own business and their own luxury.None of the bowlers have come to help india in the world cup.Coming to ground and hitting runs for 20 over does not help cricket instead it is helping the business people.The huge money which is collected in IPL goes waste.The solution is to make BCCI as main owner of IPL and select best old cricketers and back them as owners of team,if IPL has to help in anyway the indian cricket.And then these collected money can be used to groom raw talent at village or at district level.

There is lack of platform for so many talent who want to play cricket.There is no one who is looking at domestic cricket.At the domestic level ,it is still played as a very unpopular game with no crowd or a very little crowd.Politicians have to think logically and more about country growth rather than filling the pocket of rich.The great India has lot of fast bowlers in and around the nation but they are in need for training and facilities.

Do what you love to do

Share

Are you really worthy on earth?Are you really satisfied with the way you are?Definitely I am not and most people if they are,they should not be.

Life is not about a good paid job,a fixed salary and an apartment and add a vehicle to it.The sound is–are you really doing what you wanted to do.I think 95% of people are not doing what they are wanting to do.Only 5% of people or even lesser do what they want to do and yes they rule the world.

If you understand the design of the nature and world ,you could be among 5%.There is not only one bill gates,there are many.But it takes courage and dips to be one.I remember one of my friends said i do  not want to coding ,but I have to do.Many feel like that but there are very less doers.

The point is, its not about entrepreneurship its about passion.We will see more flipkarts on the horizon.

The Infotechs,software masters and slaves

Share

Software industry is seeing dramatic change in its functioning.Earlier It was onsite-offshore model which is now turning into near offshore model as most of MNC’s which are customers for outsourcing companies are moving their bases ,even R&D division to low cost countries like India,china etc and to largely employ local techies.

Now the Indian X,Y,Z ranking company’s middle managers are trying to take advantage of situation and pushing their near and dear one’s to lasting opportunities.One of the craps at one of the IT Majors  told one that technology is nothing, work from 2pm indian time till night.why should one indian be awake for american delight?

Make the eye to eye contact with MNC’s ,not eye to head contact.As a result of move ,which outsource most of crap work to india ,the employment contract which earlier used to be like a situation where one travels from india to other countries mostly US and Europe is now turning to a situation like of HR consultancies(Infotechs) where again few tech guys are exploited by poor degree holders(managers) in india.Now this has been started by major indian outsourcing firms and is on the rise in recent times.

Everybody hates middle man as they are root cause of corruption.They are most advantageous people who are in luxury and fooling two parties.This middle man which I refer to is middle managers an interface between fresh engineers and upper management.

The solution  to this problem is to position technical people at all positions not middle men or managers  who has no credibility at all in their dealings to real technical people.I hope some day this happens and middle position gets filled only by technical people.Craps should be moved out of the industry if industry has to grow in long run.

The fact is that the money which an outsourced professional who travels and work in US and other countries gets as compensation is same as an unemployed youth gets in that country.

Powered by WordPress | Designed by: All Premium Themes Online. | Thanks to Top Bank Free Premium WordPress Themes, wordpress themes 2012 and Premium Themes