Monday, December 24, 2007

The BMM Award!

و امروز تربیت یک تمام شد و به خیر گذشت.
و دیروز سریال فرندز تمام شد و هشتاد ساعت خندیدن به خیر گذشت

جایزه بهترین فیلم ماه اخیر تعلق می گیرد به
گاو
مدت ها بود فیلمی چنین بی نظیر ندیده بودم
و جایزه بهترین فیلم خارجی ماه اخیر تعلق می گیرد به
Tsotsi (2005)
فیلمی از آفریقای جنوبی، قدری خشن و بیشتر احساسی

Thursday, November 01, 2007

How many of us die in the while loop?

#include "lifestd.h"
int main() {
Human U;
while( U.Thinks( "This isn't life" ) )
{
if( U.age.expired() == true )
U.die( 1 );
U.age++;
}
U.live();
// dying is part of living
return 0;
}

Friday, October 05, 2007

و آنگاه که می گویی :
خدایا مرا به اندازه ی چشم بر هم زدنی به نفسم وامگذار

هیچ از خود می پرسی که این را خود خواستی ، نفست خواست یا هردو؟
نکند هر دو یکیست؟ پس طالب که بود؟

و مکرو و مکر الله و الله خیر الماکرین

Monday, October 01, 2007

خوب حالا که چی؟

مردک به این را حتی زده درس من رو حذف کرده ... من نمی دونم فکر نمی کنه من با یازده واحد باید چی کنم. بعدم خبر نمی ده که آخه بای ذنب؟ معاون آموزشی ... را می گویم ... اعصابم رو خورد کرده ... گور باباش؛

for now ...

Thursday, July 19, 2007

تلخ یا شیرین؟

هزینه زیستن چقدر است؟
تصویر کودکان آفریفایی را مجسم می کنم با آن شکم های باد کرده، برآمدگی استخوان های دنده، و پوست چروک خورده؛ قامتی که اسکلت آدمی را رنگی دیگر زده؛ آخرین پناهشان خاک است که آماس شکم هایشان را از او گرفته اند.
هزینه زیستن چقدر است؟
کودک عراقی دیشب مرد خانه شد. عهد کرده با مادر که انتقام خون به خون بگیرد، هرچه بادا بادا ... مادر تصویر اولین قدم های مرد خانه را مجسم می کند؛ حرارت و شوری اشک های مرد جدید خانه اش که پنج شش قدم حاصل تلاش اولش بود لب هایش را تر کرده و طنین قهقه های پدر را هنوز می شنود؛ لبخند کوچکش در میان صورت سرخ و چشمان خیسش، عکاس رویترز را یاد مونالیزا انداخته؛
هزینه زیستن چقدر است؟
کودک جهود خودش را تر کرده؛ آخر دیشب به خواب، پدر در میان شعله های انفجار اتوبوس ناپدید شد. مادر فریاد می کند که باید از اسراییل بروند دیگر تاب دیدن اضطراب های کودک را ندارد؛ پدر می گوید می رویم جنوب، آنجا امن تر است؛ ذهنش مغشوش است، هزینه های امنیت جنوب چندین برابر است؛
هزینه زیستن چقدر است؟
دخترک پنج ساله کتک خورده تا ترک کند، خوب می داند مادر که نشه شود، خماریش را با پس مانده های مهمانان می تواند جبران کند؛ مادر که نشه شود دیگر دستش به او نمی رسد
هزینه زیستن چقدر است؟
سرباز امریکایی عکس فرزند هم سنگرش را در دست گرفته، هرچه می کند خون پدر را نمی تواند از چشمان فرزند پاک کند؛
هزینه زیستن چقدر است؟
البته پرداخت این هزینه ها عین زیستن است اما این چگونه زیستنی ست؟

بی درنگ یاد شعر حافظ می افتم ... حتمی می دانی ...
بلایی کز حبیب آید هزارش مرحبا گفتیم

Tuesday, May 22, 2007

Exposure 3 (The End)

Hi!
Since Exposure 2, Exposure 3 has lingered in my mind; and I've thought and thought of how to explain the "I", yet knowing that I am incapable of explaining, so I thought of examples and other things among the many possible; and my decision is made, the best way to discuss the matters at hand is to talk directly and see the matter while we are in relation to each other. If this is of importance then it will be discussed when that importance is seen by both parties of a discussion, thus leading this matter in my way is in a way defeating the purpose. It is of course no secret, yet a secret that is been told many times and understood by few. See how Molana describes this situation:
من گنگ خواب دیده و عالم تمام کر /
من عاجزم ز گفتن و خلق از شنیدنش
If Molana can't explain it even though he has seen it then who am I to explain it when I know better that anybody that I haven't seen it. So I quit the telling knowing you quited the listening earlier and maybe I quited listening even earlier than you did; so I am sorry for the interruption and I'll get on with this thing as I always did.

Monday, May 07, 2007

Now

  • The urge to be, live, and take my part in the nature of the most beautiful time of year. The images of springs and lakes, with clear green trees and blue cloudy skies, the beauty of dusk and dawn, the clear air of a beautiful spring, takes long walks in my head.
  • The necessity of visiting the International Book Fair, with it's hard walks, and my poor pocket.
  • The urge to shoot and learn from shooting new photos in the beauty of nature and complexity of the book fair.
  • The force to give in two projects by Saturday.
  • The force to study and exercise for tomorrow's two exams.
  • The homeworks I missed and the ones waiting to be missed or perhaps at most handed in late!
If this is life, and it certainly is, and I love it so much that I wouldn't want to miss a second then there is no point in complaining and I certainly ain't.
I'll try to compromise between my expectations of my academic and nature-driven life.
Yes, that's what I'll do.

Monday, April 23, 2007

Exposure 2

For reasons of which the correctness and completeness may be, and are doubted, comments left upon the previous post encourage me to try and explain some things.
For many a years this soul has had this state of uncertainty and only in the past few months has it had the chance to approach itself with less fear; thus you may see it now, as more honest and truthful to those close to him. He has feared the exposure of the depth of his mind and feelings for over ten years at the least.
While reading Exposure, you might have noticed, and it was noticed, that there was the use of many “I”s; thus an important question arose : Who is “I”?
The question might come in contrast to another question, more frequently asked: Who am I? The latter asked by “I”, while one may definitely question of who is asking “Who is “I”?”
“I” is scared, fearful, ashamed, angry, and a lot lot more, and in Exposure it is “I” trying to solve the problem of his shame and fear, he is seeking an answer to his question, in hope of decreasing his fright, anger, shame, and pain, or maybe getting rid of it all, to live happily, secure with bravery, tender feelings and no pain.
Yet again, who is “I”?
Without doubt the question “Who am I?” is asked by I, so the first question free of “I” is “Who is “I”?”. Other questions, also free of “I” and maybe somewhat prior to the afore mentioned are: What is fear? What is shame? What is anger?

Wednesday, April 18, 2007

Exposure

Do I really have anything to say or am I just wasting my time here?

I don't want to answer this question. The truth is that what ever the answer, I am nearly always unsure of what to do; which might arise from the fact that I am unsure of what I want.

I have got, to change the way I live. My real concern is with what I want, and I try all sort of stuff and I sometimes runaway trying to hide from the fact that I am unsure, that I am lost. Some things appear important to me while others I wonder of their importance and I can't associate to both at the same time and so I feel wasted, I feel unworthy of the chances I have.

I feel frightened sometimes that I may lose what I am yet I am unsure if what I am is real. Is all the stuff that have become associated to me through the pressures of life, and have become my belongings, those I care most for, fake? If I lose the respected, well known, talented, and graceful personality I have, will anything really change; yet when I look at myself, or rather at the things I do, or more deeply at the things that drive me to what I do, I see not a many things worthy of respect or fame; I do see talent, but I see it wasting and that scares me. Do I live to be respected? What is it that I want?

Do I long for peace of mind, for the tranquil moments of freedom, from all that scares me? It seems that this state of freedom, is rather better phrased as security. I want to be safe. What is it that I want to be safe from? What is it that is attacking my whole being all the time? Why and what of am I so afraid of? Am I afraid of losing myself, of losing the many things that have become part of me over time? Is it death that I fear so much? Is it real death that I fear or is it the state of losing my self, my mind maybe that scares me? I am sure that I am scared, yet not so sure of what is scaring me. I am afraid of losing Ali. I am scared that a time might come or that some curtain will fall and some other, different Ali, less respectful, known, and talented will be exposed upon the world. But which is the real Ali? The one quivering of fear or the one behind the curtain? Is there a third Ali? Yes, there is a third Ali, one that is the most talented, most praised being of the world, and he is what I long for. He is what I think I should be, he is what I show the world of myself, resulting in the fear that the curtain might fall, and I might be exposed naked, without any mask to protect me from the poisonous eyes of the world. Yes, this is it. I long to be the best, the most talented, respected, praised ever, but I am not, and that is what scares me, what drives me to security. I am not the best, most talented, respected, famous, and praised being of the world, yet that is truly what I wish for the world to recognize of me. So there is me, as I am which in fact I am unsure if I truly know how I am, and there is this Ali, up there, where no one can touch, or rather where no one should touch, being torn apart, by the fact that he is less than what he longs to be. Ali is a mere illusion, since one can not be perfect, untouchable from the harms and imperfections aroused by nature and the fact of being human. So there is no perfect Ali, in fact there can not be any perfect Ali, and the perfect, unreachable Ali is just an illusion, a mere childly play of the mind, imagining to be more; but there is an Ali, one who breathes, walks on the earth, thinks, and does many a things; that Ali is human, and that is all.

I am only human. I shall not feel ashamed of not being something that is impossible to be.

Wednesday, February 21, 2007

Hi!
It's been a month, nearly. Ain't been very eager to make an update, and life goes on easy and slow. Got a nice book, this week, from a friend exceptional in linguistics, written by Thomas Hardy, a classic, named The Mayor of Casterbridge. The book is in the tragedy genre of novels, old fashioned or truly said Victorian literature. sometimes hard to follow, as I have lost some of my acquaintance with the language.
Audvis is nearly done with, I mean there is nothing more I can do. Next phase is postponed to the finish of other modules by others. If Audvis seems unfamiliar take a look at some of my latest posts. Audvis needs people with great effort and little expectation, for it is like a religion that needs a prophet, working for the good of the world, and asking of no return.
All work and no play makes jack a dull boy. I've been playing a game called Klickety on Fedora. Take a look, I've become nearly addicted.
The exam is near, the one for graduate education. I'll be taking part, though I have made no decisions about staying or leaving and the results wont effect me. All left to next year, my mind is signalling to think of it and I have no Idea of what to do. To leave with all the dependence I have on my family, culture, and way of life- as I am one who takes things to easy, thinks more and says as little as he takes action- is hard, rather impossible. To stay considering what I have heard, seen, and experienced of graduate education in Iran, is more a waste of potentials for any soul. So if your not depended on the things I said and your heart is free of all that makes a soul stick to his belongings, take your chances and go see the world.

Saturday, January 20, 2007

Some time to spare ...

Hi!
Come to university, it's a bit cold. The registration time for my courses had been set to 8:00 AM, but now I find out that it is changed to 1:00 PM. So ... Some time to spare ...
Could have spent it on photo.net, but I don't feel like it.
I want to mention some points caught lately, but before I have to mention this comment thirst I am having... (0 comments) next to every post; my own fault, not a good writer, neigther a good reader ... so ... Don't bother with the last paragraph, it's the neurotic inside me ...
The points:
  • I'd thought less of the effect, seeing relatives and friends has on the mind. Been to Isfahan and back in 24 hours and I saw lots of relatives. Some I hadn't seen for a long time. It made me much more happier and I feel more energy to do the things I want... so put some time to see your relatives, even the not so near relatives, it is healing and ...
  • Some little school boy was told to study more and become top student of his class. He answered that they already have a top student in their class and so there is no need ... Get the point? ... don't put too much pressure on your self. I did that for some time -not educational in my case- and it made me sick. so ...
End of points.
My thanks go to some people (I cut my relatives out) who have been very kind in the last two months that I'd been ill. I am getting better, and the order is not on purpose:
  • Saeed: I hadn't thought that he care much ... yet he phoned and the tone of his voice showed how worried he was ... like a caring friend. Thank you Saeed.
  • Farid: He phoned, he cared, he gave me advice on my courses (and he lent me some films) and more... For being the only person I gave the most exact detail on my problem. Thank you Farid.
  • Bahador: Again for his caring, and for lending me about 20 films and wanting to hear my problem. Thank you Bahador.
  • Mohammad: For the 1 sentence he said. He was annoied for finding out so late ... Thank you Ali. (I rather call you Ali).
  • Amir, Ali Seraj, Fayyaz Farshchi, Ali Ahmadi, Abdolhamid, ...
I bet nearly none of them will read the last few lines.

Monday, January 15, 2007

For the record ...

This won't be written in my so called diary or journal or what ever. Been busy writing programs these days, sort of caught my whole attention so I haven't been updating my diary.
But here, I will for the word I gave ...
Oh and further notice is postponed.
I learned a few things in the past few days :
  1. If doing something -like fixing a program in my case- is important, and yet on your nerves -because its got bugs and you don't know how to fix them and there is no tutorial and the reference is not descriptive enough-, don't continue doing it for at least two or three hours; And if you can't even stop thinking about it in those few hours cheer your self up, and see which is more important you, a human or it; And if you still can't do that, then keep on doing what you were doing until you fall off your knees. Then you'll learn what I just said.
  2. Never get upset of the computer, its a machine, it doesn't want to hurt you.
  3. When something is very important and crucial to you and doesn't work out, seek inside your self, see if you'r aware of the creator ... He might have done this to you to let you see how you react ... and learn from that. If he gave you the problem then ask him to solve it.
  4. If you were dumb enough and didn't know the last point-like me- then he will kindly solve your problem and teach you the last few points.
I am getting emotional ... got to stop.

Emm! Announcement :
Did something to cheer me up. Wrote a little program named salam that greets you back with something like :
Salam ali! Che khabar?
Its smart enough to use your login name to greet you! The output in general is :
Salam [login name]! [a greeting]
One can add his own greetings with the -add [new greeting] option.
You can think what you like, but my dad said it's like how Mr. Bean sent Christmas cards to himself and got happy when they arrived through the post.
I would like, if anyone wanted to give the code so they could use it or change it, work on it and perhaps send it back if it got better.
Added two lines to .bashrc on my home directory and it greets when ever I open a terminal.

And the program that was important is named Audvis. Audvis plays .av files, a kind of animation. The animation is made from sound; It is supposed to help the deaf, hear by seeing the animation that was generated by the sound they couldn't hear through their ears. Its like they hear the sound by seeing the animation. Producing that animation from the sound was a PHD thesis of about ten years ago and is not my work. My work was writing a program that could play those animations e.g the .av files. Audvis stands for Audio Visualiser. My problem was learning to synchronize the animation with the sound. Each frame had to be synced with its corresponding 20 ms of sound. That means the animation is 50 frames per second. Walt Disney gives you animations of 30 or 20 fps.
The original program was written on a UNIX power station ten years ago, and so I decided to continue on Linux, but from scratch. For the visual part I used Gtkmm, a C++ wrapper for GTK+ and for the sound I used ALSA (Advanced Linux Sound Architecture).
The Program aims a day when it can work real time. I mean produce and play the animation as the sound is being generated. In this way a deaf person can not only hear what people say, he/she can listen to music, hear the horn of a car, listen to the sound of flying birds.

Thursday, January 11, 2007

Hi,
Looks like further notice already arrived since farid invited me to this game of theirs.

برای آدمی که وجدانش میگرن دایمی دارد یافتن اعرافاتی یا رازهایی که بیانشان خیلی هم تلخ نباشد کار ساده ای نیست. یک جایی شنیدم که هیچ دوایی مثل یک وجدان پاک نیست... پس بخوان عزیز ...
1- از دعوت فرید تشکر کردم نه چون از این بازی خوشم آمده بود-هرچند خوشم آمده بود- و نه چون در رودربایستی گیر کرده بودم بلکه چون از اینکه دعوتم کرده بود خوشم آمده بود؛
2- دبستان که بودم. قبل از سوم دبستان را می گویم ، زمستان وقتی می رفتیم مدرسه، اول مسیر سربالایی داشت که خوب زمستان ها یخ می زد. بالا میرفتم یک روز به صد زحمت از روی یخ هایی که آن قدر بلورین بود که آسفالت کف خیابان را می شد دید. وقتی با مخ خوردم زمین یک خانمی آمد دستم را گرفت، گفت پسر جان بیا از پیاده رو برو. پیاده رو یخ که نبسته بود هیچ ... خشک خشک بود. انگار دنیا را به من داد؛
3- همان دوران تا سوم دبستان بود یا قبلش، یادم نیست. یک ظرفی را آن قدر باهاش ور رفتم تا شکشت؛ از ترس مامانم رفت توی کمد پتوها به هر بدبختی بود یک جوری پنهانش کردم که تا خانه تکانی عید مامان نفهمید. البته وقتی فهمید کلی بهم خندید چون جنس ظرفش از ملامین بود؛
4-سیزده سالم بود وقتی دوستانم دعوتم کردند به دیدن فیلمی در سینما که برای سیزده ساله ها و بزرگترها رده بندی شده بود. در خارج. خوب بابام تبلیغات فیلم را در تلویزیون دیده بود و راضی نبود به دلایلی که حالا می فهمم چقدر حق داشت. من هم به پدر گفتم دوستان را قانع کرده ام برویم یک فیلم مستند در مورد حشرات ببینیم!!!؛ خدا و خودش می داند که چطور قانع شد ... ما هم رفتیم فیلم را دیدیم. یادم هست دم در ورودی جوانک مثلا هجده ساله ای یه نگاهی به ما کرد و پرسید : همگی سیزده سال دارید دیگه ؟
5- ترم اولی که آمدم شریف درس زبان و ماشین برایم غولی بود. تمام درس ریاضیات محض است که خوب خواندنش به هیچ پیش نیازی جز هوش و درک کافی احتیاج ندارد. منظور اینکه اول دبستان هم می شود یک استادی را بیاورند به بچه ها تئوری زبان ها و ماشین ها را بگوید منتها مگر اویلری یا فرمایی بینشان باشد که در آن سن درس را پاس کند. عاجز از حل تمرین های قابل توجه کتاب و غرور بیجایی که مانع می شد از دیگران بپرسم، من را به این سمت برد که ماکسیمم ممکن است با 10 یا 12 پاس کنم و بعید هم نیست درس را بیفتم. شدم 19.5 و آن وقت شاخ غول شریف شکست؛

گویا نوزدهم یا بیستم دی است و دیگر از شب یلدا کمی گذشته ولی به رسمی که گفتید محمد و چاقو را دعوت می کنم به اعترافات؛

Monday, January 08, 2007

The last two weeks or so ...

Hi.
The following is a log of what I've done and thought in the last two weeks or so. It's not in persian because I used fedora (no farsi fonts), and I have personal reasons too which I would discuss if it matters to anyone who reading this might matter.
If you find something personal in them just forget about it, I must have missed cutting it out when I copy, pasted the following. If you want to comment (rare happening) please refer to the date.
I'll be updating here in this manner from now, until further notice. I'll try to update every two or three days or so.

Saturday 12/23/06
Its snowing outside, Shajarian is singing, writing GTK+ code and just decided to write some of the stuff I am doing here.
The mountains of Qazvin, the ones I love -the beauty and magnificence of- aren't visible; It still snows.
The snow has stopped, its a bit cold. The helloworld2 program worked, I am going to take a little break, I thinks I deserves it.

Now the mountains I long to see have come to my vision; I can bring my head up and look at the glory of mount. Soltan Gheis, wearing the white and glorious snow; I've been home, and back. Let's get back to work.
Some points I caught.

  1. Pointers of type void have to be cast before they can be referenced using the * operator. So for example if you want to pass string * str using a void * p, and print it you have to write something like this : std::cout << *( (std::string*) p );
  2. In GTK+ there is a major difference between signals emitted from widgets, and events that occur; event callback functions need a GdkEvent *event parameter, while signals don't need that.

No more points for now.

After a long time I am listening to Sute-Delan, and it works magic. Yes!
No time to tell what I am doing; loads of brain stuff needed to work this out. Sorry.
Going home. Enough for today.

Sunday 12/24/06
Listening to Sharghe Anduh.
One nice thing to do when your tired is to chat with a friend who is also tired and online; but to my least expectations, I can't do that because of the heavy network proxy and every other thing they use to cut people like me from the online world. I can't even play MP3's or DVD's. Fedora 6 is cool, but it sucks for missing an MP3 player. I searched the net, and there are plugins that one can download for both MP3 and DVD play, but those aren't downloadable with the network I am using. Makes me sad. I'll look to see if I have brought any music that might cheer me up. Cheers.

The mountains have come into vision again, it's around 4 o'clock and Sultan Gheis is visible, yet not in whole, clouds surround him and he still wears white.

Monday 12/25/06
Today There is no snow, no fog, no clouds in the blue sky of Qazvin. The office, still looks like a mess, though.
The table_demo program was written succesfully. No big problems. I've learned to use boxes and tables for packaging widgets. Oh and I think I did something great.

Yum is used on fedora for doing updates and stuff like that; it wasn't working first, so I searches the yum documentation online and found out that I needed to set the proxy server and port to make it work. I configured the file /etc/yum.conf. Adding the line:
proxy = http://176.20.8.1 :8080
and to my surprise it works. I like this, I feel like I am learning stuff I hadn't dared go around, in fear of failing. I can. Oh and yes the MP3 plugins are being downloaded. Still no MP3 though!

At last GTKmm is installed, not tested yet, but that should be done in fairly little time. Yes, it was just tested and it works. The only thing is that C++ looks fairly unfamiliar compared to C for me. I am all going for the challenge.
Looks like there are loads of things to learn; got to start somewhere.
Listening to seir (Journey). shall it be.

Saturday 12/30/06
Yes, at last I got Totem to play MP3 for me, it hadn't been as hard as I had expected, but time consuming, and now I am listening to Fritz Steinegger playing one of Beethoven's piano pieces. I downloaded 4 of his performances. The network was fast today after a power failure. To my chance I guess.
The main thing I am here for is GTK+ and GTKmm so I better go off to my coding. Forgot to tell you about the weather and what went on Friday. Hope to find some time.

Breaking news is that Saddam was hanged. That marks a point in history. Who could or would deny the evil he committed against the Iraqis, the Iranians, the Muslims, the human kind, but more to my mind's concern against himself as part of the human race. How grateful one should be for the death of an evil dictator, yet how sad to see the end of a human being like this. Peace be upon the world. As I read the news, thought of it, and saw the videos I could see through the office window an old man carrying a heavy load and a student coming out of the copy room with her copies in her hand, Life goes on, and the death of such a dictator will bring no change to the way our world goes on. I must admit, the hard moments I had seeing, hearing, and thinking of this news, yet now for the peace of my mind I shall end it.

Thanks god.

Back to Iranian music, Heirani.
I did lots and lots of Gtkmm.

Sunday 12/31/06
Today I only downloaded music from download.com. Now I listen to Susan Raven singing I Think Of You. Not a lot to say. I couldn't get the update thing to work on fc6 after all. It takes loads of time and normally it hits errors. This, I write is what I call a log. A log of what I've just done, in the world I have been let to live in.
The diary has been brought home and now I can also log some of the stuff I do at home on my i686. The MP3 decoder was installed tonight. The Plugin was downloaded from www.fluendo.com.

Monday 01/01/07
1st of January 2007. Just wrote the date in another manner to make it obvious. Some relatives are here and I decided to stay home for now. I rather not do any Gtkmm in front of them.
On the condition of finding some money I want to go out and buy some stuff, like a long enough headphone and some thick socks.

Thursday 01/05/07
The whole day was spent on fixing my computer, which went off on a random sequence. The Olive garden from, the music of The Passion of the Christ, I listen to now, the music that truly suits the movie and has taken my heart for the least. Oh the computer seemed to have a loose connection, one that provided 12 Vs of power to the CPU. Oh yes! very important. Cleaned the connection several times using a contact cleaner. Still unsure of the security of the connection, I write in full English words.
Caught a cold; throat burns. Loads of pills, I've taken. Not the issue though.
Jesus is being arrested according to the music;
Insight, or enlightenment, the word is not the issue; the state though as the music suggests -most sadly- is that Peter is denying Jesus three times before the cock calls. Yet the issue on which one may ponder deeply or much better see in full is what is. I see now, never before, what is. Maybe through a lighter fog than before, but to watch, just to see, even through this fog, is indeed meditation, for I am calm, and the state of my mind is free; free to observe in whole the beauty of what is. What is now. The beauty of life as it has always flourished, and I can not say it always will, for the future is indeed, never seen.
Mary goes to jesus, the music lovingly fills my ears. The ears of a human, not of mine as the me, but the human.
Will this be an end to the misery of the me? I care not, for the me is the misery.