الظاهر ان الأعراض دي الناس بدأوا يلاحظوها على بعض الـ developers الي حواليهم وبقوا بياخدوا بالهم ان دول معاملة أطفال !
Friday, January 11, 2008
معاملة أطفال
الظاهر ان الأعراض دي الناس بدأوا يلاحظوها على بعض الـ developers الي حواليهم وبقوا بياخدوا بالهم ان دول معاملة أطفال !
Friday, January 04, 2008
Saturday, November 17, 2007
هل يعمل الدعاة لحساب أجندة ما؟
Tuesday, November 13, 2007
نعم.. و لكن.. إذن.. - تساؤلات عن المؤامرة و العلاقة مع الآخر
نعم لن ترضى عنا اليهود و النصارى حتى نتبع ملتهم..
نعم هناك مخططات لهدم الدين..
نعم هناك مؤامرات لمحاربة الإسلام..
نعم يضمر أعداء الإسلام له أكثر مما يظهرون..
ولكن..
لماذا لم يستأصل الإسلام شأفتهم من البداية؟
لماذا لم يقتلعهم من جذورهم منذ أول بادرة؟
لماذا تعاملت دولة الإسلام مع يهود بني النضير و بني قريظة و بني قينقاع كل حدة و كل بحالته و موقفه و لم تعاملهم كيهود و فقط؟ ولم تأخذهم بجريرة أول خيانة منهم.. أليسوا كلهم يهود أعداء للإسلام؟
لماذا كان الرسول عليه الصلاة و السلام يتزاور مع اليهود و يقبل دعواتهم؟ أما كانت إحدى هذه الدعوات من امرأة يهودية و كانت الوليمة شاة مسمومة؟
لماذا ظل اليهود يعملون بالتجارة في ظل دولة الإسلام؟ هل كانوا يبيعون لأنفسهم فقط؟ لماذا لم يتم التضييق عليهم اقتصادياً؟
لماذا توفي الرسول عليه الصلاة و السلام و درعه مرهونة ليهودي؟ ألم يكن هناك مسلم و احد يمكن أن يرهن درعه عنده؟
إذن..
لم هذه الحساسية المفرطة تجاه التعامل مع النصارى؟
لماذا يأنف البعض من أن يدخل بيوتهم أو يأكل من طعامهم أو يتعامل معهم؟ أهو خير و أزكى من رسول الله عليه الصلاة و السلام؟
لماذا يتحفظ البعض من المعاملات التجارية معهم ويفضل عنها معاملة مع مسلم بجودة رديئة و خدمة متدنية؟ أهو أفضل من الرسول عليه السلام و صحابته الكرام؟ أم أننا اكتشفنا أحكاماً جديدة في المعاملات لم تطرأ عليهم في زمانهم؟
لماذا ننظر إليهم بهذه الصورة الاختزالية كأنهم وحدة عضوية واحدة في حين أن الرسول عليه الصلاة و السلام تعامل مع كل منهم حسب موقفه و لم يمنعه خيانة فريق منهم أن يعقد اتفاق مع فريق آخر؟
هل اكتشفنا من الخطط و المكائد و المؤامرات ما كان يجهله الرسول عليه الصلاة و السلام؟ أم هل قد وجدنا تفسيراً جديدا لآية "و لن ترضى عنك اليهود و النصارى" استحدثت أحكاماً جديدة؟ أم هل بمقدورنا أن نطبق الولاء و البراء بأفضل مما كان يطبقه الصحابة؟
إذا كانوا هم عندهم من العنصرية و التمييز ما يدفعهم لأن يقتصروا على التعامل فيما بينهم و لا يبيعوا عقارا أو أرضا إلا لأبناء دينهم و.. و .. ، فهل يأمرنا إسلامنا على أن نعاملهم بالمثل؟
هذه تساؤلات كثيرة ألحت علي من وحي موجة من الشحن الطائفي التي سادت قطاع من المسلمين كثقافة شعبية ربما لها أسباب اجتماعية وإن لم يكن لها تأصيل شرعي قوي أرجو ممن قرأها أن يرجع ببصره لأول الصفحة مرة أخرى و يقرأها ثانية بتريث قبل أن يضغط زر التعليق على عجل
Tuesday, October 30, 2007
بعد إزالات المنيل، ما زالت أراضي الغلابة المتاخمة للمعادي تلمع في عيون بتوع البزنس
تظاهر العشرات من سكان جزيرة القرصاية، لليوم الثالث علي التوالي، ورددوا هتافات تندد بمحاولات طردهم من الجزيرة، منها «بالروح بالدم نفديكي يا جزيرة» مؤكدين أنهم لن يتركوا الجزيرة مهما حدث.
ورفع الأهالي لافتات تطالب الرئيس مبارك بالتدخل لحمايتهم من المستثمرين والشركات الساعية إلي استغلال أرضهم التي عاش ومات عليها أجدادهم، كما تقدم أهالي الجزيرة ببلاغ إلي النائب العام لإنقاذهم من عمليات الردم بالجزيرة، وممن وصفوهم بالمغتصبين لأراضيهم.
وأرسلوا عدة استغاثات مكتوبة إلي كل من رئيس الجمهورية وجمال مبارك، أمين السياسات بالحزب الوطني، ورئيس مجلس الوزراء، وووزير الداخلية، كما أرسلت نساء الجزيرة استغاثة إلي سوزان مبارك، قرينة الرئيس، طالبوا فيها جميعا بحمايتهم وإلغاء قرار طردهم من الجزيرة.
واتهم أهالي الجزيرة شرطة المسطحات المائية باقتحام منازل بعضهم صباح أمس دون استئذان، مع التضييق علي حركة اللنشات التي يمتلكها بعض الأهالي، ويستخدمونها في الحركة والتنقل بين الجزر، في محاولة ـ حسبما قالوا ـ للضغط علي الأهالي لترك منازلهم.
قال ماهر يوسف، أحد الأهالي: إنه فوجئ أثناء تناوله إفطاره صباح أمس بأمين شرطة يدعي «عبدالعاطي» يقتحم عليه منزله، ويهدده بالاعتقال إذا لم يترك الجزيرة فورا.
Monday, October 29, 2007
strlen() vs. sizeof() Tip
Always use strlen() for variables passed from outside.
Why: using sizeof() with a pointer to char passed to you will return
the size of the pointer itself (which is 4 always) not the size of the
allocated space to that buffer.
Friday, October 26, 2007
شراء الولاء
Thursday, October 18, 2007
string in hex
void printhex(unsigned char* str)
{
for (int j=0;j<strlen(str);j++)
printf("%02X ", str[j] );
}
Thursday, September 20, 2007
pointer to const memory
char * s = "ab";
memset(s, 0 , strlen(s)); //empy string
This code won't run because s is considered pointer to const char.
As well, this applies on a statement like this:
memcpy(s, "\0\0" , strlen(s));
That's because the compiler first reserved a memory space to hold the value "ab" then it returns to you a pointer to it. i.e. this is not considered intialization of the pointer.
Of course, defining s as an array of characters will be ok, where s will be handled as a normal variable that can be inialized not as pointer to const memory.
Monday, September 17, 2007
receiving an SMS status report message
To be able to receive this message, set the mode of new message indication as the following:
AT+CNMI=3,3,2,1
or just AT+CNMI=,,,1 (as the forth parameter is the one of our concern)
then you'll get the the status report as soon as it is delivered to the recipient:
+CDS: 06000B910221815716F2709021510121807090215101718000
The PDU String consists of the following:
Octet(s) | Description |
---|---|
06 | First octet of this SMS-STATUS-REPORT message. |
00 | TP-MR. Message-Reference identifying the previously submitted message. |
0B | Address-Length. Length of the sender number (0B hex = 11 dec) |
91 | Type-of-address of the sender number |
02 21 81 57 16 F2 | Sender number (decimal semi-octets), with a trailing F |
70 90 21 51 01 21 80 | TP SCTS. Service Center Time stamp (semi-octets) |
70 90 21 51 01 71 80 | TP DT. Discharge Time (semi-octets) |
00 | TP ST. Status of the previously sent message . |
Friday, August 31, 2007
لأ، غلط، مش منطق - متلازمة صعاب المراس
Wednesday, August 15, 2007
Design: Top-Down or Bottom-Up?
When I got to real life, I found myself following the same old practices of almost not going into design at all.
As before, I started writing code immediately, doing all things in main() with a just-get-it-done attitude, when things finally work I start to refactor code in the structured old fashion - just putting common behavior into functions, then when things begin to be slightly complex I eventually start ask my self what about classes, responsibilities of them, relations between them, interfaces ...etc.
I don't know how to follow all these practices and design guidelines from the start. Whatever you're aware of problem domain and requirements are neat, you never see things clearly until you get your hands into solving the problem.
It's unreasonable to start designing thing you don't know, or writing test cases (in TDD culture) for something you don't grasp fully. It's natural to improve incrementally, nothing could get perfect from one shot, so there is no one happy design you'll adhere to from the start to the end and your code will be refactored several times until it becomes mature.
Wednesday, July 25, 2007
metered ADSL ?
يظهر انهم لقوا ان ما يصحش تكون بلاد الواق واق سابقانا بخطوات كتير للخلف كدة !
http://www.theinquirer.net/?article=19445
Wednesday, July 11, 2007
Beyond Social Bookmarking
One of the services introduced in the Web 2.0 boom is social bookmarking, where people can share, organize and categorize their bookmarks (favorites) and promote any links they see useful for some purpose, where sharing all that with each other is the key of Web 2.0 user-centric services (or community-driven web).
From these social bookmarking services I was inspired by del.icio.us . But before going to create an account on del.icio.us, I discovered ClipClip, which introduced a new concept beyond just bookmarking and tagging. It's that you are able to clip parts of the web page you'd like to bookmark for future reference as if you clip a piece of newspaper page. This is great to clip just important parts of what you read and comments to it, and preserving clips is very useful if the bookmark changed or went away.
Now the time comes to say Googbye to ClipClip after giving a try to Diigo for the following reasons:
- A look at rich Diigo features says a lot about a very promising service
- with Diigo you can highlight (clip) different parts of the web page and multiple comments on each, while in ClipClip you've to re-clip the same web page different time to do so
- The killer feature for me is that, with the Diigo toolbar, you can do all clipping and commenting offline or at least without bothering you waiting for connection and communicating with server for each clip or edit in your tags or categories.
But because there is no end to user needs, there is a feature partly supported (only by Diigo, doesn't exist in ClipClip) I wish to see it complete is the ability to browse all my categories, tags, bookmarks, highlights fully offilne without the need to on-demand querying the server. Preserving a complete local copy of clippings and doing synchronization periodically will be more than great.
P.S. I don't know why (the non-integrated) Google Bookmarks and Google Notebook are far away from the fast pace of development by small (or very small) innovative companies. The same way like slow pace of Google Doc & Spreadsheet in comparison to Zoho's online Office. Or maybe giants don't care about competition and just wait to swallow one of these startups like Yahoo that acquired del.icio.us !
Wednesday, May 30, 2007
الإسلام بين التنوير و التزوير - د.محمد عمارة
Monday, May 21, 2007
كم قلة
دائما ما يسعى الإنسان لأن يترك ذكرى طيبة مع أناس عاشرهم و قضى معهم جزءا من عمره ثم حان الوقت لأن يفارقهم، لكن هذا لا يمنع أن يتنفسوا الصعداء بعد رحيله، و هكذا سنة الحياة.

من هنا كان السؤال: ـ
* كم قلة سيسمع دويها تنكسر؟
* هل سيسمع دوي قلل كثيرة تنكسر معا أم تترى وراء بعض أم تفصل فترة زمنية بين كل قلة تنكسر و الأخرى؟
* ما هو توزيع القلل بالنسبة لمن يرمونها، هل معظم القلل تُرمى من مصدر واحد أم من مصادر مختلفة؟
* كم شخص سيقف مشاهدا و مستمعا لدوي القلل المتكسرة في سعادة حتى و لو لم يشارك في إلقائها؟
* من سيسارع من البداية لإحضار القلل لرميها؟
* من سيبادر بلم كسر القلل أم سيتم تركه لفترة؟
ثم ... كيف سيكون رد الفعل عند العودة مرة أخرى و إلغاء قرار الرحيل، و هل سيكون الحزن فقط على ثمن القلل التي تكسرت في الأرض دون فائدة؟
Saturday, May 19, 2007
إزالة التعديات علي النيل بالمنيب ومنيل شيحة
ارسلت وزارة الموارد المائية والري 20 حفارا الي منطقة المنيب ومنيل شيحة لازالة اعمال الردم والتعديات علي النيل بالمنطقة.. وذلك تنفيذا لتوجيهات الرئيس حسني مبارك بمنع اي اعمال للردم في النيل نهائيا"
---------------------------------------------------------------
عشان خاطر البهوات أصحاب الفيلات و القصور و المنتجعات، افتكروا فجأة ان فيه ناس غلابة لازم ننضف المكان منهم عشان خاطر ما يلوثوش المنظر قدام قصر فاروق حسني و منتجع نايل ليلي و باقي فيلات الباشوات اللى كانت أصلا أرض طرح النيل و استولى عليه عادل عاشور وبيهادي بيها الباشوات لحد ما بقى عضو مجلس الشعب و هو ما بيعرفش يقرأ
أما أعمال الردم اللي بجد الناحية التانية من النيل في المعادي و ردم بمساحات معتبرة فما فيش أي مشكلة فيه خالص و لازم نغض عنه الطرف لأن مرشدي - عضو المجلس برضه - هو اللي بيقوم به و دة يعتبر هنا دعم للسياحة و إقامة مشريع تنموية لخدمة النيل و لخدمة البلد
Wednesday, May 16, 2007
Testing Strategy
- Expected bugs from that module
- Cost of each bug (wrong functionality, system crash, hanging, or just nothing happens)
- Amount of logic in that module
- Ideas about scenarios, tricks or tweaks that may not be handled well by the module
Friday, May 04, 2007
The world of Arabic Language Technology
Dr. Mohsen Rashwan - RDI
Dr. Salah Hamid - RDI - Umm Al-Qura University
Dr. Sherif Mahdy - RDI
Dr. Wael Hamza - RDI - IBM USA
Dr. Ossama Emam - IBM Egypt
Hany Hassan - IBM Egypt
Salah Malaeb - Sakhr
Dr. Nabil Ali - Sakhr
Dr. Taghride Anbar - Coltec
Mohamed Mustafa - Coltec
Dr. Hossam ElDin Mahgoub - Al-Khawarizmy
Wednesday, May 02, 2007
Emerge Then Evolve
- Don't try to make things perfect from the first time, do a very simple stupid thing that just works then enhances come after that.
- If you didn't make the stupid thing, you won't learn the perfect thing.
- One who makes no mistakes, never makes anything.