About Me
- Ahmed Abd-ElHaffiez Hussein
- PhD Candidate at Purdue University, Computer Science.
Sunday, April 13, 2008
Scalable Mail System
This is a very good post about the battle of building a scalable system. This shows you how much time and effort you can spend to test the best architecture that satisfies your needs. If you read this article, if you don't care about the technical solution, if you are convinced that a solution based on relational DB would still be satisfying..No problem. Just watch the life time they took to grow their system and the huge development time they did.
Was it possible to get the logging v3+ with 2,3 weeks of work?
Anyway, the article revealed when i was working as tech and engineering on zimbra :). whenever a problem raised, i grabbed the logs stored on the local disk, and try to analyze data to check the problem..OH! those were the days my zimbra friend...
Saturday, April 12, 2008
The First Cavalryman
AL- MIQDAAD IBN `AMR known as the first cavalry Muslim to strive in the way of Allah... He was once adopted by Al-Aswad lbn Abd Yaghuuth. thus was called Al-Miqdaad Ibn Al-Aswad, and he retained his father name "Amr Ibn-Saad" when adoption was abrogated by Islam. that man show wisdom, intelligence and courage.
One of the quotes said by Al-Miqdaad was the difference between Prophet(PBUH)'s companions and the followers.
When a man addressed Al-Miqdaad saying: "All kinds of happiness are for these eyes which have seen Allah's Prophet (PBUH). By Allah, we wish that we saw what you have seen and witnessed what you have witnessed."..Al-Miqdaad Said "Why should anyone wish to witness a scene that Allah did not wish him to see? He does not know what it would have been like if he had witnessed it or which party he would have been among if he went back in time. By Allah, Allah's Prophet (PBUH) saw people who were thrown right into hell, so you should thank Allah that you were spared such a trial and were honored by firm belief in Allah and His Prophet (PBUH)."
Saturday, March 08, 2008
Unstable
The last period was very tough for me. I met a lot of obstacles, putting me down, pushing me off the track.
I delivered my project without any happiness, I feel that I am not achieving any thing new. in contrary, I am loosing through the days a lot of things.
I have some technical stuff to write, but no enthusiasm to do it. Will a new technical entry help me to get better??
Sunday, February 03, 2008
Boutros-Boutros Ghali Archive
foI have been assigned to the Boutros Ghali archiving project since I moved to Bibliotheca Alexandrina.
My task description was to supervise/organize the digitization of the 31,650 documents, build an automated dataentry engine, and finally build a site to publish the documents.
The collection includes various documents related to the positions occupied by Boutros Ghali as:
1. The Egyptian Minister of State for Foreign Affairs from 1977 till early 1991. This group includes important documents pertaining to Egyptian foreign affairs, such as the Arab-Israeli conflict, the Camp David accords and Egypt’s role in the African and Arab region.
2. The Secretary-General of the United Nations from January 1992 to December 1996. The BA has obtained the documents of his Excellency’s meeting notes for years 1993, 1994, and 1996.
A great effort was exerted in order to categorize the documents based on their type, their language, and finally their contents. So far the following categories have been established: reports, letters, press, treaties, speeches, conversations, and meeting notes. The collection contains documents in a numerous languages, including Arabic, English, French, Spanish, German, Italian, and Indian. The contents of the documents have also been categorized under UN, Arabic Israeli Conflict, Africa, Middle East, South America, North America, Asia, and finally Europe, as Egypt’s foreign relations were extending all over the world.
In order to achieve this classification, an indexing application was developed, working as the backend that helps to reorder the scanned documents, assemble related pages in one job entry, assign each job to its category and finally insert the metafield values (date, title…etc.)
Furthermore, the indexing application reduces the time required for data entry by directly OCRing the portions of the pages having the important fields and saving their values to the Database.
A website interface is being designed and the site itself is currently under development for the publishing of the collection.
Friday, February 01, 2008
Dr Azeez Sedky has passed Away
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!!
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)
the error i got was..
No decode delegate for image formatSo, 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.
- Install Fink.
- Add /sw/bin is in your path. (on the root vi .bash_login)
- add symbolic link: cd /Developer/SDKs/MacOSX10.4u.sdk
ln -s sw /sw - 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.
- 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"
gunzip -c ImageMagick.tar.gz | tar xvf -
- cd ImageMagick-3.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 - read the console and make sure that the PNG format was supported successfully.
- make
- sudo make install
- In case you need to check a list of supported format from of the ImageMagick run the following command $convert -list format.
- 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)
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.
- Get the source code from this link.
- gunzip -c ImageMagick.tar.gz | tar xvf -
- cd ImageMagick-6.3.3
- ./configure
- make
- sudo make install
ImageMagick: Installation on MAC
- Install MACPorts from the pckg.
- Configure your shell to use the port from shell.
- run from new shell window the following command..
sudo port install ImageMagick
Friday, January 25, 2008
PDFTextOnline
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..