Writings Photos Code Contact Resume

You are here

Bye fglrx...

Submitted by msameer on Thu, 09/04/2009 - 7:59pm

Thanks to all the hard work by the fglrx packaging team, DRI, MESA, Xorg, Radeon,... etc people!

I've been using fglrx with my laptop since I've had it:

01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility X1400

And to the people behind the Debian packaging..
* xserver-xorg-video-radeon from testing.
* libdrm-intel1 and libdrm2 from unstable
* libgl1-mesa-dri and libgl1-mesa-glx from experimental

vader:~# apt-get --purge remove fglrx-driver fglrx-kernel-src fglrx-kernel-2.6.26-1-686 fglrx-sourceReading package lists... Done
Building dependency tree      
Reading state information... Done

The following packages will be REMOVED:
   fglrx-driver* (9-2-2)
   fglrx-kernel-2.6.26-1-686* (9-2-2+2.6.26-13)
   fglrx-kernel-src* (9-2-2)
   fglrx-source* (9-2-2)
0 upgraded, 0 newly installed, 4 to remove and 17 not upgraded.
After this operation, 38.8MB disk space will be freed.
Do you want to continue [Y/n]?

I probably lost the ability to suspend and resume but I don't usually do it with that laptop.

Now let's hope my lapop at work will be adapted easily too :)

UPDATE: Seems you lose OpenGL 2.0 if you use the free driver. If you are doing OpenGL stuff like me then you are in trouble ;-|

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...

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!

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

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

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

احب ان ادلي بدلوي في الموضوع لاني قد مررت بهذه المرحلة
بالاشارة لهذه التجربة: البيه ساقط ثانوية عامة كما يدعي. بالمفهوم الرياضي هو لم يرسب. و انما رسب بالمفهوم المجتمعي و الدليل انه دخل كليه فعلا.

لما تفكر في انسان مهما كان كويس مادخلش كليه هاتكتشف مشكله من اول حصوله علي وظيفة ثم ربما الزواج من فتاه يحبها بسبب معارضة الاهل "فين شهادتك ؟"
مع شديد احترامي: المشكله مشكلة مجتمع ككل. عايز واحد من اللي معترضين علي مشكلة الجامعه يحط نفسه في موقفين:
الاول و هو مش معاه شهاده و يشوف هايجيب شغل لنفسه بسهوله ولا لا
التاني لو واحد ماعهوش شهاده جه يتقدم لبنتك او ابنك اللي معاهوش شهاده رايح يتقدم لواحده. ده اصلا لو انت سبت ابنك او بنتك تسقط ثانويه عامه.

بما ان المشكله مشكلة مجتمع "و بصراحه المجتمع ده عايز النسف" يبقي يا تلعب بقواعد المجتمع يا تغير المجتمع كله مره واحده.

خلصنا من اول نقطه ؟ نتكلم باه في التانيه وهي الاصعب:
الثانويه العامه و الامتحانات.

المشكله في نظام تعليمي بايظ بايظ بايظ لاقصي حد لان فيه ناس بقت بتاخد دروس من ابتدائي و حصلت قدامي
بالاضافة لعدم تنمية القدرات الابداعيه عند الطلاب و بالتالي تحول الامتحان لحفظ و ترجيع "سوري لم اجد كلمه مهذبه"

طب انا كنت هاسقط ثانويه عامه بسبب علم النفس و الاجتماع: لو كنت وقفت علي شعر راسي ماكنتش عديت.
عديت احياء و كيمياء و رياضه 2 و فيزياء و كنت هاسقط علم نفس!!!

ماده ادبي يا جماعه ماتدخلش عندي... مش نافعه!!

الناس لازم تفهم ان ملعون ابو شهادة الجامعه. خدها و اركنها ولع فيها او اقلي عليها بطاطس "بس الاحسن تشيلها علشان هاتحتاجها".

انا معايا بكالوريوس العلوم الصيدليه من جامعة القاهرة "انا اتخرجت دور تاني بالمناسبه" بس شغال دلوقتي مطور برمجيات و اللي عارفني عارف انا شغال فين.

توفيق ربنا ؟ اكيد الحمد لله.
مين علمك ؟ علمت نفسي.
تعبت ؟ اه بس الحمد لله

طبعا مانكرش ان بابا و ماما كان ليهم دور فعال من و انا صغير ماوعاش علي الدنيا و طبعا ده توفيق ربنا في الاول و الاخر بس النقطه اللي باقولها هي ان ماينفعش ماينفعش ماينفعش نعتمد علي شهاده و اتخرج اقعد علي القهوة و بعدين العن البلد و الحياه و الحظ

طب انا مش عارف انا ايه اللي خلاني اكتب الكلام الفارغ اللي فوق ده ولا فاهم الناس بتقراه ليه و مش عارف انهيه ازاي!!

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.

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

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

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

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

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

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

Of GNOME and fonts.

Submitted by msameer on Mon, 28/01/2008 - 1:52pm

Thanks to those 2 comments. Although placing Xft.dpi: 96 in my ~/.Xdefaults did not help, but I managed to do it through the appearance control center applet. I had to purge the gtk-qt theme engine because it was freezing the dialog and setting it via gconf-editor didn't work as expected.

I had to fight with my fonts this morning but here's my configuration. Maybe it'll be useful to anyone:
DejaVu sans book 12
96 DPI
greyscale smoothing, subpixel slight RGB.

I'm not yet satisfied but it's more usable now.

Thanks Phaeronix for the help too.

I love KDE. It just works!

Submitted by msameer on Fri, 25/01/2008 - 5:13pm

I have 2 laptops. My personal one at home and my work one at the office. Both are running testing. A month or two ago, I did a dist-upgrade on the home one. Later on I rebooted (DUH!) it for a reason I can't remember just to end up with very tiny fonts under GNOME. It took me some time to tweak them back again and play with the GNOME anti-aliasing dialog. Now if you know me well, you know that the last thing someone should do to me is to touch my font settings. I have a very sensitive eye (Because I have a very low vision) and I hardly tweak the fonts. All went somehow fine after that. Problem is I wasn't sure whether it was fglrx or GNOME who's responsible for that.

I always do a dist-upgrade everyday (!) but never bother to restart X or reboot. A few days ago, GNOME at the office crashed on me and guess what ? I ended up with the same problem again. Fonts. Tried tweaking it this time but no use. Copying the font settings from the other laptop was not an option because I'm using a large LCD at work but I can't afford to buy one for my personal laptop :-)

I thought it was fglrx, downgraded the driver but no use.

I decided that's it. I always used GNOME because I know Gtk+, gtkmm and somehow pygtk but the fonts breaking again was really too much.

I ended up switching back to KDE 3.x at work and at home. I just don't feel like using 2 different environments. This will confuse me ;-)

I remember I used KDE 1, GNOME 1.4, KDE 2.2, window maker, GNOME2, tried all the window managers out there until I settled with pekwm, hpanel, a few dockapps and that was my custom assembled DE. Until I switched to amd64 and the version I was using of pekwm (It was a CVS snapshot) started throwing exceptions. I wasn't really sure why and didn't have time to fix it. I wanted my laptop to be up and running again. I ended up trying the latest release but it did not work with hpanel (It was a hacked version because it wasn't originally working fine). and that's why I went back to GNOME.

Anyway, No flame please but KDE just rocks, it just works! I'm still having problems with fonts under Konsole (Bye multi-gnome-terminal) but I just need to free a few hours to test all the fonts out there.
Amarok works fine although the UI is a bit "cluttered" (But I managed to get it to crash :-))
I remember my phone complaining about not being correctly unmounted and warning about data corruption whenever I unplug it from the USB cable after asking GNOME to unmount it, KDE simply doesn't have this problem. The bad thing is that they removed "panel icons zooming upon mouse hover" but the tooltips are large and clear. Of course Arabic is still not that good under Konsole but I'd blame myself for that :-)

Konqueror is crappy as usual. I'm still using Opera :-(

Well done KDE team, Debian KDE team, GNOME team and Debian GNOME KDE team.

Thanks for the fish :-)

Now I guess I need to get myself familiar with the KDE/Qt API.