Skip to main content

Morocco... Day 1

Alsalam alikom wa ra7mat Allah wa barakatoh,

Sure I've to speak about our short trip.. it's just a trandition to speak about ACM Contests...

So.. mm where to begin..
Ok, let's start from the early begining..

4:00am, Dec-29... Mama is calling me to wake up in order to catch the plane.. I waked up so easily (Al 7amd lellah), prayed al Fajr, and got ready to go down, I ensured I have the Digital Camera (Cuz I don't like to forget bringing it like last year), The laptop, the chargers... everything is fine ? ok, let's go.. it was now about 05:15am, when Abdel Rahman (a teammate of me) called cuz he was already there waiting for us.. I told him that I'm just about to go.. few minutes later, I received another call from Mustafa (my other teammate :D..) and again I told him, just minutes and I'll be there... (it seems they were afraid that I change my mind and not travel :D.. hah J/K ;) ),
I arrived there to find everybody is already there... I just said good bye to my father and mother and left...
For my luck (or maybe cuz of my bear :D), the Passport Checking man said "oh, u brought the wrong paper, this paper is a permission for u to leave the country but this is not directed to us, it's directed to X (which I don't remember), u will not be able to travel..." I was just shocked.... can it be true, no travel = Losing 1 year of my life without the Regional... oh my god... few minutes later, I was struggelling with him to convince him that last year we traveled exactly the same, and I pointed to my friends who already passed this gate "hey those all have the same papers as me, why me...", at last he said "ok, try ur luck with our manager" I said ok... and went there, that man was really helpful, he said "no problem, give me ur passport and that paper", he wrote some notes behind the paper, that made the other guy not able to speak... he just let me go....

We went to the plane just before the time by 25 minutes or though, we took some photos while waiting the bus to take us to the plane.. and that's it.. we were ready for the looong trip (my longest flight ever - 5:20 hours)..

Ah, I forgot to mention, in this flight, it was my team + Abdalla (our Coach), the other team and Dr.Said (the other coach) travelled the previous day.. so we r 4 and they were 4..

The plane was divided 3-3 chairs, so we took 4... for my luck, I was the one who sat alone... but it was not that bad, the two who sat beside me, were Moroccians, they helped us a lot and told us about some tricks that Taxis and other sellers may make to make us just "Pay", they were helpful Jazahom Allahu 7'ayran..

BTW, they were here in Cairo for 10 days (I don't know what any turist may like in cairo to stay 10 days in :D) anyway, they liked it but they didn't like the overcrowd every where (when we went to Ifrane, I realised they were totally right).

Some of us slept, others kept speaking, the time just passed fine al 7amd lellah, when we were above Morocco, the land down there was just gr8... the mountains were really high that some of them block the clouds, we tried to take photos for that but sure it can't describe what we saw...

We arrived there (Casablanca - 5th Mohammed Airport) just in time, and were thinking what to do in the loong stay we have to before our next flight to Fez (that was after our arrival by 12 hours exactly..)

But it's just another story..

See u next mmm Day..

Alsalam alikom wa ra7mat Allah wa barakatoh


Popular posts from this blog

Exploiting Double Free Vulnerabilities...

Alsalam alikom wa ra7mat Allah wa barakatoh

Huh!! that's what I said when I first saw that title... but let me explain...

Double Free means that you try to free a pointer two times (which is logically can't work).
Actually windows SP2 and later (even Vista) this can be done (in somehow) and can actually corrupt the heap (Vista will shout at your face if u did) and that can make you able to use and browse the heap as you want..

Facts to know about how Windows frees your pointers:
- There is something called Lookaside buffer (fast access, small size) and another thing is FreeList(slower access, the whole memory).
- Chunk is an object of the DataStructure that holds mainly 2 things: pointer to where the next free Chunk is and pointer to the previous free one (think about it like a node in a linked list)
- The first 4 bytes of the Chunk is the BLink (BackLink) and the second 4 bytes is the FLink
- delete ptr1;
delete ptr2;
Windows takes your Chunk (for ptr1) and puts it in the Lookaside s…

Windows7 adds Math Input Panel

Alsalam alikom wa ra7mat Allah wa barakatoh…I was reading a windows team post about Input Panels improvements in Windows7 [here]. When at the end I saw a very interesting –intuitive if you wish- new thing… which is, as you guessed, the Math Input Panel…Yes, that crappy font is mine… I “drew” that by mouse as I don’t have a tablet pen/pc.You can then paste it directly into word and it’ll recognize it as an editable equation…During my tests, the output panel (the top part) hanged, but I liked that the drawing panel was still responsive and I could still write/erase… till the top one started to respond again…One other thing to know, after you click Insert (that button down there) it copies the equation in MathML [Wikipedia link] format.. which is a standard way of representing equations and hence any application that recognizes the format can insert it not as an image but as a nice editable equation…If you think it recognized something wrong, you can click “Select and Correct” then draw …

Visual Studio 2008 Not saving changes or project properties?

Alsalam alikom wa ra7mat Allah wa barakatoh (Peace upon you)I’ve recently ran into problems with VS 2008. Summarized here:When you try to edit the project properties (specially C++ projects) you are faced with a little nice message saying “Exception from HRESULT: 0xF9F0F308”. Sometimes when you are editing a file (specially large ones), VS doesn’t recognize you’ve made changes (ie doesn’t display that ‘*’ in the files tabs) hence, when you save, nothing actually gets saved. For those 2 problems, a friend explained the problem and a work around (till they officially release a fix)…Open up a Visual Studio 2008 Command Prompt Run cd "C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE" Make a backup copy of devenv.exe in case something does not work right.
ie. copy devenv.exe devenv.exe.bak Run editbin /largeaddressaware:no devenv.exe Happy VSing… :)