Writings Photos Code Contact Resume
msameer's blog

You are here

It feels like losing a child...

Submitted by msameer on Sun, 20/01/2008 - 2:28am

So, today Multi GNOME terminal has been removed from debian as part of the efforts to get rid of gtk 1.x.

I'm neither ranting nor blaming. I'm just expressing my feelings.

I knew before it happened and I acknoledged the removel. It's dead upstream and I don't think it can be easily ported. I've been using this terminal since 4 or 5 years. Let's see if I can live without it. I know there are a lot but this one was lightweight and it was using zvt which was noticeably faster than vte.
This was one of the packages I worked on with "He" as part of the NM T&S and I quite learned a lot from it.


Katoob 0.5.9 is out

Submitted by msameer on Thu, 10/01/2008 - 11:59pm

This is a recommended update.

tarball, md5sum and gpg signed md5sum file
ChangeLog:

* Enchant is now used for spell checking instead of aspell
* The iso-codes package can be used to display friendly names for the spell checker dictionaries.
* The recent menu is displays the name of the file not the full path.
* Opening a non-existing recent file triggers an error.
* Better quality Arabic translation (Thanks Khaled Hosny).
* Maemo support.
* libcurl is now used for the network.
* Cairo is not used anymore to draw the extended toolbar extra icons.
* Make the buttons in the dialogs HIG compliant
* Pressing Escape will close the spell checking dialog
* We now use the gtk printing capabilities for printing.
* Syntax highlighting now depends on gtksourceview2 and it's been rewritten.
* We now save the documents every minute and recover any files when we start.
* We also autosave if we crash.


From Rome to Helsinki

Submitted by msameer on Mon, 31/12/2007 - 12:08pm

OK. I'm back to my HQ in Helsinki...

1) When flying to Rome, don't book a flight that will arrive there late at night.
2) When you are flying from Rome, don't book a flight on a Sunday and don't book it early. Busses are never on time and the frequency of trains is less so you might end up losing your flight.
3) Fucking morons can't run an airport.
4) I couldn't find anyone to ask for help.
5) The fucking morons change the gates without announcing and I discovered that by accident. I could've missed my 2nd flight.
6) Stupid Americans, please keep some energy to fight with your travel agency instead of fighting with me because you are so paranoid that you think I want to bypass you in the queue.
7) The fucking morons can't ask more people to be at the service point to handle emergencies.
8) No one knows anything in the fucking airport.
9) The Italian Cuisine is damn awesome. I don't believe I'm moving back to "Meal number 6 please...".
10) Rome is fantastic and you gotta love it... The city is marvelous and you discover great things as you walk.
11) The fucking morons at the airport delayed our Finnair flight and affected our Finnish reliability.
12) Sardinian cuisine is fucking fantastic and tasty. I never ate like this before.
13) The mixture of the 2 things is far better than eating each one of them alone.
14) I don't believe I liked that thing he offered us although similar thing is available in Egypt.
15) I'd have payed a 1000 euros if the restaurant owner had asked
16) If you don't have enough cash, you are doomed. They don't accept credit cards.
17) Corruption, the pub will be closed at a time depending on the owner relations with the police.
18) The girl from Bosnia was pretty.
19) I don't believe she changed her religion to Christianity just to drink!
20) They offer drinks in plastic containers. There's nothing better than broken glass on the floor.
21) Please please believe me when I say that I'm from Egypt even if I don't look like one. It's not that I hate other nationalities but it's because it's me.
22) The pub was very small.
23) I fucking ate falafel from a Syrian guy. Awesome.
24) Alaa, please don't interfere with my food. I don't like chili!
25) And again, the shoes is important, you'd better wear it even though you can still walk without it.
26) How come Rome is colder than Helsinki ?
27) I still want to get married :-)
28) This line has been left blank on purpose...
29) I'm sure I have more to say.
30) Happy 2008
31) I wish 2008 will be like 2006


She's now dead. He was right.

Submitted by msameer on Fri, 28/12/2007 - 11:02am

Me: Benazir is running for the elections
Qsm: But Musharraf will stay anyway.
Me: You are probably right because you are Pakistani but how can it happen ?
Qsm: Musharraf will stay.

Now he's right although I didn't really believe him.

God bless her soul.


More packages for Chinook.

Submitted by msameer on Sun, 16/12/2007 - 2:47am

I was trying to package hunspell-ar for Chinook so I ended up packaging:
* hunspell (libhunspell and its development headers)
* enchant (hunspell and ispell providers but I'll disable ispell soon)
* hunspell-ar
* dictionaries-common and dictionaries-common-dev (hunspell-ar depends on them)

As for dictionaries-common and dictionaries-common-dev, they are different than the Debian ones. Yes I'm using the same source but I'm only providing the bits related to myspell. I didn't include the policy too.

uri = ftp://foolab.org/pub/apt
dist = chinook
components = spell

him-arabic is also available as well as a few Arabic fonts:

uri = ftp://foolab.org/pub/apt
dist = chinook
components = arabic

hildon input method and new languages...

Submitted by msameer on Fri, 14/12/2007 - 5:25pm

I noticed this because of my work on him-arabic.

If your plugin provides a language other than the 16 "known" languages, It will be displayed as " ()".

Ideally, The fix should be somewhere else but not all of the components are open so even if I can fix it, I won't be able to publish patches or packages.

It seems that the source provided with the SDK is a bit outdated so I had to grab the latest trunk: https://stage.maemo.org/svn/maemo/projects/haf/trunk/hildon-input-method/

And here's a patch. It'll return the language code if it fails to get the language description. (I know it's a bit hackish :|):

diff -Naur him.orig/src/hildon-im-languages.c him/src/hildon-im-languages.c
--- him.orig/src/hildon-im-languages.c  2007-12-14 19:09:29.000000000 +0200
+++ him/src/hildon-im-languages.c       2007-12-14 19:12:31.000000000 +0200
@@ -82,7 +82,18 @@
   }
   if (translate_function)
   {
-    return (*translate_function) (lang);
+    gchar *res = (*translate_function) (lang);
+    if (!res) {
+      return res;
+    }
+    else if (!strcmp(res, " ()")) {
+      g_free(res);
+      res = g_strdup(lang);
+      return res;
+    }
+    else {
+      return res;
+    }
   } else
   {
     gchar path [sizeof(GCONF_TRANSLATION_STATIC_PATH) + MAX_LANG_LENGTH];

Apply, build the packages and install hildon-input-method_1.99.33-2_armel.deb and libhildon-im-ui3_1.99.33-2_armel.deb

I hope it will be fixed otherwise I'll be providing packages soon. I know I promised to provide a lot of things (-:

Have a nice weekend.


My Arabic related TODO list for maemo

Submitted by msameer on Tue, 04/12/2007 - 5:45pm

This is my Arabic related TODO list for maemo. It's my personal one not the Nokia employee one :-)

* katoob should be fully functional (I'm learning here). Actually I did more work today and I guess it's fine.
* Package and publish some Arabic fonts (I know there's one provided by the browser team).
* See what can be done regarding input (Low priority. Sorry to say that I don't like the HIM plugin interface).
* Check arabeyes.org apps. Is there anything useful and needs "porting" ?
* glibc/x11 Arabic locale ?
* Any suggestions ?

I'll not translate the UI for 3 reasons:
* I'm not of a translator.
* The license you agree to while downloading the OS image prevents me from doing that.
* Because we are using logical IDs in the code, we will f*** up the UI unless all of the strings are translated.


Pinkish KDE...

Submitted by msameer on Sat, 13/10/2007 - 4:13pm

Of Charles de gaulle again

Submitted by msameer on Thu, 27/09/2007 - 12:16pm

Now I remembered when I was lost in CDG airport. The only person I found to ask spoke french. I was asking her in English, she was replying in french. I didn't understand her and probably she didn't understand me. Yet I managed to find out what I wanted!!

** I hate that airport anyway


Of Charles de gaulle

Submitted by msameer on Fri, 14/09/2007 - 10:15pm

After missing the Paris Helsinki flight:
"Here's your new ticket. But you will have to go out and re-check in again. I can't give you the boarding card as the other flight is using a different system." And also: "Tell them about your luggage when you check in so it will be with you on the same flight".
-- Air france customer care, Charles de gaulle airport.

Of course the bags arrived next day. What do you think ? The people working in Charles de gaulle can not give up their habits of delaying your bags.


Pages