Writings Photos Code Contact Resume
English

You are here

Written in English.

Oh shit! On tax!

Submitted by msameer on Tue, 13/01/2009 - 9:38pm

Oh shit!

I have a bill from the tax office since May 2008.

It was due last December and I never knew I had to pay anything.

Now I have to pay it plus the interest rate!

It's not much but ... :-(


Quick summary

Submitted by msameer on Sat, 27/12/2008 - 9:31pm

Long time since I posted anything here. I just have nothing to say. Nothing is happening in general and all days are almost the same!

* Went to Egypt on vacation and came back.
* Bought a TV that I don't use.
* Now I wake up at 7:30 in the morning every day as I have a meeting at 8:45 and leave the office arount 7 pm.
* Gave up on Finnish. It's not working for me.
* Changed my teem in work again!
* I've been thinking about taking this blog down. It's just useless now. I can't write as I like here anymore.
* An incident lead me to discover how dumb I'm
* Another one lead me to discover how lonely I can be although I'm with my friends in Egypt.
* I'm mainly using the new microblogging platforms now.
* I wish 2009'd be better but I doubt.
* I hate Christmas! 5 damn days off!
* I probably have more to say but can't remember more now...


him-arabic has been uploaded to maemo extras

Submitted by msameer on Thu, 02/10/2008 - 1:20pm

Yup, thanks to Matan Ziv-Av who did a few improvements and fixes and uploaded him-arabic to maemo extras.

The good part is the addition of the Hebrew keymap (And a few other things).
The bad part is dropping the dependency on ttf-arabic.

I need to create a metapackage called "arabic" that will pull all the packages needed to support Arabic.

Well, I'm still using the ttf-arabic packagess I created for Chinook (Available from my FTP as I don't have a Diablo repository).

I won't create the arabic metapackage anytime ssoon as I'll be on vacation. Wish me luck ;-)


I hate reCAPTCHA

Submitted by msameer on Tue, 19/08/2008 - 2:30pm

Really, I f****** hate reCAPTCHA. I decided to input "foo" instead of the hard to read word (Which is the scanned part probably).

Yes it's stupid and I'm being bad but screw them if I can't read the captcha to be able to comment on a blog post.


Have you ever forgotten to have breakfast ?

Submitted by msameer on Wed, 13/08/2008 - 7:21pm

This is an example of a clueless and non-informative blog entry. Please feel free to skip it.

Years ago when we were young at school, teachers used to ask as:
* Did you forget to eat ?
* Did you forget to drink ?
* Did you forget your sandwiches ?

Whenever one of us forgets to do his/her homework, bring a book or a notebook, ... etc.

I never even thought this can happen one day. Never even thought about the issue until...

I arrived at the office today. Had my morning coffee and cigarette, checked my mailbox, did some work and when it was lunch time, I thought about not eating and eat at 6 or 7 pm as usual.

Just to realize that hey ? I completely forgot to have what I call breakfast (A banana and some orange juice actually)!

Problem is when you drag yourself to the Nokia restaurant to eat while not feeling hungry just because you have a Finnish lesson at 4 and you don't want to feel hungry in the middle of the lesson or your mind to simply, crash!


Booked my flight to Cairo...

Submitted by msameer on Tue, 01/07/2008 - 9: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!


My first experience with the Finnish police officers

Submitted by msameer on Wed, 25/06/2008 - 8: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 - 12:48pm

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


Using mutt as a mailbox converter

Submitted by msameer on Mon, 19/05/2008 - 1:31pm

I'm planning to move all my mailboxes to an IMAP server running on foolab.org, use offlineIMAP to sync between vader "my laptop" and naboo "foolab.org". It will also allow me to access my email from multiple computers at the same time.

I'm using mutt as my primary email client.

The big problem is offlineIMAP needs a local Maildir while I'm using mbox

I can upload the emails from mutt to the IMAP server but why do I have to redownlosd them again ? Beside, it's a lot of manual work.

I didn't really find a good mbox to maildir converter so I decided to use mutt.

Mutt knows how to handle such things. It's an email reader!

Thanks to the folks in #mutt for a few tips. Now here is my setup:

1) My mail is in ~/Mail
2) I don't have subdirectories
3) No white spaces in folder names.
4) You don't have a mailbox called "foo" ;-)
5) Create a directory called done. There we will place the mbox files after processing.

Now here how it goes:

1) Place this in a file, let's call it "/tmp/muttrc" and use emacs for that ;-)

macro index <F3> "<tag-pattern>~A<enter><tag-prefix><copy-message>=foo<enter>y<quit>y"
folder-hook . push <F3>

2) cd ~/Mail

3) Execute this bash snippet:

for i in `find -maxdepth 1 -type f`; do box=`basename $i`;
  echo "Processing $box" && mutt -F /tmp/muttrc  -n -m Maildir -R -f $box && mv $box done/ && mv foo  $box; done

4) Now to convert my outbox "which is an MH dir":

mutt -F /tmp/muttrc   -n -m Maildir -R -f done/outbox/

It worked fine for me. I had to interfere 2 times because I 2 had 0 sized mailboxes. Otherwise, it worked like a charm!

P.S. Don't forget to edit ~/.procmailrc and to set the default mutt mbox_type to Maildir


Katoob, the baby has a new father.

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

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

The summary is: Katoob has a new maintainer.

...

Yes, a long time.

Back in 2002, Gtk 2.x was just released. Efforts were spent porting, rewriting and redesigning parts of GNOME. The aim was GNOME 2.0 and later on 2.x

Previously, we had Gtk which did not support Arabic at all.
At that time, the only usable Arabic capable GUI editor was a closed source one, Axmedit. I was also trying to learn programming and write something useful. Katoob was born at that time. The aim ? provide the Arabic user with something usable and the secret agenda was me learning Gtk and get my hands dirty with C. Not having enough skills to contribute to something as large as GNOME.

It wasn't called Katoob (Which means something like an exaggerated writer in arabic). Me and Alaa wanted to call it gDhad (G is for GNU, Gtk, GPL, ... and Dhad is the letter. Arabic is known as the language of "dhad") but a miscommunication lead to that name.

Arabeyes hosted the project in the beginning. The problem was it was released after the first version of GNOME2. I missed a contest.

The problem is that it was already used by a few of my friends. A lot of testing has been done in the beginning. I still remember feeding it various media files as well as random garbage to see what will happen.

Years later, the whole thing grew into a pile of spaghetti code. It was the time for me to start learning C++. What else can I use to learn it ?
Then 0.5 was born. A bit cleaner, C++, Gtkmm and moving it to my own place. It even survived my migration from CVS to SVN last year.

It also started to be used by more people.

As I become busier with work and as my interests have started to change, I found myself incapable of maintaining it. It's actually a motivation problem more than anything else. I'm not involved into Arabization issues (I was never involved but people claimed I was ;-)) and I wasn't getting enough testing.

I don't use it a lot anymore. Everything supports Arabic now. I don't think we need that project anymore.
I can also use Emacs to read and write Arabic

Now, Fred Morcos decided to step up and maintain it. Good luck to him. At least I found someone to take care of the baby.


Pages