Friday, April 17, 2009

For you to notice...

Now, I'm beginning to adapt ideas on how you'll know me. Can I impress you with every word I say, will I be charming or knowing or cute, will it go smoothly or charismatically or pleasantly? Is it too much to ask? Well, I don't have the objects for your attraction, and yet I want to go noticed.

All I can do now is to sing my saddest song, in this out of placed corner, and maybe there will be a time that you'll need me, and I'll be there every time you'd need me, just for you to notice and for you to want me.

Monday, March 09, 2009

Who watches the watchmen?

Some say that this movie is just another superhero flick from a book and some say that the film is great. For some people who read the comic novel, they were disappointed because the film missed the essential points of the book. I agree to some of their comments, but I also read the book but I'm satisfied with what the film showed me. I wasn't expecting of something extravagant from this film, the book is really unfilmable, but I really appreciate the work of Zack Snyder through this film. I'll just say here what I did and didn't like about the film.

First, this movie is not a Superman, Thor and Iron Man type of movie, the characters here have no powers, except for Dr. Manhattan who is a nuclear enhanced, buffed smurf (Just kidding..), though Ozymandias caught a bullet (??). They are just humans, armed with karate chops and a body of stone. I think it has an enough exaggeration of the action scenes, Rorschach's wall climbing and characters jumping from a great height, to not make the viewers break away from the thought that the people here are still human.

The film lasts for almost 3 hours, with a slow development of the plot and a dragging poetic narration of Rorschach's journal. Actually my friend didn't know what's going on in the movie for at least 30 minutes of the film. :) But it's a fine approach since the movie's source is a frame by frame material.

Then we go the film's background music. 99 Red Balloons?? The guy behind my seat said "WTF?" after hearing it but I think it's a cool music for the scene. Then again, this guy gave a short sarcastic laugh after hearing the sound of silence (Sorry, I can't help but notice his reactions). Then played the song of Jimi Hendrix' All Along the Watchtower! It's a catchy song when Nite Owl and Rorschach almost hit the ice wall.

I suggest that viewers of this film must concentrate on the film's visual and cinematography rather than compare it to the book. Though, I know it's unavoidable to compare it especially for hardcore comic readers. Well, I respect their opinions. But this movie will really be talked about, since people have mixed opinions and emotions regarding this.

Monday, March 02, 2009

.NET 3.5: LINQ To XML

XML has been a very flexible language to use. It can present or format data in many forms, whether it's a Word file, configuration files, WSDLs and databases. But if you're going to look at it, XML is still very hard to work with. From my experience, when I've been given an XML file, then the requirements or business rule on how I will manipulate it, you'll certainly hear a sigh.

You can manipulate an XML file by using XPath, XQuery and XSLT, but you need to study those stuffs first before you can use them. And also, creating an in-memory XML is very cumbersome. For example, I'm going to create this XML:
Photobucket
I'll show you a common way of creating this XML if I'm going to use the XmlDocument object of the DOM (Document Object Model) by Microsoft. I'll be leaning towards the C# implementation for this because I'm more familiar with it. Here it is:

PhotobucketThis style of coding is a bit long if you're just going to construct a simple XML, and it gives you a few clues about the XML tree structure. Well, the LINQ to XML gives the solution for this problem, and it will support an approach called functional construction. Here's the conversion of the code above using LINQ to XML:

Photobucket
Notice that by indenting the code construct, the XML tree show you the underlying XML. The functional construction gives you a powerful approach when you're creating XML elements, it lets you create the whole XML construct with just one statement.

Another feature that I like to include here is the Language Integrated Query for XML, that's why it's LINQ. LINQ provides you a consistent experience of querying across different data models. I'll be showing a sample query for LINQ to XML:

Photobucket
The object returnXDoc will have the root elemet "student", then have the child nodes "name" and "phone" from the sample XML I showed above.

Query expressions provide an ease-of-use layer on top of the underlying explicit dot notation similar to the way that foreach is an ease-of-use mechanism that consists of a call to GetEnumerator() and a while loop. When working with XML, you will probably find both approaches useful.

There are methods that returns an IEnumerable<object> type, you can manipulate XML (add, update or remove an element/node) and it gives you the in-line queries. Just explore this new API, LINQ to XML is very flexible and it will provide you with a modularized, simple and optimized contruct in developing applications that involves XML.

Saturday, February 28, 2009

Videos, Videos, Videos

If you could notice, this is my first post since a year and two months, and it's about a cliche topic. Well, i haven't done anything these past few days but to watch video clips and movies, so what else could I write about.

Let's first take a look at this video. I don't if you're going to be annoyed or f***ing laugh your heart out, it's for you to judge. This is a Korean guy that sings Touch my Body by Mariah Carey, i don't know if this is a serious recording session or he's just singing in a videoke. Please watch this video, and take note, this one is subbed.



This video is new to me, though i think this Japanese series is played in the 70's or 80's. It's the opening video for "Supaidaman", the Japanese version of spiderman. Let's not compare this with Toby Maguire's Spiderman. :) But the best thing about this is that Supaidaman have a giant robot to fight off giant super villains. He he.



Now I think almost all knows these guys, ang Laser Squadron Maskman. This video is the opening song for the Maskman movie. See how Red Mask dance, para siyang member ng Solid Gold dancers. Kung gaano kalakas kalabanin nila Red Mask, Black Mask at Blue Mask ang mga kalaban, ganun din sila kalakas magpipilantik! And watch out for the lyrics "Let's Laser Magnum". Ano daw?



Then I watched these movies, Slumdog Millionaire, RocknRolla and The Love Guru.

Slumdog Millionaire:

I think you all know about this movie. A street kid or a slumdog Jamal Malik joins the contest Who Wants to be a Millionaire, then won 20,000,000 rupees (that's more or less 20,000,000 pesos). He knew the answers based from his experiences. It's a story of love, luck, and the reality of life. I enjoyed watching this movie, see this movie if you haven't watched it. It will be a worthwile 2 hours of your life.

RocknRolla:

This is the plot summary of the movie from IMDB:

"Lenny Cole, a London mob boss, puts the bite on all local real estate transactions. For substantial fees, he's helping Uri Omovich, a Russian developer. As a sign of good faith, Omovich loans Cole a valuable painting, promptly stolen off Cole's wall. While Cole's men, led by the dependable Archie, look for the canvas, three local petty criminals, the Wild Bunch, steal money from the Russian using inside information from his accountant, the lovely Stella. Meanwhile, a local drug-addled rocker, Johnny Quid, is reported drowned, and his connection to Cole is the key to unraveling the deceits and double crosses of life in the underworld."

It's a nice movie, less blood, no sex scene, have a touch of comedy in it that's worth the laugh.

The Love Guru:

I just watched this movie because of Jessica Alba, there are scenes that made me laugh, and there are scenes that is just pathetically placed and annoying. I think anybody could play the role of Justin Timberlake, Mike Myers just irritated me and Jessica Alba is hot. :) If you got nothing to do, watch this movie.


Peace Out!