Book Review : 3 secrets to effective time investment

Picked this up as Cal Newport wrote the forward and mentioned it on his blog. I took away a few key points. A lot of the book I was able to skim read, but if I can keep myself in the frame of mind of choosing where to invest my time rather than it getting spent – it’ll be worth the read.

Here are my notes:

Plan your day, week, month – make sure you invest your time where you want to.

When frustrated by everyone else think “what can I work on that is under my control and can make a different”

Don’t compare yourself to others – you don’t know how much help they get, or sacrifices in other areas they have made.

Set realistic expectations of yourself – don’t set ridiculous project deadlines

Be compassionate to yourself

Don’t be a perfectionist! (unless it is truly important to you) – the cost of wanting everything to be perfect is horrible!

Don’t over commit – and only choose the things you want to invest your time in. Find out what you like saying Yes to and doing.

Set expectations – don’t answer emails too quickly – train others what to expect from you.

Big projects – people are scared of doing them and making progress as often these projects are public and very important.

Routines – help you make consistent progress on big projects without sacrificing health and key relationships.

Pick up the book from Amazon!

Microsoft.Devices.PhotoCamera change camera resolution

I’ve been having some fun building an app for my Windows Phone this weekend using Azure Mobile Services. I wanted to do some stuff with photos as well by uploading them to Azure Storage as blobs. The camera seems to default to the maximum resolution when using it in code so I wanted to set it to something smaller like 640 * 480 to make the size of the images smaller.

There is a nice code sample here of how to do it:

http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202951(v=vs.105).aspx

But when I placed this code in the OnNavigatedTo method of my xaml page I was getting an error. Seems the way to get this to work off the bat is to make use of the camera_Initialized event. So in OnNavigatedTo add:

camera = new PhotoCamera();
camera.Initialized += camera_Initialized;

and in the camera_Initialized event you can change the resolution:

Size res = camera.AvailableResolutions.ElementAt(0);
camera.Resolution = res;

Hope this saves someone some time…!