Archive for December, 2006

vmware and Ubuntu 7.04 (Feisty Fawn)

Friday, December 29th, 2006

In the process of installing vmware server on feisty I had to apply the following patches:

  • if running a 2.6.19 kernel you will need to follow this link (it’s in French)
  • if running a 2.6.20 kernel you will need this patch in addition to the above patch
  • After I applying the 2 patches I was able to compile with no problems!

    mysql sever messed up?

    Thursday, December 28th, 2006

    I had a really strange thing happen to me today!

    mysql> SELECT id , sitelang, themeid,name,loginurl,logourl,logow,logoh,logohref,contacturl,adverturl,termsurl,privacyurl,servicelevel  FROM gdomains WHERE na
    +-------+------+------+-----------------------+------+--------------------------------------+-----+-----+----------------------+-----+------+------+-----+---
    | #B    |      | !    |   @                    |      |                                      |     |     |                      |     |      |      |     | !
    +-------+------+------+-----------------------+------+--------------------------------------+-----+-----+----------------------+-----+------+------+-----+---
    | 22403 |      | 0    | coldwellbanker-me.com |      | http://www.gawab.com/images/logo.gif | 110 | 70  | http://www.gawab.com |     |      |      |     | 32
    +-------+------+------+-----------------------+------+--------------------------------------+-----+-----+----------------------+-----+------+------+-----+---
    1 row IN SET (0.00 sec)
     
    mysql> SELECT id,sitelang,themeid,name,loginurl,logourl,logow,logoh,logohref,contacturl,adverturl,termsurl,privacyurl,servicelevel  FROM gdomains WHERE name=
    +-------+----------+---------+-----------------------+----------+--------------------------------------+-------+-------+----------------------+------------+-
    | id    | sitelang | themeid | name                  | loginurl | logourl                              | logow | logoh | logohref             | contacturl |
    +-------+----------+---------+-----------------------+----------+--------------------------------------+-------+-------+----------------------+------------+-
    | 22403 |          |       0 | coldwellbanker-me.com |          | http://www.gawab.com/images/logo.gif |   110 |    70 | http://www.gawab.com |            |
    +-------+----------+---------+-----------------------+----------+--------------------------------------+-------+-------+----------------------+------------+-
    1 row IN SET (0.00 sec)

    Very strange, no!!?? Well When I did this query the problem stopped happening!

    SELECT id , sitelang, themeid,name  FROM gdomains \
    WHERE name='coldwellbanker-me.com';

    The new server that kept me up all night to install

    Thursday, December 28th, 2006

    We got a fancy new server at gawab yesterday! specs as follows:

  • Intel S5000VSA board
  • 2x Dual core Xeon 5130 processor with VT support!
  • 8 GB RAM
  • 3ware 9650SE-8LPML SATA II controller
  • 8x 400GB SATA HDDs
  • 2x onboard GigaBit Ethernet
  • We used to use a debian iso from 3ware to install our servers. But this time the ethernet controllers were not recognized! The controller in question is the Intel 82563EB controller. You can find Linux drivers here. I configured the linux source tree for kernel 2.6.8 (the version used by the Debian CD) and made the new e1000 module! However, when we tried to continue the installation we found that Debian couldn’t recognize the 3ware card. After finding this article, the solution was apparent; i had to find a distro with a 2.6.19 kernel or better!

    All I could find was feisty fawn herd 1. (Ubuntu 7.04 RC1) and for some reason it took an hour to download. but at last we burned it and installed.

    Getting bash syntax hilighting to work with ig hiliter

    Monday, December 25th, 2006

    As the bash language file doesn’t com with the plugin, I had to download it from the geshi site! but even then, the code box was not displaying the code correctly! To make it work I had to comment out the 3rd and 4th element in the REGEXPS array in the language file!

    'REGEXPS' => array(
            0 => "\\$\\{[a-zA-Z_][a-zA-Z0-9_]*?\\}",
            1 => "\\$[a-zA-Z_][a-zA-Z0-9_]*",
            2 => "([a-zA-Z_][a-zA-Z0-9_]*)=",
            //3 => "(?< !\\$)#.*\n",
            //4 => "\\$#"
            ),

    My internal SD/MMC card reader works under Linux!

    Monday, December 25th, 2006

    Before I bought my laptop i read several reviews. They all confirmed that the SD/MMC card was not working under Linux! Today I decided to explore and you can imagine my pleasant surprise when I found that all I needed to do to make it work was:

    echo tifm_sd >> /etc/modules

    Syntax highlighting for wordpress

    Wednesday, December 20th, 2006

    I looked at a few plugins but I finally decided on iG:Syntax Hiliter. It’s easy to install and tweak!
    In the css file, I changed the font size of the highlighted code to 11px (it was 13px) and the width of the code box to 445px (was 500px). It looks better now! The only problem is that I can’t seem to get the bash syntax to work!

    The joys of Fatherhood

    Thursday, December 14th, 2006

    It is 5:20 AM and I this is my third post today!! :) You see, my wife and I discovered that is not really easy to sleep with Mariam! (If she takes a deep breath we both wake up startled :) ) so when Mariam got her last feed at 3:00 AM I told my wife to sleep till the next feeding time (6:00 AM) and I will look after Mariam until then, giving her a chance to get some sleep! so here I am typing away on my laptop while she sits here in front of me sleeping! I have to go change her dippers as it looks (smells) like she has been to the bathroom :)

    It’s bonding time :D

    Mariam

    Thursday, December 14th, 2006

    Just in case people are wondering what she looks like, here is a snap of her!
    Mariam

    Wow… What a week

    Thursday, December 14th, 2006

    Now before you say “Yeah, I had a tough week too”, I will present you with a short summary of what my week was like :)

  • Wednesday, 6th Dec: I bought a nifty Casio EX-Z120
  • Thursday, 7th Dec: My wife gave birth to a beautiful baby girl (Mariam).
  • Friday, 8th Dec: We discover that Mariam has ABO HDN and had a Bilrubin level of 14! The immediately started photo-treatment but the Bilrubin levels still jumped to 16. Doctors told me that if it reaches 18 we will have to do a blood transfusion! They gave her an injection that brought it down to 13
  • Saturday, 9 Dec: Bilrubin level fluctuating between 13 and 14!
  • Sunday 10 Dec: no change in the Bilrubin level! At night Mariam starts vomiting and has a bit of distention
  • Monday, 11 Dec: Doctors tell me that as Mariam was not responding to the medication given for distention they did some x-rays and it looks like there is an intestinal obstruction that needs to be operated on ASAP! We call a surgeon and when he finally comes 2 hours later, he asks for a gastrophile! We are directed to Prof. Dr. Mazloom Zakariya, whom I must say is a great Doctor! He squirts something with iodine in her stomach via a gastro-nasal tube (a tube that goes through the nose into the stomach) and x-rays to see where the obstruction is! This is when the wheel started to turn :). Dr. Mazloom told us that there was no obstruction that he could tell of, but she did have chronic distention and he would like to see here again tomorrow
  • Tuesday, 12 Dec: Dr. Mazloom take another look at her and tells me that all is well but there is something wrong with her colon! he wants to give her a chance to git rid of what’s in her tummy so we need to see him after 24 hours! The hospital tells us that the Bilrubin level is down to 10 but they do not want to release her yet
  • Wednesday 13 Dec: Dr. Mazloom tells me Mariam is 100% ok, the hospital tell me she her bilrubin level is down to 7. I take her home :D
  • Now that the week is over and I contemplate upon the happenings, I realize how much Allah has blessed me! I encourage anyone who goes through anything similar to have faith in Allah and never stop praying!

    You know, all in all, I think we paid a very cheap price for Mariam :) (The light of my heart)

    Simple wishes

    Monday, December 4th, 2006

    AA,
    I usaly never forward stuff I get from mailing lists and stuff, but this video clip really touched me! so I decided to upload it :)

    We forget to think about the simple gifts that Allah has bestowed on us and thank him for it! Remember that the best way to that Allah for his gifts is to use those gifts in good deeds!

    So kiss your mother’s and father’s hand today and tell your family members how much you love them!! tomorrow you might not be able!

    If anyone has problems with the wmv file let me know and I will upload some different formats!