About Me

My photo
PhD Candidate at Purdue University, Computer Science.

Friday, February 01, 2008

Dr Azeez Sedky has passed Away

Dr Azeez Sedky, the minister of industry during the edge of Nasser and Sadat, the 88 years old, passed away in Paris.

I respect that man too much, he is named as the Father of Egyptian Industry. He built all the manufactures in Egypt after July revolution. He could move Egypt from an agriculture country to an industrial one.

The failure of his manufactures doesn't reflect his great work, he put everything on the track. The policy in Egypt now is to sell all the manufacturers built before.

I didn't find resources talking about him on the internet..this is weird.

read more:
http://www.albawaba.com/ar/news/276408
http://www.elkarama.net/egypt/showthread.php?t=1384
http://www.almasry-alyoum.com/article.aspx?ArticleID=91343

NO Connection.....NO Cable!!

We have experienced internet service disruption on Wednesday. More than 90% of Egyptians couldn't have access to the internet.
AS we know it was due to corruption of the submarine Flag Telecoms(in the Mediterranean sea).
FLAG Telecoms operate the Fiber-Optic Link Around the Globe (FLAG), a 28,000km long submarine communications cable.

the disruption in Egypt caused many problems in other countries in the middle east, India also was affected by this disruption and up to 60% lock.

No figures about how much does the disruption wasts in Egypt, this is normal case as we don't have any statistical engines able to collect numbers and reports fired by any event.

Sunday, January 27, 2008

ImageMagick: Installation on MAC ( Third Shot)

After I installed ImageMagick on my MAC. I couldn't run the mogrify commands to resize my JPG image.
the error i got was..
No decode delegate for image format
So, I tried to rename my file to gif and test but i got the same error again. I thought that my installation was not able to find the module responsible of decoding different formats.
I couldn't find any solution to the problem, but i figured out that I was wrong about renaming the file. this was not enough as a work around.

I reinstalled the imageMagick another time but with some more complex steps this time. this time I will add the PNG support to my installation.

  1. Install Fink.
  2. Add /sw/bin is in your path. (on the root vi .bash_login)
  3. add symbolic link: cd /Developer/SDKs/MacOSX10.4u.sdk
    ln -s sw /sw
  4. Download the libpng lib. Make sure to read the INSTALL file of the downloaded folder. It will guide you to install the zlib as well.
  5. Make sure the files are included in your include folder . in /usr/local/include. The files you'll be looking for are named "png.h"
  6. gunzip -c ImageMagick.tar.gz | tar xvf -
  7. cd ImageMagick-3.8
  8. ./configure --prefix=/sw --with-quantum-depth=16 \
    --disable-dependency-tracking --with-x=yes \
    --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib/ \
    --without-perl --with-png=yes
  9. read the console and make sure that the PNG format was supported successfully.
  10. make
  11. sudo make install
  12. In case you need to check a list of supported format from of the ImageMagick run the following command $convert -list format.
  13. you can apply this for all formats you need (jpeg, tiff...etc). the ImageMagick doesn't support all formats by default.


Saturday, January 26, 2008

ImageMagick: Installation on MAC ( Second Shot)

Referring to my previous post, I found the ImageMagick not working it gave me the following error..

Error Output:
dyld: Library not loaded: /ImageMagick-6.3.8/lib/libMagick.6.dylib
Referenced from: /Users/tfield/ImageMagick-6.3.8/bin/convert
Reason: image not found

I couldn't find the reasons for this error. So, I deleted my installations and started to compile it from scratch.
the end result was as I expected, it works now on my MAC. It seems that the there is something wrong with the binary distribution.
  1. Get the source code from this link.
  2. gunzip -c ImageMagick.tar.gz | tar xvf -
  3. cd ImageMagick-6.3.3
  4. ./configure
  5. make
  6. sudo make install
everything should be working now. Type convert -version in the command line to check the installation version.

ImageMagick: Installation on MAC

  1. Install MACPorts from the pckg.
  2. Configure your shell to use the port from shell.
  3. run from new shell window the following command..
    sudo port install ImageMagick

Friday, January 25, 2008

PDFTextOnline

A very nice web-based application is now available to extract txt from PDF files..
PDFTextOnline is a web2.0 application that helps you save the extraction to plain text file, and change the layout and font, as well as access the bookmarks and properties of the original PDF file.

I think that google will buy this soon..

Tuesday, January 22, 2008

ليالي الحلميه

I can't feel bored of listening to these words written by Sayed Hejab...
كلمات سيد حجاب
الحان ميشيل المصري

منين بيجي الشجن.. من اختلاف الزمن
و
منين بيجي الهوى.. من ائتلاف الهوى
ومنين بيجي السواد.. من الطمع والعناد
ومنين بيجي الرضا ..من الايمان بالقضا

من انكسار الروح في دوح الوطن
يجي احتضار الشوق في سجن البدن
من اختمار الحلم يجي النهار
يعود غريب الدار لـ أهل وسكن

ليه يا زمان ما سبتناش أبرياء
وواخدنا ليه في طريق ما منوش رجوع
أقسى همومنا يفجر السخرية
وأصفى ضحكة تتوه في بحر الدموع


ولفين ياخدنا الأنين
لليالي ما الهاش عينين
ولفين ياخدنا الحنين
لواحةالحيرانين

ما تسرسبيش يا سنيننا من بين ايدينا
ولا تنتهيش ده احنا يا دوب ابتدينا
واللى له أول بكرة حيبان له آخر
وبكرة تفرج مهما ضاقت علينا

ولفين ياخدنا الأنين
لليالي ما الهاش عينين
ولفين ياخدناالحنين
لواحة الحيرانين

Monday, January 21, 2008

Unlock the Power of BroadCasting

Today I came acroos Viddler, one of the broadcast sites. I laughed when I saw it, and I have my reasons .

the site lets users add their comments on a given shots of the video with the ability to use their own webcam, as well as tagging a given shot...Brilliant, I think.
Somehow, it may sound impractical specially when the video receives so many comments.
But the idea is still very nice..
Waiting for some more.

Sunday, January 20, 2008

Listen to Pandora

GlobalPandora unlocks the pandora website...it handles all the problem for me to open Pandora website instead of digging in the webProxies.

Enjoy your pandora..

هَذِي بـِلادٌ .. لمْ تـَعُـــدْ كـَبـِلاد

قصيدة العام للشاعر الكبير فاروق جويدة




كم عشتُ أسألُ: أين وجــــــــهُ بــــلادي أين النخيلُ وأيـن دفءُ الــوادي

لاشيء يبدو في السَّمـَــاءِ أمـامنــــــــــا غيرُ الظـلام ِوصــورةِ الجــلاد

هو لا يغيبُ عن العيــــــــون ِكأنــــــــه قدرٌٌ .. كيوم ِ البعــثِ والميــــلادِ

قـَدْ عِشْتُ أصْــــرُخُ بَينـَكـُمْ وأنـَـــــادي أبْنِي قـُصُورًا مِنْ تِـلال ِ رَمَـــادِ

أهْفـُـو لأرْض ٍلا تـُسـَـــاومُ فـَرْحَتـِــــي لا تـَسْتِبيحُ كـَرَامَتِي .. وَعِنَــادِي

أشْتـَـاقُ أطـْفـَـــــالا ً كـَحَبــَّاتِ النـَّــــدَي يتـَرَاقصُونَ مَـعَ الصَّبَاح ِالنـَّادِي

أهْـــفـُــــو لأيـَّـام ٍتـَـوَارَي سِحْــرُهَـــــا صَخَبِ الجـِيادِ.. وَفرْحَةِ الأعْيادِ

اشْتـَقـْــــتُ يوْمـًا أنْ تـَعـُــودَ بــِــــلادِي غابَتْ وَغِبْنـَا .. وَانـْتهَتْ ببعَادِي

فِي كـُلِّ نَجْــم ٍ ضَــلَّ حُلـْـــٌم ضَائـِـــــع ٌ وَسَحَابَــة ٌ لـَبسـَـتْ ثيــَـابَ حِدَادِ

وَعَلـَي الـْمَدَي أسْـرَابُ طـَيــر ٍرَاحِــــل ٍ نـَسِي الغِنَاءَ فصَارَ سِـْربَ جَرَادِ

هَذِي بِلادٌ تـَاجَـــرَتْ فــِـي عِرْضِهـــَــا وَتـَفـَـرَّقـَتْ شِيعًا بـِكـُـــلِّ مَـــزَادِ

لـَمْ يبْقَ مِنْ صَخَبِ الـِجيادِ سِوَي الأسَي تـَاريخُ هَذِي الأرْضِ بَعْضُ جِيادِ

فِي كـُلِّ رُكـْن ٍمِنْ رُبــُــوع بـِـــــلادِي تـَبْدُو أمَامِي صـُورَة ُالجــَــــلادِ

لـَمَحُوهُ مِنْ زَمَن ٍ يضَاجـِــعُ أرْضَهَـــا حَمَلـَتْ سِفـَاحًا فـَاسْتبَاحَ الـوَادِي

لـَمْ يبْقَ غَيرُ صـُـرَاخ ِ أمـْــس ٍ رَاحـِـل ٍ وَمَقـَابـِر ٍ سَئِمَتْ مـِــنَ الأجْـــدَادِ

وَعِصَابَةٍ سَرَقـَتْ نـَزيــفَ عُيـُـونِنـَــــا بـِالقـَهْر ِ والتـَّدْليـِس ِ.. والأحْقـَادِ

مَا عَادَ فِيهَا ضَوْءُ نـَجْــــم ٍ شـَــــــاردٍ مَا عَادَ فِيها صَوْتُ طـَير ٍشـَـــادِ

تـَمْضِي بـِنـَا الأحْزَانُ سَاخِــــرَة ًبـِنـَــا وَتـَزُورُنـَا دَوْمــًا بـِـلا مِيعــَـــادِ

شَيءُ تـَكـَسَّرَ فِي عُيونـِــــي بَعْدَمَـــــا ضَاقَ الزَّمَانُ بـِثـَوْرَتِي وَعِنَادِي

أحْبَبْتـُهَا حَتـَّي الثـُّمَالـَـــــة َ بَينـَمـَــــــا بَاعَتْ صِبَاهَا الغـَضَّ للأوْغـَــادِ

لـَمْ يبْقَ فِيها غَيـرُ صُبْــح ٍكـَـــــــاذِبٍ وَصُرَاخ ِأرْض ٍفي لـَظي اسْتِعْبَادِ

لا تـَسْألوُنـِي عَنْ دُمُـوع بــِــــــلادِي عَنْ حُزْنِهَا فِي لحْظةِ اسْتِشْهَادِي

فِي كـُلِّ شِبْر ٍ مِنْ ثـَرَاهـَا صَــرْخَـــة ٌ كـَانـَتْ تـُهَرْولُ خـَلـْفـَنـَا وتـُنَادِي

الأفـْقُ يصْغُرُ .. والسَّمَــاءُ كـَئِيبـَـة ٌ خـَلـْفَ الغُيوم ِأرَي جـِبَالَ سَـوَادِ

تـَتـَلاطـَمُ الأمْوَاجُ فـَــوْقَ رُؤُوسِنـَــــــا والرَّيحُ تـُلـْقِي للصُّخُور ِعَتـَادِي

نَامَتْ عَلـَي الأفـُق البَعِيـــدِ مَلامــــــحٌ وَتـَجَمَّدَتْ بَينَ الصَّقِيـِع أيـــَـــادِ

وَرَفـَعْتُ كـَفـِّي قـَدْ يرَانـِي عَاِبـــــــــرٌ فرَأيتُ أمِّي فِي ثِيـَــابِ حـِـــــدَادِ

أجْسَادُنـَا كـَانـَتْ تـُعَانـِـــقُ بَعْضَهـَــــا كـَوَدَاع ِ أحْبَــابٍ بــِــلا مِيعـَــادِ

البَحْرُ لـَمْ يرْحَمْ بَـرَاءَة َعُمْرنـَـــــــــا تـَتـَزاحَمُ الأجْسَادُ .. فِي الأجْسَادِ

حَتـَّي الشَّهَادَة ُرَاوَغـَتـْنــِي لـَحْظـَــة ً وَاستيقـَظـَتْ فجْرًا أضَاءَ فـُؤَادي

هَذا قـَمِيـصـِـــي فِيهِ وَجْــــهُ بُنـَيتــِي وَدُعَاءُ أمي .."كِيسُ"مِلـْح ٍزَادِي

رُدُّوا إلي أمِّي القـَمِيـــصَ فـَقـَـدْ رَأتْ مَالا أرَي منْ غـُرْبَتِي وَمُـرَادِي

وَطـَنٌ بَخِيلٌ بَاعَنــي فـــــي غفلـــــةٍ حِينَ اشْترتـْهُ عِصَابَة ُالإفـْسَـــادِ

شَاهَدْتُ مِنْ خـَلـْفِ الحُدُودِ مَوَاكِبــًـا للجُوع ِتصْرُخُ فِي حِمَي الأسْيادِ

كـَانـَتْ حُشُودُ المَوْتِ تـَمْرَحُ حَوْلـَنـَا وَالـْعُمْرُ يبْكِي .. وَالـْحَنِينُ ينَادِي

مَا بَينَ عُمْـــــر ٍ فـَرَّ مِنـِّي هَاربـــــًـا وَحِكايةٍ يزْهـُــو بـِهـَـــا أوْلادِي

عَنْ عَاشِق ٍهَجَرَ البـِلادَ وأهْلـَهـــــــَـــا وَمَضي وَرَاءَ المَال ِوالأمْجـَـــادِ

كـُلُّ الحِكـَايةِ أنَّهـــَـــا ضَاقـَتْ بـِنـَـــــا وَاسْتـَسْلـَمَتَ لِلــِّـصِّ والقـَـــوَّادِ!

في لـَحْظـَةٍ سَكـَنَ الوُجُودُ تـَنـَاثـَـــرَتْ حَوْلِي مَرَايا المَوْتِ والمِيـَـــلادِ

قـَدْ كـَانَ آخِرَ مَا لـَمَحْتُ عـَلـَي الـْمَـدَي وَالنبْضُ يخْبوُ .. صُورَة ُالجـَلادِ

قـَدْ كـَانَ يضْحَـكُ وَالعِصَابَة ُحَوْلـَــــــهُ وَعَلي امْتِدَادِ النَّهْر يبْكِي الوَادِي

وَصَرَخْتُ ..وَالـْكـَلِمَاتُ تهْرَبُ مِنْ فـَمِي : هَذِي بـِلادٌ .. لمْ تـَعُـــدْ كـَبـِلادِي