One thing that I always feel regret about, is why I haven’t learn to play an instruments earlier. Today After all, I got a guitar. In the morning David, Kevin and I went to a massive music shop near the university, played on a couple of guitar and then picked one up. It is with a hard case and when I was carrying that, I felt I am like Desperado. David is playing Guitar for nearly twelve years and he plays very well. Kevin also play violin. Alex and Piottre are playing guitar as well, but I am not quite sure if they are as good as David. David supposes to give me some lesson on guitar.
Since the boss is not around, almost nobody works on his project in the office. When we got back to the university with the guitar, a couple of people were playing game Far Cry 2. David started to teach me some basic lessons; however it was pretty difficult for me to catch up. We were playing to 7:00 PM when I successfully got manage to play “happy birthday to you” song. Seems very easy, but for me with knowledge of zero about playing instruments, it was a great success.
And hey, Happy birthday to you.
Wednesday, December 10, 2008
11 Dec- Learining to fly, the wall is too high.
Monday, December 01, 2008
01 Dec- Where is my money man?
Read the story and then judge by yourself whether Murphy's law dominate on everything or not.
1: A couple of week before I go to my trip, I realise that the university has messed up with my scholarship. I immediately inform them and explain that I need the money to be paid as soon as possible to manage my travel costs. They promise that they sort it out in maximum ten days (before my trip).
2: Before then, to make sure that I receive the money on time, I call finance office and explain the situation and again the same reassurance from them that I receive the money before my trip.
3: Ten days has passed and not much left from my trip to start, and I have not received a penny from the University.
4: While I am checking my bank account online every day since then, my online account blocked at once and I do not access to my bank account. Calling the bank, they apologise and promise to sort out the problem.
5: One day left to my journey and no money. Calling the University, I am told that their systems have been broken and there is a delay in payments!
[I am in halfway from my holiday in my home country, and finally the money arrived in my account!!]
6: And now you are in the airport, came back from your country, you realise that all of your credit cards has been expired (after three years)!!
Labels: Murphy's law
Monday, October 27, 2008
Monday, October 13, 2008
14 Oct- Labyrinth
يكى از اين الگوريتمها پيدا كردن كوتاه ترين مسير بين دو نقطه در صفحه هست كه مسير شون توسط مانع هايى محدود شده. يه مثال ساده اش هم لابيرنت هست. يا ميز. نقشه يك لابيرنت رو به برنامه ميدى و اون مسيرى كه از نقطه شروع به نقطه انتها ميرسه پيدا ميكنه. اگر اين الگوريتم قابل پياده شدن روى دوربين باشه، استفاده ى جالبى براش ميشه پيدا كرد. مثلا دوربين روى ماشين روباتى كه قبلا توسط گروه ساخته شده سوار ميشه ، نقشه يك ميز يا لابيرنت رو به دوربين ميفرستى و اون مسير رو براى ماشين پيدا ميكنه و به اون فرمان ميده.
خيلى وقت پيش مطلبى ميخوندم در مورد لابيرنت فكرى. اينكه خيلى ساده شروع ميكنى به فكر كردن در مورد يه چيزى، ولى چيزى نمى گذره كه اون فكر و خيال شاخ و برگ ميگيره، هر كدوم به يه سمتى ميره. تا مياى به خودت بياى ميبينى توى يه لابيرنت گرفتار شدى. اين جريان تا وقتى كه راه خلاص شدن از اون لابيرنت رو پيدا نكنى ادامه داره.
....
بقيه مطلب بمونه براى وقتى كه از لابيرنت بيرون اومدم.
Saturday, October 04, 2008
05 Oct- Home Again
اجازه ى خروج ويژه دانشجويان غير تسهيلاتى
باستناد بند فلان مصوبه شماره فلان مورخ فلان ستاد كل نيروهاى مسلح، دارنده گذرنامه مجاز است تا پايان سال 1390 يك يا دو بار در سال از مرزهاى مجاز كشور خراب شده خارج شود. مشروط بر اينكه مدت توقف يك يا دو بار جمعا بيش از سه ماه نباشد.
محل اقامت از ايران به انگلستان تغيير يافت.
سفارت جمهورى اسلامى ايران
نتيجه گيرى محترمانه: گم شو برو بيرون.
سيزده اكتبر امسال دقيقا ميشه سه سال. هفته ى ديگه اين موقع. اين سه سال چه اتفاقايى افتاد اصلا مهم نيست، مهم بر آيند اونهاست كه اميدوارم مثبت بوده باشه.
كاش ميشد سيزده اكتبر امسال هم خونه باشم. خونه. خيلى خنده داره كه عملا جايى به نام خونه نيست كه من خاطره اى ازش داشته باشم. مثلا همين الان كه گفتم خونه، تصورم خونه اى بود كه وقتى ايران رو ترك كردم، در اون زندگى ميكرديم و اتاق خودم. ولى الان ديگه اون خونه نيستيم. اين حكايت جا بجا شدن، يك بار و دو بار و سه بار اتفاق نيفتاده. يك عمر اتفاق افتاده. هميشه در حال رفتن. هميشه بيقرار. پنج سال بودم كه به شيراز اومديم ، از اون موقع تا وقتى كه من ايران بودم بيش از شش بار جابجا شديم. كلى تلاش ميكردم با چسبوندن عكس و نقاشى و خط به اتاقم روح بدم ولى رفتن هميشه مانع اين ميشد. با اين همه بعد از اون همه سال كم كم از جاده خسته شديم و قصد نشستن كرديم، ولى حكايت رفتن من تازه شروع ميشد. ولى من، اين سه سال دست كم نه بار جابجا شدم. خسته از جاده ولى چاره اى جز رفتن نيست.
لعنت به جاده! ه
Monday, September 29, 2008
29 Sep- Trinity and beyond
آگوست دو سال پیش شبکه ي بی بی سی به مناسبت سالگرد بمباران اتمى هيرشيما و ناكازاكى گزارشى پخش ميكرد. با بازماندگان حادثه و اقوام اونها و بعضيهاى ديگه كه به اين موضوع مربوط ميشدن مصاحبه ميكرد. سوالهايى در مورد تجربيات بازماندگان، تاثيرات شيميايى اون يا ديد مردم در مورد آمريكا به خاطر پرتاب بمب. يكى از سوالات، نظر كلى مردم رو در مورد انداختن بمب اتمى در هيروشيما و ناكازاكى ميپرسيد. جالبه كه بعضى از اونا كه ژاپنى هم بودن موافق اين موضوع بودن. دليلشون هم خاتمه ى جنگ جهانى و جلوگيرى از كشته شدن بيشترى از مردم بيگناه بود. كنجكاو شدم بفهمم چه منطقى پشت اين جواب غير منطقى ميتونه باشه. بعد از خوندن تاريخچه ى جنگ جهانى دوم و پروژه هسته اى آمريكا و جريان بمباران اتمى هيروشيما و ناكازاكى فهميدم كه جواب اونها خيلى هم احمقانه نيست.
بعد از خوندن ماجرا چيزى كه خيلى منو ناراحت كرد كشته شدن يه عده بيگناه به خاطر قدرت طلبى و زورگويى چند نفر بود. ولى چيزى كه به نظرم اهميتى نداشت مليت اون انسانهاى بيگناه بود. فكر كنم دليلش هم خيلى واضحه. چون اين اتفاق ميتونست براى مردم آمريكا بيفته اگر بمب اتمى توسط ژاپنيها كشف ميشد، يا اگه آلمانها اونو كشف ميكردن، مردم بيگناهى از شوروى كشته مى شدن يا بر عكس. در ضمن جنگ جهانى دوم ژاپن جزو نيروهاى متحدين بود كه به چين حمله ميكنه. يعنى ژاپن هم يه كشور استعمار گر بوده و اين ديد مظلوم گرايانه اى كه عوام از جمله رييس جمهورمون در مورد ژاپن دارن فكر كنم خيلى بى مورد باشه.
مردم بيگناه هميشه هستن كه قربانى دست يه عده تشنه ى-قدرت- و-سياست بشن. اين عده بيگناه ميتونه ژاپنى هايى باشه كه در جنگ جهانى دوم كشته شدن، ميتونه مردم بيگناهى باشه كه در جنگ ايران و عراق كشته شدن، ميتونه آمريكاييهايى 11 سپتامبر يا افغانيها باشن.
يه مطلب تكان دهنده و نگران كننده كه در مورد بمباران هيروشيما و ناكازاكى و كلا جنگ جهانى خوندم، استفاده تماما ابزارى از علم بود. منظورم دقيقا پروژه ى منهتن هست كه طبق اون بمب هسته اى رو توليد كردن. باورش خيلى سخته كه اين همه دانشمند جمع شده بشن، هدفشون هم فقط و فقط ساخت بمب و انداختن اون بر سر آدماى بخت برگشته و بى خبر از همه جا باشه. درسته كه دانشمندان هم اين حق رو به عنوان يه انسان دارن كه از اونها يا علمشون سو استفاده بشه، ولى به نظرم بايد بين منطق يه آدم عادى (مثلا آمريكايى) كه تحت تاثير تبليغات سياسى قرار ميگيره و تفنگ به دست ميگيره مثلا ميره افغانستان آدم ميكشه با منطق يه دانشمند كه به نظر ميرسه از قدرت تحليل بالاترى برخورداره، بايد فرقى باشه.
اين موضوع مربوط به 50-60 سال پيش هست جالبه كه هنوز هم همون روند داره پيش ميره. هنوز هم كسايى در راس هستن كه از علم براى پيشبرد اهداف غير انسانيشون استفاده ميكنن. هر چند سهم من در پيشبرد علم شايد در حده خيلى ناچيزى باشه شايد هم هيچ، ولى بعضى وقتا فكر ميكنم نكنه من هم به نحوى دارم به اين جريان كمك ميكنم.
چند وقت پيش يكى ازدوستان حرف خيلى منطقى زد. گفت كه اين ما هستيم كه از علم سو استفاده ى ابزارى! ميكنيم. مثلا اينكه ميتونيم با هواپيما از اينوره دنيا به اون وره دنيا بدون دغدغه مسافرت كنيم در حقيقيت يك جور سو استفاده از هواپيماست، چون هواپيما به منظور مصارف جنگى ساخته شده، حداقل پيشرفته صنعت هوايى به اين خاطر بوده. در مورد خيلى از موارد ديگه هم ميشه اين رو گفت، مثل موبايل يا اينترنت يا انرژى هسته اى. موارد استفاده ى اينها همه در پروژه هاى نظامى بوده و كاربردشون در زندگى روزمره بعدها كشف شده!
انگيزه ياد آورى اين مطالب ديدن فيلمى بود به نام فراتر از ترى نى تى* كه يك مستند از پيشرفت پروژه هسته اى در دنيا هست. در اين فيلم خيلى روشن ميشه فهميد كه چطور قسمت زيادى از پيشرفت تمام علوم مديون پيشرفت احمقانه ى سلاحهاى هسته اى بوده.
و در آخر اينكه نوشتن اين متن هيچ ربطى به سياستها يا اوضاع كنونى كشورمون نداره. و بيشتر يك ديد خييلى كلى بود.
***************
image from http://nmhm.washingtondc.museum/assets/images/Able2.jpg
* Trinity and Beyond
Wednesday, September 17, 2008
17 Sep: Us and them
چقدر زمان به سرعت ميگذره و ما هيچ وقت بهش نميرسيم، ديروز داشتم بلاگى ميخوندم در مورد همين موضوع. اينكه هميشه از گذشته فرارى هستيم و به دنبال آينده ميدويم. اين منو ياد آهنگ Time و Breathe از پينك فلويد انداخت. آهنگ ها رو پيدا كردم و براى چندمين بار گوش دادم.
Don't be afraid to care
Leave but don't leave me
Look around and chose your own ground
For long you live and high you fly
And smiles you'll give and tears you'll cry
And all you touch and all you see
Is all your life will ever be
Run, run rabbit run
Dig that hole, forget the sun,
And when at last the work is done
Don't sit down, it's time to dig another one
For long you live and high you fly
But only if you ride the tide
And balanced on the biggest wave
You race toward an early grave.
Ticking away the moments that make up a dull day
You fritter and waste the hours in an offhand way
Kicking around on a piece of ground in your home town
Waiting for someone or something to show you the way
Tired of lying in the sunshine
Staying home to watch the rain
And you are young and life is long
And there is time to kill today
And then one day you find
Ten years have got behind you
No one told you when to run
You missed the starting gun
And you run, and you run to catch up with the sun, but it's sinking
Racing around to come up behind you again
The sun is the same in a relative way, but you're older
Shorter of breath and one day closer to death
Every year is getting shorter
Never seem to find the time
Plans that either come to naught
Or half a page of scribbled lines
Hanging on in quiet desperation is the English way
The time is gone
The song is over
Thought I'd something more to say
Home, home again
I like to be here when I can
When I come home cold and tired
It's good to warm my bones beside the fire
Far away across the field
The tolling of the iron bell
Calls the faithful to their knees
To hear the softly spoken magic spells
**************
I was looking for the lyrics of these two songs and later I came up with Us and Them, from the same album (Dark side of the moon) which I also like. In my surprise I realized that Richard Wright, who wrote the song, has just passed away. This made me to listen to lot of Pink Floyd yesterday and Today.
All that you touch
All that you see
All that you taste
All you feel
All that you love
All that you hate
All you distrust
All you save
All that you give
All that you deal
All that you buy
beg, borrow or steal
All you create
All you destroy
All that you do
All that you say
All that you eat
everyone you meet
All that you slight
everyone you fight
All that is now
All that is gone
All that's to come
And everything under the sun is in tune
But the sun is eclipsed by the moon.
There is no dark side of the moon really.
Matter of fact it's all dark.
Labels: Pink Floyd, Richard Wright
Thursday, September 11, 2008
12 Sep: Grass
موضوع فيلم در مورد طايفه اى از ايل بختياريه كه براى رسيدن به چراگاه از سردسير به گرمسير كوچ ميكنن.
حيدر خان رييس ايل و پسرش لطفى به همراه پنجاه هزار زن و مرد و بچه و نيم ميليون ! بز، اسب ، خر و گوسفند از رودخونه يخ بسته و كوههاى برفى زرد كوه به اميد چرا عبور ميكنن.
اولين نبرد فيلم با رودخونه سيل زده كارون شروع ميشه. نه پلى، نه قايقى. پنجاه هزار نفر همراه كلى دام. با قايقهايى كه از پوست بز همونجا درست ميكنن، حيوونها و كسانى كه نميتونن از آب رد بشن ،رو به اون ور رودخونه ميرسونن، بقيه هم به آب ميزنن. شش روز و شب بدون وقفه تا اينكه همه رد ميشن، هر چند كه رودخونه سهم خودشو از زندگى گرفته.
نبرد دوم گذشتن از كوه صعب العبور.
نبرد سوم گذشتن از رودخونه خروشان و يخ زده.
و نبرد آخر از خان هفتم رستم نفس گيرتر. گذشتن از كوه سراسر برف زرد كوه. يك تلاش بى پايان و خستگى ناپذير.
More information can be seen in Wikipedia.
Here is the link for movie:
http://moviesdesk.com/movie/1019-Footloose.html
Tuesday, September 09, 2008
09 Sep- Season Four
There have been some conversation or arguments between me and some other people in different times and places about religion and particularly God. I personally not very interested in such arguments. But it is very interesting some people thinking it is their responsibility to guide others and show them the way of life. I am not talking about a specific group of people. Generally speaking I meant all who think are leaders and others are sheep. They might be religious people or even atheist. Either of these groups, who feel a great sense of responsibility, thinks others are sheep. If these “leaders” recognised one as a sheep, he makes a lot of effort to bring him in his own party. I know that a majority of people can not make their own way or make their own ideology. But I think they are simply follower, not sheep, who needs “help” to find their own way rather than push them in a specific way.
But the problem is when you think you should respect others as much as they deserve, regardless of their religion. Having this ideology, if you come across one of the leaders, they think you are a sheep and then their sense of responsibility flourishing.
The problem is they can not understand the difference between respect and accept. Because you don’t try to convince them they are wrong makes you sheep.
Last Friday, Saturday and Sunday were my holiday. Form a couple of weeks ago I arranged to go
I guess it is logical to not try applying logic everywhere!!
Wednesday, September 03, 2008
3 Sep- Chrome and Animalism
Today after all Google Chrome (Beta) was released. In the first chance I downloaded it and tried to see what are the differences and features in Google browser. I showed it to my friends in the office but everyone just looked very reluctant to even see it. Asking the reason, everyone concerns about the privacy issues with Google. I remember the first concerns arose when Gmail was released. Their idea about advertising in Gmail dealt with going through the emails and ads related to email contents are showed in your page. They justified the problem with machine reading of emails and no human being deal with emails. However the machine can be adopted to be sensitive to some specific words. With Google Desktop for example, it can search among your entire files in the computer and send a full report to the Google Company, and it may be handed to some other organization or government for more investigation. There is no official proof for that, however. God knows what’s going on there. And the second reason they gave me was about the monopoly of the Google; Google Search engine, Google Desktop, BlogSpot, YouTube, even Firefox, and now another attempt to be fully integrated in the internet era. So the try to push you to use their own application, in Chrome for example it has a very good features to have Google application such as YouTube and Picasa.
I am asking what the other alternatives are; definitely not Microsoft. Microsoft is another monopoly as well. At least Google somehow supports GNU and free software. I asked my friends whether there is a better option!
Certainly I am not a big fan of Google since they banned some of their application such as Google Ads or Google talk in my country; or the case of Google censorship in
Seems everyone is even more paranoid than me. This paranoid view creates a very competitive atmosphere; as it can be seen between Google and Microsoft now. So because of all news reveals in media from some years ago about monopoly of Microsoft, now everyone seems move to Google; which is a big support for them. Now there is a race between Google and Microsoft; As there was the same case between IBM and Microsoft years ago when finally Microsoft left the IBM in behind. In few years another company would be arose and success Google.
So the monopoly does create the competition in paradox with its characterization.
And now about the privacy; look around. Name some of the discoveries around you that make the life easier; Computers, internet, mobiles, satellites, electricity, energies, genetics. I don’t think many of these were actually made for sake of us as the ordinary people in the first step. However they were made against us. Nuclear Energy, where it came from? It was discovered form nuclear weapon to kill a nation. Internet, as far as I know it was developed for military applications, so as mobiles and satellites. Specifically, most of the advances in electronic field owe the military under the control of governments. Simply they exploit and abuse the technology for their own purpose and later on after they finished with that technologies or come up with a better one, they find other applications in daily life to leave them with us. Upgrading your computer, your mobile, buying Hi-tech TV, do we really need them? Certainly not, in this way we only support these companies to come up with new technologies for either military or other nothing-to-do-with-us technologies; so as the technologies to control your life and privacies.
All that I am saying is science is kind of religion having almost everyone support.
PS: The image is flag of animal farm from the wikipeida.
http://en.wikipedia.org/wiki/Animal_Farm
Monday, August 11, 2008
Season three
A: yeah I am Muslim.
C: Hey but you told me you are not Muslim.
A: Did I? Well I am from a Muslim country.
C: What about yourself? You Muslim? You believe in Prophet Mohammad or Quran?
A: No.
B: Find yourself man.
C: What about God?
A: C I believe in nothing. If you understand then I am not Muslim otherwise I would be Muslim or whatever.
C: Ok, but can you explain to me how all this universe is created. You are not gonna tell me it is created by itself?
B: Look at yourself! How can you believe you created from small white matter?
A: I’ve already told you I am from a Muslim country so don’t talk to me like I am from another planet. I have passed enough Islamic courses. See I don’t know if there is God or not and I don’t care cause I have enough problems.
B: That’s exactly why you need to believe in God. If you believe then you can see his help as your side.
A: His help to pay my rent or bills or loans.
C: Of course he is not gonna pay them for you, he just help you to manage your life if you ask him.
A: What do you mean asking him? Can’t you see at least in your country thousands of people need help? I don’t bother God cause I can sort out my problems. But you can ask him to help your people to not dying from hunger, if you really think there is a God.
B:…
C:..
PS: “Sometimes I wonder... will God ever forgive us for what we've done to each other? Then I look around and I realize... God left this place a long time ago. “ Blood Diamond
Sunday, January 27, 2008
27 Jan_Housemates
I am not in a good financial situation at the moment, I hope I can sort it out as soon as possible.
A part of this blog actually is from 2 days later or maybe 2 days before. Today I just tried to get some idea about winsock (win sucks may be better) in VB. So this is gonna be interesting if I can connect two computers in VB. It is not that hard actually, but I need to understand it in many details I suppose, cause I need to design my own hardware interface to connect to network card. Need some struggling specially for hardware part.
Today was PHD introductory. A bit boring, but I found something interesting in it. As, the guy talking for us, there are three kind of supervisors: 1- has his own way to approach the project. 2-interactive supervisors and 3- those who leave you totally on your own. My current supervisor is hopefully no. 2. but my previous one was no 1. I remember every time I asked a question he answered: yeah thats an interesting question! and he refused to give any clue.
Hmm tommarow again looking for another place to move. Thats really frustrating. I may move to student accommodation. There you are alone and can enjoy your time I hope.
Labels: housmates
Wednesday, January 23, 2008
23 Jan_Final Registeration and security issue!!
Today was very busy for me. I finished my registration after all. Something good about that was that I have done all of it 10 min before the office closing. I also sent the required documents I told yesterday for the insurance company. This was also has been done in the last min. When I got to the university it was almost 6:00PM, so I worked just a little on my project.
I could understand some how about the way the different parts of system communicate together. The parts includes FPGA, ADC, DAC, Vision Chip, Variable gain controller, USB link and PROM.
I am not sure yet about the Variable Gain controller how it works and what its responsibility is. I may take another look at it tomorrow.
Something that make me bloody angry is the security staffs. They always interrupt and annoy students that absolutely doing nothing wrong. One night they came to the Computer room and ask every body to see if he has a permission letter ( or whatever) from his Supervisor. This happens maybe once in few days or even weeks (if it is a rule why don't they do it regularly). I cant understand, when the doors are locked and just opened by Card and there are bloody number of Camera in the room so what is the point of having such a ridiculous piece of paper, or other interruptions. The interesting thing is that if someone really intend to steal something he can do it easily even by all these security stuff. So all these disturbances are just for the people that unfortunately doing nothing wrong.
This exactly remind me of something happened to me when I studied in a public library in London. There happened some clashes between me and another guy when the guy suddenly hitted me in the stomach. I was really pissed off and complained about it to the security, they told me that they are going to sort it out and ask me to carry on my works. I was watching the security from a distance quietly to see how they are gonna "sort it out". And surprisingly they just ask him to be quiet in the library. I expect them at least to cancel his library card. But these "security guys" ask me three times to not put my bottle of water on the desk!!!! Rules are just for ordinary people.
Tuesday, January 22, 2008
22 Jan_Google API for Calendar
Today I have done some research on Google programming and API. I am trying to put an interactive Google calendar on the blog that is capable of accessing the Google calendar e.g. entering an event or deleting. The reason for this actually, is that I intend to have a daily record of my work I am doing on my project. I use the Google calendar as a project management however I know it is not efficient way, but one interesting reason to do this would be the integrity of Google services. For instance I publish my works every day in Google Documents which I need them for later reference, at the same time I put them in my blog so that my supervisor can read them and give me feedback. I share my calendar with him and he would be able to add some events for example upcoming meeting to the calendar.
My project title is "Hardware and software development for vision chip system".
Tomorrow I give a better description of the project.
I also did some project management today. For tomorrow I am going to post some documents to the insurance company first. Then I'll come to the university and try to catch up with the project concept and get some basic understanding of it.
It might be a good idea to find the VHDL code I had before for Ethernet controller. I'll do some research on the link which is between FPGA and Vision Chip.
Finally in my spare time I try to do some programing in .Net environment for Google API to access the Google calendar. It is very tempting to me. I also try to fix my Gentoo and move completely to Linux cause Windows has pissed me off for some times but I didn't have enough time to try Linux.
Labels: First Project Google API





