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.