I’m not in PHP Throwdown

I didn’t succeed in getting in the PHP Throwdown 24 hours competition. I was already registered with my one man team under the name “Shreef”. what happened in the day of the competition is that when I went to start up my computer, I found that the keyboard isn’t working. instead of going to buy a new one, I waited till my younger brother “Mazen” comes back from library so I can give him money to get me a new keyboard (yea, it’s what you do when you are too lazy). I was supposed to be starting coding on 2:00 pm [GMT+2] as I had registered in “Phase 3″ of the competition which starts at this time. my brother came home at 4:30 pm [GMT+2]. I gave him money and he came with the new keyboard at 6:30 pm [GMT+2]. Hmm, the keyboard didn’t work. my brother went to return it back and get another one which should be working (I told him that he should try it before taking it this time). he came back with another keyboard at 7:15 pm [GMT+2]. Hmm, this keyboard isn’t working too. Oh .. the mouse isn’t working too. both of them weren’t working at the same time. I didn’t believe that my sweet LG mouse isn’t working (I love how this mouse looks). Mazen told me that he tried the keyboard before taking it, so the problem is in my computer. I don’t love saying that, but it’s true, my computer got a problem with its PS/2 ports. I didn’t know what should I do to fix it. I didn’t like the idea of taking the computer to one of those computer maintenance companies. they will ask me for allot of money for just changing this small part (some of them will tell me “change your mother board”) . at this moment I got the message and I can see that I won’t be able to do any thing regarding the competition. so I went to watch T.V. . my father was setting there too. I told him about the problem. he is electricity engineer [heavy electricity], so I thought that maybe he can help. my father went to check the problem him self. he didn’t know how we can replace the bad mother board parts with new ones as this needs a specialized electronics guy. he phoned one of his work colleagues to see if they know any helpful idea. his colleague [mechanics engineer] told us about a cable called “2  in 1 UPS”. this cable can be used to make an USB port work like a normal PS one. this looked like a good idea for us. I gave my brother money again to buy a cable like that. it worked this time, but it was 9:30 pm now. so 7 and half hours went since the start of my competition phase. one of the rules of this competition is that you should commit your code minimum every 6 hours through “subversion”. I didn’t do that, so I can see that even if I did succeed in finishing coding my application in this time, my code won’t be approved.

anyway, I didn’t have enough luck to compete this time in PHP Throwdown, but maybe I will try to compete in the next times.
you can check a web page which contains all the blog posts written by the competitors in PHP Throwdown. they were blogging how they are progressing through the 24 hours .. hour by hour.

اعتداء غير آدمي من الليبيين على منتخب الكرة الخماسية في ختام البطولة العربية

انسحب منتخب مصر للكرة الخماسية من البطولة العربية المقامة حاليا في ليبيا بعد اعتداء غير آدمي من لاعبي المنتخب الليبي والجماهير وقوات الأمن خلال لقاء الفريقين يوم السبت في ختام البطولة.

واحتسب حكما المباراة التونسيان شمس الدين اللمطي ومحمد عبيد المباراة لمصلحة ليبيا بنتيجة 2-صفر بعد امتناع المنتخب المصري عن استكمالها.

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

وقال محمد الشربيني رئيس بعثة المنتخب في اتصال هاتفي مع برنامج “القاهرة اليوم” على شبكة “أوربت” الفضائية مساء السبت إن ما حدث لا يمكن تصوره.

وأضاف أن ثلاثة لاعبين أصيبوا بارتجاج شديد في المخ نتيجة الاعتداء أحدهم مشتبه في إصابته بنزيف داخلي.

وكان يكفي منتخب مصر التعادل من أجل التتويج باللقب إذ كان رصيده قبل المباراة 12 نقطة في مقابل عشر نقاط للمنتخب الليبي.

 

وتقام البطولة بنظام الدوري من دور واحد.

وأكد الشربيني أن بعثة المنتخب معتكفة في الفندق الذي تقيم به وسط حراسة مشددة من الأمن الليبي.

وتعود البعثة مساء الأحد إلى القاهرة.

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

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

ويبرز تساؤل بعد الأحداث الوحشية التي تعرض لها الفريق المصري في ليبيا يوم السبت حول المواقف الهشة التي يتخذها المسئولين في مصر تجاه التجاوزات الدائمة من الليبيين لاسيما في الفترة الأخيرة.

———
المصدر : فيلجوول

 

how browsers treat the back slashes in URLs

One of the annoying things when clicking some links in the news section of Masrawy.com , is that I get a “404 not found” message. this problem happens as the developers of this website used back slashes instead of forward slashes in the urls of some area of the page. FireFox [my main browser] didn’t do any thing regarding this back slashes, but IE7 and Opera 9 replaced every back slash in the URLs with forward slash.
 
from a developer view, I can say that FF did it right. but from a user view, IE and Opera saved my time.

Zend Framework Preview 0.7.0

yea .. it was released yesterday, but I was doing some small hardware upgrades to my computer so there were no time to post about the release.
let’s quote from the Zend Framework website :
 

The Zend Framework community has released the 0.7.0 Preview Release. This release showcases the latest developed classes to support Localization (L10N) and Internationalization (I18N). This makes it easy to develop world-class PHP applications. More details:

  • Locale-management component
  • Locale-aware Date parsing and formatting class
  • New translation-management component with gettext support
  • Comprehensive class for working with measurements and conversions
  • New prototype class for filtering and validation parameters
  • New class for managing memory usage in PHP applications
  • Many other improvements in current components such as MVC, Session, Gdata, HTTP Client, Search, XmlRpc, and others
  • Many other enhancements to test suites and documentation.

get it from here.

also, there were a preview release of Zend Google Data 0.7.0 :

Zend has released the Google Data Client Library Preview Release 0.7.0. Google Data Client Library is a set of classes that enable PHP 5 applications to run queries and commands using the Google Data API.

The enhancements to code and documentation in this release are minor, but important. Preview Release 0.7.0 also utilizes the enhanced Zend_Http_Client with support for proxy servers. 

Download Zend Google Data Client Library Preview 0.7.0!

 

bye bye my processor’s fan

The fan of the processor retired today. it was part of my hard working computer for around 2 (or 3) years now. also to be mentioned, this was the 2nd fan to take this position since the first day of work for this computer. this fan was the thing that keeps this computer so cool .. even in the hot summer. now this is the time for changing blood and getting a new young (chinese) processor fan to keep this computer cool for a more time of history.
also, we don’t forget that there is another fan (a super fan) that’s still working since the first day of work for this computer. it’s not working so well, but this is what happens when you get old. it’s working since 2002 (or maybe 2003, I don’t remember). keep up the good work big mom super fan.
 
PS: FYI, it looks like hiring a new fresh graduate chinese fan is cheaper now; just costs 20 EGP or $4 only .
 
Keep it cool