Tuesday, February 23, 2016

Why I love Detachment(2011)


Few months back, a friend suggested I watch this movie - Detachment. I was not interested as it wasn't a comedy(my first choice). But I did copy the movie from him because... Why the hell not!

In January we all know what happened. So I was in my hometown for a month. I had to pass my time somehow and so I decided to binge watch all movies and series that I had on my laptop. And that's when I came across Detachment.

It starred Adrien Brody. I had never watched him in a movie before. In fact, I only knew two things about him - a) He is one of the few people who are banned from ever hosting Saturday Night Live and b) He is a respected actor. After watching his performance, I can attest to point (b).

I didn't have any expectations from the movie. As I said it was just for passing time. The friend who gave me this movie told me that I would have a new found respect for teachers after I'm done watching it. So, according to him, the movie was about teachers and what they go through to educate us. But if you ask me, I think there's a lot more to it than just teachers and their difficult lives.

Of course, there is the main
story of Henry Barthes - a substitute teacher who tries to educate students about the "reality" of life in the short period of time he is with his them. But there is more to the story. A subplot(in a way).

His personal life is filled with tragedy. His grandfather used to sexually abuse his mother when he was a kid. And to keep him from seeing all this, Henry's mom used to lock the door. But he understood what was happening(at least he did understand later on). His mother committed suicide when he was 7. All this had a huge impact on him. After all this, you would expect him to become a cynical asshole. But he did not become that. He sorted himself out and believed that everyone(specially kids) can drive their life in the right direction even if a lot of shit had happened with them(That's what he did, right?).

In a nutshell, this "Positivity" is what he's trying to spread to all his students.

Anyways, let's get back to the B story. So, one night on his way back to his apartment, he finds a teenage prostitute Erica. She tries to seduce him but Henry couldn't care less. He makes it clear to her that he's not interested and tells her that the life she is leading, she chose it herself. She, obviously, blames her circumstances and tells him to "Fuck OFF!"

The next night, she follows him and this time Henry offers her to come to his place. She gladly accepts. He gives her food, clean clothes and, most of all, respect. I know I know..... What am I going about? What's the point?

There is one. Lemme tell you a bit more. Then we'll get to it. At one point, when he finds Erica giving oral sex to someone in his apartment, he didn't kick her out. He simply asks her to do it outside his apartment if she has to.

He didn't want to change people. He wanted to be the best he was. And he expected people to do the same. Just the best they could be. Something I admire about the character. Just saying.

One more little detail before I get to the underlying subtext of the movie that I could see. There are other issues he had to deal with. Like, once he caught a kid in school beating a cat to death with a hammer. He, obviously, reported him to the principal. And they took over from there.

Last detail. There's a girl, Meredith, in his class going through some heavy issues at her home and she wants him to engage but he doesn't. In fact, even on his last day of school, he didn't have a lot to say to her.

Now I would like to discuss the second aspect of the movie which I found to be more interesting and
tell you why I love Detachment.

The defining scene for me in the whole movie is the scene where Meredith asks Henry for help after class. And as he explains that he's always there to help, Meredith breaks down in tears. This was the first time a person had accepted her as she was. Not even her own father did that. She, obviously, doesn't want Henry to ever leave her. And she mistakes all this for love.

She hugs Henry but Henry is reluctant. He understands the boundaries they need to maintain and so he doesn't hug her back properly. That's when Sarah, a fellow teacher, walks in on them. Meredith runs off crying as Henry doesn't feel the same way about her. Sarah gets shocked to see Henry "touching" one of his students. That's THE BEST MOMENT OF THE ENTIRE MOVIE!!

Sarah exclaims why Henry was touching Meredith? Again and again. It is very clear to Henry what she was implying. To be clear, she was implying that Henry was a pervert who "liked" teenage girls. This one thought disturbed him deeply. It brought back memories of his childhood. Somehow reminded him of Erica.

Flashes of Erica's naked back go through his head. Erica is a teenage girl but on some level, he realizes, he did find her attractive. And this thought disgusted him. He is reminded of his abusive grandfather. And that's why, a calm and composed guy like himself, screams with anger in front of Sarah. He screams something like, "Do you think I look like an old pervert!?" "Old" thinking of his grandfather. And then he storms off.

Let's analyse this realization of his and all the information mentioned above. He did find Erica attractive on some level. Why else would he try to help her? He didn't stop her from being a prostitute. He did say that if she doesn't want to do it, she can promise herself but he didn't stop her. If anything, he asked her to do anything she wants outside the apartment. He didn't make any move towards her. That is clear. But where was he going with this relationship? She's living with him and she's not his kid. He's not treating her like her daughter. What was it then?

Think about the little boy who killed a cat in cold blood. I'm pretty sure he needed Henry more than anyone in the school. But he didn't help him out.

He wasn't there for Meredith either. His advice and help wasn't enough for her. He didn't help her out as much as he did Erica. If he had shown more interest in her, probably she wouldn't have committed suicide.

He had realized this aspect of his nature in that moment. And that is why the next day he contacted Child Care Services and let them take Erica away. He couldn't risk it. He couldn't trust himself. He knew it was wrong of him to feel "that" way about Erica. Even if it was only on a subconscious level.

Remember when I said Henry "sorted himself out"? Well, he did sort himself. But the trauma he went through as a kid, stayed with him; Buried deep. And when he was accused of doing something, the very same thing that had haunted him since his childhood, he burst. The secret he had been keeping so long somehow caught up with him. And, hence, all his emotions came out at once. Mostly anger and disgust.

It was the most beautiful scene of the entire movies. And to capture that feeling in a movie is commendable. That's why Detachment moved me and it's one of my favourite movies.

UPDATE:


There is one more aspect that I failed to notice earlier. I watched the classroom scene again. And the one where the Child Care Services people take Erica away. And I could see one more aspect of Henry.

A serial killer's psychology - "Correspondingly, in some cases of serial killers, the murder ritual seemed to have recreated earlier conflicts with meaningful objects, such as parents, authority figures, or peers. The outcome of the replay is different to the original, though. This time, the killer dominates the situation."

Bear with me. Serial killers like to replay their past traumatic events but this time, they're in control. And they repeat it again and again with multiple victims until they get it right.

Compare this to someone saying, "I'm going to be there for you because noone was there to help me out when I was in your situation."

Consider both points mentioned above. Maybe it's in human nature to have this train of thought.

Maybe Henry, subconsciously, was replaying his childhood trauma - an older guy living with a much younger girl(in this case Erica). But this time he was in control and he would help her out rather than abuse her like his grandfather did to his mother. Maybe he wants to make everything right. And, subconsciously, this was his way of doing it.

After he goes through the moment of realization, he fears that he might turn out to be like his grandfather. He fears whatever he did for her might be just because he is somehow attracted to her. This obviously disgusted him; even scared him. He might or might not have been attracted to her. But the doubt is enough to scare him. And that's why lets them take away Erica.

Had to get it off my chest....
No more updates. Promise.

Reference :
http://ambafrance-do.org/psychology-help/16678.php

Friday, July 31, 2015

Change Apache Server Root in Linux

There are a million blogs that tell you how to install a LAMP stack on any linux distro.

But what if you want to move your server's root folder?

The directories I'm going to mention are specific to Fedora, but the files remain the same.

Follow these steps carefully:

1. Create your new root folder.
    For instance, "/home/sahay/newRoot"

2. Edit the Apache servers Config file:
    In Fedora, you'll find this file in the path "/etc/httpd/conf/httpd.conf"
    So, the default value of the servers root directory is "/var/www"
    We need it to be in "/home/sahay/newRoot"
    DO NOT replace every occurrence of "/var/www" with "/home/sahay/newRoot".
    Let them be as they are.
   For the sole purpose of changing your root directory, we have something called "Virtual Host."
    Type the following at the end of the file:

        <VirtualHost *:80>
            DocumentRoot /home/sahay/newRoot
            <Directory "/home/sahay/newRoot">
               
Options Indexes FollowSymLinks
                AllowOverride All
                Require all granted

           
</Directory>
       </VirtualHost>
If you want your PHP script to create a file in your server folder, whether default or a new server folder you've created, you need to make some changes. Follow this LINK.

Create File with PHP script in Linux : Permissions Issue Fix

I had a requirement where I had to create a file in my server folder through a PHP script.
Now, that's not as easy to implement in Linux as it is in Windows.

Trying to write a file in your server folder will give you "Permission Denied"; Even if you're logged in as root.

That's because PHP, which is trying to write the file, isn't running as root.

Follow the following steps to fix this issue:

1. Find out PHP is being run as which user by running the following script:

    <?php echo exec("whoami"); ?>
    In Fedora, you get it as "apache."
    ( You might get it as "www-data" or something similar. )
    This means that the user "apache" is running the PHP script.
    Hence, the user "apache" is trying to write the file in your server root folder, not "root".

    Say, I have shifted my server root folder to "/home/sahay/newRoot".
    So, "apache" should have WRITE access to this folder.
2. Check the permissions of "/home", and "/sahay" by running "ls -l".

    By default "/home" has a 755 permission and the owner is "root".

    Now, in Linux, a user is also treated as a group.
   So, 755 here means "root", as a user, can READ, WRITE and EXECUTE in "/home".
    Users part of the group "root" can READ and EXECUTE in "/home".
    Any other user can READ and EXECUTE in "/home".

    By default "/home/sahay" has a 700 permission and the owner is "sahay".

    700 here means "sahay", as a user, can READ, WRITE and EXECUTE in "/home/sahay".
    Users part of group "sahay" have no permissions.
    Other users have no permissions.

3. Change the group permissions for "/home" and "/home/sahay" folders:

    chmod 775 /home
    chmod 770 /home/sahay

    Now, any user which is part of the groups "root" and "sahay" will be able to READ, WRITE and EXECUTE in "/home" and "/home/sahay"

4. Add "apache" to the groups "root" and "sahay":

    usermod -aG root apache
    usermod -aG sahay apache

    "a" is used to append the list of groups the user already is in. Without "a" it will overwrite the existing group.

    Since, "apache" is part of "root" and "sahay" group, it will have access to READ, WRITE and EXECUTE on"/home" and "/home/sahay" respectively.

5. If you've got SELinux installed, edit the following the SELinux Config file like this:

      SELINUX=disabled

    In Fedora, it is stored in "/etc/selinux/config"
    This would require a restart after everything is done.

Finally, you're good to go. Now you'll be able to use function like file_put_contents() etc. on your server root folder.

Thursday, May 7, 2015

The Golden Age of Comic Book TV and Movie

We are living in an era which I like to refer to as
"The Golden Age of Comic Book TV and Movie".
I know - It's a mouthful. It's just how I like to refer it. It's simple and self explanatory.

The following is a list of recent Comic Book Live-Action series and Movies :

* Live-Action :
  1. Agents of S.H.I.E.L.D
  2. Agent Carter
  3. Powers
  4. Daredevil
  5. Arrow
  6. Gotham
  7. The Flash
  8. Constantine
  9. iZombie
* Movies (2010 onwards) :
  1. Iron Man 2
  2. Thor
  3. X-Men : First Class
  4. Captain America : The First Avenger
  5. Ghost Rider: Spirit of Vengeance
  6. The Avengers
  7. The Amazing Spider-Man
  8. Iron Man 3
  9. The Wolverine
  10. Thor: The Dark World
  11. Captain America: The Winter Soldier
  12. The Amazing Spider-Man
  13. The Amazing Spider-Man 2
  14. X-Men: Days of Future Past
  15. Guardians of the Galaxy
  16. Avengers: Age of Ultron
  17. Jonah Hex
  18. Green Lantern
  19. The Dark Knight Rises
  20. Man of Steel
  21. Teenage Mutant Ninja Turtles
  22. Kick Ass
  23. Kick Ass 2
As evident from the list above, we are living in a geek fantasy world. So many movies and series based on comic books. Let's analyse each category.
  1. Live-Action Series :

    Live-Action series have been there since the 1950s. A reminder of the good ol' days - Adam West, everybody !!!



    So what makes THIS time so SPECIAL??

    The answer is the number of Live-Action series that are being aired simultaneously. To prove my point I would be sharing some statistics.
    Marvel Live-Action Series


    DC Live-Action Series





    As you can see, there has never been a time when 9 Live-Action series have been aired at the same time.
    These shows are being watched all over the world, not just by the Comic Book fans but everyone. These shows are hits. Everyone's enjoying them.

    I believe that the creators of such superhero shows no longer focus on the "Nerdy" demographic, but everyone in general.

  2. Movies :

    There's no denying the fact that superhero movies are hot right now. But this wasn't the case before 2010. I say 2010 because that's when Iron Man 2 was released. That movie marked the beginning of this "Golden Age."
    Iron Man 2, as we all know, was a small part of the line up of superhero movies leading to The Avengers. After that another line up of movies leading to Avengers : Age of Ultron. Plus, the X-Men movies saw a reboot (Well, not exactly a REBOOT reboot. A prequel and a sequel leading to an all new X-Men universe. So, yes, a roboot.) Also, Gaurdians of the Galaxy was a huge hit. Other movies include Green Lantern, Dark Knight Rises and Man of Steel.

    After reading the above list of movies, you can see that Marvel has dominated so far. They're the ones who started this amazing era. DC tried to chip in with Green Lantern and Man of Steel. They OBVIOUSLY haven't been successful.

    How did the Golden Age for Movies come to be?


    Let's start from 2008. Iron Man came out that year. I was in Delhi when this movie was released. Boards exams were over and I was at my relatives' place in Delhi. Me and my cousins went to watch this movie in some movie theatre (I don't recall the name). During the intermission, my cousin, she asks me, "What's so special about Iron Man?" or something like that. And I tell her some information about Iron Man like - "Everyone knows who Iron Man is. Everyone knows his real identity." That's something that had always appealed to me. Do you know what she said?? She said and I'm quoting, "That's LAME."

    Now I ask you - Do you think Iron Man's LAME??

    Back in 2007, 90% (Don't qoute me on that number) of the Earth's population would've said a big "Yes" (Mostly because they wouldn't know who Iron Man was and if I told them that it's a comic book superhero, they would've called me a nerd and ignored me).

    Not a lot of people were fimiliar with Iron Man before that. That was Iron Man's 1st movie! You have to give credit to the director for making an awesome superhero action movie and Robert Downey Jr. for making Tony Stark's character his own. The movie was a huge hit. This got everyone waiting for Iron Man 2.

    This is when things get interesting. Iron Man 2 was more than just a sequel to Iron Man. It was but a small part of a way..... bigger plan - The Avengers. Each of the movies in the series, right from Iron Man 2 to Avengers : Age of Ultron, have given us awesome action and CGI effects. These movies would've been great even if they featured a Non-Marvel hero. But  they're all linked to one another as such that these movies have become so much more about the Marvel Universe. Kudos to Marvel for coming up with such an elaborate plan and executing it to perfection.

    DC tried to chip in with Green Lantern and Man of Steel. Unfortunately, they failed. Both the movies bombed at the box office. I don't consider Dark Knight Rises as part of this fad because this movie was part of Nolan's trilogy and it was supposed to come out anyways. It was just a matter of time.

    Marvel went as far as releasing a movie about a bunch of aliens, a talking tree and a racoon with a gun - Gaurdians of the Galaxy. You'd think they'd get away with it because of all this superhero craze. Guess again. They KILLED it !!! It was a huge success. It was the highest-grossing superhero film of 2014. And nobody, including me, had heard of it before.

So, why is it that suddenly everyone is into Superheroes?

Let's look at the key demographic of cinema audience today :


http://www.sawa.com/resources/audience
So the key demographic is ages 14 - 34 with most of the audience being above 25.
I believe, reader, you fall under this category. Lemme ask you this - What superheroes did you grow up watching??

I'm going to list down all the superheroes that I grew up watching. Maybe it'll jog your memory.

  1. Batman - The Animated Series
  2. Superman
  3. Justice League
  4. Batman Beyond
  5. X-Men
  6. Spiderman
  7. Iron Man
  8. Fantastic 4
  9. Silver Surfer
  10. RoboCop
  11. Teenage Mutant Ninja Turtles
Now, let's Math.


Equation 1 : We are the key demographic for cinema audience.
Equation 2 : We grew up watching the animated series of the above 
                  mentioned superheroes.
------------------------------------------------------------------------------------------------------

Solution    : Movies + Live-Action Series based on the superheroes we 
                  grew up watching.

Think about it. It makes sense.

You might say that I got to see these animated show at a latter time because these shows were aired in India when they went into syndication (when the show ended and was aired on different networks). But theses shows were originally aired between 1992 and 2004. So, probably I got to see these shows 2 - 3 years later. Doesn't make much of a difference.

The Upcoming Projects :


* Live-Action :
  1. A.K.A. Jessica Jones
  2. Luke Cage
  3. Iron Fist
  4. Defenders
  5. Supergirl
  6. Legends of Tomorrow
  7. Lucifer
  8. Preacher
  9. #4 Hero
* Movies :
  1. Ant-Man
  2. Fantastic Four
  3. Deadpool
  4. Captain America: Civil War
  5. X-Men: Apocalypse
  6. Gambit
  7. Doctor Strange
  8. Untitled Wolverine film
  9. Guardians of the Galaxy 2
  10. Untitled Fantastic Four sequel
  11. Untitled Spider-Man film
  12. Thor: Ragnarok
  13. Avengers: Infinity War Part 1
  14. Black Panther
  15. Captain Marvel
  16. Avengers: Infinity War Part 2
  17. Inhumans
  18. Batman v Superman: Dawn of Justice
  19. Suicide Squad
  20. Wonder Woman
  21. Justice League Part One
  22. The Flash
  23. Aquaman
  24. Shazam
  25. Justice League Part Two
  26. Cyborg
  27. Green Lantern

Yes. There are 9 new Live-Action series and 27 new Movies based on our favourite Comic Book Superheroes lined up. That too by 2020. Wow!!!


All this Superhero movie CRAZE has created a Comic Book Movie BUBBLE!!!

Yes, it's a bubble. And, it's going to pop one day. I predict that it'll pop in 2022. Let's see. I will be writing about it in another post.

                                      " Right time... it is NOT.... hmmmmm "