Older blog entries for masood (starting at number 14)

New Year & Eid Celebration

New year started with eid celebration and a sad incidence of saddam execution. Different people have different views about the execution, regardless of whatever it is, it shouldn't be shown on TV like this. I don't think there is any difference in keeping a person is prison and in graveyard, unless you have any personal fear from him/her.

Today is my first day of Eid and as usual spending in front of laptop, reading about different problems in Link List.

Girl Friend?

I'm doing preety well as far as my professional life is concern but as compare to my social life I'm unable to get a true friend willing to give me chance to show my care to her. I know the importance of GF in life and I feel really guilty about loosing some important true friends just because of my own stubborn nature and sachi I'm afraid to live a life like majno. Last few years of my life bring full success, as I did really hard in achiving my goals, but If I look behind It has changed my personality a lot. I learned a lot from my previous experience and had a really bad reputation of falling in initial love without even knowing a person :). The only problem which I can see and I don't have any solution for it is, I expect more from a GF as compare to friend, I know every one do but I don't have the guts to make some one fall for me, whom I like, and if any one do, It just because of my status not me, yes this is true. Anyway I can't say much as I don't have any successful experience in life till now. But hota hai chalta hai, aur haun "I don't give up yet". Let see who is next in 2007 :-).

27 Dec 2006 (updated 26 Jan 2008 at 22:22 UTC) »
Email Farewell?

Yesterday, It was my last day in XYZ and it went so bad. I spent 1.5 years in XYZ and guess what? email farewell... I was shocked when I received email of CEO, giving farewell in just a two paragraph email. I seen other employees leaving XYZ and they had given a good farewell in a good respectable manner, with some discussion on what he/she has done for the company. I'm not sure may be they are not happy with my work @XYZ or the way I refused the offer to stay in XYZ. But whatever it was I felt extremely unhappy about it. I was going on a one month proper notice while back in the time of joining XYZ, they forced me to join in 12 days.

New Job

My new jobs is really exciting and it's more toward embedded programming approach. Although I'm not strong in assembly but I guess this is the strong learning point for me also the strong reason of leaving XYZ. My job responsibility includes coding some heavily optimized application using inline assembly and using the feature of AMD's L1 and L2 cache. I was reading some documents on application optimization on AMD opteron platform and looks really exciting to me. Also my job responsibility includes device driver writing skills which is some thing not as new to me as assembly.

19 Nov 2006 (updated 20 Nov 2006 at 12:29 UTC) »
New Job

Last week I applied for a job and was succeded, no doubt the job was excellent and I was really excited about it but in the end, I had to appologies for not giving positve responce to the offer letter offered to me. Apart from other good thing, this job did have some assembly level of work along with inline assembly in C. In other words a mature C language programming job.

Naseeb Birthday

On 6th Nov we celebrated naseeb's birthday in Uptown LA. you can check few snaps from here. We had a bowling competition and I never in my life did bowling before this event and had no idea what so ever. One 5th Nov 06 I started googling howto's, And fortunately got some good video tutorials. I did pratice in home with a tenis bowl in my hand :), I know It's not cricket but I was so desperate to learn as I was afraid to lose. Thought we were up against players like me :) and my team mates were asra and shafiq. Mahvi kept telling me it's not that hard game but newbie always do silly stuff :). Anyway every thing went perfect although we were kicked out in first round but it wasn't because of me :). All the credit goes to Asra, according to her she do bowling regularly and no wounder she was the lowest scorer in our team. You can check one of my strike video. That was the coolest day since I'm in lahore and its arround 1.5 years now. I realy enjoyed eating, bowling, laughing and teasing Umar. I would have upload the bowling style of other coliques but i forgot, sorry.

NetMos Serial Card

I inatalled those multi port card yesterday on AMD64 in office but looks as they are, some how, not detected. I have to recheck/redo the hardware installation part.
My BirthDay
Yesterday I celebrated my 25th birthday. As I'm in Peshawar, for eid vacation, I really enjoyed spending my Birthday with my mom, dad, younger sis, aunties and cousins. The other special thing about my Birthday was; Mehvish, coolest friend of mine, sent flowers, choclates , card & cake. She some time really amaze me with her caring talks and actions. I'm really happy to have her in my list, Some one who is willing to listen all of my past stories and addventures :). Still have to share lots of stuff which hardly I can share with any one else.

Asterisk Billing Application

While developing Asterisk billing application, I have to modify asterisk mysql CDR plugin to rate the CDRs before it touches the databases. The experiment worked really great and saved the time of post processing the CDRs. The other stuff which took some time in coding was the best regax matching extension while asterisk call hunting. For this, I break down the numbers in seperate file and extensions which really work out as I expected.

GSM/GPRS Embedded Module

I really Like these Modules. I only worked with g18 but looking forward to try g20. Currenlty, Mostly Asterisk GSM devices using these module in PCI cards to give the support of GSM to asterisk. While reading motrolla Developers guide I figure out we can actually play alot more with it.

SIP Digest Authentication
Last week I was given a task of coding a SIP terminal client. The first thing, as most of the people do, I googled RFC of SIP and started reading it. And in a day or so I started coding a simple sip client to just send a registeration request to the SIP server/Proxy. The good thing about SIP is; it's a mixture of HTTP & SMTP protocol & truely speaking, Some time I feel I'm coding for HTTP not for SIP.

SIP uses HTTP DIGEST method to authenticate the client and that was the most confusing part in the start. As I was unable to find any exact RFC for it plus most of the SIP document refering me to the HTTP DIGEST which is more complex then used by SIP. Although the procedure is exactly the same but the way RFC's explained, it sucks. The simple explanation to all the sutff which once took some time to code was this.

New RFC for SIP only recomment SIP DGIEST method to be use as authentication mechanism. In Digest server sends a challenge string "nonce" which should be encrypted along with our username, pass, URI,realm , request and send back to the server. All this is achievable using a simple three step formula.

1. H1= MD5 ( username : realm : pass)
2. H2= Md5 ( METHOD : URI)
3. responce = MD5 ( H1: nonce : H2 )

In case when Authentication is needed server reponce back with the 401 (unauthorized request) along with the realm and nonce. As we are registering with the server the METHOD should be "REGISTER" and URI on the server which we want to access, e.g sip:192.168.1.20

Solaris 10

Working in solaris was never ever been in my plan but I must say I'm lukcy enough to get a chance to work in it in professional enviroment. Today, it's my fouth consecutive day working in solaris and no doubt I learned a lot about it. SunDocs helped me alot in putting the basics in my head. SUN's patch management is excellent but with some restriction and subscribtions, it reminds me RHEL enviroment. Initially I tried using my Linux skills in solaris but only succeded in using the common Unix commands. My first task was to patch the server and using SUN's guide I patched 2 servers easily. Though I had to read it's full patching mechanism and plicy later to make my self sure when we need it. My second task was to check RAID 1 performance and to verify its state, Again I had to gone though SUN's awsome guide to make my self first understand and then using a set of checks I tested RAID 1 state.

Currenlty I'm busy in reading as much as I can to make my self comfortable in handling solaris. I migh quickly jump in to programming but first I have to make my concept of administration clear in it. And that definalty would take a month or two.

Smarty

Another awsome creation of opensource community. It's a Templete Engine/Framework. My next project is to convert a site in Smarty. For this I have to learn it fully as a taged language. Though I don't have much of the interest in coding in php but again when it comes to professional life you always have to listen what you boss requires :).

Asterisk

I'm actually having a good time with asterisk. And after the project of CallCenter setup for MPS callcenter in Lahore, now I feel quite comfortable in handling asterisk. In my previous blogs I did mention about my activities realted to Asterisk programming and now it's all related to handling/administring asterisk. Still, there are so many things to learn and implement. But surely, with the project currenlty in my hand, I'll be able to learn all the skills quickly.

Update: Started working on my little tool name stelnet. The idea behind this creation was to create a tool for penetration testing SSL enabled ports. Exactly the same thing we do with telnet client tool. But I'm looking forward to add some interesting stuff in it like certificate checking, banner grabing, etc...

Second Job: I was doing a part time online job but It was hard to manage beacuase of the nature of my work. So I decided to quit part time job and work part time only for opensource as it's the only thing which make me feel better :).

OpenSource: Looking for some ongoing projects to work on, to gain more experience and skill. My interest is developing more and more towards device drivers.

gdb: It's awsome but really hard to get a full command over it. I hope now I got some more time to play with it along with other projects.

Job: I wish I can only work as a developer not sysadmin or anything which has nothing to do with the programming. Some time it look as time wasting stuff when any one put me in a stuff other then coding in C. I wish I can find my dream job with only C geeks arround me :).

RT Memory usage

This RT(Request Tracker) is making life harder. The way it utilizes memory is awfull. I was reading about unix memory utilization and some thing which helped me alot to understand why apache unable to release memory.i.e

taken from: Guide

Note: there is usually no system call that can be used to return unused memory back to the operating system. when you free memory, the memory manager cannot return this memory back to the operating system. If this freed memory is never used again, it will eventually be paged out to disk - but won't be freed until the process exits. Thus, the ammount of virtual memory used by a process always increases - never decreases.

Now that's what clear my concept a bit. Now I'm looking few ways to force RT to use limited memory But I think it will make life harder for RT to operate properly. Few Apache directive I'm currenlty thinking to deploy ASAP.

Limiting CPU Usage | Limiting memory Usage | Limiting CPU Usage
It will be a great fun after tight deployment of these directives.

Asterisk

Currenlty working/Playing with asterisk and really enjoying it. This Telecommunication world got some charm. Thanks GOD I have done MIT (Masters In IT) due to which It wasn't hard for me to hang arround with telco world.

My major task is to deploy a module of asterisk of a simple IVR solution, offcourse in C. I'm already done with it and now looking for SIP/AIX implementation. I never thought of playing with VoIP in my life :) but thanks to my CEO, I'm in :).

DoxyGen
This project is looking excelent to me. I haven't tried it yet but after checking Asterisk Documentation, I really starting loving Doxygen.

GDB

It really awsome :), For the last 3 weekends I'm reading its features using GDB GUIDE and it's like rocking. So many feature to screw some one, offcourse program too :). I hope I can get more time in learning these awsome tools as quickly as we dream of a new girl lol. :)

Porting
Today I started reading about porting application from windows to linux, It looks exciting and hardwork but Right now I am really enjoying it.
I am in deep thinking
Why this world is after Object Oriented ?
I think I have to switch my self to OOP as It looks to me, Software Engineering is only left in OOP or World thinks only OOP is a true nature of software engineering :(. I am in so much of confussion right now and thinking what should I do next. I really love C and don't want to learn OOP, I did try to implement OOD in C but it arouse my interest in OOP so I left it alone.


Life Is so busy!

I never thought in my life, I am gona be that much busy and YES! I am really enjoying my life Thanks to GOD. So much opertunities and so many ways to get my self develop more rapaidly. Right now I am so much happy with the life I am living. Though its alone and I am still virgin lol. But really enjoying it.

Future Plans

I already customized my life a lot and still looking for more. Like Sleeping 5/6 hours a day, Working and spending my all day in front of Linux BOX, Try to gain more stuff each day. Even I fell happiness in giving my full weekend to it. May be it my true love or may be I want it more then any thing else in life. Some time Life looks cool, some time boring, some time alone, some time peaceful, some time good some time something missing. But what ever it is, I want the best out of my life. Looking to adopt all the methods of successful life. Life going two fast or I am pulling life faster. Its almost 3 am and usually its the start of my sleeping time.
Going to lay down for a bit and plan for tomorrow and then sleep In a hope of a better Plan tomorrow.

5 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!