Saturday, December 25, 2010

2010 year recap code!

I wanted to recollect all the memories of 2010 before I closed the laptop for the year! I was wondering how best to do and wrote the following code in 30 mins that generates an image of predefined size with thumbnails of all the pics that I transferred from my Iphone. This definitely is not a true representation of things for the year but its very close!! Below is an output of the sample run! (I need to refine the code to remove repetitions but I do not care, the purpose is served)



The code takes a text file that contains paths to all the images in a directory(absolute paths). You can generate this file using "dir /B *.JPG" on windows and "ls -1 *.jpg" in Linux. Pass this to the code as a command line argument and it should save "year.jpg" in the working directory which will be the image that contains the thumbnail. I am pretty sure some softwares do this but instead of wasting time to find out I thought I will keep myself busy for 30 mins! I love the final image .. I can so recollect that specific occasions I took the particular picture! :-) The thumbnail captures many of my friends and the happy times I had with them..



You can download the visual studio project from :: https://sites.google.com/site/balamanohar/createCollage.zip


Friday, December 24, 2010

Thursday, December 23, 2010

Wednesday, December 22, 2010

Linear Algebra - MIT OCW

Started revising Linear algebra from the online lectures available on ocw site from mit.  For people who do not know this is the link: http://ocw.mit.edu/courses/mathematics/18-06-linear-algebra-spring-2010/video-lectures/

Its very basic Lin Alg stuff but explained really well. I had a good start and finished 4 lectures and wrote down the gist of whatever I learnt in the best possible handwriting :-) I am pretty sure to lose the notes at some point of time so took some pictures and will be posting them on the blog. My hope is to recollect most of what I got out of the video lectures by glancing at these notes probably a few months or even years from now. My present goal is to finish the 34 lectures in a week. Will see if I can keep it going for the next 7 days.

Lecture1 -


Lecture2 -


Lecture3-


Lecture4 -