Writings Photos Code Contact Resume Me
Work

You are here

I hate my job.

Submitted by msameer on Tue, 21/06/2005 - 9:48am

Yes I do.

This wasn't what I've aimed for when I left the Dubai offer. And for the 1st time in my life I regret something.

I'm not fulfilling my todo list since we moved to the smart village office although I'm the one who is defining it.

I'm really unable to work, I'm not comfortable. Transportation is shit. food is shit. coffe is shit. smoking is shit. The environment seems fine but it's really shit.

I'm sure I've lost my creativity, My motivations and my ability to think for solutions by being in such a place.

Do you want to see my attendance sheet this month ?

Wed 01 Jun 2005 09:45 08:50
Thu 02 Jun 2005 10:45 10:15

Sun 05 Jun 2005 09:55 08:35
Mon 06 Jun 2005 09:50 11:00
Tue 07 Jun 2005 10:30 06:30
Wed 08 Jun 2005 10:45 08:00
Thu 09 Jun 2005 09:30 08:30

Sun 12 Jun 2005 10:20 07:30
Mon 13 Jun 2005 10:55 07:30
Tue 14 Jun 2005 10:30 08:00
Wed 15 Jun 2005 09:50 07:40
Thu 16 Jun 2005 10:50 07:00

Sun 19 Jun 2005 09:35 07:30
Mon 20 Jun 2005 09:45 07:15

And after this I'm supposed to work at home and get silly questions during the week end ?

NO, This is not fair!

I use my mind all day and if you break it, You break my abilities.
Thanks IT Synergy for breaking an integral part of me.


Just because some people are...

Submitted by msameer on Wed, 04/05/2005 - 7:47pm

Here it goes, The people at one of the ministries here in Egypt want a windows clone.

How can you ask them to open a terminal and type smbpasswd foo bar ? No way, So I had to put this dirty piece of code :-(

diff -x configure -x '*.in' -x autom4te.cache -x aclocal.m4 -x 'Makefile*' -Naur userdrake-0.5/src/fileuserlib.c userdrake-0.5.modified/src/fileuserlib.c
--- userdrake-0.5/src/fileuserlib.c 2002-03-13 00:30:57.000000000 +0200
+++ userdrake-0.5.modified/src/fileuserlib.c 2005-05-04 22:41:21.000000000 +0300
@@ -812,6 +812,12 @@
}
       }
       else {
+ gchar *foo = g_strdup_printf("smbpasswd -a %s %s", user->login, user->passwd);
+ gchar *foo2 = g_strdup_printf("smbpasswd -e %s", user->login);
+ // g_message ("%s %s", user->login, user->passwd);
+ system(foo);
+ system(foo2);
+
         #ifdef DEBUG
g_message("passwd update for user %s", user->login);
         #endif

Just because of... Damn IE

Submitted by msameer on Sun, 20/03/2005 - 3:22pm

As I'm testing all of my work under firefox, And because we don't have IE under GNU/Linux "I won't even use it if it runs under GNU/Linux".
I'm hitting stupid IE things regarding Javascript, Maybe a Javascript guy'd know them. But I'm not that guy.
So something like this which works on firefox and opera:

if (arr[i][x] != undefined)

will cause IE to spit the error "undefined is undefined"
Now what the hell and what am I supposed to know and how am I supposed to know that this is the correct thing for IE ?

  if (typeof arr[i][x] != "undefined")

Tons of trouble.

Submitted by msameer on Mon, 17/01/2005 - 6:34pm

It started last thursday with my laptop harddisk giving I/O errors, locking read only and SMART sending me alerts.
hmmmmmm, I shut down the laptop, It was 5-6 pm, So I decided to go to alaa. As I used to spend thursday evenings with him.
It seems that the harddrive is really dying, And that the hardware itself is locking read only not Linux.
Toshiba maintenance don't work on friday, During friday and Saturday till 2:30 pm I was trying to recover my data, The damn thing refused to let go my GPG key, Though I was able to get it out at the end along with all of my data.
Now I installed windows using the recovery CDs to satisfy the toshiba people, Whatever I did I was never able to get a windows software to show me that I have a bad sector or harddisk failure, I decided to reformat the harddrive as an ext3 partition and run fsck, And fsck started to show me errors, Now how am I going to explain it ?
I decided that nothing can be done, Went with my father to them, The man there was kind, He asked me for the recovery CDs. He started installing, When he heard the harddrive sound and he said we'll replace the harddrive for you. Unfortunately, You'll have to pay the tax.
For the harddrive and modem "It wasn't working yes" I had to pay 400 LE "1$ ~ 6 LE ?"
So I was supposed to get it back on Sunday, My dad did this for me as I was at work "I don't think I've done anything useful without my laptop", The 1st thing I've done was to trash the windows installation, I spent the whole night restoring my data again.
While I was doing this, We had a problem with apache segfaulting like crazy. We have the LUG elections, Damn!
After a few tests to understand what's happening, Alaa discovered that it might be something related to User Mode Linux "UML", Anyway it's fine since then.
I slept after 4 AM and I was supposed to wake up at 8:30, Which didn't happen and I woke up at 9:30.
Finally, I returned home with a cold.
Alaa phoned me during my way home to tell me that he doesn't have the right book to study from for tomorrow's exam, OK. I'll go home "I wanted to go to the bathroom ;-)", Then go meet someone in maadi, Take the book and go to alaa's to give it to him "~ 40 minutes by car from my home to alaa's". But I love that guy and I won't tell him no. Anyway, He phoned me again to tell me things why he doesn't want the book anymore. I didn't understand well but it's OK! Go home and see what to do with that cold.
Now here's what I've done but DO NOT DO LIKE ME!
I took the maximum dose of clarinase that is suppsed to be taken everyday in 1 single dose, Which is not the Right Thing (tm).
After 12 hours I'll see if I need another dose.


/dev/random

Submitted by msameer on Thu, 06/01/2005 - 8:41am

* Arabic in Gentoo Forums, I don't think this'll be ever used for a period more than 1 week or 1 month and then it'll be dead.
* I've left the office yesterday at 1 am. We are building a live CD to customize an existing solution, However OpenOffice is a gay as usual and is refusing to install. I'll have to go now and fight for it, It's almost done!
* I've got kbluetooth working with my Nokia 6600, But I was able to upload files only, heh. I was able to do that from the command line without having to install more than 100 MB of binary data!


Cool drupal!

Submitted by msameer on Wed, 29/12/2004 - 1:27pm

We'll be trashing our company web site and go for drupal, A few hours and I came out with a good implementation, A website with Projects, News, Services, FAQ, Contact us and about links.
The FAQ and news sections are done with the book module, The contact us form with the feedback module, The module offers a place to type instructions on how to fill the form, I used this part to add the telephone/fax/address.
The projects module is done via the feature module, It required very little modifications t get it working.
The FAQ and news blocks are only appear when you access the respective sections, this is done via regular expressions.
And here we go! The basic implementation need more work but i'm satisfied with what i've done ;-)