Avatar Movie: As Good As They Say It Is?

Andrea and I finally got the chance to watch James Cameron’s latest action flick, Avatar in 3D at Century at Tanforan here in San Bruno. This has been one of, if not, the most highly anticipated movie of this last year 2009/2010 with an estimated budget of $237 million ((http://www.thewrap.com/article/true-cost-and-consequences-avatar-11206?page=1)).

In case you’ve been living in a cave and haven’t heard about Avatar, here’s the official movie trailer:

[youtube]http://www.youtube.com/watch?v=cEt3qLG-cAM[/youtube]

Avatar-movie-trailer-screenshot-03

Avatar follows the story of a paraplegic former Marine Jake Sully (Sam Worthington) who agrees to sign on with RDA Corporation taking his deceased scientist brother’s place as an avatar pilot because Sully shares the same genome necessary to use the highly expensive Avatars. He arrives on Pandora after a long trip from Earth to join other former Marines commanded by Colonel Miles Quaritch (Stephen Lang) all hired to provide private security for the mining operation on Pandora led by Parker Selfridge (Giovanni Ribisi). RDA Corp. is looking to mine a “valuable mineral called unobatium, worth $20 million per kilogram back on Earth” ((http://en.wikipedia.org/wiki/Avatar_%282009_film%29)). Also working for RDA Corp. is Dr. Grace Augustine (Sigourney Weaver) who heads the Avatar program and involved in understanding and learning about the Na’vi, indigenous cat-like people of Pandora who are untrusting of humans after several mishaps. Neytiri (Zoë Saldana), a Na’vi warrior rescues Sully from a near-death experience and is later tasked with teaching him the ways of the Na’vi. From there, the two-and-half hour-long movie is a non-stop action/adventure/love story movie that touches on many topics from corporate greed to love and acceptance.

Avatar-movie-trailer-screenshot-01

While I certainly agree this movie was amazing, I’m not sure if I would consider it among the best movies I’ve seen. Here are a few reasons why:

Original Storyline

The story goes that James Cameron began developing the concept and wrote an 80-page script of Avatar back in 1994 ((http://www.ew.com/ew/article/0,,20007998,00.html)) but didn’t start making the movie until 2006 because the existing technology wasn’t available to satisfy Cameron’s vision ((http://en.wikipedia.org/wiki/Avatar_%282009_film%29)).

In Avatar, the indigenous people of the planet, the Na’vi are spiritually connected with the land. They seek not to disturb the balance of nature, taking and using only what they need and leaving the rest undisturbed. Humans (through the RDA Corporation), however, have come from a far distance to seek out a valuable mineral, a majority of which happens to be situated under a huge tree, called the Hometree which is home to the Omaticaya clan. The humans have two choices to obtain the valuable mineral unobatium: through force or negotiation. Through force they would wipe out the Omaticaya clan or through negotiation they would relocate the clan. Either choice would mean that RDA Corp would bull-doze the entire forest to get access to the unobatium that is beneath. Now if this storyline doesn’t sound familiar, I would recommend you read the history of North America, it’s founding, and the Native Americans. The Na’vi’s language and culture seem very similar to Native Americans from their dress, weapons, beliefs, and etc ((http://www.scifisquad.com/2009/12/18/avatar-and-the-culture-of-the-navi/)).

That’s not to say a good or great movie can’t be inspired from an existing story, but watching Avatar felt like watching the history of North America told through sci-fi allegory.

Visual Orgasm

The computer-generated imagery is nothing short of amazing. Watching it in 3D, there were moments where you feel like you can reach out and grab hold of something. While it was hard to tell at some parts what was real and what was CGI, there was so much you could suffer from sensory overload and other scenes where it felt too CGI such as riding on the Ikran. Brings me to my next point.

Better Video Game Than Movie

avatar-mech
© gamesblog.ugo.com - Screen shot from Avatar The Game

This might sound like harsh criticism, but this movie feels like a big advertising for a video game. If I hadn’t known better, I would have figured the video game inspired the movie rather than the other way around.

Good vs Evil

Throughout the movie the characters seem too one-dimensionally defined as “good” or “evil” which leads to predictable plots ((http://www.yesnomeh.com/2009/12/avatar-good-vs-evil-aliens-vs-humans.html))  ((http://www.twotalkingmonkeys.com/news/avatar-review-good-bad-and-indifferent-how-about-you-spoiler-alert/)). In my opinion, it would have been more interesting if certain characters, such as Colonel Quaritch, had a less definable evil personality to them. It’s no surprise when we are first introduced to the Colonel that he would be one of the movie’s antagonist. I don’t want to give away too much of the movie, but this much is apparent: Na’vi = good, can do no wrong and RDA = bad, can do no right. Boring.

Avatar-movie-trailer-screenshot-02

Conclusion

There’s no question that Andrea and I enjoyed Avatar. It was a very, very good movie and shows the possibilities with film technology and we certainly look forward to the sequels.

Anyone have any thoughts? Agree or disagree?

WordPress How To Break Content Into Two Columns

So you want to design a WordPress theme or modify an existing theme to have your Post content to display as two columns much like printed newspapers and magazines? Well here’s an ingenious idea I learned from the Khoi Vinh’s and Allan Cole’s Basic Maths WordPress theme on how to do that. The beauty of this technique is that no JavaScript is required and everything is processed through WordPress and PHP so nothing can get blocked by security settings on a visitor’s browsers. This method also solves the problem with blogs that have non-technical writers who aren’t accustomed to using the HTML tab in the Post Editor or aren’t familiar with HTML markup and it allows writers to just write. So how do we do this:

basic-maths-wordpress-theme-2-column-sample

Directions

You will need a functions.php file in the theme template folder. If it already exists, open it. Otherwise, open you’re favorite HTML editor (I use Emerald Editor for the PC and TextWrangler for the Mac) and save the blank file as functions.php inside the WordPress theme template folder.

Open up the functions.php file and paste the code below anywhere inside the file. Be sure that you don’t accidentally place this function inside another function or you’ll get a blank screen when trying to load your website. If you’re new to the functions.php file, it may take some trial and error to get this right.

[sourcecode language=”PHP”]
// Page Paragraph column short code (http://basicmaths.subtraction.com/demo/)
// Right
function basic_rightcolumn($atts, $content = null) {
return ‘<div class="<span class=">rightcolumn">’ . $content . ‘</div>’;
}
add_shortcode("rightcolumn", "basic_rightcolumn");

// Top
function basic_topcolumn($atts, $content = null) {
return ‘<div class="<span class=">topcolumn">’ . $content . ‘</div>’;
}
add_shortcode("topcolumn", "basic_topcolumn");

// Left
function basic_leftcolumn($atts, $content = null) {
return ‘<div class="<span class=">leftcolumn">’ . $content . ‘</div>’;
}
add_shortcode("leftcolumn", "basic_leftcolumn");
[/sourcecode]

So what does all of this code do exactly? Let’s look at each part of code individually and the how to use it when writing Posts or Pages.

The first part of code:

[sourcecode language=”PHP”]
// Right
function basic_rightcolumn($atts, $content = null) {
return ‘<div class="<span class=">rightcolumn">’ . $content . ‘</div>’;
}
add_shortcode("rightcolumn", "basic_rightcolumn");
[/sourcecode]

sets up a new WordPress Shortcode, [rightcolumn][/rightcolumn], that you can use in your Posts and Pages. So when you write a Post or Page and you enclose some text in the Shortcode, that will cause WordPress to wrap your text in HTML markup. For example, if I was to write:

[rightcolumn]This should appear in the right column.[/rightcolumn]

and then Publish the Post, looking at the source code of the published page, I should see:

<div class="rightcolumn"><p>This should appear in the right column.</p></div>

The second part of code:

[sourcecode language=”PHP”]
// Top
function basic_topcolumn($atts, $content = null) {
return ‘<div class="<span class=">topcolumn">’ . $content . ‘</div>’;
}
add_shortcode("topcolumn", "basic_topcolumn");
[/sourcecode]

sets up another new WordPress Shortcode,[topcolumn][/topcolumn], that maybe necessary depending on how your theme is laid out. The biggest advantage I see with the [topcolumn] is that you can use it right after the [leftcolumn] and [rightcolumn] to fix any CSS float issues.

The final part of code:

[sourcecode language=”PHP”]
// Left
function basic_leftcolumn($atts, $content = null) {
return ‘<div class="<span class=">leftcolumn">’ . $content . ‘</div>’;
}
add_shortcode("leftcolumn", "basic_leftcolumn");
[/sourcecode]

adds <div class="leftcolumn"><p></p></div> to whatever is enclosed in the [leftcolumn][/leftcolumn] Shortcode.

Now you need to style those divs appropriately in order for the two columns to appear. This is what I use in my style sheet, but you mileage may vary:

[sourcecode language=”CSS”]
.entry .leftcolumn, .entry .rightcolumn {width: 50%; }
.entry .leftcolumn {float: left;  }
.entry .rightcolumn {float: right; }
.entry .leftcolumn p {padding-right: 0.5em; }
.entry .rightcolumn p {padding-left: 0.5em; }
.entry .topcolumn {clear: both; }
[/sourcecode]

Now to use this, you start a new Post or you can edit an existing Post, and decide where you want the 2-columns to appear and write:

[leftcolumn]This is the stuff that I'll be putting in my left column.[/leftcolumn]
[rightcolumn]This is the stuff that will go into the right column. Isn't it pretty?[/rightcolumn]
[topcolumn]This will span the entire width and be a normal one-column paragraph.[/topcolumn]

With the Shortcodes, you can put them next to each other or do a hard-return, it doesn’t matter. In actuality, the WordPress Visual Editor will probably move it all to one line. You can also put [rightcolumn] before the [leftcolumn] as the right column will always be right so long as you have the CSS correct.

wordpress-two-column-post-visual-editor-sample

The only thing you can’t do is something like this:

[leftcolumn]This is the stuff that I'll be putting in my left column.[/leftcolumn]
[topcolumn]This will span the entire width and be a normal one-column paragraph.[/topcolumn]
[rightcolumn]This is the stuff that will go into the right column. Isn't it pretty?[/rightcolumn]

as you’ll have some weird styling errors.

Example

[left-column]It wouldn’t be any good without a sample to show right? So if you copied the code and put it in the functions.php file correctly, then in the WordPress Post Editor, you should be able to use the new Shortcodes to create a two-column post article. Also don’t forget that you need to style the divs in-order for this to work properly.[/left-column] [right-column]If you notice that you still only have one-column, but no errors, check your source code for the chunk of code to see if it the Shortcode is being properly called. If it is, that means you’re missing the style information in the style sheet.[/right-column] [top-column]Here’s a wide column that returns to “normal” and spans the entire width. You don’t necessarily need to use the [topcolumn] Shortcode, but if you notice that your having design float issues, then you need to use the
[topcolumn] Shortcode on the paragraph immediately following the two columns. Make sure you have clear: both; entered into your style sheet under.topcolumn.

I would recommend doing this as good practice anyways; especially if one column is longer than the other column.[/top-column]

Conclusion

There are a number of ways you can accomplish two-column post layouts. There a number of jQuery techniques including this WordPress plugin that accomplishes the task but I’m a big fan of less. The less plugins you have to use, the faster your website will load. Also you want to make it as easy as possible for non-techie writers to be able to implement easily. One of the hardest part is to have the non-techie writer try to use the HTML Editor, see a garble of code, mess around and everything is screwed up. Extreme case, but it happens. With the use of WordPress Shortcodes, they can easily implement the feature from the Visual Editor and focus on writing.

Thank you to the Basic Maths WordPress Theme for the very useful code.

UPDATE (2010-05-17): Here’s a trick by WPRecipes.com on how to automatically output content into two columns using the functions.php for those who are looking for a method that doesn’t require users to remember code.

2010: Ring in the New Year

The year has come and gone in what seemed like a blink. As we’re now in 2010, I can’t help but look back at all the memories of 2009.

© bitzi/Flickr.com
© bitzi/Flickr.com

We bought a beautiful house in the Peninsula/San Francisco Bay Area. I celebrated my second anniversary at work. Andrea got hit with furloughs. We brought Stripes to come live with us and celebrated her first birthday at her new home. Then we adopted the cutest little black Bombay from the SPCA so that Stripes would have someone to play with. I got hit with furloughs. God blessed us with a child. We celebrated our two-year wedding anniversary. Panther celebrated his very first birthday with us getting a cat condo, he dearly loves. We had a lovely dinner for Andrea’s birthday. We hosted our very first Thanksgiving at our house. Had Christmas at my aunt’s house. And here we are.

So what’s next for 2010? I can’t forsee the future, but the highlights of 2010 will be: our one-year home owners anniversary, Stripes turning seven, our baby being born, our third anniversary, Andrea’s birthday, Panther’s birthday, and our baby’s very first Thanksgiving and Christmas.

I am certainly very excited for the future. Happy New Year and God bless.