Jan 02

Reminder for me:

- Design or get a new WordPress theme!

- Design a new Homepage that reflects more your personality :S

- Study harder, idiot :@ :@

Dec 17
اليومين دول فعلا مشغول في الكليه و مشروع التخرج و معنديش دماغ اكتب اي حاجه..
بس حصل من كام يوم موقف لازم يتسجل :Dصاحي للساعه ٦:٣٠ كنت سهران بحاول اخلص شغل للمشروع و منهمك جد .. لكن بعد فقدان الامل قررت انام ساعتين قبل الكليه
الساعه ٨:٣٠ ص تقريبا ماما بتصحيني: اصحي يا اسامه الكليه
انا: يا ماما لا انا جربت مينفعش
ماما:
جربت ايه يابني قوم اصحي للكليه
انا: يا ماما و الله الكود ده انا جربته مش شغال
ماما: كود ايه بس انت بتخرف
انا: و الله مبخرفش انا جربته و مش بيكومبايل “Compile”
ماما: يا اسامه قوم انت بتخرف .. قوم اقعد طيب
انا -بعد ما قعدت علي السرير و بدأت أدرك بقول ايه-: لا مش بخرف انا عارف انا بقول ايه :D
ماما: طيب قوم خد دش بس و انت تفوق
اقوم اروح الحمام و ابدأ افوق و ادرك ان انا كنت بهيس و ابدأ ادخل في هيستريا ضحك فظيعه :D

و الظريف ان ده مش اول مره تحصلي .. نفس القصه حصلتلي في ثانويه عامه .. كنت بذاكر كيمياء قبل الامتحان جامد جدا و بعد كده لما صحيت الفجر عشان اصلي كنت هقرا معادلات الكيمياء لولا خدت بالي و خلصت صلاه و مت علي نفسي من الضحك برضه :D: D

Oct 20

Yesterday I really enjoyed the meeting with my graduation project’s team. The meeting’s main goal was to get the best 6 ideas from the suggested 35 project ideas. Yup, our team members suggested 35 project ideas varying between totally innovative ideas and products that already exist but never made in Egypt.

While our awesome 5 hours meeting we put some parameters to help us in the comparison between projects. Each parameter has a suitable score. For example we put a parameter called “Egyptian Market” and we gave it score from 50 points. If we think that a project idea has a real market value in Egypt we will give it 50/50. If a project idea has no market value in Egypt, of course we will give it 0/50 in that parameter. Actually, defining the parameters process take a very long time and we argued a lot till we find the parameters that really fits what we are seeking for. Then, we started discussing each project idea according to these parameters, giving it a score in each parameter and calculating the total. We were pretty slow at the beginning but by the end of the projects list we became professionals :D

At the end of the meeting we got only 10 valid project ideas sorted according to its total score. In the next phase inSha’Allah we are going to re-filter the 10 ideas, doing a simple market research for each idea and contacting any companies that may be interested in sponsoring these projects.

I’m really lucky to work with such motivated organized guys and I enjoy working with them :)

Sep 30

I’ve never thought that sometime I may write about such thing :D

But coz I’m a big fan of both Mac OS X and Windows 7  and I found some of features that I love in one of them and not available in the other! I hope that one day I can develop my Platform Independent Desktop Environment :P :D

anyway what I really love about Mac OS X Dock that I can add folder/file to the dock, change the dock size, style, effects and of course the Stacks with the fancy effects which I really miss when moving to windows 7 for a while doing any task :)

On the other hand, MS has just added/stolen (cough :D) some of Mac OS X Dock features to windows taskbar such as pinning applications in the taskbar and using big icons! Windows 7 have a great feature there which is the previews or whatever they call it!! It really helps me switching between windows of the same application! Expose in Mac OS X may solve the problem but I still prefer the small thumbnails, each thumbnail with close button and also I can right click any one of them!

and that’s all folks ;)

Sep 19

First time I used my MacBook Pro I haven’t got why there is no hibernate option!!!

After searching the web I found this article: http://www.geeked.info/make-my-macbook-pro-hibernate/ which helped me a lot understanding Hibernate Modes in MacBook Pro :)

The solution he provided is really great but actually I use the sleep option more than the hibernate one and I prefer to get the hibernate option when only I want to hibernate. So I find it silly to type everytime I want to hibernate “hibernateon”, putting my MBP into hibernate mode and after startup I have to type “hibernateoff” coz I don’t need hibernate option next time!!!

So simply I made a new command called “hibernate” which satisfy my needs :D

The command simply turn hibernate on and then parrallel execute shutdown and turn hibernate off :)

All you have to do is to add the follwoing line to the .bash_profile file that is located in /Users/YourUserName/

alias hibernate="sudo pmset -a hibernatemode 5; sudo shutdown -s now && sudo  pmset -a hibernatemode 3"

Then execute the following command in the terminal

source .bash_profile

Now whenever you want to hibernate, just type hibernate in the terminal ;)

Jul 04

Small Game I coded in C# just for fun :D

Snap suggested to add textures to the Snake but I don’t want to waste more time on it. I really enjoyed every line I wrote in it :)

I will be pleased, ff anyone has comments on my coding style or has any programming tips for me.

Download oSnake.exe

Download oSnake C# Source Code

Jun 12

بقالي فترة طويلة جدا .. يمكن أكتر من سنة مبستخدمش أي تطبيق يطلق عليه Antivirus :)

لسبب ما دي حاجه غير مقبولة عندي من فترة طويلة لأني للأسف بحس ان كل الـ antiviruses بالإضافة لانها عديمة الاهمية فهيا بتاكل بشكل فظيع من امكانيات جهازي و بتقلل من كفائته و اللي طبعا اكتر حاجه بكرهها

و للأسف برضه Windows Live Messenger كان عاملي مشاكل مع كل ملف مضغوط أي حد يبعته و يقولي قال ايه و علي اخر الزمن حاتلي antivirus

و بما ان الحاجه ام الاختراع فقلت أجرب اديله اي برنامج ساذج مبيعملش حاجه . و المفاجأة انه مقلش لا و الملفات بتوصل و بيفتح البرنامج الساذج و بعد ما أقفل البرنامج بيعتبر اني الـ Virus Scan تم بنجاح

لوووووووووول .. قلت لما هيا كوسة كده طيب ما اعمل fake antivirus  كل شغلته في الحياة انه يقفل :D

و بمنتهي السهولة عملت برنامج C# من سطر واحد فقط لا غير مكتوب فيه

Environment.Exit(0);

و بس :D

دلوقتي كل اللي بيحصل ان الـ Windows Live Messenger بيستقبل اي ملف و لما بيوصل بيفتح الـ fakeAntivirus و اللي كل الي هيعمله انه هيقفل تاني في سلام :)

Download FakeAntivirus

How to use it:

- Download the FakeAntivirus and save it to your computer.

- In Windows Live Messenger Menu: Tools >> Options >> File Transfer Page

- Mark the option “Scan files for viruses using:”

- Click “Browse” and select the FakeAntivirus.exe

- You are done ;)

May 10

ماما بقالها كام يوم رايحة جاية تقولي وطي صوت الكومبيوتر .. و انا للأسف بحب أذاكر في دوشة :)

و طبعا الـ Pocket PC بتاعي مش هيقدر يشيل كل الـ mp3s اللي انا عايز اسمعها و اللي ممكن توصل 3 جيجا :D

فوق ده كله عندي Wireless Stereo Headphone مش هعرف اشغله علي الكومبيوتر لان معنديش Bluetooth Key

بعد رحلة بحث مضنية عن Software يحل المشكله العويصة دي قررت اني احلها بطريقة مفتكسة :) و الموضحة بالرسمة المعبرة جدا دي :D

How it works:
- When you connect your Windows Mobile Device to the PC via Active Sync or Windows Mobile Center in Windows Vista/Seven a network between your pocket pc and the computer exists. One of the best future of this network that you can access the internet.
- If you have apache server installed in your pc, then you can access it from your windows mobile device. So that it how it goes:
1- I connect my Pocket PC via USB/Bluetooth and make sure it is connected in Windows Mobile Center/Active Sync.
2- I launch my WAMP server and BTW I copied my /mp3s directory in the /www. - you may add alias rather than copying the files :) -
3- Now I can access my mp3s from any media player if I opened the URL: http://my-ip/mp3s/fileName.mp3
4- To make it easier .. I made a playlist files .m3u and edited it with notepad. I replaced aal the “\” with “/”  and then I replacedall the “c:/wamp/www” with “http://my-ip” :D
5- Now simply open the playlists with the media player - I usually use Coreplayer- and anjoy ;)

Notes:
- You may establish any type of connection .. you may join the same wifi network your PC is connected to.
- You may simply share the mp3s folder over the network and map it in your device .. but It didn’t work for me :(
- You may use Broadcasting Server .. if you know a free good one, plz share :)

Mar 29

JDM
JDM Programmer

PIC 16F84A
PIC 16F84A MicroChip

أخيرا و بعد عناء طويل و بعد خسائر قدرها واحد Regulator و واحد Crystal 20MHz و بعد ما قطعت الـ Serial Cable نصين و عملته PinToPin .. أشتغل الميكرو بعد ما كنت فقدت الأمل :D

و المذهل اني بـ Compile و ببرمج الميكرو من Windows 7 Beta بعد ما كان طلع عيني مع ويندوز فيستا :@

بس من الواضح ان مفيش حاجه بتيجي بالساهل :P

نصايح يمكن تفيد أي حد ناوي يستخدم الـ Microcontroller:

- أتأكد ان كابل الـ Serial من النوع PinToPin و إلا هتحتاج تعمله عملية جراحية زي ما عملت في الكابل بتاعي :D

- إياك ثم إياك ثم إياك تحاول تجيب Adapter مش مناسب و تجربه علي الميكرو

- استخدم اي برنامج محاكاة قبل ما تبرمج الميكرو .. أنا بستخدم Proteus

- لو انت شغال بـ Windows 7 فبرنامج WinPicPGM شغال عليه زي الفل :)

Mar 25

Well, coz I’m in bad mood .. I’m not gonna write anything .. just notes as always :P

- CSED Foundation presented two awesome sessions titled “Internet Evolution” and “378″.

- Internet Evolution by Mohamed Daif was pretty good. I loved it :)

- The “378″ Session was AWESOME .. fe3lan sharfona :D
Session was about controlling anything using your computer through Parallel Cable. They made a real circuit and controlled a 220 volt Lamp using the parallel port.
Mohamed Attia wrote a Console Application to interface with parallel port. // Tamer calls it “Shell” :D
I wanna thank everybody worked on this session:

I’m really proud of you guys.

Me in 378

378 Session

- fe a5er session etkarmt 3ashan el CATazine .. Thanks Emam for the Certification and the 2Gb DDR2 RAM :D

- ba3d keda karmna El Sayed Gamal. edenalo Akbar Certification fe el donya .. Ahmed Ali designed a 100×70 cm Certification :P
fe3lan el ragel da te3eb keteer geddan ma3ana :)

- I think I’m gonna pause my activity in CAT, CSED and CaTaZine for a while coz there is Midterm Exams soon!

That’s All Folks. :D

I may write a seperate post about each point and may not :P

PS: I may attach photos soon!