23 June 2005

Batman Begins (2)

The story: Bruce Wayne, the only son of Thomas Wayne, a multi billionaire man of Gotham city, seek a way to revenge the death of his parents and to bring justice to the criminals. In the end, Batman must face his mentor, Rash Al Gul, who he believed is already dead, but now turned into criminal mastermind. Batman did great job to save Gotham city and "introduce" a new kind of fear to the bad guys. Also the start of cooperation between Comissioner Gordon and Batman.

The Good guys:

- Bruce Wayne (played by Christian Bale). Replacing his father, he is now the owner of Wayne Enterprise. With the intense training by Rash Al Gul, the leader of League of The Shadows on the top of the moutains on Tibet and awesome tools created by Lucius Fox, he is also known as Batman

- Alfred (played by Michael Caine). The loyal servant of Wayne family. We can consider Alfred as bruce's step father, because he is the one who guide and teach Bruce about the meaning of life and takes care of him, even in the bad times. Great job Alfred !

- Commisioner Gordon. You know the sentence "Good cop bad cop"? Well, this is the example of "good cop" sorrounded by "bad cop". Also a friend of Bruce's father, he is the one who in charge on the security of Gotham City.

- Lucius Fox (played by Morgan Freeman). One of ex directors in Wayne Enterprise, he is the one who creates lots of batman's gadget. When Bruce Wayne wants to visit "applied science department", there he met Lucius Fox. Bruce finds out that Lucius is indeed a good man, so he appointed Lucius as the president director of Wayne enterprises.

- Rachel Dawes. Bruce's close girl friend. well, you can say, girl-friend and also girlfriend. She is also the general attourney on Gotham City, replacing his dead boss (the previous general attourney). She thought Bruce was dead after missing without single news for 7 years. So, when Bruce is back...well, the romance is once again started...

The Bad Guys

- Rash Al Gul. Well, this man ...if I am allowed to say...is in gray area. But, since at the end, he becomes batman's enemy, I can say the he is a bad guy. Shame actually, since he is also the one who trained Bruce Wayne, specifically, in martial art and self control. Rash has crazy plan, to wipe out Gotham city with nerve gas which can bring total hallucination

- Dr Crane aka Scare crow. he is a psychologist, but he is also as crazy as his patients on Arkham's mental house. This guy loves to wear a scare crow mask while spraying a nerve gas, so whoever inhale this gas will see him as a scary monster. euff.. bad boy...

- Chill. A low level bastards who killed Bruce's parents. Eventually, he was shot after a trial by Falcone's man.

- Falcone. A high level criminal of Gotham City. Pity, he is also a victim of Dr Crane.... he is the first target of Batman in the early days.


The gadget

- Batmobile. A-W-E-S-O-M-E. This 7 letters word is the right word to describe Batman's ride. Designed as all terrained vehicle, previously prototyped by Lucius Fox as military vehicle. re-painted with black paint, equipped with many weapons (I only saw missiles, but I am not 100% sure), GPS control, after-burner. truly strong body, it can easily crush concrete walls, smash ordinary cars...and hey, it jumps too!

- batarang. A throwing weapon, crafted like a bat.

- Gun-robe (this is just how I name it). Shoot it, a long robe with spear head burst out. Batman use it to hook on ceilings, building walls, pilars etc to "fly". In the final scene, gun-robe is used to hook on the monorail used by Rash.

- Super camera. I don't know the exact name :) With this camera, batman can see through the wall. I believe this camera is also an infra red camera, so batman can see clearly in the dark.

The fight

I didn't see such a genius martial art choreography here....but perhaps a duel scene between Bruce and Rash sorrounded by black ninjas for the "graduation test" could be considered "nice". Sword play, hand to hand combat...not bad. Christian Bale seems already grab sufficient training during the making of Equillibrium, his previous movie. There, he did gun kata....


The visual effect

I can say, Batman Begins is minimalist about f/x. Everything is done with "real shot". However, the air view of Gotham City...i believe this is a CGI. And the bats? Not sure, maybe it is f/x too. Batmobile? it is real dude ! :) but of course, you won't find it armed with missile on the reality

22 June 2005

"Batman Begins"...I always love the way it's started.....

Hello guys, long time no see...

Yeah, as you might guess, this is a quick recap about the latest movie I watched this afternoon, Batman Begins. First impression, great ! The producer and director did a brilliant job to give a new style to tell the story about this midnight warrior with dark suit. Previously, I thought that only Joel Schumacher who can do such a job, but I was wrong...as it is proven by this movie. Anyway, the distributor (and the capital funder) is still Warner Brothers.... the big company behind block buster movies such as matrix (1,2,3), previous series of Batman. Sorry, i forgot the other titles :)

So, why I said "i love the way it's started?" Every super hero in comics has a beginning. This beginning, should we say in other word, background, motivation, reasons, every word you can imagine with more or less similar meaning, tells us how an ordinary man turns into a hero. In this case, Batman is exceptional. Not because his suit nor his tools, but if we look closely, he is hero with no superpower. And also, Bruce Wayne, start his double life as Batman to revenge the death of his parents. This transformation journey, from a man turns into "the fear for criminals", is truly a long, exhausted, thrilling, scary adventure (should I add another pathethic adjective?). personally, I would call Bruce Wayne a soft "psycho". But in the other hand, he can drive this mad aspect for good intention.

Everyone in his/her life, sometimes triggered by an event or occassion, turns into "something else". Not physically of course, but mentally. This could be a good news, but sometimes it becomes a bad news ( very bad sometimes, as you can see in nut house). The way I see it, it is somekind of the challenge of life. The difficulty level...well, entirely depends on your perceptions. For example, as we see on Bruce Wayne, he turns his deep anger into a motivation to uphold the justice. You, of course, possibly take another solution if you are at the same position like Bruce.

The conclusion is, fancy tools of Batman attract me too, but looking at transformation phase from Bruce Wayne into Batman brought the biggest interest of mine. I tried to take several important points from this kind of movie, hopefully to make me into a better person. And I hope, you too could learn something from this capped crusader-bat suited hero named "Batman".

PS: I love this quote "You must first defeat your own fear....." and this "I choose bat as symbol, because I want to share my fear with my enemies".

NB: "Didn't you get my memo?" :) Damn you Morgan, this is the funniest word I ever heard through out your film history :)

regards

Mulyadi

13 May 2005

The Road to Sys Admin Magazine......

Thursday, May 12th 2005.... after 3 months of hard work, my writing about Staircase scheduler was finally finished. Certainly not an easy task, because previously I thought this would be a bit easier than what I had done for IBM DeveloperWorks publication. But it is proved to be totally false.....

But let's throw out the "pain side"......here are the "lovely side"
1. Understanding scheduler code better. I said "better", not 100% mastering it. By looking at the core code everyday, slowly but sure I gain insight on how kernel schedulers do their works. For example: how the scheduler maintains global statistics, how time slice is actually assigned, preemption policy, etc

2. Re-exercising my statistic skill. Statistics play important here, because it helps me to understand the behaviour of a scheduler in number. Although scheduler is made to tackle dynamic situation which is unpredictable and doesn't follow certain statistic distribution, we still need to quantify it using everything we got. No fancy stuff here, just plain average, standart deviation, exponential regression, and scaling.

3. Learning boot scripts sequence. Not hard, only a bit tricky. I only need to find out where to put commands to be executed after the moment Linux enter single user state.

4. Bash scripting. Eufhh, this is the first I combine tbe knowledge of two opposite worlds (kernel space and user space) and put them into a single job. Scripting does the magic here to automate my testing procedure. Anyway, who wants to sit for 4 hours just to wait and type commands after a single iteration of benchmark is done? Type them into scripts, do several try out....launch them, extract the result using "grep"...and kazaaammm, you get the results without pain in the ass :-) Isn't that great?

5. Intensive discussion with many people (mostly are kernel hackers). "Hackers" here are not someone who breaks into a website and buy something with other people's credit card. No, far from it. I am referring to a person who write codes and has deep understanding of an operating system. Since I was writing about scheduler, I contacted people who work on scheduler area. The most wanted hacker is Con Kolivas, of course. The rest are Jake Moilanen, Rick Lindsley, Zwane Mwaikambo. Too bad I missed Ingo Molnar.... From these intensive discussions, I try to merge their ideas with mine, get the best from both sides and throw the useless part and put them as "sentences".

6. Improving my English writing :-) "Practice makes perfect", that's what I heard, and that's what I was doing. You can say that I am kinda of man who learn almost 99% of his own skill purely from exercise and self learning. Surely theory is helpful, but what can we do if we just "know" without actually "understand" and "implement"?

Now, the article has been submitted...the only thing left is awaiting the editorial feedback. Previously, the technical editor had sent me "green light", meaning it had big chance to enter the printed version of the magazine. Great ! I wish once it is actually published, the readers will learn a bit more about schedulers and how to pick one according to their need.

And...next stop? I am thinking about ClusterWorld again..or Linux Magazine....

12 April 2005

Things I learned from Linux kernel :))

The title might sounds funny for some people, especially for non "geek" (Hey, I am not a geek, I dig Linux internal for money :) ). usually, when we want to code something into computer "realm", humans bring analogy and perception he has and tranform it into block of codes. But in my case, the reverse happens, looks like I learn several stuffs from Linux kernel (version 2.4.x and 2.6.x). Note: Linux kernel itself is a result of bunch of people's ideas and thinking, thus as the time goes (more than a decade), it is getting stable and mature.

OK, here we are:

1. Top halves and bottom halves. In Linux, kernel acknowledges incoming interrupt (e.g. keyboard), grab the important data and put it into a buffer and defers the real task sometime later via bottom halves. This trick make sure interrupt is acknowledged fast but the kernel itself won't get busy doing things everytime interrupt comes

What I learned : Response fast if you face something emergency. Take a note on every important facts or interesting event. Then, if this thing doesn't risk your life or bring doomsday, I am sure it can be "deferred". Later, if there is no higher priority task than those emergency events, I'll try to work on it

Example: brainstorming for article idea. I got idea, i write it down on my agenda...and later ....I'll working on it

2. Dynamic priority of individual task. On Linux kernel,it tries to award bonuses toward a task which sleeps a lot and punish a task which hogs CPU. Periodic sleep is considered a sign by most kernel developer that the task is interactive task, thus whenever it is woken up, it needs to react and run again as fast as possible. At the time a process sleep, the scheduler will pick another runnable process with highest dynamic priority

What I learned: First of all, it doesn't mean that I told you to sleep a lot :)) (more than 10 hours of sleep, gee, low blood pressure? go to a doctor !).

Second, sometimes we are dealing with a kind of task that heavily depends (or probably 100%?) on the response of external sources. What happen if the response we are waiting for isn't arrived yet? Force it? If you can, do so....but if you can't, the best you can do is wait. I know it sounds boring, but sometimes life gives us limited (hard) choice. While awaiting, you can do another job or simply rest. If the response comes, react as fast as you can while suspending everything you do.

Example: It happened to me while searching the answer for "how to make cache condition nearly the same everytime I do mysql benchmark?" Several possible solution fell down from the sky after 3-4 days. So, I simply drop it and do another writing...but still let my brain open for new ideas. when an idea seems like a reasonable one....i quickly test it.

The opposite also happens. Writing mainly occupied my daily life, but I also start an IT consultancy firm. When writing "hogs" my time, I try to lower its priority so I can work on something else, especially when dealing with new clients. This way, clients won't feel abandoned, the business is rolling and I can still write :)

3. Demand paging and Copy on Write, study case on forking new task. Linux has unique method called demand paging whenever it creates new process address space. It does the memory mapping, but it doesn't actually allocates pages for the new task (let's say, when you execute Firebird). So when it allocates a page? If a task refers to a linear address that is mapped to non existent page (but still inside valid address space), kernel will generate page fault, grab the data from block device (e.g. hard disk) and store it on a page frame inside process' VMA list

Copy on Write has another story, if a task fork new child, the child will be assigned (via pointer) the pages of its parent but marked as read only. When the child writes something on it, the memory management system will copy the page into the child's address space. This way, memory usage will be conserved and prevent a worst case, fork-then-exec..because if you do copy the whole pages of parent and then throw it again....guess what....memory thrashing !

What I learned: I try to widen my perspective, but I consider it as milestone only. To fill the actual knowledge, I learn it step by step. This way, I grow with the same speed as my brain grows :) I don't think, being smart but end up in mental house is a smart choice :)

Example: Doing business (real business, not "busy"-ness ) is a tough thing to do (at least for me). There are many things demand big attention. But, there is always major rule such as doing preliminary approach, make proposals, negotiating fee, etc etc. If you try to mmap()-ing all business aspects in your brain, i guess you will get segfault under 5 seconds, maybe a bit longer if you take viagra :) (will you test it for me? ) :)))

cu soon !

25 March 2005

Iklan dengan sentuhan bela diri

Ini dia topik omongan paling favorit gw....bela diri ! belakangan gw lihat ada dua iklan yang sangat bagus menampilkan koreografi:
1. Iklan Shampoo Clear
2. Iklan rokok Surya Pro

Kebetulan juga, dua duanya ini memakai gerakan-gerakan bela diri asal Brazil, namanya capoeira. Capoeira menurut sejarahnya diciptakan oleh budak-budak di Brazil pada jaman penjajahan Portugis. Karena tangan mereka diraintai erat, maka diciptakanlah gerakan menyerang dan bertahan yang mengandalkan gerakan kaki dan bertumpu pada tangan pada beberapa variasi gerakan.

Jika loe pernah lihat tae kwon do dan merasa udah kagum ama tendangannya, maka pastikan lihat gerakan capoeira di 2 iklan itu dan loe bakal menyadari ternyata badan manusia bisa melintir dan berputar dengan variasi tendangan yang hampir tak terbatas. Apalagi di iklan surya pro, perhatikan...ada teknik tendangan putar di udara yang sekaligus memutar dua kaki secara bersamaan. Teknik ini namanya cabecada (gw dikit dikit ingat dari istilah2x nya di game tekken, soalnya di tekken karakter gw pake ahli capoeira juga). Dilihat mungkin sekilas tidak butuh tenaga, tapi yang jelas kalo loe gak stretching dulu dan tiba2x coba gerakan ginian, pasti minimal loe malem2x pasang koyo cabe 10 biji di kaki ama pinggang loe :))))

Mungkin kalo soal art, capoeira ini cuma bisa ditandingi ama wushu (ini kungfu juga, cuma teknik yang udah distandartkan). yang gue ingat, iklan mastercard yang menampilkan Zhang Zi Yi. Zhang disitu pake teknik pedang yang lumayan bagus dan wire-fu nya lumayan juga, pretty smooth pergerakan. In short, terlihat natural. Sayang gak jelas siapa martial choreographer nya. Biasanya yang bisa level koreografi bagus gitu cuma dua orang, kalo gak master Yuen Wo Ping (koreografer trilogi Matrix, Kung Fu master, Taichi master), ya master Corey Yuen (saudara seperguruan jacky chan dan samo hung, handle koreografi XMen, romeo must die, craddle to the grave)

Tinggal satu yang kurang: kapan iklan yang secara apik menampilkan pencak silat? dulu kayaknya ada di iklan Dji Sam Soe, tp seperti minim banget gregetnya. Padahal kembangan silat itu secara pergerakan cukup bagus, terutama sapuan bawah dan pukulan pukulan jarak pendek.

Any comments people?

01 March 2005

"You won't truly know someone until you fight them...."

The above quote comes from a movie titled Matrix reloaded. For those
who don't know what Matrix is or really don't have any clue on what it
is, I will explain it a bit. Matrix is a sci-fi movie describing about
human race live under computer control. These humans are grown on
a very very large field. Yes, grown, not born. And computer (or let's
just say robot with superb Artificial Intelligent) are sucking the electricity
generated by human body. Well, using a lowly physics, you will realize that
human body do generates electricity....

And when actually the words come out? Recall when Neo visits Seraph on
tea depot. Seraph is the guardian of Oracle and he is the one who in charge
on allowing or forbidding someone to meet Oracle, or worse..to destroy anyone
who want to harm Oracle. So, Neo visit Seraph in hope to guide him and show
where Oracle is. Right at the time Neo meet Seraph, Neo ask Seraph to
guide him....and Seraph reply "I can take you to her, but first I must apologize.."
And then...whamm, a kungfu fight is started. The fight lasts in about 5 minute
and Seraph give signal to stop a fight.

Seraph said "I need to be sure that you are actually The One" Neo replied
" You could just ask..". And Seraph (here it comes, my favourite quite) said
"No, you won't truly someone until you fight them"...

So, what is the moral of the story? try to teach you about brutality? Or introducing
new concept that fighting is a brilliant way to get familiar with someone?
Not at all. Here is my understanding. Sometimes we are in deep need to know
someone, right? I mean, yeah, you try to understand his/her mind, try to
hook up with a girl, convince yourself that he or she is the right team mate
on your office and so on. In short, kinda of close relationship. If you are
a sane man, you obviously need to know him/her better, because..if not,
bad thing can happen sooner or later. Man is not a paper with clear bold character
printed on top of it so you can easily understand him thoroughly

recently, I also have similar problems. I thought I truly know some of
my friends...and yes, silly me, the great news is I don't know them entirely.
But accidentally, problems are coming one by one. Through the problems,
I can understand my friends better and perhaps they can understand me better either.
Some of the cases reveals the unseen bright side, but the rest reveals the bad side.
And thank God, by this experience I can learn a lot about them.

The conclusion is: dont underestimate the positive effect of suffering problems
related with someone. Maybe it can make the relationship better...but also
prepare for the worst. sometimes you need to introduce a competition, a debate
, even a fight (if you have to, but think twice okay?) to test your friendship.
If you can go through, congratulations....you both grow...if not, well..don't be sad.
Bad things happen sometimes. Either good or bad, you will gain precious lessons.

"everything has purpose...purpose defines us"

22 February 2005

Constantine.....

No, I am not going to talk about Russian emperor or Russian witch
or stuff like that. This is a title of new movie starring Keanu Reeves.
here, Keanu reeves plays as Constantine, a supernatural detective who
work to "send devil back to the place they belong"...in short...hell :)

The interesting things about Constantine are:
1. He was born with unusual gift. He can see devils in their real form
and communicate with them. Now, if you are 3 years old kid with this
ability, you must be scare to the death looking old women with melted face :)

2. He smokes a lot .... a lot here truly means God damn tons of cigarrette :).
There are many scenes show Constantine cough so badly, perhaps an acute TBC?
Don't worry, Constantine won't die so easily. In fact, if he dies, he can just
call Lucifer to cancel it :)) Now, tell me, is it awesome or what?

3. His weapons...Jesus, cool ! I saw a shotgun with cross shape. The bullets
are filled with some sort of holy water, so it can destroy demons. There is
also a weapon called "Dragon breath", guess what...it spills out fire ! Don't
forget, a steel ring crafted with cross sign, COnstantine wear it on his
knuckles to knock out Balthazar ! Wait, he also bring Bible .... certainly
not to be read in the middle of shooting demons :)))

4. Constantine was committed a suicide when he was young (not sure
how old he was at that time). He died and he should entered hell for his
action. Here, I am not sure, but Constantine back to earth realm in exchange...
well, you can say, a holy work...to send devils back to hell.

Although COnstantine is not an Oscar level movie with awesome storyline,
I must say this movie brings us a different perspective. What kind of
perspective? Perspective that devil and angels are actually far far away
from us, but they bring influence to our life. If you go with angels (let's
assume God is also on angel's side, shall we?), you will approach
salvation. What if you go with devil, certainly you will get near to
self destruction. I personally call it "lock, stock and two smoking barrels"
:))

Another positive message from this movie, everyone deserve second chance.
Maybe you do something really nasty in the past (actually, who doesn't anyway?)
Hey, we are mortals with tons of weakness, right? So, get up, ask for His
forgiveness and go within God's way. "What if I fall again?" OK...are
you so badly injured? I guess not, so get up again and repeat the same
routine. Eventually, you will enter Heaven and peace be with you eternally.
End of story.....

The similarity between me and Constantine? That story will stay with
me 'till the day I die.....

How to execute multiple commands directly as ssh argument?

 Perhaps sometimes you need to do this: ssh user@10.1.2.3 ls It is easy understand the above: run ls after getting into 10.1.2.3 via ssh. Pi...