attitude

Tricks to staying positive

I find that developers tend to become increasingly negative as they become more tired, stressed out, and overcommitted. What tricks do you use to keep a positive attitude? Are there books or blogs you find helpful? Particular activities? I'm looking for morale boosters. Edit: Making this a community wiki ...

How to overcome the "Everyone else's code sucks" attitude?

I'm the only programmer at work. A result of downsizing, I have to work on programs that have been created/maintained by many different past programmers. When I look at the code in some of them, I shudder to think that I worked with these people and they produced code like that. Now if I sound big headed and demeaning, well, I'm tryin...

What kind of mental attitude do you have to finish a project

I normally work on projects alone. When I start a project, I make very good progress quickly. But when I realise that I have got some success, the projects starts becoming bigger in my mind. The pictures of success, of things after release start cluttering my mind and then I find it very difficult to work anymore. I find myself procasti...

Perspective correction by scaling factor in Matlab based on height or attitude

How do I compute the perspective correction by scaling factor in MATLAB based on height or attitude, i.e. assuming that when I am moving upwards, an area, say a square should shrink or expand if I were to descend. There are 2 scenarios for this: Case I: using imresize(), however how do I determine the scaling factor proportional to...