In the planetarium
it’s the week end…
i have to do something instead of staring at my laptop’s screen and declaring some integers, or surfing my google reader
so, i’ve read about an event in BibAlex related to a mini book fair, i’m not fan of such things but lets try, may be i can find a book related to programming
but it was a smaller event than what i was expecting, and i found some shelves having books about VB, C# and Windows Me
anyway, i got out of the hall looking for something to do, and there was the planetarium…
for those who don’t know it, it’s the blue-stripped moon seated beside the sun of BibAlex

With Ubuntu [A Fresh Install]
No, the old install didn’t crash !!!
i just was very anxious about the new Ubuntu release (Karmic Koala), so i installed the RC version
and as u know i hate to install a fresh install of any OS until the currently running one crashes, hangs and cries to let it die
But u r killing me !!
ok, i admit that it was an innovative method that depends heavily on XML Programming,
i can say it saves a lot of time during developing the whole system, as the time required for every feature is nearly constant
just some generic methods to solve all the problems that can be found
but as known “Generic” can not cope with “Performance”, as there must be unneeded steps done with the small/mid sized problems, and it will be fully utilized with the problems that satisfies the general case problem -which is most of the time rare-
and even if u had the general case as the smallest/simplest case, u’ll waste some performance trying to combine those tiny generic solutions to solve the larger problems
Quotes i won’t forget
here are some phrases i’ve heard from some people i’ve met, mainly in FCIS -my faculty-

“this is the learning curve in FCIS”
Mohamad Meshref…. (SDE Microsoft Redmond)
*that graph was somehow accurate -for me anyway-
Some advices for the new Scientificers

for the SC batch 2010….
now you should have seen half the subjects in the first term in my beloved dept “SC”
here are some advices i hope it helps….
بالعربى
السلام عليكم و رحمه الله و بركاته
و كل سنه و انتو طيبين بمناسبه عيد الفطر المبارك
يعنى لو لاحظتوا يعنى -للى متابع يعنى- ان ده اول تدوينه بالعربى هنا, و انا كاتبها بالعربى عشان كذا سبب يعنى…. عشان بيبقى محسوس اكتر و عشان كمان مايفهموش غير اللى بيتكلمو عربى
نخش فى الموضوع
انا فاكر زمااان اوى اول مره رحت اصلى العيد مع ابويا….. مكانتش الامكن بتاعا الصلاه كتير طبعا زى دلوأتى ف كنا بنصلى فى حته كده يعنى ممكن نقول على بعد نص كيلو من البيت , انا مش فاكر غير انى ساعتها كنت مبسوط اوى وانا سامع التكبيرات من البيت و كأنها جايه من السما
و ماظنش كانو بيستخدو الميكروفونات ساعتها
كان احساس جميل اوى كده و الناس كلها مع بعض فى نفس واحد بيقولو نفس الكلمه, كان صوتها عالى قوى
نيجى دلوأتى بقى………..الاماكن كتييير اوى للصلاه و محطوط سماعه من النوع التقيل كل 10 متر ولا حاجه و تلاقى اتنين ماسكين الميكروفون و كل واحد يبدع حبه
و تقريبا مفيش غيرهم اللى بيكبرو
SQL Multiplication
i was shocked to find that there is no aggregate multiplication functions in SQL, something like
select mul(number) from table
but i needed to use a multiplication function…, so as usual i googled it and found this statement
select exp(sum(log(cast(number as float)))) from table
that does the multiplication,
so with a mouth half opened i tested this line and it worked
Recursive SQL statment using CTE “With as”
having such a table in a MS SQL Server 2005
where the table represents some employees and their tree structure in the organization, where each employee has a foreign key “ManagerID” which is the ID of another Employee in the same table, and this table is represented with the following tree
Manipulating Visio “Shape Data” using VBA
recently i needed to write a macro that processes an MS Visio 2007 page and and does some actions based on the contents of a custom defined stencil shapes, where this contents are saved as a Shape Data field in the shape
Technology at the mosque
today after work i went to pray in a mosque near the company,
i was with three other friends and it was a new built mosque, it looked great from inside, intensively air-conditioned, big and well designed from inside
and like any other mosque it had the digital prayer times calculator

but in addition to the upper pic there was another field that was off Read more »



