Search In This Blog

Friday, November 20, 2009

How To Be Attractive To Women

If you're looking to get women, one of the hardest things to do is seduce them. Why would I say that? Well, because it is far easier to change yourself into the type of man that attracts women rather than going out and seducing them into thinking they're attracted to you.

Seduction has a place, that is for sure. But if you want to be successful, you must know how to be attractive to women. If you can manage this, your work is more than half done. All there is left is not messing anything up.

When you approach a woman, the last thing you should be thinking about is how to impress them. Women don't only want to be impressed by men. They want to be attracted to them first. If you fail to accomplish this, even if you get a chance to chat with them, you will fail. Attraction is a law that absolutely must be obeyed when it comes to relationships.

The easiest way to attract women is being confident and being charismatic. Yeah, yeah. I know. It must seem redundant, but like I say in my other articles, repetition is the key to mastery and the more you hear something, the more you're likely to use it.

So, how do women decide whether a man is confident or not? Over the years I have seen and have been guilty of doing things that poisoned any chance with a woman. I'm going to detail some of the "red-flags" that women look out for or are unconsciously avoiding when interacting with a man.

The first thing I would like to stress is the one thing women absolutely hate! This is, of course, is a man who's all over her and touches her way too much when they first begin socializing.

Hanging all over a woman is a mistake because it not only makes you look like a pervert, she will look at you as an insecure, needy man. The one thing you must ABSOLUTELY avoid.

A confident man doesn't show affection in the beginning stages of a relationship. He will stay cool and get to know a woman. After all, he projects the security that he can get any woman and will not rush into anything. He lets the woman do the touching and will read these touches like a true seduction master.

You want to make the women you meet crave your touch, not feel smothered by it. Sure, later on when you've made some good headway with a woman touching is very important. But early on, do everything you can to avoid it.

Another thing you should be aware of is how to use your passion. If you are a passionate guy, this may be difficult but crucial if you don't want to repulse a woman. When used effectively, passion could be what attracts a woman to you. This was the case with myself and how I attracted my girlfriend.

Stay passionate, but only with the things you love. Never go off on the things that bother you or anger you. Fueling these negative feelings with you will make you seem bitter and a woman will see you as a complainer.

Don't speak negatively about women, especially women from your past. I have read this advice over and over only to overhear a guy talking about how evil his ex was. Do you think women want a guy who, if it doesn't work out with him, will go off to others about how ridiculous she was? NO!

This goes for a lot more in life than just women, too. Speaking poorly about a past employer will give the impression that you are difficult to please and hard to get a long with. Women know this and is something they do not want to deal with.

Something else I've seen and cannot understand since I've never been the type, is to be a people pleaser. Trying to please everyone and accommodating everyone's needs shows that you are insecure and are looking for validation. A confident man knows he's cool and lets others find it out on their own. He doesn't market himself like a pitch page on the Internet.

When it comes to women, you don't want to be a puppy dog. A confident man has way too much pride than to obey everything that is asked of him. He will do only the things that he believes he should do and has the time for. You have to project the idea that you will never be used and are way too busy for meaningless demands.

On the other side of the coin, you don't want to be a prick. There are exceptions to every rule, so doing good things for people is not only okay, it's recommended. If you give the impression that you are selfish and inconsiderate, no woman will want to be with you.

Also, you don't want to be an attention whore. Saying and doing things that are obviously meant to receive attention is very unattractive. I know that people compare marketing yourself to women with talking about your strengths to a prospective employer, but nothing could be further from the truth. Instead of talking about your accomplishments and talents to a woman, you will have to learn how to show her.

I know that you must have heard somewhere that in order to be attractive to a woman you must be cocky and funny. Though not necessary, it will help you with a lot more than making a girl laugh. Unfortunately for a lot of men, they accomplish being either or and come across as either a clown or a cocky bastard.

When you are socializing with women, don't be outspoken. Excessive arguing is a turn off and makes you look as though you're close minded. If you don't agree with what a woman is saying, challenge her - don't tell her she's wrong. No woman (or man for that matter) wants to be told or made to feel as though their opinions are invalid or stupid.

If you ever do find yourself in a conversation with a woman who is trying to argue, don't return argument. Challenging her with something cocky and funny or find a way to change the subject immediately. There will be plenty of time to take part in debates later if you do find yourself in a relationship with her.

You know that saying "you can talk the talk, but can you walk the walk?" It's one you should really live by. Start showing people, especially women, what you can do and not talk about it. Actions, as most of you are already aware, are far more effective than words.

Confidence can projected way before even meeting a woman. If you are at a bar, for example, be the leader of your group and not one of the followers. Make the decisions and show all the women that are around that you are not needy. Women like a man who takes charge and find it annoying, stressful, and very unattractive when they are the ones deciding everything. Don't be that type of man.

Attraction is a lot deeper than just looking good. You have to know what women want, and what they don't want. There is a fine line between the two, and learning how to balance will work wonders for you. You want to show women that you are confident and not an ego maniac. Finding this middle ground will not only make you more attractive to women you are interested in, it will also help with your interactions with everyone else.

Being attractive through confidence and security is not only a seduction technique, it is also very valuable in life in general. Take this advice on how attract women and you will surely see a big increase in your chances with them.

Wednesday, November 11, 2009

ألب أرسلان - محطم الإمبراطورية البيزنطية


القوة الجديدة وسنة الاستبدال


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


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


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


واستمر 'طغرلبك' في جهاده ونصرته للخلافة العباسية والمسلمين حتى توفاه الله عز وجل سنة 455 هجرية وتولى السلطنة بعده بطلنا الجسور ألب أرسلان .


الأسد الباسل


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


الخلافات الطارئة


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


بعد ذلك انشغل ألب أرسلان في القضاء على بعض الثورات الداخلية التي قام بها بعض حكام الأقاليم فلقد ثار حاكم إقليم 'كرمان' و غيره ،وعانى أيضاً ألب أرسلان من غارات القبائل التركمانية التي لا تنضوي تحت راية أحد وتعيش على السلب والنهب.


استراتيجية القيادة الناجحة


لقد ورث السلطان ألب أرسلان إمبراطورية عظيمة واسعة الأرجاء تمتد من سهول التركستان إلى ضفاف دجلة، بها الكثير من المدن الكبار والأقاليم الواسعة والشعوب المتباينة، لذلك فلقد كانت مسألة قيادة هذه الإمبراطورية في غاية الصعوبة وتحتاج لاستراتيجية حكيمة وقيادة قديرة، وهذا ما اتبعه الأسد الباسل 'ألب أرسلان' وذلك بإتباع الخطوات الآتية : ـ


أولاً :ـ استخدام الرجال الأكفاء


وكان ذلك حجر الزاوية في نجاح استراتيجية القيادة عند ألب أرسلان، فلقد استخدم ألب أرسلان في منصب الوزارة وهو أهم منصب في الدولة رجلاً قديراً كان سبب سعادة الدولة السلجوقية وهو الوزير العظيم 'نظام الملك' الذي جمع بين العلم والورع والحنكة السياسية والمقدرة القيادية وحب العلماء والصالحين والزهاد، ولقد استمر نظام الملك وزيراً طوال حكم ألب أرسلان وولده 'ملك شاه' من بعده أي استمر من سنة 455 هجرية ـ 485 هجرية، وهذا يؤكد على مدى أهمية البطانة الصالحة والرجال الأكفاء في المناصب الحساسة، فكم من وزيراً وقائد أضاع أمته أما بجهالة أو عمالة أو طمع في الدنيا، وكم عانت الأمة الإسلامية من رجال وسُد إليهم الأمر وهم من غير أهله، فضاعوا وأضاعوا وضلوا وأضلوا .


ثانياً :ـ تأليف الخصوم


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


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


ثالثاً:ـ إتباع أسباب البقاء


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


بين المطرقة والسندان


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


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


ضربة الأسد


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


العودة إلى الهدف الأول


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


الصحوة


في هذه الفترة الذهبية للدولة الإسلامية والتي كان فيها الأسد الباسل ناشراً رايات الجهاد على عدة جبهات، كانت الدولة البيزنطية تضطرم بروح انتقامية عارمة وتبحث عن القيادة القادرة على رد عادية السلاجقة والقبائل التركمانية التي أنهكت القوى الدفاعية للإمبراطورية العجوز ولقد وجدت الدولة البيزنطية ضالتها في القائد العسكري الشاب 'رومانوس ديوجين' الذي لمع نجمه بعد عدة انتصارات حققها في القتال ضد البوشناق في بلغاريا فانعقدت عليه الآمال وحطت عنده الرحال خاصة بعد ثلاثة انتصارات متتالية على بعض أمراء المسلمين في الفترة ما بين سنة 461 هجرية ـ 463 هجرية، فتربع إمبراطوراً على بيزنطة وتلقب برومانوس الرابع وأخذ في التحضير لعمل عسكري ضخم ضد المسلمين ينهي بها وجودهم في منطقة آسيا الصغرى والجزيرة وشمال الشام، وبالفعل بعد عدة شهور من توليه العرش البيزنطي بدأ العمل في سد المنافذ التي استخدمها السلاجقة في التدفق على أراضى الإمبراطورية، كما سعى إلى احتلال بعض المواقع الإستراتيجية في بلاد الشام والجزيرة الفراتية، وشن ثلاث حملات ضد إمارة حلب في الشام ثم الجزيرة فاستولى خلالها على مدينة 'منبج' ثم قام في الثالثة بالهجوم على أرمينية الإسلامية، فاستولى على كثير من الحصون وشحنها بالمقاتلين واستعد لمعركة حاسمة لم يكن يدرى أنها بالفعل ستكون حاسمة وللأبد ولكن عليه لا له.


معركة ملازكرد


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


وصلت الأنباء للسلطان ألب أرسلان وهو في مدينة 'خوى' من أعمال أذربيجان فقرر رغم قلة جيشه الزحف باتجاه الجيش العملاق لوقف تقدمه بأرض الإسلام، في حين واصل رومانوس زحفه حتى وصل إلى مدينة ملازكرد [وتنطق أيضا منازجرد ومنازكرد ] وهي بلدة حصينة تقع على فرع نهر 'مرادسو' بقلب الأناضول وهذه المدينة مازالت موجودة حتى الآن بتركيا .


انطلق الأسد الباسل بمنتهي السرعة مستغلاً خفة حركته لقلة جيشه وذلك لنجدة المدينة المحاصرة وجاءت أول بشارات النصر عندما التقت قوات الاستطلاع المسلمة بطلائع الروم وكانوا من القبائل الروسية فانتصر المسلمون ووقع قائد الروم الروسي 'بازيلكوس' في الأسر .


ورغم هذا الانتصار المشجع إلا إن ألب أرسلان الذي كان يقدر مدى الفارق الكبير بين الجيشين أرسل إلى رومانوس يطلب الهدنة ولكن هذا الطلب جعل رومانوس يغتر بكثرته وتفوقه في العدد والعدة ورد على طلب السلطان بالهدنة بأن قال بلا هدنة إلا في الري] والري هي عاصمة الدولة السلجوقية ولم يعلم رومانوس أنه بذلك قد كتب نهايته ونهاية دولته البائسة .


الأسد بطل ملازكرد


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


كان ألب أرسلان مؤمناً صادقاً غيوراً يعلم أن الله عز وجل سوف ينصره لأنه على الحق وعدوه على الباطل،وكان من عادة هذا السلطان الصالح أن يصطحب معه في غزواته وحملاته الجهادية العديد من العلماء والفقهاء والزهاد كقيادة روحية ومرجعية دينية، وكان معه في هذه المرة الفقيه الكبير [أبو نصر محمد بن عبد الملك البخاري] الذي قال لألب أرسلان هذه العبارة الرائعة [إنك تقاتل عن دين وعد الله بنصره وإظهاره على سائر الأديان، وأرجو أن يكون الله تعالى قد كتب باسمك هذا الفتح فالقهم يوم الجمعة بعد الزوال في الساعة التي يكون الخطباء فيها على المنابر فإنهم يدعون للمجاهدين بالنصر] .


وبالفعل استجاب الأسد الباسل لهذه النصيحة الغالية التي تشرح بأوجز العبارات أسباب الانتصار المادية والمعنوية،فالمجاهدين يحتاجون تماماً للدعاء مثلما يحتاجون إلى السيف والرمح، وفي يوم الجمعة 7 ذي القعدة 463 هجرية ـ 26 أغسطس 1071 ميلادية قام ألب أرسلان وصلى بالناس وبكى خشوعاً وتأثراً ودعا الله عز وجل طويلاً ومرغ وجهه في التراب تذللاً بين يدي الله واستغاث به، ثم لبس كفنه وتحنط وعقد ذنب فرسه بيديه ثم قال للجنود {من أراد منكم أن يرجع فليرجع فإنه لا سلطان هاهنا إلا الله} ثم امتطى جواده ونادى بأعلى صوته في أرض المعركة {إن هزمت فإنى لا أرجع أبداً فإن ساحة الحرب تغدو قبري} وبهذا المشهد الذي ينفطر له أقسى القلوب وتخشع أمامه أشقى النفوس استطاع 'ألب أرسلان' أن يحول 15 ألف جندي إلى 15 ألف أسد كاسر ضاري .


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


بين الأسد وفريسته


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


فبعد أن أناب ألب أرسلان رومانوس على جرائمه وضربه بيده ثلاث مقارع ووضع قدمه على هامة 'رومانوس' تحقيراً وإذلالاً له وجعله يقبل الأرض باتجاه بغداد حيث الخليفة العباسي لإظهار عز الإسلام وأهله ، قام بالعفو عن رومانوس نظير دفع فدية كبيرة وفك أسر كل الأسرى المسلمين في سائر بلاد الروم وإلزامه بالقسم بأغلظ الأيمان على عدم العودة مرة أخرى لقتال المسلمين .


الآثار الخطيرة لملازكرد


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


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


مصرع الأسد

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


وذلك عندما قام أحد الخارجين عليه واسمه 'يوسف الخوارزمي' بطعنه بالسكين والسلطان يعاتبه على جرائم ارتكبها هذا المجرم الخارجي، لتنتهي هكذا في لحظة حياة هذا الأسد بطعنة غادر مجرم، ليهلل لموته كل أعداء الإسلام شرقاً وغرباً وتلتقط الدولة الفاطمية أنفاسها ويهدأ روعها بعدما أوشكت على السقوط والتهاوي تحت ضربات الأسد ولقد قتل الأسد ألب أرسلان في 10 ربيع الأول سنة 465 هجرية، وبمصرعه ظهرت الأطماع والشرور ورفع أعداء الإسلام رؤوسهم، وكما قال الحكيم [إنما ضغت الثعالب عندما غاب الاسد)


الموضوع منقول من مفكرة الاسلام


من موقع مفكرة الإسلام.

Tuesday, November 10, 2009

INF: Shrinking the Transaction Log in SQL Server 2000 with DBCC SHRINKFILE

Shrinking the log in SQL Server 2000 is no longer a deferred operation. A shrink operation attempts to shrink the file immediately. However, in some circumstances it may be necessary to perform additional actions before the log file is shrunk to the desired size.

MORE INFORMATION




When DBCC SHRINKFILE is run, SQL Server 2000 shrinks the log file by removing a...



When DBCC SHRINKFILE is run, SQL Server 2000 shrinks the log file by removing as many virtual log files as it can to attempt to reach the target size. If the target file size is not reached, SQL Server places dummy log entries in the last virtual log file until the virtual log is filled and moves the head of the log to the beginning of the file. The following actions are then required to complete the shrinking of the transaction log:
  1. You must run a BACKUP LOG statement to free up space by removing the inactive portion of the log.
  2. You must run DBCC SHRINKFILE again with the desired target size until the log file shrinks to the target size.
The following example demonstrates this with the pubs database and attempts to shrink the pubs_log file to 2 MB:
  1. Run this code:




    DBCC SHRINKFILE(pubs_log, 2)
          
    NOTE: If the target size is not reached, proceed to the next step.




  2. Run this code if you want to truncate the transaction log and not keep a backup of the transaction log. Truncate_only invalidates your transaction log backup sequence. Take a full backup of your database after you perform backup log with truncate_only:




    BACKUP LOG pubs WITH TRUNCATE_ONLY
    -or-
    Run this code if you want to keep a backup of your transaction log and keep your transaction log backup sequence intact. See SQL Server Books Online topic "BACKUP" for more information:



    BACKUP LOG pubs TO pubslogbackup



  3. Run this code:



    DBCC SHRINKFILE(pubs_log,2)
         
    The transaction log has now been shrunk to the target size.


REFERENCES

For more information, see the Shrinking the Transaction Log and DBCC SHRINKFILE topics in SQL Server 2000 Books Online.

For additional information about shrinking the transaction log in SQL Server 7.0, click the article number below to view the article in the Microsoft Knowledge Base:
256650  (http://support.microsoft.com/kb/256650/EN-US/ ) INF: How to Shrink the SQL Server Transaction Log

Monday, November 09, 2009

INFO: Required Network Rights for the SourceSafe Directories


Improperly setting network rights for the SourceSafe directories may cause errors with the system.
The following tables list the SourceSafe directories and the rights that need to be set for network access. Full access includes read, write, and destroy privileges.

For SourceSafe 3.x


SourceSafe for         Rights Required
   Windows NT             for
   Directory              Network Access
   ---------------        ----------------

   \SS\WINNT              Read

   SourceSafe for         Rights Required
   MS-DOS or Windows      for
   Directory              Network Access
   -----------------      --------------------------------------------

   \SS                    Read
   \SS\DATA               Full access or read-only for read-only users
   \SS\ADMIN              None - But SourceSafe admins should have
                          full access

   \SS\TEMP               Full access
   \SS\USERS\   Full access
   \SS\WINNT              None
   \SS\MACROS             Read
 

SourceSafe 4.0 Server Installation

SourceSafe for         Rights Required
   32-bit Windows         for
   Directory              Network Access
   -----------------      --------------------------------------

   \VSS\WIN32             None-But SourceSafe admins should have
                          full access

   SourceSafe for         Rights Required
   16-bit Windows         for
   Directory              Network Access
   -----------------      --------------------------------------

   \VSS\WIN               None-But SourceSafe admins should have
                          full access

   \VSS\DOS               None-But SourceSafe admins should have
                          full access

   SourceSafe for         Rights Required
   MS-DOS or Windows      for
   Directory              Network Access
   ------------------     --------------------------------------------

   \VSS                   Read
   \VSS\DATA              Full access or read-only for read-only users
   \VSS\TEMP              Full access
   \VSS\USERS\  Full access
   \VSS\NETSETUP.X86      Read
   \VSS\MACROS            Read

SourceSafe 5.0 Server Installation

SourceSafe for         Rights Required
   32-bit Windows         for
   Directory              Network Access
   -----------------      --------------------------------------

   \VSS\WIN32             None-But SourceSafe admins should have
                          full access

   SourceSafe for         Rights Required
   MS-DOS or Windows      for
   Directory              Network Access
   -----------------      --------------------------------------------

   \VSS                   Read
   \VSS\DATA              Full access or read-only for read-only users
   \VSS\DATA\LOGGEDIN     Full access
   \VSS\TEMP              Full access
   \VSS\USERS\  Full access
   \VSS\NETSETUP          Read

SourceSafe 6.0 Server Installation

SourceSafe for         Rights Required
   32-bit Windows         for
   Directory              Network Access
   -----------------      --------------------------------------

   \VSS\WIN32             None-But SourceSafe admins should have
                          full access

   SourceSafe for         Rights Required
   MS-DOS or Windows      for
   Directory              Network Access
   -----------------      --------------------------------------------

   \VSS                   Read
   \VSS\DATA              Full access or read-only for read-only users
   \VSS\DATA\LOGGEDIN     Full access
   \VSS\DATA\LABELS       Full access
   \VSS\TEMP              Full access
   \VSS\USERS\  Full access
   \VSS\NETSETUP          Read
NOTE: The immediately preceding set of permissions does not allow the user to run NetSetup. If you want to allow a given user to run NetSetup (for SourceSafe installation), make sure that you grant Execute permissions to that user in the \VSS directory.
Although not recommended for performance reasons, if your SourceSafe Clients intend to run the SourceSafe executables directly from the Network (that is, they are not going to create a client installation on their local drives), then modify the table above with the following changes:
SourceSafe for         Rights Required
   32-bit Windows         for
   Directory              Network Access

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

   \VSS\WIN32             Read-But SourceSafe admins should have
                          full access

   SourceSafe for         Rights Required
   16-bit Windows         for
   Directory              Network Access
   ----------------       --------------------------------------

   \VSS\WIN               Read-But SourceSafe admins should have
                          full access

   \VSS\DOS               Read-But SourceSafe admins should have
                          full access
NOTE: In this scenario, all users will have access to the maintenance utilities (ANALYZE, DDCONV etc.) located in these directories. These may be moved to an alternate location if desired.

Sunday, November 08, 2009

Optimistic Concurrency


In a multiuser environment, there are two models for updating data in a database: optimistic concurrency, and pessimistic concurrency. The DataSet object is designed to encourage the use of optimistic concurrency for long-running activities such as when you are remoting data and when users are interacting with data.
Pessimistic concurrency involves locking rows at the data source to prevent users from modifying data in a way that affects other users. In a pessimistic model, when a user performs an action that causes a lock to be applied, other users cannot perform actions that would conflict with the lock until the lock owner releases it. This model is primarily used in environments where there is heavy contention for data, where the cost of protecting data with locks is less than the cost of rolling back transactions if concurrency conflicts occur.
Therefore, in a pessimistic currency model, a user who reads a row with the intention of changing it establishes a lock. Until the user has finished the update and released the lock, no one else can change that row. For this reason, pessimistic concurrency is best implemented when lock times will be short, as in programmatic processing of records. Pessimistic concurrency is not a scalable option when users are interacting with data, causing records to be locked for relatively large periods of time.
By contrast, users who use optimistic concurrency do not lock a row when reading it. When a user wants to update a row, the application must determine whether another user has changed the row since it was read. Optimistic concurrency is generally used in environments with a low contention for data. This improves performance as no locking of records is required, and locking of records requires additional server resources. Also, in order to maintain record locks, a persistent connection to the database server is required. Because this is not the case in an optimistic concurrency model, connections to the server are free to serve a larger number of clients in less time.
In an optimistic concurrency model, a violation is considered to have occurred if, after a user receives a value from the database, another user modifies the value before the first user has attempted to modify it.
The following tables follow an example of optimistic concurrency.
At 1:00 p.m., User1 reads a row from the database with the following values:

CustID     LastName     FirstName
101          Smith             Bob
Column name Original value Current value Value in database
CustID 101 101 101
LastName Smith Smith Smith
FirstName Bob Bob Bob

At 1:01 p.m., User2 reads the same row.
At 1:03 p.m., User2 changes FirstName from "Bob" to "Robert" and updates the database.

Column name Original value Current value Value in database
CustID 101 101 101
LastName Smith Smith Smith
FirstName Bob Robert Bob

The update succeeds because the values in the database at the time of update match the original values that User2 has.
At 1:05 p.m., User1 changes Bob's first name to "James" and tries to update the row.

Column name Original value Current value Value in database
CustID 101 101 101
LastName Smith Smith Smith
FirstName Bob James Robert

At this point, User1 encounters an optimistic concurrency violation because the values in the database no longer match the original values that User1 was expecting. The decision now needs to be made whether to overwrite the changes supplied by User2 with the changes supplied by User1, or to cancel the changes by User1.

Testing for Optimistic Concurrency Violations

There are several techniques for testing for an optimistic concurrency violation. One involves including a timestamp column in the table. Databases commonly provide timestamp functionality that can be used to identify the date and time when the record was last updated. Using this technique, a timestamp column is included in the table definition. Whenever the record is updated, the timestamp is updated to reflect the current date and time. In a test for optimistic concurrency violations, the timestamp column is returned with any query of the contents of the table. When an update is attempted, the timestamp value in the database is compared to the original timestamp value contained in the modified row. If they match, the update is performed and the timestamp column is updated with the current time to reflect the update. If they do not match, an optimistic concurrency violation has occurred.
Another technique for testing for an optimistic concurrency violation is to verify that all the original column values in a row still match those found in the database. For example, consider the following query:
SELECT Col1, Col2, Col3 FROM Table1

To test for an optimistic concurrency violation when updating a row in Table1, you would issue the following UPDATE statement:
UPDATE Table1 Set Col1 = @NewCol1Value,
              Set Col2 = @NewCol2Value,
              Set Col3 = @NewCol3Value
WHERE Col1 = @OldCol1Value AND
      Col2 = @OldCol2Value AND
      Col3 = @OldCol3Value

As long as the original values match the values in the database, the update is performed. If a value has been modified, the update will not modify the row because the WHERE clause will not find a match.
Note that it is recommended to always return a unique primary key value in your query. Otherwise, the preceding UPDATE statement may update more than one row, which might not be your intent.
If a column at your data source allows nulls, you may need to extend your WHERE clause to check for a matching null reference in your local table and at the data source. For example, the following UPDATE statement verifies that a null reference in the local row still matches a null reference at the data source, or that the value in the local row still matches the value at the data source.
UPDATE Table1 Set Col1 = @NewVal1
  WHERE (@OldVal1 IS NULL AND Col1 IS NULL) OR Col1 = @OldVal1

You may also choose to apply less restrictive criteria when using an optimistic concurrency model. For example, using only the primary key columns in the WHERE clause results in the data being overwritten regardless of whether the other columns have been updated since the last query. You can also apply a WHERE clause only to specific columns, resulting in data being overwritten unless particular fields have been updated since they were last queried.

The DataAdapter.RowUpdated Event

The DataAdapter.RowUpdated event can be used in conjunction with the techniques described earlier, to provide notification to your application of optimistic concurrency violations. RowUpdated occurs after each attempt to update a Modified row from a DataSet. This enables you to add special handling code, including processing when an exception occurs, adding custom error information, adding retry logic, and so on. The RowUpdatedEventArgs object returns a RecordsAffected property with the number of rows affected by a particular update command for a modified row in a table. By setting the update command to test for optimistic concurrency, the RecordsAffected property will, as a result, return a value of 0 when an optimistic concurrency violation has occurred, because no records were updated. If this is the case, an exception is thrown. The RowUpdated event enables you to handle this occurrence and avoid the exception by setting an appropriate RowUpdatedEventArgs.Status value, such as UpdateStatus.SkipCurrentRow. For more information about the RowUpdated event, see Working with DataAdapter EventsWorking with DataAdapter Events.
Optionally, you can set DataAdapter.ContinueUpdateOnError to true, before calling Update, and respond to the error information stored in the RowError property of a particular row when the Update is completed. For more information, see Adding and Reading Row Error Information.

Optimistic Concurrency Example

The following is a simple example that sets the UpdateCommand of a DataAdapter to test for optimistic concurrency, and then uses the RowUpdated event to test for optimistic concurrency violations. When an optimistic concurrency violation is encountered, the application sets the RowError of the row that the update was issued for to reflect an optimistic concurrency violation.
Note that the parameter values passed to the WHERE clause of the UPDATE command are mapped to the Original values of their respective columns.
[Visual Basic]
Dim nwindConn As SqlConnection = New SqlConnection("Data Source=localhost;Integrated Security=SSPI;Initial Catalog=northwind")

  Dim custDA As SqlDataAdapter = New SqlDataAdapter("SELECT CustomerID, CompanyName FROM Customers ORDER BY CustomerID", nwindConn)

  ' The Update command checks for optimistic concurrency violations in the WHERE clause.
  custDA.UpdateCommand = New SqlCommand("UPDATE Customers (CustomerID, CompanyName) VALUES(@CustomerID, @CompanyName) " & _
                                        "WHERE CustomerID = @oldCustomerID AND CompanyName = @oldCompanyName", nwindConn)
  custDA.UpdateCommand.Parameters.Add("@CustomerID", SqlDbType.NChar, 5, "CustomerID")
  custDA.UpdateCommand.Parameters.Add("@CompanyName", SqlDbType.NVarChar, 30, "CompanyName")

  ' Pass the original values to the WHERE clause parameters.
  Dim myParm As SqlParameter
  myParm = custDA.UpdateCommand.Parameters.Add("@oldCustomerID", SqlDbType.NChar, 5, "CustomerID")
  myParm.SourceVersion = DataRowVersion.Original
  myParm = custDA.UpdateCommand.Parameters.Add("@oldCompanyName", SqlDbType.NVarChar, 30, "CompanyName")
  myParm.SourceVersion = DataRowVersion.Original

  ' Add the RowUpdated event handler.
  AddHandler custDA.RowUpdated, New SqlRowUpdatedEventHandler(AddressOf OnRowUpdated)

  Dim custDS As DataSet = New DataSet()
  custDA.Fill(custDS, "Customers")

  ' Modify the DataSet contents.

  custDA.Update(custDS, "Customers")

  Dim myRow As DataRow

  For Each myRow In custDS.Tables("Customers").Rows
    If myRow.HasErrors Then Console.WriteLine(myRow(0) & vbCrLf & myRow.RowError)
  Next


Private Shared Sub OnRowUpdated(sender As object, args As SqlRowUpdatedEventArgs)
  If args.RecordsAffected = 0
    args.Row.RowError = "Optimistic Concurrency Violation Encountered"
    args.Status = UpdateStatus.SkipCurrentRow
  End If
End Sub
[C#]
  SqlConnection nwindConn = new SqlConnection("Data Source=localhost;Integrated Security=SSPI;Initial Catalog=northwind");

  SqlDataAdapter custDA = new SqlDataAdapter("SELECT CustomerID, CompanyName FROM Customers ORDER BY CustomerID", nwindConn);

  // The Update command checks for optimistic concurrency violations in the WHERE clause.
  custDA.UpdateCommand = new SqlCommand("UPDATE Customers (CustomerID, CompanyName) VALUES(@CustomerID, @CompanyName) " +
                                        "WHERE CustomerID = @oldCustomerID AND CompanyName = @oldCompanyName", nwindConn);
  custDA.UpdateCommand.Parameters.Add("@CustomerID", SqlDbType.NChar, 5, "CustomerID");
  custDA.UpdateCommand.Parameters.Add("@CompanyName", SqlDbType.NVarChar, 30, "CompanyName");

  // Pass the original values to the WHERE clause parameters.
  SqlParameter myParm;
  myParm = custDA.UpdateCommand.Parameters.Add("@oldCustomerID", SqlDbType.NChar, 5, "CustomerID");
  myParm.SourceVersion = DataRowVersion.Original;
  myParm = custDA.UpdateCommand.Parameters.Add("@oldCompanyName", SqlDbType.NVarChar, 30, "CompanyName");
  myParm.SourceVersion = DataRowVersion.Original;

  // Add the RowUpdated event handler.
  custDA.RowUpdated += new SqlRowUpdatedEventHandler(OnRowUpdated);

  DataSet custDS = new DataSet();
  custDA.Fill(custDS, "Customers");

  // Modify the DataSet contents.

  custDA.Update(custDS, "Customers");

  foreach (DataRow myRow in custDS.Tables["Customers"].Rows)
  {
    if (myRow.HasErrors)
      Console.WriteLine(myRow[0] + "\n" + myRow.RowError);
  }


protected static void OnRowUpdated(object sender, SqlRowUpdatedEventArgs args)
{
  if (args.RecordsAffected == 0) 
  {
    args.Row.RowError = "Optimistic Concurrency Violation Encountered";
    args.Status = UpdateStatus.SkipCurrentRow;
  }
}

Saturday, November 07, 2009

How to configure SQL Server 2005 to allow remote connections


When you try to connect to an instance of Microsoft SQL Server 2005 from a remote computer, you may receive an error message. This problem may occur when you use any program to connect to SQL Server. For example, you receive the following error message when you use the SQLCMD utility to connect to SQL Server:
Sqlcmd: Error: Microsoft SQL Native Client: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
This problem may occur when SQL Server 2005 is not configured to accept remote connections. By default, SQL Server 2005 Express Edition and SQL Server 2005 Developer Edition do not allow remote connections. To configure SQL Server 2005 to allow remote connections, complete all the following steps:
  • Enable remote connections on the instance of SQL Server that you want to connect to from a remote computer.
  • Turn on the SQL Server Browser service.
  • Configure the firewall to allow network traffic that is related to SQL Server and to the SQL Server Browser service.
This article describes how to complete each of these steps. 

To enable remote connections on the instance of SQL Server 2005 and to turn on the SQL Server Browser service, use the SQL Server 2005 Surface Area Configuration tool. The Surface Area Configuration tool is installed when you install SQL Server 2005.

Enable remote connections for SQL Server 2005 Express or SQL Server 2005 Developer Edition

You must enable remote connections for each instance of SQL Server 2005 that you want to connect to from a remote computer. To do this, follow these steps:
  1. Click Start, point to Programs, point to Microsoft SQL Server 2005, point to Configuration Tools, and then click SQL Server Surface Area Configuration.
  2. On the SQL Server 2005 Surface Area Configuration page, click Surface Area Configuration for Services and Connections.
  3. On the Surface Area Configuration for Services and Connections page, expand Database Engine, click Remote Connections, click Local and remote connections, click the appropriate protocol to enable for your environment, and then click Apply.

    Note Click OK when you receive the following message:
    Changes to Connection Settings will not take effect until you restart the Database Engine service.
  4. On the Surface Area Configuration for Services and Connections page, expand Database Engine, click Service, click Stop, wait until the MSSQLSERVER service stops, and then click Start to restart the MSSQLSERVER service.

Enable the SQL Server Browser service

If you are running SQL Server 2005 by using an instance name and you are not using a specific TCP/IP port number in your connection string, you must enable the SQL Server Browser service to allow for remote connections. For example, SQL Server 2005 Express is installed with a default instance name of Computer Name\SQLEXPRESS. You are only required to enable the SQL Server Browser service one time, regardless of how many instances of SQL Server 2005 you are running. To enable the SQL Server Browser service, follow these steps.

Important These steps may increase your security risk. These steps may also make your computer or your network more vulnerable to attack by malicious users or by malicious software such as viruses. We recommend the process that this article describes to enable programs to operate as they are designed to, or to implement specific program capabilities. Before you make these changes, we recommend that you evaluate the risks that are associated with implementing this process in your particular environment. If you choose to implement this process, take any appropriate additional steps to help protect your system. We recommend that you use this process only if you really require this process.

  1. Click Start, point to Programs, point to Microsoft SQL Server 2005, point to Configuration Tools, and then click SQL Server Surface Area Configuration.
  2. On the SQL Server 2005 Surface Area Configuration page, click Surface Area Configuration for Services and Connections.
  3. On the Surface Area Configuration for Services and Connections page, click SQL Server Browser, click Automatic for Startup type, and then click Apply.

    Note When you click the Automatic option, the SQL Server Browser service starts automatically every time that you start Microsoft Windows.
  4. Click Start, and then click OK.
Note When you run the SQL Server Browser service on a computer, the computer displays the instance names and the connection information for each instance of SQL Server that is running on the computer. This risk can be reduced by not enabling the SQL Server Browser service and by connecting to the instance of SQL Server directly through an assigned TCP port. Connecting directly to an instance of SQL Server through a TCP port is beyond the scope of this article. For more information about the SQL Server Browser server and connecting to an instance of SQL Server, see the following topics in SQL Server Books Online:
  • SQL Server Browser Service
  • Connecting to the SQL Server Database Engine
  • Client Network Configuration

Create exceptions in Windows Firewall

These steps apply to the version of Windows Firewall that is included in Windows XP Service Pack 2 (SP2) and in Windows Server 2003. If you are using a different firewall system, see your firewall documentation for more information.

If you are running a firewall on the computer that is running SQL Server 2005, external connections to SQL Server 2005 will be blocked unless SQL Server 2005 and the SQL Server Browser service can communicate through the firewall. You must create an exception for each instance of SQL Server 2005 that you want to accept remote connections and an exception for the SQL Server Browser service.

SQL Server 2005 uses an instance ID as part of the path when you install its program files. To create an exception for each instance of SQL Server, you must identify the correct instance ID. To obtain an instance ID, follow these steps:

  1. Click Start, point to Programs, point to Microsoft SQL Server 2005, point to Configuration Tools, and then click SQL Server Configuration Manager.
  2. In SQL Server Configuration Manager, click the SQL Server Browser service in the right pane, right-click the instance name in the main window, and then click Properties.
  3. On the SQL Server Browser Properties page, click the Advanced tab, locate the instance ID in the property list, and then click OK.
To open Windows Firewall, click Start, click Run, type firewall.cpl, and then click OK.

Create an exception for SQL Server 2005 in Windows Firewall

To create an exception for SQL Server 2005 in Windows Firewall, follow these steps:
  1. In Windows Firewall, click the Exceptions tab, and then click Add Program.
  2. In the Add a Program window, click Browse.
  3. Click the C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\sqlservr.exe executable program, click Open, and then click OK.

    Note The path may be different depending on where SQL Server 2005 is installed. MSSQL.1 is a placeholder for the instance ID that you obtained in step 3 of the previous procedure.
  4. Repeat steps 1 through 3 for each instance of SQL Server 2005 that needs an exception.

Create an exception for the SQL Server Browser service in Windows Firewall

To create an exception for the SQL Server Browser service in Windows Firewall, follow these steps:
  1. In Windows Firewall, click the Exceptions tab, and then click Add Program.
  2. In the Add a Program window, click Browse.
  3. Click the C:\Program Files\Microsoft SQL Server\90\Shared\sqlbrowser.exe executable program, click Open, and then click OK.

    Note The path may be different depending on where SQL Server 2005 is installed.

Friday, November 06, 2009

How to be Successful

Is it not what we all are dreaming of? Being a Success! We want to be successful in school, in our jobs, in our relationships. In fact, we dream about being successful in everything. But what a challenge this is!

Most of the people believe that they just can't achieve great success because they don't have what it takes, or because they're not educated enough! They complain that luck is never on their side or that they weren't born to be successful, or even that they are too poor to ever even think about being something else!

You know what? You don't need luck or any diploma to accomplish the success you deserve.

You just need faith. Faith that you will indeed be successful, faith that you have all that it takes to make it to the top! You have to BELIEVE that YOU ARE the most successful person you ever met.

If you don't believe in yourself, who on earth do you think will?

The most successful persons in the world (businessmen (women), signers, physicians, etc.) all have that point in common: They all believed firmly that they were going to be exactly what they expected to be. They never doubted themselves, they had faith in their potentials and they were absolutely convinced that they would make it to the top! They never accepted a No for an answer. Nothing as ever stopped them, slowed down maybe, but never stopped!

Well that is very neat on paper, but I can hear you tell me: "It's easier said than done! How can I have faith in myself, when all that I have done so far hasn't brought me the success I am dreaming of? Everything that I'm trying ends up in a mess! Oh, I have attained some results of course, but I want more than that!" And that could go on and on...

There is a lot of things that ANYBODY can do to become a success in any field they choose: relationships, business, career, anything you can think of!

First, you have to understand that you will need to make an effort, not necessarily a huge one, but let's put it that way: you will definitely need consistence in your doings.

With anything that you're trying to attain if you don't give consistent efforts, you'll just simply NEVER get what you expect. The main point is to believe that YOU CAN be successful, and YOU WILL indeed.

One good method I am using for years now is Affirmation. And that doesn‚t really take a great deal of an effort to do. Simply keep repeating to your self some sentences like these ones:

- I am a successful person.
- I can attain any success level I desire.
- I will be rich because I deserve it!
- Etc.

There are some rules that have to be followed when using the Affirmation Method.

  • Never use any negative form in you sentences (i.e.: I will not fail in anything anymore. It's better to use: I will succeed in everything I'm undertaking from now on.) And trust me, affirmations really works! So if you affirm anything negative, this is what you'll get! So be aware of it, and very careful in your affirmations.

  • You also have to be repetitive. Repeat at least 10 to 20 times each affirmation every day, for several days. What I like to do when I have a goal to attain is to pick up 2 or 3 sentences that make sense to me. Then I write them down 10 times each, and I repeat the process for at least 7 days in a row.

  • Remember, consistency!!! You can even go further and do it for 2 to 3 weeks in a row. The longer you do it, the better results you'll get.

    You will be surprised on how effective that simple and easy method is. Few years ago I started with affirmations to help me care about my self. Yeah! I was like that! A person that didn't like herself enough to believe that she could do anything good. Well that simple method had simply change my life for the better! Now I am happy with myself, my life with my family and friends is fill with joy and happiness, I run a successful business in Graphic Arts and I do have a great success with my spare time e-businesses.

    So, let me tell you that this method can really change your life too if you only give it a try! I went from living in a stressful mood all the time, never expecting anything good could ever happen to me, to being loaded with confidence in my possibilities and chances of being successful in all the aspects of my life! And still sometimes when something doesn't go the way I want it, I grab my pen and start writing positive affirmations. And back on the good track I am!

    So pick up your pen, and start climbing the road to success!

    With that simple method you too can become successful in any of your goals. I simply wish the information I just gave you, will help you out! Don't hesitate to contact me, I'll be more than glad to hear from you and discuss that method with you.
  • المصفاة التي تعترض المعلومات



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

    وهذه المصفيات ثلاثة أنواع

    1. مصفاة الحذف
    2. مصفاة التعميم
    3. مصفاة التحريف
    1- مصفاة الحذف:
     

    هذه المصفاة تأخذ المعلومات القادمة القادمة إلى المخ وتحذف بعضها .. فالبعض يمر والبعض الآخر يسقط في هذه المصفاة.

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

    2- مصفاة التعميم:

    هذه المصفاة عكس الأولى تماما .. فهي تأخذ مجموعة من المعلومات وتكبرها وتبالغ فيها أكثر من اللازم.


    فكر في شخص تكرهه..

    اكتب أهم صفاتهزز وعندما تنتهي .. انظر ماذا تجد..

    أرأيت؟ هذا هو التعميم..
    كل إنسان لديه ملايين الصفات الجيدة والسيئة ..
    ولكن لكرهك لهذا الشخص.. لم ترى إلا الصفات السلبية ..
    رغم وجود صفات إيجابية كثيرة ..

    مصفاة التعميم جعلت هذه الصفة السلبية هي التي تصف الشخص .. على الرغم من وجود الصفات الجيدة، هذه المصفاة منعتها من الوصول لمخك.


    المرأة تقول: " كل الرجال قساة .."
    هذا مثال آخر للتعميم..
    صاحبة هذه الجملة بالتأكيد مرت بتجربة مع أحد الرجال القساة , جعلتها تعمم الأمر على كل الرجال.. مع إن هذا غير صحيح....



    - مصفاة التحريف:

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



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


    السبب في هذا: مصفاة التحريف..

    جعلت هذا الموقف المعتاد ينحرف ويصير شيء آخر تماماً ..

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

    Thursday, November 05, 2009

    كيف تتخلص من التعب؟

    هناك حقيقة علمية تقول "العمل الذهني وحده لا يفضي للتعب"، ويقول الأطباء النفسيون أن التعب الذي نحسه ناشئ عن طبيعة اتجاهاتنا الذهنية والعاطفية وفي ذلك يقول الدكتور (هارفيلد) إن الجانب الأكبر من التعب الذي نحسه ناشئ عن أصل ذهني, بل الحقيقة أن التعب الناشئ من أصل جسماني لهو غاية في الندرة.

    ويقول النفساني الأمريكي (بريل) : أن مائة في المائة من التعب الذي يحسه العمال الذين يتطلب عملهم الجلوس المتواصل راجع إلى عوامل نفسية أي عاطفية.

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

    كيف تسترخ؟

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

    خمس نصائح تمكنك من الاسترخاء


    1. استرخ أينما كنت ودع عضلاتك تتراخى.
    2. اشتغل ما شئت من الوقت على أن تراعي الاسترخاء في جلستك.
    3. راجع نفسك أربع أو خمس مرات في اليوم وقل لنفسك (أتراني أجعل عملي يبدو أصعب مما هو حقيقة ؟)
      أتراني استخدم في عملي عضلات من جسدي لا شأن لها بهذا العمل إطلاقاً
      فهذه المراجعة تعينك على تكوين عادة الاسترخاء .
    4. اسأل نفسك في نهاية اليوم (هل أنا متعب) فإذا كنت متعب فاعلم أن منشأ
    5. التعب ليس كمية المجهود الذي بذلته وإنما الطريقة التي بذلت بها المجهود.

    Wednesday, November 04, 2009

    التفكير البسيط



    نحن كبشر لا نتوقف أبدا عن التفكير، وقد أثبتت الأبحاث الإنسان يفكر في المتوسط حوالي أربع أفكار منفصلة في الدقيقة الواحدة أي حوالي 4000 فكرة يوميا، ونقضى أكثر من 75% من وقتنا في التفكير.

    ولكن على الرغم من هذه القدرة الهائلة على التفكير إلا وأن المشكلة تكمن في أننا نادراً ما نهتم بالتفكير فغالباً ما تتوارد الأفكار في أذهاننا باستمرار كما أننا نأخذ التفكير على أنه أمر مسلم به.

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

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

    توقف واستئناف:

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


    ولذا فإليك بعض الخطوات العملية تساعدك في كيفية الدخول في التفكير وجعل الأفكار تتوارد عليك:


    1. اسأل نفسك ما الذي تشعر به تجاه ذلك الموضوع:
      فعندما تكون في فراغ ذهني أنت في هذه الحالة يتعذر عليك الوصول إلى أفكارك ولذا فعليك بالتواصل مع مشاعرك. وبعد أن تحدد مشاعرك تجاه الموضوع اسأل نفسك لماذا تشعر بهذه المشاعر؟ ها أنت تفكر بالفعل في الموضوع؟
    2. اسأل نفسك عن رأيك في هذا الموضوع؟!
      ما هو تقييمك الكلى للموضوع، قد أثر هذا الأسلوب المدهش عن بدء الظهور الفكري لكثير من الأفكار الناجحة.
    3. اسأل نفسك ما هي الفكرة الأساسية في المشكلة التي بدونها لا تحل المشكلة؟
      ما هو مفتاح السر ما هي الفكرة التي يستند عليها كل شيء هنا خذ وقتك لكي تفكر بجدية في إجابة هذا السؤال .
    4. اسأل نفسك هل يشابه هذا الموضوع الذي تفكر فيه أي شيء تعلمته أو مررت به من قبل؟
      خذ وقتك لكي تبحث بجدية وتجد الإجابة.
    5. اسأل نفسك هل هناك شيء ما زلت تجد سؤالا ملحا عنه؟
      خذ كل الوقت لكي تفكر وتجد إجابة لذلك السؤال.
    6. اسأل نفسك ما هو أصل الموضوع؟
      فكر بحرص للحصول على الإجابة.


    الفرق بين التفكير البسيط والتفكير المعقد:

    كان (هاوسر) أذكى طالب في السنة النهائية في جامعه بوسطن العريقة فلم يكن عقله يتوقف أبدا عن التفكير وكان يذهل زملاءه في السقف الطلابي وأفكاره ووجهات نظره حول العقل الإنساني وشرح 1001 فكره في علم النفس لكي يسجلها في امتحان آخر العام. ولكن عندما ظهرت نتيجة آخر العام لم يجد (هاوسر) نفسه بين المتخرجين نعم لقد درس هاوسر كثير في علم النفس ولكن كل أفكاره كانت مبهمة وبلا أدله وكانت معظم أفكاره غير منطقية، ولذا لم تكن مشكلته في كيفية بدء التفكير أو فيما يفكر ولكن كانت في أسلوب ونوعية تفكيره.

    ومن جانب آخر وعلى العكس كان السيد (ماثيز) الذي تولى إدارة محطة تلفزيونية كان يسيرها والده فنجح فيها نجاحا باهرا وفى إحدى المرات سأل أحد المذيعين السيد (ماثيز) عن سر نجاحه وكيف استطاع أن يتخذ الخطوة المناسبة في الوقت المناسب؟

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

    الفرق بين (هاوسر) و (ماثيز) هو الفرق بين التفكير المعقد والتفكير البسيط الفكري، طبق على نفسك هذا ولن تجد الأمر صعبا على الإطلاق إن شاء الله.

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

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

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

    Followers