الأحد، 20 ديسمبر 2009

Top "10" Tips for creating a Good Code

Here we have a very very good and important notes and tips for writing a good and efficient code ...

Most of us have a problem with generating a good, efficient, readable, and well organized code and also in a good time rate ..

Here we have a very good tips I found and get it here for you all,
and for me too :)

-----

1.- DRY: Don’t repeat yourself.

When finding similar code in two or more places, we should abstract them into a new method and change the previous code fragments so they will now call the new method with the appropriate parameters.

DRY is maybe the most universal coding principle, I have never found a developer who would argue that repeating code is good, but, I have found developers that forget about this principle when coding unit tests.


2.- Write short methods.

There are three very good reasons for writing short methods.

  1. Your code will be easier to read.
  2. Your code will be easier to reuse (short methods are likely to produce loose coupling).
  3. Your code will be easier to test.

3.- Use good names for your classes, methods and variables.

There is nothing nicer than using some other developer code and not having to read its documentation because the names of the classes and the methods are telling us everything, so, make everyone’s life easier and take this approach, expend always a few seconds before naming any element in your code.


4.- Assign the right responsibility to each class.

One class, one responsibility, that will sound familiar to those who know about the SOLID principles, but not any responsibility, the right responsibility, so if we have the class Customer, we won’t assign to it the responsibility to create a new sales action, we will just assign it the responsibility to handle all the data related with a customer.


5.- Keep your code organized.

This organization is at two levels.

  • Physical organization: Whatever the structure you are using, packages, namespaces, folders… Organize your classes in such a way that is easy and intuitive to find where the code is stored.
  • Logical organization: Whatever belongs logically together should have access to each other members, but what belongs to a different logic structure has to access them by an interface. These logic groups are commonly implemented as layers, services…

6.- Create lots of unit tests.

The most tests you have, the better, they are our safety net for all the changes we will have to perform in the code in the future.


7.- Refactor often and sooner.

Software development is a continuous discovery process, in order to keep up to date with good code that matches the new/changing requirements is essential to refactor the code as we go. As this is a risky task there are 2 main preconditions to avoid entering new bugs into the system.

  1. Have lots of unit tests.
  2. Do small refactor steps at a time.

8.- Comments are evil.

Most of us were taught that comments are good, and actually it’s better to have a comment in an obscure piece of code than just having the code by itself, what this point means is that: even better than having a comment for an obscure piece of code is to not to have that code at all, just re-factor it until is a nice and readable piece of code.


9.- Code to an interface, not to an implementation.

This is a classic one, coding to an interface will free us from the implementation details, we just define a contract and rely on calling the defined operations on the contract, expecting that the actual implementation will be passed to our code or decided at runtime.


10.- Have code reviews.

We all make mistakes, and there’s nothing better than asking some other person to have a quick and informal review in our code to find them, in order to make the reviews, it’s better not to wait until the code is completed, it’s better to ask for reviews whenever some important part of the code has been completed or when a few days have passed from the previous review.


----
Hope you liked it ..
The source : http://www.makinggoodsoftware.com/2009/06/04/10-commandments-for-creating-good-code/


الثلاثاء، 15 ديسمبر 2009

Tips to become a >> Good Software Developer

As I'm so much interested in Software Engineering and Development ..
those are some useful tips I read before and found it too much useful and valuable ...

------

Being a good developer is like being any other good professional, it’s all it’s about doing as much quality work as possible. There is a popular sentence that summarises it: “Do it. Do it right. Do it right now”.

1.- Have your own to do list for the day.

The best approach to complete complex activities is to break them down into simple activities. Do this every morning by breaking down the different activities you would like to complete for the day and assign them a schedule. This will help you to:

  • Have a better understanding of the activity.
  • Have a focused goal for the day
  • Improve your estimating skills. After a few days you will find that you can predict how much work you can do in a day.

2.- Do one thing at a time.

It’s been proven by different studies and published in different media (ie CNN) that it is more productive to be focus only on one task than to do multitasking.

Work in short batches of intense work of about 25 minutes with a 5-10 minutes rest. There are popular techniques like the pomodoro technique to help you manage the time. There are also tools to help you measure the time you spent on the different tasks, my favourite one is CoolTimer.

3.- Do it right.

There are two keys to know if something is done right

  1. To be proud of the solution; it is not just any solution, it is a good solution. It follows the principles of the “Pyramid of the software quality“.
  2. The solution passes at least one review. Ask one of your colleagues that you respect as a good developer to review your solution and for his sincere opinion.

4.- Don’t finish something until it’s completely done.

We all know that if there’s still a glass to wash, we cannot say that we have done the dishes, the same applies for painting a wall or driving to a destination but in software development we don’t do that, we say that we are done even when we haven’t completed all the unit tests or when we haven’t checked if the implementation is correct with the customer, that’s a typical behaviour from Hope Driven Development and that’s evil.

Something is only done when you are 100% sure that it won’t be necessary to work at all on that solution unless the requirements change.

5.- Better late than sorry BUT better sorry than never.

If it’s going to take you an extra day to complete the testing of some code, or to re-factor a class which is unreadable, do it, that’s an investment in time for the future, but if you are stuck with something and you are delaying the project too much, just find an easier solution. It may not be as elegant as the one you are implementing, but at least you will have a solution. Make sure to document it as future risk for the project and something that will probably need to be revisited.

الخميس، 3 ديسمبر 2009

10 صفات لزوجــــــة ناجحـــــة

هذا هو باقي الموضوع و الجزء الثاني منه ...
و الموضوع كله بجزئيه منقول للإفاده و لأنه عجبني و حبيت أشارككم بيه
:)

زوجة ناجحة :
1- قبل الزواج وقبل الحب هي اولا امراة سوية ناضجة
- ومن فطرتها الانثوية الصافية الخالصة انها لا تتزوج الا من رجل تحبه
- وهي امرأة مثلما تعتز بانوثتها فهي تعي ايضا دورها الانثوي في الحياة ومع زوجها كزوجه وكأم

2- هي زوجة قادرة على احتواء الزوج بالحنان والاهتمام
- فهي بحسها الانثوي تدرك احتياجات الرجل
- فهي تعرف بفطرتها وبساطتها ان الرجل جزءاً كالطفل يحتاج الى أم
- وبه جزء ناضج واع منطقي يحتاج الى امرأة ناضجة عاشقه
- وبه جزء ابوي يحتاج فيه ان يؤدي دور الراعي المسؤول والقائد

- ولذا فهي تعطيه حنان الام وحب المرأة العاشقة وخضوع الابنة المتفهمة .

هي تعرف ان الرجل يتوقع الاهتمام من الزوجة , يتوقع التقدير ولذا فهي تعيش احلامه وانتصاراته وامجاده حتى وان كانت هي الشاهدة الوحيدة عليها ,تعيش حياته واهتماماته وعمله لحظة بلحظة . ولا تفارقه لحظة .
- الحب هو حياتها وزوجها هو محور حياتها , واسرتها هي مملكتها .
- هي زوجة ثرية العقل غنية الروح .

- تعيش حياة الفهم بفهم يدفعها الى الانفتاح على الكون.
فتفهم من امور الحياة واحوال الدنيا ما يجعلها مثقفة متفتحة فاهمة متعقلة عذبة الحديث , مقنعة المنطق , مؤثرة بافكارها وروحها .
ولذا فمن حبها لزوجها واحساسها بحب زوجها لها تدرك ان نفوذها وتأثيرها لا يكمن في جمالها الخارجي وزينة جسدها الشكلية , وانما يكمن في جمال عقلها ورونق روحها .
- هي الزوجة التي تملك روحا سمحه
- ونفسا طيبه
- وطباعا هادئة غير متسلطة

- غير عدوانية

- لا تستهويها ولا تزدهيها سلطة او قيادة او زعامة .

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

3- أن تكون غيرتها نابعة من حبها بهدف الحفاظ على حبها وزوجها الذي تثق به
- فهو جدير بالثقه
- ولأنها تثق بنفسها ايضا
- وفوق كل ذلك وقبل كل ذلك ثقتها بالحب الذي يربطها بزوجها
- غيرة عاقلة هادفة هادئة تسعد الرجل وفي نفس الوقت تحذره وتوقظه وتنبهه .

4- اخلاصها ووفاؤها ليس محلاً لنقاش او تأكيد
- والا اصبحت الامور كلها عبثية .
- من خلال سلوكها الاجتماعي المتوازن الراقي
- الذي يعكس حكمتها وتوازنها النفسي وثقتها بنفسها وعدم احتياجها لكلمات الاطراء وعبارات المديح وتلميحات الغزل .
- فهي ترفض ذلك باباء نابع من حسها الاخلاقي القوي ومن احترامها لذاتها واحترمها لكيانها كزوجة
- ولانها واعية وناضجة وذكية , فانها لا تستخدم سلاح الشك والغيرة لاذكاء مشاعر زوجها
- لانها تعرف ان هذا سلاح مدمر يقضي على الاحاسيس الطيبة لدى زوجها
- يقضي على احساسه بالامان .


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


6- ان تستند حياتها كلها الى قاعدة اخلاقية
- تتمثل فيها كل القيم الرفيعة من صدق وامانة وتواضع وتسامح
- ينعكس في سلوكها العام وحياتها الزوجية


7- ان تكون تقية مؤمنة
- لا خير في امرأة لا تعرف ربها
- ولا اطمئنان مع زوجة لا ترعى حدود خالقها .



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

الثلاثاء، 1 ديسمبر 2009

10 صفات لزوج ناجــــــــــــح ... و زوجة ناجحـــــــــــــة

السلام عليكم

الموضوع ده أنا لقيته بالمصادفه وعجبني جدا
فا نقلته هنا للإفاده

هوا بس طويل حبه
لذلك
قررت أقسمه علي جزئين و هانشر الجزئين ورا بعض
:)

الجزء الأول >>

زوج ناجــــــــــــــح :
-----------------
1_ ان ينجح في ان يبث مشاعر الامان الحقيقية لدى زوجته الامنة .

· ان اهم ما تحتاج اليه المرأة هو مشاعر الأمان والطمأنينة واذا فقدتها اضطربت , والرجل الحقيقي هو القادر على منحها هذه المشاعر

· والمصدر الاول لأمان المرأة هو حب الرجل لها الحب الحقيقي فاذا شعرت بحب زوجها اطمأنت

· والزوج الذي تكون زوجته هي حبيبته وحبيبته هي زوجته و يرى الزواج كعلاقة مقدسة , علاقة ابدية خالدة , تطمئن معه المرأة في حياتها.

2- ان يكون مصدر قوته الحقيقية هو صدقه الرجل الصادق هو رجل قوي . صادق مع نفسه , صادق مع الناس , صادق مع زوجته . فالصادق هو انسان سام ورفيع

· ولابد ان يكون شجاعاً

· وهذا يعني ايضا ثقته بنفسه

· وتلك مظاهر الجمال الحقيقية التي تشد المرأة الى الرجل

· والمرأة تسلم لرجل شجاع .
3- ان يكون قادراً على تحمل المسئولية ,

مسئولية الحياة 0

· مسئوليته عن نفسه0

· وعن زوجته واسرته0

· ومسئوليته كأنسان 0

· والمسئولية تنبثق من الارادة الواعية الارادة الحرة

· وهي تعني وعيه بدوره وقيمته واهميته .

· تعني احساسه بذاته وبنضجه

· والرجل الحقيقي هو الذي لا يساق الى تحمل مسئولياته ولا يتهرب منها

· وانما يتجه اليها بصدق وهمة وايمان وفهم وحب ويسعد بما يقدمه للاخرين من عطاء 0

· سواء كان عطاء المسئولية او عطاء حراً نابعاً من حسه الانساني النبيل .


4- الزوج الناجح هو رجل ناجح في عمله ,

· يعتز بعمله ويتقنه ويقبل عليه بحب 0

· ويحاول ان يبدع فيه ويطور نفسه ويؤكد ذاته ويحقق طموحاته .

· احد جوانب احساسه بذاته هو نجاحه في عمله 0

· وكذلك احد جوانب فخره وثقته بنفسه واعتزازه بذاته 0

· وهذا يعني جديته وشعوره العميق بالمسؤلية .

· وثمة علاقة وثيقة تربط بين عمل الرجل وحبه وحياته الزوجية 0

· ان نجاحه في عمله يثري حياته الزوجية وتوفيقه في حياته الزوجية يثري عمله .

· انها علاقة تبادلية مباشرة تحفظ توازنه النفسي وتحفظ للزوجة توازنها النفسي وتحفظ للحياة الزوجية استقرارها وتكون احد دعائم نجاحها

3-وأن يكون ايضاً ناجحاً اجتماعياً 0

4- أن يكون قادراً على التأثير الاجتماعي0
5- أن يكون بناؤه الاخلاقي سليماً

- يعكسه ضمير نظيف0

- وينبع من نفس طيبة خيرة هي المصدر للقيم الاخلاقية الانسانية العظيمة .

- فهو شريف 0

- أمين0

- عطوف 0

- متسامح 0

- نبيل0

- متواضع 0

- وينعكس هذا على حياته العامة وحياته الخاصة 0

- فالانسان لا يتجزأ والاخلاق لا تتجزأ فمن كان غير امين في حياته العامة فهو غير امين بشكل او باخر في حياته الخاصة .

- وهو بنفس الطيبة الخيرة يبعث اقصى درجات الطمأنينة في نفس زوجته .


6- ان يتمتع بالثبات الانفعالي

- فلا يندفع غاضباً ثائراً لأبسط الامور 0

- ويفقد السيطرة على اعصابه وسلوكه

- وينهار ويصدر عنه كلام غير منطقي والفاظ سيئة .

- وان يكون صبوراً حكيماً منطقياً مقدراً عاذراً .

- وان يتجاوب انفعاليا حسب مقتضيات الموقف 0

- اي ان يكون انفعاله مناسبا للموقف

- وان يكون انفعالا بناء لمعالجة الموقف .

- وان يكون قادرا على السيطرة على هذه الانفعالات اذا اقتضى الموقف .

وان يكون راقيا ايضا في غضبه فلا يلجأ الى العنف البدني او اللفظي للسخرية والتهكم والتحقير والكلمات البذيئة .
**ان الزوجة تفقد ادراكها الدقيق لحدوده كرجل اذا رأته في هذه الصورة المتهاوية المنهارة , وخاصة اذا كانت تقف هي قبالته اي ان الموقف يتناولها هي شخصيا .


7- الرجولة الحقة هي التي تجعل المراة تشعر بانوثتها الحقة

- والانوثة الحقة لا تظهر في ظل رجولة مهزوزة او منقوصة .

- والمرأة لا تشعر بذاتها الحقيقية - ذاتها الانثوية - الا مع رجل حقيقي 0

- أي قوته وشجاعته وقدرته على الاحتواء0

- وغيرته الموضوعية النابعة من حبه ومن دوره في المحافظة على زوجته 0

**لا من مشاعر الضعف والهوان وحب الامتلاك والتعلق المرضي والتي تنبري في صورة "غيرة " زائدة هي اقرب الى الشك ولا تعني الا انهيارا رجوليا داخليا وعدم الثقة بالنفس .


8- ان يحافظ على التوازن بين الرومانسية والواقعية وبين الخيال والحقيقة

- الرومانسية تحفظ له شاعريته ورقته التي تحتاجها المراة وشغفه العاطفي الذي ترتوي منه المرأة .

- وفي الوقت نفسه واقعيته تتيح له الادراك السليم للواقع والحكم الموضوعي على الامور والقيادة الواعية المستبصرة بمقتضيات الحياة .
**المرأة تطمئن للرجل المتوازن وتفتن بالرجل المتكامل وتتعلق بالرجل الحي المتحرك النشط القوي الشجاع الحالم الرقيق ،مزيج من الرجولة الحقة .


9- ان يكون حازما , عادلا , راعيا , قائدا 0

- المرأة السوية تسلم القيادة لزوجها 0

- والقائد الناجح لابد ان يكون حازما حازما بلا قسوة وبلا عنف .

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

- والحزم لا يعني ان يكون مرهوبا بل يكون عطوفا 0

- ففي العطف حزم 0

- وفي المنطق حزم 0

- وفي عدم التنازل والتهاون في الامور المهمة حزم .

- وفي التجاوز عن الصغائر حزم 0

- وفي التسامح عن اخطاء غير مقصودة حزم .
**والراعي لكي يستمر دوره لابد ان يكون عادلا , والعدل قيمته تعني السمو والحكمة , العادل هو انسان سام حكيم0



10- ان يكون تقيا مؤمنا

- لا خير في رجل لا يعرف ربه

- ولا اطمئنان مع زوج لا يراعي حدود خالقه .



-------------------------------

زوج فاشـــــل :

----------------------
- هو رجل لا يقدس الزواج
- هو رجل فاشل بوجه عام في امور كثيرة من حياته , عمله , علاقاته الاجتماعية .
- هورجل انهزامي انسحابي0

- ينزلق بسرعة في مهاوي اليأس 0

- يفتقد روح المرح .

- ضعيف الهمة 0

- قليل الحركة .
- سريع الانفعال والغضب0

- فاقد السيطرة0

- ينهار ازاء المواقف الصعبة .
- كاذب وكذبه لضعفه , وعدم ثقته بنفسه .
- مفتقد لروح القيادة

- متهاون غير حازم0

- ويقبل سيطرة الغير عليه0
- مفتقد لمشاعر الخير والحس الانساني : متعال , مغرور , نرجسي , عدواني , قاس .
- ينزلق أخلاقيا بسهولة 0

- غير أمين .
- لا يحرك مشاعر الانوثة عند امرأته

- تفتقد معه الاحساس بذاتها الحقة 0

- وتفتقد معه مشاعر الامان .
- يسيطر عليه الشك0

- غيرته مرضية نابعة من حبه للامتلاك وضعفه الداخلي .

الخميس، 26 نوفمبر 2009

كل عام و أنتم بخير




كل عام و أنتم بخيـــــــــــــــــــــــر
:)

عيد سعيد علي كل الناس

يارب يارب تعود علينا الأعياد و نحن جميعا بخير
و يارب العيد القادم نكون قربنا ليك أكتر

و يارب العيد القادم تكون راض عنا
و توحد راية المسلمين و تؤلف قلوبهم
و تنصرهم و تجمع شملهم

آمين
:)

يوم عرفــــــــــــــــه .. خير الأيام


السلام عليكم ورحمة الله
كل عام و انتم جميعا بخيــــــــــــــــــر :)

في يوم عرفه .. ذلك اليوم الذي لا يعلم قدره إلا الله
حبيت بس أقول الحمد للـــــــه الذي منحنا أياما نعوّض فيها ما فاتنا
و نعوّض بها قلة أعمالنا و تقصيرنا

الحمد لله الذي منحنا فرصه لكي نقترب منه
ندعو و نرجو لعله يتقبل منّا برحمته

دا شئ بسيط جدا في فضل هذا اليوم العظيم
لعله ينفعنا به و إياكم
:)




1-يوم إكمال الدين وإتمام النعمة :

ففي الصحيحين
عن عمر بن الخطاب رضي الله عنه أن رجلا من اليهود قال له : يا أمير المؤمنين ،
آية في كتابكم تقرءونها ، لو علينا معشر اليهود نزلت لاتخذنا ذلك اليوم عيدا . قال أي آية ؟ قال
: ” اليوم أكملت لكم دينكم وأتممت عليكم نعمتي ورضيت لكم الإسلام دينا
المائدة :3 . قال عمر : قد عرفنا ذلك اليوم والمكان الذي نزلت فيه على النبي صلى الله عليه وسلم : وهو قائم بعرفة يوم الجمعة .

2- أنه يوم عيد لأهل الموقف :
قال صلى الله عليه وسلم :
يوم عرفة ويوم النحر وأيام التشريق عيدنا أهل الإسلام ، وهي أيام أكل وشرب
رواه أهل السنن .


3- أنه يوم أقسم الله به :
والعظيم لا يقسم إلا بعظيم ، فهو اليوم المشهود في قوله تعالى
: ” وشاهد ومشهود ” البروج :3 ، فعن أبي هريرة رضي الله عنه أن النبي صلى الله عليه وسلم قال : ” اليوم الموعود يوم القيامة ، واليوم المشهود يوم عرفة ، والشاهد يوم الجمعة ..
رواه الترمذي وحسنه الألباني .
وهو الوتر الذي أقسم الله به في قوله
: ” والشفع والوتر “الفجر :3 ،
قال ابن عباس : الشفع يوم الأضحى ، والوتر يوم عرفة . وهو قول عكرمة والضحاك .


4- أن صيامه يكفر سنتين :
فقد ورد عن أبي قتادة رضي الله عنه أن رسول الله صلى الله عليه وسلم سئل عن صوم يوم عرفة فقال : ” يكفر السنة الماضية والسنة القابلةرواه مسلم .
وهذا إنما يستحب لغير الحاج ، أما الحاج فلا يسن له صيام يوم عرفة ؛ لأن النبي صلى الله عليه وسلم ترك صومه ، وروي عنه أنه نهى عن صوم يوم عرفة بعرفة .

5- أنه اليوم الذي أخذ الله فيه الميثاق على ذرية آدم :

فعن ابن عباس رضي الله عنهما قال : قال رسول الله صلى الله عليه وسلم :
إن الله أخذ الميثاق من ظهر آدم بنعمان - يعني عرفة - وأخرج من صلبه كل ذرية ذرأها ، فنثرهم بين يديه كالذر ، ثم كلمهم قبلا ، قال : “ ألست بربكم قالوا بلى شهدنا أن تقولوا يوم القيامة إنا كنا عن هذا غافلين (172) أو تقولوا إنما أشرك آباؤنا من قبل وكنا ذرية من يعدهم أفتهلكنا بما فعل المبطلونالأعراف :172-173 ، رواه أحمد وصححه الألباني ،
فما أعظمه من يوم وما أعظمه من ميثاق .


6- أنه يوم مغفرة الذنوب والعتق من النار والمباهاة بأهل الموقف :
ففي صحيح مسلم عن عائشة رضي الله عنها عن النبي صلى الله عليه وسلم قال :
ما من يوم أكثر من أن يعتق الله فيه عبدا من النار من يوم عرفة ، وإنه ليدنو ثم يباهي بهم الملائكة فيقول : ما أراد هؤلاء ؟
وعن ابن عمر أن النبي صلى الله عليه وسلم قال :
إن الله تعالى يباهي ملائكته عشية عرفة بأهل عرفة ، فيقول : انظروا إلى عبادي أتوني شعثا غبرا
رواه أحمد وصححه الألباني


والله تعالى أعلم .

الأربعاء، 25 نوفمبر 2009

معركه حربيه ... من لا شئ !!


السلام عليكم

فتره طويله جدا لم أكتب شئ نظرا لإنشغالي بحاجااااات كتييييير و تغييييرات كتير اوي في حياتي ..

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

علي اساس انه هايتأهل و يجيب لنا كأس العالم مثلا !!!!!

و مش هاتكلم كمان علي الإعلام في الطرفين -للاسف- اللي تسبب في إشعال الأزمه أكتر و أكتر -للاسف تاني- و تسبب في شحن الجماهير شحن رهيييييييييب و خللاهم في وضع استعداد
ولا كأننا رايحين نحارب إسرائيل مثلا !!!!

و لا عارفه اقول ايه علي كم الشتائم المهوول بين الطرفين

للدرجه دي !! احنا وصلنا للمستوي دا !!

طيب الاسلام بيعلمنا ايه ؟؟ و استفدنا منو أيه ؟؟

دا ابسط مبادئ الاسلام :
"" المسلم ليس بطعان ولا لعان ولا فاحش و لا بذئ ""
كما قال الرسول صلي الله عليه و سلم


شوية هدووووووووء يا ناس ونشغل عقلنا شويه
مين المستفيد من الفتنه دي ؟؟

طيب نفكر هوا اللي احنا متعصبين عشانه دا ... هوا دا الحل ؟؟
يعني لو كان الحل اننا نشتم و نتخانق كان زماننا رجعنا فلسطين من سنييييين و محدش غلب !!!



اخر حاجه هاقولها ....
المسلمين هايقفوا بكرا و بعده بين ايدين ربنا وقفة عرفه
لا فرق بين أي منهم إلا بالتقوي كما يقول رب العزه ..

هانقول لربنا ايه ؟؟
ونقول للرسول المصطفي ايه ؟؟

يارب ارحم المسلمين و وحد رايتهم
و جنبهم شرور الفتن

كفايه كدا بقي !!

الثلاثاء، 4 أغسطس 2009

Thinking .. Dreaming







Thinking of my Dreams ....
Thinking of my Life ..


Ya Rabb

السبت، 18 يوليو 2009

أنا بشتغل .... !!!!


أنا بشتغل ...........



ده خبر ......



و لا سؤاااااااااااااااااااال ؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟







السلام عليكم

إزيكم جميعا ......


أنا عارفه كويس إن بداية الموضوع ده غريبه شويه ...



أنا بشتغل ؟؟؟؟
ده سؤال علي فكره ..


أنا ممكن أكون بصحي كل يوم الصبح (أحيانا مبسوطه و أحيانا قرفانه ... عادي )
أخد بعضي و أنزل أروح الشغل ... عادي
أقعد علي مكتبي
و أفتح جهاز الكمبيوتر بتاعي ... اللي هو شغلتي الأساسيه
و أشوف ورايا إيه النهارده ..
و أشوف إيه الحاجات المطلوبه مني أخللصها
و أعمل حاجات و أدور علي حاجات و أخلص حاجات و أسيب حاجات
و اليوم يخلص
و أخد بعضي و أروّح
منهكه جداااااااااااااااااااااااااااااا
عقليا أكتر منه جسديا
من التفكير و إستهلاك طاقة الدماغ ...
و منهكه من المشوار و المواصلات
و ورايا ميت حاجه أعملها و أفكر فيها
و البيت عندي اللي عايزه أعمل فيه كذا و كذا
و ماما اللي عايزه كذا و بابا اللي عايز كذا
و انا عايزه أعمل كذا و كذا و كذا
ووووووووووووو

و في الاخر تنام عشان تصحي تاني يوم
تعمل نفس البرنامج ....





جميل ...



هل ده إسمه أني بشتغل ؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟



فكر كويس قبل ما تجاوب ....





هو إيه الشغل أصلا ؟؟؟؟؟


إنت مش المفروض إنك بتشتغل دلوقتي ؟؟
و مش المفروض بتدور علي شغل ؟؟
أو لازم هاتدور علي شغل في يوم من الأيام ؟؟؟




طيب ..
فكر كويس أوي في السؤال ده


هو إنت دلوقتي بتشتغل ؟؟
بتشتغل فعلا ؟؟
و لا بتشتغل ظاهريا .... من برّه بس ؟؟؟؟؟؟



بتصحي كل يوم الصبح
و تنزل أو تنزلي الكليه أو الشركه للي فيكم إتخرج و بيشتغل زي حالاتي كده
و بتعمل البرنامج اليومي بتاعك ..



لكن هل إنت فعلا بتشتغل
ولا بتنزل تقضي روتينك اليومي من غير هدف
و من غير شغل حقيقي ؟؟؟؟



جاوب علي السؤال ده ..
إيه هو الشغل الحقيقي ؟؟
الشغل اللي يستحق إنك تنزل كل يوم من بيتك و تتبهدل و تبذل المجهود ده كله عشانه ؟؟؟




الشغل الحقيقي ..
هو اللي يعمل فرق في حياتك ..
هو اللي لما ترجع البيت تعبان و هلكان .... تلاقي نفسك مبسوط بالرغم من كده
لأنك تعبت في حاجه إنت عارف إنها هاتعمل فرق في حياتك
مش مجرد تقضية وقت أو روتين لا مفرّ منه ..


هاتقوللي ..
إيه الكلام الكبير ده ؟؟
ده إنا لسه طالب غلبان في الكليه علي أدي ؟؟؟


هاقوللك ..

غلط ....

الشغل هو الحاجه اللي إنت مشغول بيها في حياتك و بتعملها دلوقتي
سواء أنت لسه طالب أو بتشتغل في سوق العمل بجد زي حالاتي كده ....



صدقني ..
فكر كويس في الكلام اللي بقوله ده

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


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


لكن إنت دلوقتي
لسه طالب في الكليه
عندك أجازه و إتنين
تنزل أو ماتنزلش
براحتك ..

الموضوع عندك إنت أسهل بكتييييييير إنك ماتقعش في الغلطه دي ..




إسأل نفسك تاني ....


هوا أنا فعلا بشتغل ؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟

الأربعاء، 1 يوليو 2009

فايرفوكس 3.5 الجديد

الخبر ده أنا قرأته النهارده الصبح في موقع وادي التقنيه ...

(( أخيرا أعلنت موزيلا عن إطلاق فَيَرفُكس 3.5 الذي تأخر كثيرا ،

يأتي فَيَرفُكس 3.5 بالعديد من المزايا الرائعة منها :

1- محرك جافاسكربت أسرع.

2- دعم وسوم الصوت و الفيديو التي ستأتي في معيار HTML 5

3- دعم خطوط الويب.

4- دعم وضع التصفح الخاص. ))


و ده طبعا خبر حلو جدا .. خاصة بالنسبه لمستخدمي الفيرفوكس زي حالاتي كده :)

أنا بستخدم الفيرفوكس كمتصفح للأنترنت من زماااان و حقيقي هو أفضل و أقوي متصفح إشتغلت عليه
كمية الأدوات Tools و الإضافات Plugins اللي فيه رهيبه .. ده بالإضافه إلي السرعه طبعا ..

ده غير إني من مستخدمي نظام التشغيل العبقري Linux .. فا أكيد هاستخدم معاه فيرفوكس
و من قبل كده كمان لما كنت شغاله علي ويندوز كنت برضه بستعمل الفيرفوكس نظرا لمميزاته الكتير اللي بتميزه عن الـ IE بتاع مايكروسوفت ده :D:D


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

كوريا الجنوبية تتخلى عن إنترنت اكسبلورر

أعلنت كوريا الجنوبية أن خدماتها الإلكترونيه ستتوفر لمستخدمين متصفحي فايرفوكس و سفاري ، بعدما كانت حكرا على متصفح انترنت اكسبلورر ،

http://www.itwadi.com/node/1105
))


الموضوع بإختصار :

إن كوريا الجنوبيه أعلنت التخلي عن IE المتصفح الخاص ب مايكروسوفت .. بعد ما إكتشفت إن خدماتها كلها ممكن تبقي في مهب الريح لو شركه واحد (اللي هي مايكروسوفت) غيرت أو أعادت هيكلة التكنولوجيا المستخدمه ...

إحنا عندنا بالظبط نفس المشكله دي ..

بنعتمد علي ويندوز في كل المصالح الحكوميه و الوزارات ...
و دي مشكله كبيره جدا
و فوق كل ده .. تخيلوا كم المبالغ الخزعبليه اللي بندفعها عشان نشتري الترخيص أو الـ licence

لإستخدام الويندوز و كل تطبيقات مايكروسوفت .... كل ده في حين إن عندنا البدائل المجانيه مفتوحه للعالم كله !!!!


نفسي يبقي عندنا ثقافة الــ Open Source ونعرف أد إيه هو بيفتح لنا باب كبير للتطوير

و إن يبقي لينا القدره علي إنتاج التكنولوجيا و المساهمه فيها مش بس إننا نكون مجرد مستهلكين و حتي مش فاهمين اللي إحنا بنستهلكه ده شغال إزاي أصلا ..

شكرا :)

الثلاثاء، 9 يونيو 2009

15 Steps to a More Productive Workday

السلام عليكم
إزيكم جميــــــــــــــــــــعا :)
الموضوع ده أنا كنت قرأته و عجبني أوي أوي
و لأني بعاني كتير من أيام بيضيع فيها الوقت و الطاقه علي الفاضي و أبقي مش عارفه أعمل حاجه بتركيز و ضمير لأني مش عاندي الطاقه الكافيه ولا التركيز إني أعملها
لذلك أنا لقيت المقال ده لذيذ و مفيد جدا و جبته هنا عشان نستفيد منه كلنا
يارب يعجبكم و يفيدكم و لو بشئ صغير بإذن الله
:)
15 Steps to a More Productive Workday
Freelance designers, as well as those who work for small design studios, often face the challenge of getting the most productivity out of their time and achieving maximum efficiency.
While this can be a struggle for anyone in a more “typical” job, freelancers have added distractions, unique challenges, and no one to hold them accountable.
To be a successful freelancer you’ll have to place a priority on productivity and find ways that work for you.
Each of us is unique and no process will work for everyone, but all of us have plenty of things that we can do to improve our workflow. In this article I’ll cover some of the lessons that I have learned through my own experience. For me, productivity is a constant goal, and always interested in finding new ways to get more out of my time. I’m far from perfect in these areas, but making consistent improvements. Hopefully some of these things will help you in your own work.

1. Have a Task List for the Day
The best way to have an unproductive day is to work throughout the day without a clear definition of what you need to accomplish.
Simply having a to-do list will go a long way in keeping you on track. One of the problems with freelancing is that there is usually a million different things that you could be doing on any given day. While all of these things may be helpful to your business in some way, they’re not all equal in terms of importance and urgency. Without a task list you run the risk of working all day on things that seem like they are benefiting your business, but in the end you’re not focusing your efforts on the right tasks.

2. Prioritize Tasks
One of my biggest frustrations in my daily work is that it seems like I’m never able to do everything I want to do in a day. In this case, a task list is likely to have a few things left untouched at the end of the day.
Because of this, it’s important to not only create a task list, but also to prioritize the items that you’re looking to get done. Your tasks will differ from day-to-day, but it’s likely that you’ll have a few very important things that must get done, and then some others with varying levels of importance and urgency.
My personal approach with prioritizing is to simply to set the tasks that must get done, and then I also list a few stretch goals for the day. If and when I get all of the most important items done for a particular day, at that point I can move on to the stretch goals, which usually carry less urgency than my main tasks. This way I don’t finish my work early and have nothing to do, and I also don’t have too much on my plate that causes adverse effects when I can’t get everything done.

3. Place More Emphasis on Finishing Tasks Rather than Starting New Ones
Most freelancers have a few different projects going on at all times. On top of that, each project may have several different tasks that need to be done, and you may even have some of your own personal projects that require time.
With all of these things fighting for your attention at once, it’s tempting to dig in to new tasks before completing others. By doing this you’ll usually be costing yourself more time and effort later when it comes to finishing those tasks and projects.
In order for a freelancer to keep the income flowing, it’s critical that projects are getting finished. Being able to finish a project will help you to get paid sooner and allow you to move on to another project. From my experience, when I’m struggling with too much to do, it’s best if I can devote time to tasks and projects that are near completion. Being able to get things crossed off the list feels good and helps to reduce stress and create a more productive environment.
4. Know the Strongest Times of Your Work Day
Some people work best early in the mornings, others prefer afternoons or evenings. Everyone has times of the day that are stronger than others in terms of focus and productivity. I tend to get up early, but I’m not at my peak for the first few hours of the day.
I’ve found that rather than fighting this and trying to get more done at the start of my day, I’m better off to use that time for tasks that are less demanding mentally.
During the times when I struggle to concentrate I’ll clean out my email inbox, moderate and respond to comments on my blog, evaluate my overall process on current projects, or anything that requires time but not the highest amount of mental focus. With this approach I’m able to make productive use of my least productive times of the day, and that will save my best hours for more taxing activities like working on a client’s website or writing articles.
With the varied tasks of a freelancer, there are always plenty of things that need to get done that require different levels of intensity in terms of work and focus. If you can match your best times for work with the most intense tasks, and your least productive times with more routine tasks, you’ll get more out of your day.

5. Give Yourself Some Flexibility
I’ve already talked about the importance of having prioritized tasks and the use of different times of the day, but it’s also important to not get so rigid with this that you don’t leave yourself some room for flexibility. There will be some days that don’t go quite as planned and when you don’t feel like you do most other days. Allow yourself to have some flexibility to change things around according to the circumstances.
6. Have a Specified Ending Time for Work
One of the biggest challenges that I face throughout the week is knowing when to end my work day.
When you’re working for someone else it’s much easier to make a clear break, but as a freelancer there is always a temptation to keep working. With so many things to do and your income riding on getting things done, it seems like you will be more productive by working longer days. But from my experience I’ve found that I often feel like I get the most done when I have something going on that forces me to end the day at a specific time.
With a set ending time it’s easier to get moving quickly and to get more productivity out of each hour, since they are limited. Without a set ending time I often find myself working with a little bit less efficiency since I feel like I have plenty of time. On those days I wind up with less time away from work and I often don’t seem to get that much more accomplished, even with the extra hours of work.
7. Bulk Process
With so many different things to do, it’s likely that your day is broken up into many small blocks of time for specific tasks. In order to achieve more efficiency and productivity, try to use larger blocks of time and get similar things done all at once (depending on the nature of your work this may or may not be possible).
For example, if you can avoid working with your email open you may be able to spend less time each day on email by checking in 2 or 3 times throughout the day and emptying your inbox each time. Checking email many times throughout the day may lead to more time than necessary. An example from my process is writing blog posts. My preferred method of producing content for my blogs is to have specific days set aside where this is my only focus. I can finish one post and move right on to the next. I may have a list of ideas that I want to work on so I don’t waste time trying to decide before I start writing. With this approach I feel like I’m able to get more out of my time as opposed to writing a post here and there whenever I have time.
8. Track Your Time
You might be completely surprised to know exactly how you spend your time throughout a work week. Tracking your time can help you to find inefficiencies and ways to improve your producctivity.
Without knowing how your time is spent, it’s hard to know how you can improve the use of your time. I’m not suggesting that you need to track your time everyday, but if you do it for a few typical days you may be surprised at how easily you can identify some areas for improvement going forward. Mashable has a post from last year that looks at 6 online resources for tracking your time.

9. Recognize Your Distractions
One of the benefits of tracking your time is that it helps you to identify things or activities that may be distracting you in your work. Whether or not you are tracking your time at any giving point, one of the first steps to working productively is to recognize your distractions. Eliminating or controlling these distractions will lead to greater efficiency, but in order to do so you’ll first have to accurately recognize and understand specifically what challenges you have when it comes to working productively.

10. Have Realistic Expectations
Ambitious freelancers will often feel the pressure to get more done than is humanly possible with a given amount of time. This can obviously lead to increased stress and pressure, not to mention a lower quality of work. Realistic expectations will allow you to be able to accomplish the things you set out to do with a day of good work.

The biggest part of having realistic expectations is the amount of work that you assign yourself for the day. Taking on too many projects at once and trying to juggle too many different tasks will result in a cluttered work day with unimpressive results. Resist the urge to try to get too much done, and focus more on doing your best work with what is currently on your plate. If you struggle in this area you may be able to increase your productivity by outsourcing some of your tasks.

11. Plan Your Next Day at the End of Each
This is probably more of a personal preference, but I have found that if I take a few minutes at the end of my day to plan for the next day, I’m typically more aware of things and I can do a better job as opposed to waiting until the next morning to plan the day. If I wait till the next morning I find that it takes me a few minutes to remember exactly where I was on certain items at the end of the last day, and I may overlook something that I would have remembered had I taken care of this the day before.
At the end of each day I can look at my to-do list for the day and quickly see where I stand on the items that I wanted and needed to get done. At that point, planning for the next day is a quick process and I know exactly where I need to start, without running the risk of forgetting things. Now I’ll waste no time the next day trying to figure out what I need to do.
12. Get Enough Sleep the Night Before
During my time as a freelancer, particularly when I was freelancing part-time on top of a full-time job, I’ve averaged less sleep than at any other point in my life. However, sleep is an important part of a productive schedule. Each of us functions differently in this area, but personally I tend to notice it the most at the very beginning and end of the day. If I’m feeling well-rested I can be productive through these times. If not, I struggle to stay on task.
13. Eat Healthy
The food that you put into your body can have a big impact on your energy level and your feelings in general.
I’m not going to go into detail here because I’m not that knowledgeable on the topic, but generally eating healthy foods will allow for better productivity.
14. Get Fresh Air
One of the things I dislike about working from home is the amount of time that I spend inside the house. I often find that it helps just to take a few minutes for a walk or a drive to get some fresh air. Sometimes working in a different environment and getting out of the house for a while can really lead to a boost in productivity. This is something that you can accomplish with just a few minutes of your time, but it may have a noticeable impact for the next few hours.
15. Work in a Comfortable Environment
As a freelancer, you’ll probably be spending a lot of time in a home office. Making that office a comfortable space is important in terms of increasing your productivity. What you do with the office isn’t really important, but it should be an area that allows you to focus on your work comfortably for long periods of time. I recently wrote a post at DesignM.ag on the essential qualities of a home office that takes a more in-depth look at this subject.

الخميس، 4 يونيو 2009

طلع الإنسان اللي جواك

طلع الإنسان اللي جواك ...
بص له كويس ... إديله الفرصه إنه يخرج للعالم .. يخرج للنور ...


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

أحيانا بنصطدم بعقبات و حاجات تخللينا نتراجع و يضطر الإنسان الطموح القوي اللي أحلامه مالهاش حد .. يضطر الإنسان ده إنه يستخبي شويه للأسف ..
أحيانا برضه بنتحط في مواقف تجبرنا إن الإنسان الطيب المتسامح اللي بيقدر ظروف و مشاعر اللي حواليه .. تجبرنا إننا نخبيه شويه

عشان كده يمكن بقيت تمشي في الشارع تلاقي الناس مكشره و متحفزه كأنها رايحه تتخانق .. و مجرد ما يحصل مثلا اي مواقف بسيط فيه شوية ذوق أو أخلاق تلاقي الإنسان الحلو اللي جواهم ظهر تاني
الإنسان اللي إضطروا يخبوه تحت ضغط خناقات الحياه اليوميه و معارك المواصلات و رغيف العيش .. إلخ


و بعدين ؟؟
ساعات بحس إننا ظلمنا الإنسان الجميل ده أوي .. خبينا منه ملامحه الحلوه ... خبينا منه جماله و قوته و حبه للحياه

لأ ..
انا مش عايزه أظلم الإنسان الجميل اللي جوايا و جوه كل واحد فينا تاني أبدا ..
أنا مش عايزه ظروف الحياه و المواقف اللي ممكن أصادفها تاخد حاجه أو تخبي حاجه من الإنسان الجميل ده ..
مش عايزاها تاخد حاجه من طموحاته و أحلامه و ثقته في الله سبحانه و تعالي ...
مش عايزاها تخبي حاجه من طيبته و تفاؤله و حبه للناس كلها ..
ماتخلليش الصعوبات اللي ممكن تواجهها في طريق أحلامك تخطف الحلم الجميل اللي حلم بيه الإنسان اللي جواك
ماتخلليهاش تخبي أجمل ما فيك .. إنسانيتك و أخلاقك و الحاجات الكويسه اللي فيك ..

الثلاثاء، 26 مايو 2009

Feels sometimes





Feels sometimes that I'm too strong to face the whole world ..
to get all my dreams reality ..
Feels that I can do anything and everything ..
Feels that there are no limits in this world,
and nothing can prevent me from making this world the place where i ever dreamed ..

But, sometimes I don't know exactly what is going on,
I feel that I'm too weak to achieve all that, all my dreams ..
too weak to face the whole world,
to challenge almost every one I know in my life ..

Feels like a soldier , who stopped suddenly in the middle of his war,
suddenly stopped to give himself a minute to wonder about what is going on around him ..
suddenly stopped after a very strong fighting, to ask himself, can I ??
really, can I do what I want ?
can I get my dreams one day a reality ??
can I face all those people, all those hard circumstances surrounding me ??


When you experience a very emotional situation,
when your soul got touched by a very sensitive human feelings,
when this soldier who stopped suddenly to ask himself, can I,
when he suddenly finds someone says ''yes, the answer is yes ... you can'' ..
then,
you feel tears in your eyes,
you feel a strong desire to cry ..
you will find that the word "Al 7amd le Allah" is the only word you can feel inside ..

"Ya Rabb" is the best word to say then ..
"Ya Allah", I'm saying it ..
"Ya Allah", I'm praying with it .....
Ya Allah""

يــــــــــــــــــارب .. يا اللــــــــــه .. ياربي .. لا إله إلا أنت سبحانك إني كنت من الظالمين .. الحمد لله رب العالمين ..