Binit Singh Bhatia's Blog

January 19, 2014

List of movies watched for 50-50 challenge for 2013.

Filed under: 50/50 Challenge — binit933x @ 10:53 AM

This is the list of movies that I watched in 2013 for the 50-50 challenge.

1. Jab Tak Hai Jaan – 01/03/13

2. Talaash – 01/04/13

3. The Amazing Spiderman – 01/11/13

4. Luv Shuv Te Chicken Khurana – 01/13/13

5. The Hobbit: An Unexpected Journey – 01/13/13

6. Seven Psychopaths – 01/27/13

7. Skyfall – 02/03/13

8. Argo – 02/04/13

9. Flight – 02/07/13

10. Atlas Shrugged II: The Strike – 02/10/13

11. Upside Down – 02/12/13

12. Silver Linings Playbook – 02/15/13

13. Shame – 02/22/13

14. Casino – 02/24/13

15. Saheb Biwi Aur Gangster Returns – 03/10/13

16. Special 26 – 03/16/13

17. Ek Tha Tiger – 03/16/13

18. Chakravyuh – 03/17/13

19. Matru ki Bijlee ka Mandola  – 03/30/13

20. Lincoln – 03/30/13

21. Kai po che! – 05/11/13

22. Nautanki Saala! – 05/14/13

23. Yeh Jawaani Hai Deewani – 06/08/13

24. Man of Steel – 06/13/13

25. The Reluctant Fundamentalist – 06/29/13

26. The Conjuring – 07/28/13

27. World War Z – 09/02/13

28. Star Trek – 09/02/13

29. Star Trek Into Darkness – 09/10/13

30. Oblivion – 09/14/13

31. Jerry Maguire – 09/27/13

32. Gravity – 10/08/13

33. Bhaag Milkha Bhaag – 10/10/13

34. Magnolia – 10/20/13

35. The Wolverine – 11/08/13

36. Thor: The Dark World – 11/12/13

37. Elysium – 11/15/13

38. 2 Guns – 11/23/13

39. RocknRolla – 11/29/13

40. Gangs of Wasseypur – 11/30/13

41. Gangs of Wasseypur 2 – 12/01/13

42. Prisoners – 12/05/13

43. Layer Cake – 12/07/13

44. Fracture – 12/16/13

45. Runner Runner – 12/18/13

46. Don Jon – 12/19/13

Advertisements

January 11, 2014

List of books read for 50-50 challenge for 2013.

Filed under: 50/50 Challenge — binit933x @ 6:33 PM

This is the list of books that I read in 2013 for 50-50 challenge. I was able to read 43 books (12 more than 2012) in 2013. Books more than 500 pages were counted as 2.

1: The Willpower Instinct: How Self-Control Works, Why It Matters, and What You Can Do to Get More of It 02/16/13

2: Predictably Irrational 02/20/13

3: The Denial of Death 03/05/13

4/5: The Oath of The Vayuputras 03/08/13

6: The Talent Code: Greatness Isn’t Born. It’s Grown. Here’s How. 03/10/13

7/8: Kill Decision 03/12/13

9: Why Evolution Is True 03/24/13

10: The Power of Habit: Why We Do What We Do in Life and Business 03/27/13

11: Avogadro Corp: The Singularity Is Closer Than It Appears (Singularity Series) 03/28/13

12: A.I. Apocalypse (Singularity Series)  03/30/13

13: Bounce: Mozart, Federer, Picasso, Beckham, and the Science of Success 04/25/13

14: Nexus 05/03/13

15: Mastery 06/01/13

16: Zero Day: A Novel 06/01/13

17 : Why Women Have Sex: Understanding Sexual Motivations from Adventure to Revenge (and Everything in Between) 06/03/13

18: Limitless 06/05/13

19: I Was Blind But Now I See 06/06/13

20: Trojan Horse: A Novel: 2 06/18/13

21: The Paradox of Choice 06/13/13

22: Decisive: How to Make Better Choices in Life and Work 06/18/13

23/24: 11/22/63 06/24/13

25: “Surely You’re Joking, Mr. Feynman!”: Adventures of a Curious Character 08/08/13

26: CyberStorm 08/14/13

27: Moonwalking with Einstein: The Art and Science of Remembering Everything 09/04/13

28/29: Crux 09/07/13

30/31: Thinking Fast and Slow 10/06/13

32: The Last Firewall 10/08/13

33: Choke: What the Secrets of the Brain Reveal About Getting It Right When You Have To 10/12/13

34: The Cure 10/13/13

35: Ghost in the Wires: My Adventures as the World’s Most Wanted Hacker 10/16/13

36: Man 2.0 Engineering the Alpha 10/23/13

37/38: Wool Omnibus Edition (Wool 1 – 5) 10/27/13

39:  The Red Queen: Sex and the Evolution of Human Nature 11/10/13

40/41 : Shift Omnibus Edition (Shift 1-3)  11/28/13

42: How to Get Filthy Rich in Rising Asia 11/29/13

43: Die Empty: Unleash Your Best Work Every Day 12/21/13

April 30, 2012

List of Books read for 50-50 Challenge

Filed under: 50/50 Challenge — binit933x @ 11:14 PM

This is the list of books that I have read till now for 50-50 Challenge which is reading 50 books and watching 50 movies in 2012. I was able to read 31 books in place of 50 required but it was a great experience for me since this is the most I’ve ever read in a year. Looking forward to reading some great books in 2013.

1. Shantaram

2. The Selfish Gene

3. The Reluctant Fundamentalist

4. The Dragons of Eden

5. The 48 Laws of Power

6. The Power of Now

7. Blink: The Power of Thinking Without Thinking

8. The Tipping Point: How Little Things Can Make a Big Difference

9. Mean Genes

10. Monkeyluv: And Other Essays on Our Lives as Animals

11. Willpower: Rediscovering the Greatest Human Strength

12. Genome: The Autobiography of a Species in 23 Chapters

13. Outliers: The Story of Success

14. Walden

15. The Prince

16. The Book of 5 Rings

17. Siddhartha

18. Kingpin: How One Hacker Took Over The Billio-Dollar Cybercrime Underground

19. Freakonomics: A Rogue Economist Explores the Hidden Side of Everything

20. Talent is Overrated: What Really Separates World-Class Performers from Everybody Else

21. Switch: How to Change Things When Change is Hard

22. Monoculture: How One Story is Changing Everything

23. You Are Not So Smart

24. What Makes Your Brain Happy And Why You Should Do The Opposite

25. Superfreakonomics

26. The Ego Trick

27. In Fifty Years We’ll All Be Chicks

28. The Immortals of Meluha

29. Differentiate or Die

30. The 50th Law

31. I Will Teach You To Be Rich

January 5, 2012

List of Movies watched for 50-50 Challenge

Filed under: 50/50 Challenge — binit933x @ 6:15 AM

This is the list of movies along with the date I watched them for the 50-50 movie challenge

1. Real Steel – Watched on 4th Jan 2012

2. How To Train Your Dragon – Watched on 5th Jan 2012

3. What’s Your Number? – Watched on 7th Jan 2012

4. Ladies vs. Ricky Bahl – Watched on 8th Jan 2012

5. Saving Private Ryan – Watched on 9th Jan 2012

6. The Dirty Picture – Watched on 23rd Jan 2012

7. London Paris New York – Watched on 1st April 2012

8. Mission: Impossible – Ghost Protocol – Watched on 8th April 2012

9. Kahaani – Watched on 14th April 2012

10. Underworld: Awakening – Watched on 17th April 2012

11. Ek Main Aur Ekk Tu

12. Contagion

13. Tere Naal Love Ho Gaya

14. Atlas Shrugged: Part I 

15. The Vow – Watched on 21st April 2012

16. Puss in Boots

17. This Means War – Wacthed on 1st May 2012

18. Vicky Donor – Watched on 13th May 2012

19. Sherlock Holmes: A Game of Shadows – Watched on 19th May 2012

20. Safe House – Watched on 23rd May 2012

21. The Adventures of Tintin – Watched on 9th June 2012

22. Shanghai – Watched on 16th June 2012

23. The Grey – Watched on 17th June 2012

24. 4084: Chaalis Chauraasi – Watched on 17th June 2012

25. Teri Meri Kahaani – Watched on 24th June 2012

26. Mirza: The Untold Story  – Watched on 26th June 2012

27. Arjun: The Warrior Prince Watched on 30th June 2012

28. IshaqzaadeWatched on 1st July 2012

29. The Aviator Watched on 7th July 2012

30. Phone BoothWatched on 25th July 2012

31. Batman BeginsWatched on 29th July 2012

32. UpWatched on 5th August 2012

33. The Hunger Games Watched on 6th August 2012

34. Lord of WarWatched on 21st October 2012

35. LawlessWatched on 17th November 2012

36. The Dark Knight RisesWatched on 22nd November 2012

37. The AvengersWatched on 24th November 2012

38. Agneepath Watched on 9th December 2012

39. LooperWatched on 14th December 2012

I was able to watch 39 movies in place of 50 required for the challenge. I might have missed few movies from the list. Looking forward to watching some great movies in 2013.

December 20, 2011

Book List 1 for 50-50 Challenge

Filed under: 50/50 Challenge — binit933x @ 6:04 PM

This is the first list of 15 books for 50-50 challenge which I’m planning to read in 2012.

More books to be added later and this list would be updated as I read these books.

50-50 challenge is the challenge to read 50 books and watch 50 movies in 2012.

More information about 50-50 challenge: http://www.fiftyfifty.me/

Some useful book lists for anyone looking for books to read:

1. http://bluepyramid.org/library/bookcomp.htm

2. http://www.the-bookman.com/main/Best.books.html

3. http://www.marcandangel.com/2009/08/24/40-modern-nonfiction-books-everyone-should-read/

My first list of 15 books:

1. The Emperor’s Handbook: A New Translation of The Meditations – Marcus Aurelius

2. One Hundred Years of Solitude – Gabriel Garcia Marquez

3. The 50th Law – 50 Cent and Robert Greene

4. 1984 – George Orwell

5. Wild at Heart: Discovering the Secret of a Man’s Soul – John Eldredge

6. Outliers: The Story of Success – Malcolm Gladwell

7. Catch 22 – Joseph Heller

8. The Tipping Point: How Little Things Can Make a Big Difference – Malcolm Gladwell

9. Steve Jobs – Walter Isaacson

10. The Road Less Traveled, 25th Anniversary Edition : A New Psychology of Love, Traditional Values and Spiritual Growth – M. Scott Peck

11. To Kill a Mockingbird – Harper Lee

12. 11/22/63 – Stephen King

13. King, Warrior, Magician, Lover: Rediscovering the Archetypes of the Mature Masculine – Robert Moore & Douglas Gillette

14. Secrets of the Millionaire Mind: Mastering the Inner Game of Wealth – T. Harv Eker

15. How to Talk to Anyone: 92 Little Tricks for Big Success in Relationships – Leil Lowndes

December 19, 2011

Movie List 1 for 50-50 Challenge

Filed under: 50/50 Challenge — binit933x @ 11:09 PM

This is the first list of movies that I’m planning to watch in 2012 as part of the 50-50 challenge: challenge to watch 50 movies and read 50 books in 2012.

More info about the challenge here: http://www.fiftyfifty.me/

This is list of 25 movies already released. More movies would be added as part of 2nd list including the movies released in 2012.

This post will be updated as I watch the movies.

Movie List from IMDB Top 250

1. Schindler’s List (1993)

2. One Flew Over the Cuckoo’s Nest (1975)

3. City of God (2002)

4. Forrest Gump (1993)

5. Leon: The Professional (1994)

6. Citizen Kane (1941)

7. Toy Story 3 (2010)

8. Saving Private Ryan (1998) –> Watched on 9th Jan 2012

9. Requiem for a Dream (2000)

10. Reservoir Dogs (1992)

11. Up (2009)

12. Gran Torino (2008)

13. Scarface (1983)

14. Donnie Darko (2001)

15. Gone with the Wind (1939)

16. There Will Be Blood (2007)

17. How to Train Your Dragon (2010) –> Watched on 5th Jan 2012

18. Magnolia (1999)

19. The Godfather: Part II (1974)

20. The Godfather:  Part III (1990)

21. Casablanca (1942)

Other Movies

1. Winter’s Bone (2010)

2. Blow (2001)

3. Garden State (2004)

4. Toy Story 2 (1999)

First book list coming soon followed by 2nd lists for movies and books.

February 12, 2010

How I updated install of Python/iPython on Mac OS X 10.5.8

Filed under: Uncategorized — binit933x @ 10:48 PM

This is a quick and dirty guide about how I updated the versions of Python/iPython on My Mac running OS X 10.5.8

The default version of Python which came with the system was 2.5.1 while I wanted to install latest version 2.6.4 (as of now) since there are some things which wont work with the older version.

Since there are lots of system related things on Mac which make use of default version of Python, so its not advisable to remove/mess with that version. However, different versions of python can be installed along with the default version which is what I did.

Some quick notes:

The default python is installed here:

/Library/Python/

Then I grabbed the latest version of MacPython from the official python website:

http://www.python.org/ftp/python/2.6.4/python-2.6.4_macosx10.3.dmg

If you follow the standard install process here, then this will install the latest version of Python here (please confirm this as I am not exactly sure but it worked for me):

/usr/local/bin

so it wont interfere with the default version and the necessary config files are found in this directory:

/Library/Frameworks/Python.framework/Versions

Now, when I typed “python” in a terminal, it automatically brought up the new version although I didn’t make any changes to the path variable (there might be a need for that so please check online if this does not work for you).

So now the default version of the python for system usage is still there and when I type up Python in a terminal, it brings  me the latest version, which is exactly what I want:


Python 2.6.4 (r264:75821M, Oct 27 2009, 19:48:32)
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>

Now, I use Python through, interactive shell called iPython which is very useful:

http://ipython.scipy.org/moin/

However, when I typed iPython in a terminal , it was still showing me the older version of iPython corresponding to Python 2.5.1 (the default version).

This is because I had installed iPython using easy_install tool for default Python version here:

/Library/Python/2.5/site-packages

(Easy install is also located there, not sure about how exactly that install process worked but the easy_install site should be helpful):

http://peak.telecommunity.com/DevCenter/EasyInstall

So, now I needed to uninstall, the older version of iPython and install the new one.

To install the older version, I went to the site-packages directory and typed:

sudo easy_install -mxN ipython

it will ask you for the root password.

And then install the latest version of iPython:


cd ~/Downloads/

wget http://ipython.scipy.org/dist/0.10/ipython-0.10.tar.gz

tar -xvf ipython-0.10.tar.gz

cd ipython-0.10

python -c "import sys;print sys.prefix"

The last command, should display:

/Library/Frameworks/Python.framework/Versions/2.6

which is the path to the latest version of Python which we just installed and we want the iPython version of Python to correspond to this version as well.

So, now you are into the ipython directory, from where the iPython will be installed:


python setup.py build
sudo python setup.py install

This should install latest version of iPython corresponding to the latest version of Python.

So now when you type ipython in a terminal, it should give:


Python 2.6.4 (r264:75821M, Oct 27 2009, 19:48:32)
Type "copyright", "credits" or "license" for more information.

IPython 0.10 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object'. ?object also works, ?? prints more.

In [1]:

which is what we want. Mission Accomplished!!!

I wanted to do this for a long time but could not find a suitable guide so I found this from isolated sources with a bit of trial and error.

Hope this helps someone having the same issue as me.

Feel free to post your comments about it.

Note: this whole process should be even simpler for someone trying to install Python/iPython from scratch. You just need to figure out the easy_install part which should be easy

March 5, 2009

How I updated PHP & MySQL on RedHat Enterprise Linux (RHEL) 5.3

Filed under: Uncategorized — Tags: , , , — binit933x @ 6:10 PM

This is my post about the steps which I used to update the versions of PHP and MySQL on RHEL 5.3. As of this writing the latest versions of PHP is 5.2.9 and that of MySQL server is 5.1.32-1. The installation of RHEL5 (after making updates) had versions of PHP/MySQL which were  as much as 2.5 years old. You obviously don’t want so old versions of the software for security reasons. So I decided to upgrade versions of PHP/MySQL on the system. Obviously the default repository of RHEL does not have the updated versions of PHP and MySQL (and many other softwares I believe).

I searched online for making the upgrades and after a long search, I came across links on the web which helped me perform the upgrades. So, I decided to write a detailed post about my upgrade process so it could be helpful to others.

The packet management tool which I’m using is yum. So its a good idea to know few basic yum commands:

yum list available

yum list installed

yum list updates

yum install [package]

yum remove [package]

I guess all of above commands are self explanatory.
Since the repositories which are used by RHEL are not up to date, so we need to use and setup some other repository. One of the most popular and the one which I used is Remi’s repository which has latest packages for most of the software:

http://rpms.famillecollet.com/index.html

This repository is not there in the repository directory

/etc/yum.repos.d

yet so we need to enable it in order to use it. To do that we need to download some additional RPMs and install them first. The 2 RPMs which we need are:
epel-release and remi-release
My architecture is i386 so if yours is x86_64 then get the RPMs for it accordingly.

We can get the first one from here:
http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm

using:

wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm

rpm -Uvh epel-release-5-3.noarch.rpm

Download the 2nd one from Remi’s site:
http://rpms.famillecollet.com/enterprise/remi-release-5.rpm

using:

wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm

rpm -Uvh remi-release-5.rpm

2nd package is dependent on first one so we need to install 1st before the 2nd.

Now, I removed the older packages first (not sure if this was needed though) by using:

yum list installed

and looking for those packages which started with php or mysql. That also included php packages dependent on mysql and vice-versa. Remove them using:

yum remove [package]

IMPORTANT: I didn’t mention it here but if you have any data present (especially MySQL database) then please make sure that you back them up  first before removing packages as that may result in loss of data also. I didn’t have any data when I started so I didn’t mention it before.

The steps will now create corresponding information for Remi’s repository in:

/etc/yum.repos.d/

So, now we have the older packages removed and need to install the new ones. Before that we need to enable Remi’s repository. For that goto file called remi.repo in the repo directory and under the section [remi] there, change enabled = 0 to enabled = 1.

After doing this, run the following command:

yum install php

Now, run:

php -v

and you should get something like this:

PHP 5.2.9 (cli) (built: Feb 27 2009 14:42:58)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies

as the output.

Now, run the following commands:

yum install mysql-server
yum install php-mysql

yum install mysql-devel

and it should install MySQL server and PHP-MySQL module along with necessary dependencies.
Now, you can check your working of PHP and MySQL server by starting httpd and mysql services and may be writing a phpinfo() file:

/sbin/service httpd start
/sbin/service mysqld start

So the PHP and MySQL should be working now. I have not yet done any configuration of any of those and its likely that I’ll run into some problems there and so may be I’ll make another post about it.
Some of the links which were useful to me and from where I used information for the installation process:

https://forums.misdivision.com/showthread.php?t=1285
http://timt881.wordpress.com/2009/02/17/installing-phpmyadmin-and-php-52-on-a-centos-52-server/
http://forum.parallels.com/showthread.php?t=86086

Since this thing worked for me for RHEL 5.3 so I believe it should work for CentOS as well.

Create a free website or blog at WordPress.com.