Friday, November 28, 2014

ربنا يجعلها آخر الاحزان

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

بس دي بالذات جملة غلط. و دعاء لو الله استجاب ليه غالبا معناه اننا نموت بعديها على طول. عشان دي الطريقة الوحيدة اللي ما نحزنش بعديها تاني. دي مش اخر الاحزان. و لا هتكون من الاخر الاحزان. 

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

ربنا يرحمها و يرحم جميع امواتنا و امواتكم. 

Wednesday, December 22, 2010

Working with ARToolKit Plus on the iPhone

To help everyone who wants to use ARToolKit Plus on the iPhone. This post describes how to compile ARTKP in an XCode project.
First you need to get ARTKP, there are two major versions online. One is the official v2.1, and the second is the “cleaner” v2.2. This is the one you want to download, otherwise you’ll suffer a lot… Take my word! Grab v2.2 from here and extract its contents  (All rights reserved to their respective owners, and if there are some copyrights that I infringe by uploading the file, someone please tell me and I will take it down ASAP)

Now for the steps:
  1. Open XCode and create a new project. Then Create a group to add the ARTKP files into.
  2. Add the “include” and “src” folders from ARTKP folder you extracted, make sure you check the “copy items to destination folder if needed”.

  3. You need to retain only the .cpp and the .h files. Delete all other files.
  4. Delete the matlab folder, otherwise you’ll get errors.
  5. Add the path to the “include” folder you just added to the header search path in XCode project settings: 



  6. Compile and Voila!
I will address how to use ARTKP in the next post

Saturday, March 27, 2010

God and creation; Before it all started… The Void

God said; at first there was nothing, only God himself, what does that mean?! Can the human mind even comprehend that?! I’m not sure. I’m trying to imagine what it means to be alone in nothing, being in the void. After all, what is nothing??! The closest I can relate to is being in a dark room. A room so wide that I cant touch the walls. But still I’d be touching the ground, and there’s gravity. And both of these should not exist to provide the condition of “nothingness”.

So what is the void?! Apart from a return type that is… I’m still not sure, perhaps a dark room in space?! But is space a void?? I’d say its the closest I can imagine, it still has EM waves, gravitational effects from planets, moons or even black holes and God knows what else. But at least some part of it is empty enough to be a void. Or is it?!

On another note, one could imagine the void as a nightmare, you know the kind of nightmare where you are all alone in total blackness and unable to move or speak? Maybe this is the void?!

I dont know about you, but I’m sure as hell scared by this concept. No matter how self dependant you think you are, when you are alone in nothing, how are you gonna do anything?!

I guess for now I’ll just accept that there are some things that the human mind (or at least my human mind) cannot fully comprehend!

Wednesday, February 17, 2010

Day of the Dead Living… On traffic jams!

 

Today while going to buy some coffee, while stuck between several floors of traffic, I asked myself this:

What would happen if we had a zombie infestation… How would we know?! How would you know if the person in front of you is a zombie?! I mean before he/she bites you! Would we feel scared? Feel different?!

You might wonder how is this related to traffic jams?? Believe me it is. Just bear with me. So, to find out lets recap some of the characteristics of zombies:

  • Slow moving (تناحة).
  • Disoriented (ضياع).
  • Destroying everything in there path (همج).
  • Looking like hell. (الجمال)
  • Having no sense or feelings (عدم إحساس).
  • Savage and will eat you alive. (يا موتاواحيش)

Anyone found a pattern to this??! Let me help you out:

يا عم اتحرك... الشارع فاضي (و هو ماشي على 20) ← تناحة

حد وقف في نص الشارع بيفكر (قال يعني في مخ أوي) و قفل اكتر من نصه. بس ملوش دعوة, ولا واخد باله إن في حد وراه أصلاً ← ضياع.

ناس عكسي، ناس فوق الرصيف، ناس واقفة صف 15 ← همج.

عالم شكلها غريب راكبه عربيات شكلها غريب ← الجمال.

واحد واقف في شارع ميعديش غير عربية واحدة و بيعمل اي بتاع، بيدور على CD، بيكلم حد من الشباك، نايم شوية. و لما ترزعو كلاكس في دماغ أمه مش عاجبو، "عايز ايه يا عم؟ مش شايفني واقف؟!" ← عدم إحساس (بس غالباً بيحس لما ترزعو على أفاه)

سواق ميكروبظ ماشي يخبط في كل حاجة و كل الناس ← يا موتاواحيش

Now what does this mean?! Are we doomed? Granted, no one tried to bite me today so I guess we didn't get to that part yet.

At least if we have a Zombie infestation, we wouldn’t feel much difference!

Now don’t be scared, remember:

07-1095638191

Wednesday, February 3, 2010

Panamera Test Drive

As per our appointment, I and my father where at SMG Porsche, in Mohandeseen to test drive the new Panamera 4S. We were scheduled for the test drive at 14:00 hours, however, on our way there, I got a call from our salesman, Mr. Riad, asking me to delay our appointment for 30 mins as the car went to the service center to get the 120 kph speed warning disabled. I didn’t object because I had already paid to disable mine while in Qatar, and I know how annoying it could be.

So, we slowed down and got there about 14:30, but unfortunately, the car was NOT there. We were informed that they had just finished working on the car and it was on its way (Although I know it takes less than 5 minutes on PIWIS). Very good then, we’ll hang on for a while.

Tick, tock… Tick, tock… It’s 16:30 now and the car still hasn’t arrived, considering that the distance between the service center and the showroom is less than 10 kms, and that the streets were not that crowded, it was getting ridiculous. We decided to go out, if its not in sight, we’ll hop in our car and reschedule.

Luckily though, she was waiting for us outside, damn she’s huge. While my father still wanted to get a quick look and reschedule, I was eager to drive it that I suggested we do it since we’ve already waited that long. He agreed and off we go.

Starting off, Mr. Riad took the driver’s seat, I took the passenger’s seat and my dad sat in the rear. Mr. Riad started off heading to “el me7war” and I was busy playing with the new PCM 3.0, trying to connect my iPhone.

DSC04033Here you can see the iPhone finally playing through the Universal audio interface, I say finally because I had tried it before while the car was still on the showroom but to no avail. That optional 18 speaker Burmester sound system is a true sonic masterpiece. It sounds so well that no matter how much that volume knob is turned, if you hear distortion, its your mp3’s fault. One more reason to switch to lossless formats :D.

I tinkered with the system for a while, and I found a rather interesting option, although I didnt have much time to fully understand it but it was really nice. It displayed an overlay of the cars with the four seats and all, you get to choose where you want full surround experience by tapping the respective seats (or something like that :D)

Mr. Riad on the other hand, not knowing how much of Porschephiles we really are, started explaining about the different systems in the car, PASM, SportChrono, PDK, etc… Initially, we let him explain everything, hoping we’d hear something we didnt know... Nope, all old stuff, I think he was surprised we knew almost more than he did about those systems!

This car had almost all options, the ones of interest right now are:

  • PDK: Porsche Doppel Kupplungstriebe, thats german for Porsche double clutch transmission.
  • PASM w/ adaptive air suspension and PDCC: The air suspension is pretty self explanatory, PASM is Porsche Active Suspension Management, it continuously regulates the suspension based on road conditions and the chosen mode (Comfort, Normal or Sport). PDCC is Porsche Dynamic Chassis Control, it basically increases the stiffness at the opposite side the car is turning to eliminate body roll.
  • SportChrono+ (SC+): This provides two buttons, Sport and Sport+. Sport sharpens the throttle response, increases shift speed (ie decreases shift times) and puts PASM in sport. Sport+ takes this a step further in everything, enables launch control and locks out the 7th gear in PDK (which is the overdrive gear made for fuel economy).

While on our way to “el me7war”, I took some time to look around and snap a few pictures, it was not my first time inside a Panamera, but it was my first time in broad daylight and with a camera at hand.

While in traffic, the size of this thing shows up like a sore thumb. She is indeed huge, and depending on the suspension settings, you will be higher or lower than the cars around you. Besides, this car had 6 front sensors, 6 rear sensors and a backup camera (which is really needed, considering the rear view is like that of a space shuttle). The front sensors kept beeping all the time since other cars were in close proximity. Not sure if she was meaning “Be careful” or “Get them out of my vay before I crush them”!

DSC04034 The Center console, so many buttons you’d think its a space ship, just more luxurious. And these are not even all the buttons in the car, not even all buttons at the front!!!

DSC04035 My father enjoying the back seat

DSC04036 The view from the side window, a really big mirror

Finally, we got to our destination, it was time for some real fun, after some arguments about who would go first, I insisted that my father does. And he did…

DSC04037 Starting off, nice and slow… SC: Off, PASM: Comfort

DSC04041 Then he was talking and keeping his foot relaxed on the accelerator, the only 2 things that tell you you’re accelerating, is the sound of the exhaust and the speed you’re passing other cars. There are G forces, but the car holds you so well that you barely feel them. Before we knew it, we were @ 220 kph, definitely faster than our Boxster, my father had some braking to do. He then tried it on SC and SC+.

Meanwhile, I was snapping more pictures of the rear.

DSC04038Like buttons?? The rear console has many of them as well.

DSC04039

Door handles and air vents, notice it has 4 rear air vents, they are real aluminum. Very classy!

The road ended, we took the exit to Cairo-Alex road and then the first U turn. Now it’s my turn to drive this beast *evil grin*

Starting off, just before putting PDK on D, Mr. Riad asks whether my car was a tip or not. Surprised at the question I ask why, he says “I noticed that you have your left foot on the brake, in automatics we only use one foot”. I laugh and explain that I always left foot brake and what left foot braking is. I dont think he totally trusted me with that, but off we go.

Fighting the urge to just hit the SC+ button and floor it, I put it back in comfort mode and start off slowly. I heard stories about PDK jerking at slow speeds, not this time, it was so smooth you’d think its a CVT. By the time the speedo hit 60 kph, it was already in 7th gear!

Enough with babying, time for some real testing, I skip SC and press SC+ directly, the car lowers, suspension sharpens and PDK shifts are insane. I decide to “test” the handling in a little “slalom” between other cars. I know, I know. Its not safe, but hey, a test is a test.

Damn this beast can handle, all wheel drive, air suspension and PDCC really do their job well. I was zipping in and out between cars at breakneck speeds with barely any body roll. It really doesn’t feel that huge anymore.

Now thinking I can shift better than PDK, I decided to switch to manual. Pull the lever to M and off with the shifters. But wait a sec, why doesnt it want to shift?! I try again, and again to no avail. Finally I discover why so many reviewers were saying that the PDK buttons are counter intuitive… Although they are well layed out, I kept pulling the right one as if it were a paddle shift. This in PDK button language meant “downshift”, and it wouldnt of course downshift at the red line! But I hear they can be re-programmed to act as flappy pedals, with the right one for upshifts and the left for downshifts. For either push or pull!

DSC04043

The road ended quickly and we are in traffic again, and again I feel her size. However, when we were stopped next to an S-Class in traffic and its driver was staring at us in amazement, that’s when I felt the Panamera would take her rightful place in the market.

Unfortunately, life is not pink

Not everything in the car is great though, here what we thought needs more improvements:

  • As I said earlier, rear visibility, considering that the rear view cam is an option, and is only for reversing. Rear visibility should be improved.
  • Rear doors’ shape; They have almost the same problem as the rear doors of the Opel Astra Hatch, the windows protrude that they hit you if you’re not paying attention when opening or closing them. It happened to me in the Astra, and was very close to happening in the Panamera.
  • The sun roof; In a nutshell… Useless. It is extremely small for a car of this size to be of any use, I say either remove it or make a panoramic roof like the Cayenne.

Now it was time to go, it was a short test drive and we didnt test everything, but we did test all we could in that short time. While we were leaving, I thought to myself, “One day, I will buy one of those… But not before we had a garage that could fit her” She is really wide, she can’t pass through our garage’s door!

Before we left I decided to snap a few more pix

DSC04048

DSC04050

DSC04047

DSC04046

DSC04049

Some background about the car we were driving, this was the 4S, I didnt see the spec sheet, but these are the options I saw in the car, I might miss a couple of them which I’ll add if I remember:

  • This specific car cost $156,000, too much I might add, they get it cheaper in the US. I configured a similar one that only cost $135,000
  • 4.8L V8, 400 bhp, 500 Nm torques.
  • Cognac metallic exterior, a $3200 option.
  • Adaptive air suspension w/ PDCC & PASM.
  • PDCC (Porsche Dynamic Chassis Control): a system that prevents body roll during cornering by changing the stiffness of the dampers according to corner, for more info search for PDCC.
  • PASM (Porsche Active Suspension Management): a system that actively regulates suspension stiffness according to road conditions, driving style and chosen mode (Comfort, Normal and Sport)
  • PDK w/ active differentials. (Porsche Doppelkupplungstriebe, i.e. Porsche double clutch gearbox, Germans just love big words :D): A 7-speed double clutch tranny)
  • SportChrono+: Increased throttle response, better and faster PDK shifts, and launch control are the highlights of SC+.
  • 2-tone leather interior, Cedar and Cognac.
  • 14 way adjustable power seats front w/ seat ventilation.
  • 8 way adjustable power seats rear w/ seat ventilation.
  • 4-zone automatic climate control.
  • PCM 3.0 touch screen HDD based navi, + universal audio interface (for iPod, iPhone, USB, AUX, etc…)
  • Burmester high end surround system: THE BEST system I’ve heard so far, period.
  • Adaptive Cruise control: Been on high end Merc’s for years, it regulates the speed based on the chosen distance between you and the car in front.
  • Porsche Entry & Drive: A fancy name for keyless entry.
  • Bluetooth phone interface / Sim card based phone, cordless color screen handset included.
  • Adaptive Xenons, auto height adjustment and auto rotation.
  • Front and Rear parking sensors.
  • Backup camera.

Sunday, November 29, 2009

Second time cooking, Chicken Parmesan

For the second time in one month, I decide to do the cooking. Most of my friends know that I am a master chef, I could cook two really delightful dishes, being omelet and boiled eggs :D. But for this time I decided to try something new, thanks to Google I found a recipe for Chicken Parmesan, you know, that dish you find at Johnny Carino’s and most italian restaurants.

So, I got the recipe, it was step by step, with a quoted preparation time of 30 mins and cooking time of another 30 mins. Fairly easy, or is it…

First step in any recipe is getting the ingredients. Yeah right, easier said than done.

P.S. If you’re viewing this on facebook, please click “View Original Post” below to see the original, it looks better!

Ingredients

  1. 2 eggs, beaten (easy enough).
  2. 1 cup grated (مبشورة) parmesan cheese (thought I’d find that pre-packed like mozzarella or emmental, but no sir, there aren’t readily available, I had to buy a big chunk and grate it myself).
  3. Boneless chicken breasts (the ones you use for chicken pane’)
  4. Tomato pasta sauce (I guess normal tomato sauce would still work, but the Heinz pasta sauce is good and seasoned well)
  5. Mozzarella cheese.
    Ready for the fun part??
  6. Italian breadcrumbs (بقسمات).
    Now I thought to myself, what the heck are italian breadcrumbs?!! Couldn't find it anywhere, not metro, not Carrefour, no where. Solution? Asked my best advisor (AKA Google), that’s easy enough to make at home, will show how after the jump.
  7. Italian seasonings.
    Again had no idea what those were, and could not find them anywhere either… Yup, you guessed it, thanks again Google, they are easy enough to make.
  8. Olive oil.

Now you might notice that I didn't specify exact amounts, well, I just add whatever it is the ingredient till I feel its good enough. Some people disagree, but these are not the ones who tried the food!

How to make italian seasoning at home

You’ll need the following, this time I kinda stuck to the instructions, but not entirely, as I didn't have some of the ingredients and I didn't like others, so here’s what I used, YMMV:

  1. 3 tablespoons dried basil (ريحان).
  2. 1 tablespoon coriander (Cilantro, كزبرة).
  3. 1 teaspoon dried thyme (زعتر).
  4. 1 tablespoon garlic powder.
  5. 1 teaspoon dried rosemary.
  6. “Some” black pepper.
  7. “Some” red chili flakes.

Put them all in a deep bowl and mix, the scent will tell whether you got it right.

How to make italian breadcrumbs at home

Now that those italian seasonings are done, its time to put them to good use. What you’ll need is:

  1. Some bread, not fresh but not rotten either, it needs to be dry.
  2. Some italian seasonings.
  3. Some grated parmesan.
  4. A blender (خلاط).

IMG_0019

Note: If the bread isn't dry enough, like that I used, put it in the oven on low heat for 10 mins or so, then take it out and leave it 10-20 mins in the air to dry out. Then cut it into small pieces as pictured above.

Now you have some ingredients and a blender, what do you think you will do??

Exactly, blend them all :D

IMG_0018Start with a few bread pieces, then add the seasoning and blend a little more, then add parmesan and blend some more. Keep adding bread till you have enough, if the crumbs don’t get dark enough, you don't have enough seasoning!

Now all the ingredients are set, lets start…

IMG_0021

Cooking Time!

You need the breasts to be about 1 cm thick, if they are thicker, either pound them with a hammer (not from your toolbox, a food hammer :P)

Now, put the breadcrumbs on a shallow plate, and beat the 2 eggs and put them on a similar plate. If you have any experience with frying, we are going to fry the breasts first using the italian breadcrumbs.

  1. Dip the chicken into the eggs.
    50_image6
  2. Coat it from the breadcrumbs.
    50_image7
  3. Fry it in olive oil till it turns golden (if you don't know when is a piece fried, then you shouldn't be reading this anyway :P)
  4. Now get an oven baking dish, line it with the tomato sauce (I added a layer or parmesan on top of that too).
  5. Put the fried chicken on the plate, cover it with more tomato sauce, then more parmesan and mozzarella.
    IMG_0022
  6. Put it in the oven till the cheese melts and enjoy :D

IMG_0023

Those black markings are traces of burnt sauce, don't leave any traces of sauce before putting the plate in the oven and you wont have those!

Final note, never believe these devious quoted times in recipes, it said 30 mins + 30 mins, totaling 1 hour. I took me 4 hours to make this. But then again, I am a master chef :D

Thursday, November 19, 2009

لية مفيش انتماء؟

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

اللي حصل و بيحصل النهاردة اكبر اجابه على الناس دي. يعني لما المصري جوه بلده بيتعسف و يتهان. و كمان بره بلده بياخد على أفاه, و العلوق بتوعنا ساكتين (كالعاده طبعا) لأ واللي يغيظ أكتر, ان الاجانب ( السعوديين مثلا, ومشكورين طبعا) هما اللي بيساعدونا. يعني المصريين بيضِّربوا في السودان, وعندنا كله تمام, و ملك السعودية بيبعت مساعدات. بالذمه مش عيب؟ بس نعمل ايه, ماحنا عندنا شويه علوق

و بعد كل ده, ييجي يقولك ما بتحبش مصر ليه؟ ولا اللي يقولك “لو لم أكن مصرياً…” يا شيخ إتنيل