Writings Photos Code Contact Resume Me
Blogs

Booked my flight to Cairo...

Submitted by msameer on Tue, 01/07/2008 - 11:01pm.

03.10.08:
Helsinki (08:00) to Vienna (09:40)
Vienna (10:35) to Cairo (14:10)

02.11.08:
Cairo (10:50) to Vienna (13:40)
Vienna (19:40) to Helsinki (23:20)

Yes, 6 hours of transit...

And blame Ezabi for convincing me to fly EgyptAir from Cairo to Vienna!


تعقيب علي بنت مصرية حول الثانوية العامة

Submitted by msameer on Thu, 26/06/2008 - 2:38pm.

قرات عند بنت مصرية.

احب ان ادلي بدلوي في الموضوع لاني قد مررت بهذه المرحلة

Under:

My first experience with the Finnish police officers

Submitted by msameer on Wed, 25/06/2008 - 10:42am.

Sitting down ignoring anything but the phone call and by accident raised my head

Me (After noticing the sign from the guy): Give me a second, there're police officers here
Phone: OK
Police officer: Do you speak English ?
Me (a bit frightened to the police guy): Yes, but can I end this call please ?
Police: Yes but quickly
Me: I have to go now, seems there's something important. Will call you later
Police (After ending the call): Do you have an ID ?
Me: Yes (And showed him my Finnish ID)
Police: Where do you live ?
Me: In that street, I can show you.
Police: We don't go there, just tell us
Me: In this street, number 12. The 2nd door.
Police: People have been complaining that you are speaking in a loud voice at night when it's late.
...


Just can't

Submitted by msameer on Tue, 17/06/2008 - 2:48pm.

I'm puzzled. I want to speak but I can't... Just can't.

Under:

Katoob, the baby has a new father.

Submitted by msameer on Mon, 12/05/2008 - 9:31pm.

This post has a bit of my history and emotions. It can be skipped!

The summary is: Katoob has a new maintainer.

...



multi-gnome-terminal is back to life.

Submitted by msameer on Mon, 18/02/2008 - 1:46pm.

OK. This is the beauty of FOSS. The project has been dead upstream for a while now. It survived until it was removed from lenny.

Now me and 2 other users decided to adapt it. port it or rewrite it in gtk2.

We are having a discussion about the whole situation.

To anyone still using multi-gnome-terminal: Please share with us the features you were actually using. These are the ones more likely to be implemented and no new features will probably be added, maybe help us coding and/or testing or participate in the discussions.


يا مصطفى يا مصطفى

Submitted by msameer on Thu, 14/02/2008 - 11:41pm.

انا باحبك يا مصطفى

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

لا و انا اللي لسه عامل معاه حركة ندالة من يومين!! بجد اودي وشي فين:-(

طب ماحدش عايز يبعتلي عايزه اتجوز بمناسبة اني عايز اتجوز برضو ؟ :-)


It happened...

Submitted by msameer on Wed, 13/02/2008 - 9:57pm.
Under:

Automatically insert a statement in each function in C++

Submitted by msameer on Fri, 08/02/2008 - 4:16pm.

And I thought I'll never do such things again ?
I wanted to insert a debugging statement at the beginning of each function.

for i in *.cc *.c; do sed -i -e 's/\([a-zA-Z0-9 _*:~]*([^).]*) *{\)/\1 \nprintf("%s\\n", __PRETTY_FUNCTION__); /g' $i; done

It can probably be used to insert anything too.

It's dirty but it worked for me. Just keep a backup or make sure the latest code is in any RCS just in case.

It only failed with a function that was commented using C++ style comments "//".
I didn't try it with class methods defined inside header files