Life Beyond Code

MNP (Mobile Number Portability) has been launched

Posted by: usmanahmad on: April 6, 2007

MNP (Mobile Number Portability) has been launched on 23 March across Pakistan . But what is it and how it works?

Let me answer a few questions. 

So what is Mobile Number Portability?
It is the ability to move from your current Network Operator to another
and still keep your complete cell number (including the 4-digit prefix
such as 0345).

What is ‘porting’?
The actual transferring of your phone number and services from one Network Operator to another.

Port out : Change your subscription from your current Network Operator and move to another.
Port in
: Opposite of Port out.

what number can be ported?
All MSISDNs of all six operators:

  • Mobilink (0300, 0301, 0302, 0306)
  • Ufone (0333, 0334)
  • Telenor (0345, 0346,0344)
  • Warid (0321, 0322)
  • Paktel (0303)
  • InstaPhone (0320)

What does Donor mean?
If you are porting, the Donor is your current Network Operator.

What does Recipient mean?
If you are porting, the Recipient is the Network Operator to whom you wish to port.

How often can I port?
You can request a port only once in 60 days from the date of a successful
porting. After 60 days a new port can be requested, but remember that
if you are a contract subscriber that you will always be responsible
for the outstanding balance on your subscriber contract, so frequent
porting could become quite costly.

What papers does a customer need to fill out?
Depending on whether a customer is a prepaid or postpaid customer, the following
will need to be presented to the Recipient Network Operator:

  • Completed application form
  • A written request on company letterhead (for corporate customers)
  • CNIC Copy
  • Your actual SIM

How long does porting take?
It takes 4 working days to port a number, provided you have no
obligation/liability on your existing cellular network. Your
subscription will remain active during these 4 days except for some
brief interruption in services (10-15 mins) when actual porting occurs.

When will the actual activation or deactivation take place?
Actual Deactivation at the Donor’s end will take place on the 4th day. As soon
as the Donor Operator terminates and sends confirmation message to
Recipient Operator, Recipient Operator immediately activates the
number. In response Recipient Operator will also send a message to
Donor Operator and Other Operators about successful Activation of the
number so that they can update the call routing information at their
end.

 Which of our packages can a customer choose?
Customers can choose any of our packages (prepaid or postpaid) regardless of their existing package.

Hope it will help

Regards

Tum Ik Gorak Dhanda ho (you are a puzzle)

Posted by: usmanahmad on: March 8, 2007

Today i am going to write urdu translation of a qawali performed by Nusrat Fateh Ali Khan. For last one month i have listen this qawali hundred times.

 

Here is the urdu translation:

Kabhi Yahaan Tumhein Dhonda, Kabhi Wahaan Pohncha
Tumhari Deed Ki Khaatir Kahan Kahan Pohcha
Ghareeb Mit Ga’ay, Pamaal Ho Gaye Laikin
Kisi Talak Na Tera Aaj Tak Nishaan Pohncha

Ho Bhi Nahi Aur Her Jaa Ho
Ho Bhi Nahi Aur Her Ja Ho
Tum Ek Gorakh Dhanda Ho

Her Zarray Mein Kiss Shaan Say Tu Jalwa Numa Hai
Hairaan Hai Magar Aqal K Kaisay Hai To Kia Hai
Tum Ek Gorakh Dhanda Ho

Tujhay Dair-O-Haram Mein Nai Dhonda Tu Nahi Milta
Magar Tashreef Farma Tujhay Apne Dil Mein Daikha Hai
Tum Ek Gorakh Dhanda Ho

Dhonday Nahi Milay Ho Na Dhonday Say Kaheen Tum
Aur Phir Yeah Tamasha Hai, Jahan Hum Hein Waheen Tum
Tum Ek Gorakh Dhanda Ho

Jab Bajuz Tairay Koi Dosra Maujood Nahi
Phir Samajh Mein Nahi Aata Tera Purdah Karna
Tum Ek Gorakh Dhanda Ho

Harm O Dair Mein Hai Jalwa E Purfan Tera
Do Gharoon Ka Hai Charaagh E Kurkhe Roshan Tera
Tum Ek Gorakh Dhanda Ho

Jo Ulfat Mein Tumhari Kho Gaya Hai, Usi Kho’ay Hoay Ko Kuch Mila Hai
Na But-Khanay, Na Kabay Mein Mila Hai, Magar Totay Hoay Dil Mein Mila Hai
Adam Bun Ker Kaheen To Chup Gaya Hai, Kaheen To Hast Bun Ker Aa Gaya Hai

Nahi Hai Tu To Phir Inkaar Kaisa, Nafi Bhi Tairay Honay Ka Pata Hai
Mein Jiss Ko Keh Raha Hoon Apni Hasti, Agar Wo Tu Nahi To Aur Kia Hai
Nahi Aaya Khayaloon Mein Agar Tu, To Phir Mein Kaisay Samjha Tu Khuda Hai
Tum Ek Gorakh Dhanda Ho

Hairan Hoon Is Baat Pay, Tum Kon Ho Kia Ho
Haath Aao To But, Haath Na Aao To Khuda Ho
Tum Ek Gorakh Dhanda Ho

Aqal Mein Jo Ghir Gaya La-Intiha Kiyoon Ker Hoa
Jo Samajh Mein Aa Gaya Phir Wo Khuda Kiyoon Ker Hoa
Tum Ek Gorakh Dhanda Ho

Falsafi Ko Behas K Ander Khuda Milta Nahi
Dour Ko Suljha Raha Hai Aur Sira Milta Nahi
Tum Ek Gorakh Dhanda Ho

Pata Yoon To Bata Daitay Ho Sub Ko La-Makaan Apna
Ta’ajub Hai Magar Rehtay Ho Tum Tootay Hoay Dil Mein
Tum Ek Gorakh Dhanda Ho

Jab K Tujh Bin Nahi Koi Maujood
Phir Yeah Hangama Ay Khuda Kia Hai
Tum Ek Gorakh Dhanda Ho

Chuptay Nahi Ho, Samnay Aatay Nahi Ho Tum, Jalwa Dikha K Jalwa Dikhatay Nahi Ho Tum
Dair O Haram K Jhagray Mita’tay Nahi Ho Tum, Jo Asal Baat Hai Wo Batatay Nahi To Tum
Hairaan Hoon Mairay Dil Mein Sama’ay Ho Kiss Tarah, Haan’la K Do Jahan Mein Samatay Nahi To Tum
Yeah Ma Bud O Haram, Yeah Qaleesa-o-Dair Kiyoon, Harjayii Ho Jabhi To Bata’tay Nahi To Tum
Tum Ek Gorakh Dhanda Ho

Dil Peh Hairat Nai Ajab Rung Jama Rakha Hai, Aik Uljhi Howi Tasveer Bana Rakha Hai
Kuch Samajh Mein Nahi Aata K Yeah Chakkar Kia Hai, Khail Kia Tum Nai Azal Say Yeah Racha Rakha Hai
Rooh Ko Jism K Pingray Ka Bana Ker Qaidee, Us Pay Phir Mout Ka Pehraa Bhi Bithaa Rakha Hai
Day K Tadbeer K Panchi Ko Uranay Tu Nai, Daam-E-Tadbeer Mein Her Sumt Bicha Rakha Hai
Kar K Araish E Qounain Ki Barsoon Tu Nai, Khatam Karne Ka Bhi Mansooba Bana Rakha Hai

La-Makaani Ka Bahr Haal Hai Dawa Bhi Tumhein, Nahl-O-Akrab Ka Bhi Paighaam Suna Rakha Hai
Yeah Burai, Wo Bhalai, Yeah Jahannum, Wo Bahisht, Is Ulat Phiar Mein Farmao To Kia Rakha Hai
Jurm Aadam Nai Kiya Aur Saza Baitoon Ko, Adl O Insaaf Ka Mi’aar Bhi Kia Rakha Hai
Dai K Insaan Ko Dunya Mein Khilafat Apni, Ik Tamasha Sa Zamanay Mein Bana Rakha Hai
Apni Pehchaan Ki Khaatir Hai Banaya Sub Ko, Sub Ki Nazaroon Say Magar Khud Ko Chup Rakha Hai
Tum Ek Gorakh Dhanda Ho

Nit Naye Naqsh Banatay Ho Mita Daitay Ho, Janay Kiss Jurm-E-Tamanna Ki Saza Daitay Ho
Kabhi Kunker Ko Bana Daitay Ho Heeray Ki Kani, Kabhi Heeron Ko Bhi Mitti Mein Mila Daitay Ho
Zindagi Kitnay He Murdoon Ko Ata Ki Jiss Nai, Wo Maseeha Bhi Saleebon Pay Saja Daitay Ho
Khuwahish-E-Deed Jo Kar Baithay Sir-E-Tuur Koi, Tuur Hee Bark e Tajaali Say Jala Daitay Ho
Nalay Namrood Mein Dalwatay Ho Qudrat Na Khaleeq, Khud Hee Phir Naar Ko Gulzaar Bana Daitay Ho

Chahay Kin Aan Mein Phainko Kabhi Maah Kinaan, Noor Yaqoob Ki Aankhon Ka Bujha Daitay Ho
Day Ke Yusuf Ko Kabhi Mirs K Bazaaron Mein, Aakhir Kaar Shah-E-Misr Bana Daitay Ho
Jazb O Masti Ki Jo Manzil Pe Pohonchta Hai Koi, Baith Ker Dil Mein Anal Haq Ki Sada Daitay Ho
Khud He Lagwatay Ho Phir Kufr K Fatway Us Per, Khud He Mansoor Ko Sooli Peh Charha Daitay Ho
Apni Hasti Bhi Wo Ik Rooz Gawa Baith’ta Hai, Apne Darshan Ki Lagan Jiss Ko Laga Daitay Ho

Koi Ranjha Jo Kabhi Khooj Mein Nikle Teri, Tum Usay Jhang K Bele Mein Rula Daitay Ho
Justujo Lay K Tumhari Joh Chalay Qais Koi, Us Ko Majno Kisi Laila Ka Bana Daitay Ho
Jot? Sassi K Agar Mun Mein Tumhari Jagay, Tum Usay Taptay Hoay Thal Mein Jala Daitay Ho
Sohni Gar Tum Ko Mahiwaal Tassawur Ker Le, Us Ko Bikhri Howi Lehroon Mein Baha Daitay Ho
Khudh Joh Chaho To Sar-E-Arsh Bula Ker Mehboob, Aik He Raat Mein Mairaaj Kara Daitay Ho
Tum Ek Gorakh Dhanda Ho

Aap Hi Apna Pardah Ho
Tum Ek Gorakh Dhanda Ho

Jo Kehta Hoon Mana Tumhein Lagta Hai Bura Sa, Phir Bhi Hai Mujhay Tum Say Baharhaal Gila Sa
Chup Chaap Rahay Daikhtay Tum Arsh-E-Bareen Per, Taptay Hoay Karbal Mein Mohammad Ka Nawasa
Kiss Tarah Pilata Tha Laahu Apna Wafa Ko, Khud Teen Dino Say Wo Agarchay Tha Piyasa
Dushmun To Bahar Haal Thay Dumshun Magar Afsoos, Tum Nai Bhi Faraham Na Kia Pani Zara Sa

Her Zulm Ki Taufeeq Hai Zaalim Ki Wirasat, Mazloom K Hissay Mein Tasalli Na Dilasa
Kal Taaj Saja Daikha Tha Jis Shaqs K Sir Per, Hai Aaj Usi Shaqs K Haathon Mein Hikasa
Yeh Kia Hai Agar Pochon To Kehtay Ho Jawaban, Is Raaz Say Ho Sakta Nahi Koi Shanasa
Tum Ek Gorakh Dhanda Ho

Hairat Ki Ik Dunya Ho
Tum Ek Gorakh Dhanda Ho

Har Aik Jaan Pey Ho, Laikin Pata Nahi Maloom
Tumahra Naam Suna Nai, Nishaan Nahi Maloom
Tum Ek Gorakh Dhanda Ho

Dil Say Armaan Jo Nikal Ja’ay To Jugnu Ho Ja’ay, Aur Aankhon Mein Simat Aa’ay To Aanso Ho Ja’ay
Ja Pe Ya Huu Ka Jo Be Hu Karay Hu Mein Kho Ker, Us Ko Sultaniyaan Mil Jaein Woh Baahu Ho Ja’ay
Baalgi Ka Na Kisi Ka Ho Churi Ke Neechay, Halk-E-Asghar Mein Kabhi Teer Tarazu Ho Ja’ay
Tum Ek Gorakh Dhanda Ho

Kiss Qadar Beniyaaz Ho Tum Bhi
Daastan E Niyaaz Ho Tum Bhi
Tum Ek Gorakh Dhanda Ho

Raah-E-Tehqeeq Mein Her Gaam Pay Uljhan Daikhoon, Wohi Halaat O Khayalaat Mein Anaban Daikhoon
Bana Ke Rah Jaata Hoon Tasaveer Pareshaani Ki, Ghaur Say Jab Bhi Kabhi Dunya Ke Darpan Daikhoon
Aik He Khaaq Pay Fitrat Ke Tajaadaat Itne, Itne Hisson Mein Banta Aik He Angan Daikhoon

Kahin Zahmat Ki Sulagti Howi Patjhar Ka Sama, Kahin Rahmat Ke Barastay Hoay Sawan Daikhon
Kahin Punkartay Darya, Kabhin Khamosh Pahar, Kabhi Jungle, Kahin Sahra, Kahin Gulshan Daikhoon
Khoon Rulata Hai Yeh Taqseem Ka Andaaz Mujhay, Koi Dhanwaan Yahaan Per Koi Nirdhan Daikhoon

Din Ke Haathon Mein Faqat Ek Sulagta Suraj, Raat Ki Maang Sitaroon Say Muzayyan Daikhon
Kahin Murjha’ay Howe Phool Hein Sach’chaii Ke, Aur Kahin Jhoot Ke Kaanton Pay Bhi Joban Daikhon
Shams Ki Khaal Kaheen Khinchti Nazar Aati Hai, Kaheen Sarmad Ki Utarti Howi Gardan Daikhoon

Raat Kia Shay Hai Sawayra Kia Hai, Yeah Ujala Yeah Andhera Kia Hai
Mein Bhi Naayib Hoon Tumhara Aakhir, Kiyoon Yeh Kehtay Ho K Tera Kya Hai
Tum Ek Gorakh Dhanda Ho

Daikhnay Wala Tujhay Kia Dekhta
Tu Nai Her Rung Say Pardah Kia
Tum Ek Gorakh Dhanda Ho

Masjid Mandir Yeh Mekhanay, Koi Yeh Manay Koi Woh Manay
Sub Tere Hein Jaana Kasahanay, Koi Yeh Manay Koi Woh Manay
Ik Honay Ka Tere Qaail Hai, Inkaar Pay Koi Maail Hai
Ik Khalq Mein Shaamil Karta Hai, Ik Sub Say Akela Rehta Hai
Hein Dono Tere Mastanay, Koi Yeh Manay Koi Woh Manay
Sub Hein Jab Aashiq Tumhare Naam Ke, Kiyoon Yeh Jhagray Hein Rahim-O-Raam Ke
Tum Ek Gorakh Dhanda Ho

Dair Mein Tu Haram Mein Tu, Arsh Pe Tu Zameen Pe Tu
Jiss Ki Pohonch Jahan Talak Us K Liyeah Waheen Pe Tu
Tum Ek Gorakh Dhanda Ho

Her Ik Rung Mein Yakta Ho
Her Ik Rung Mein Yakta Ho
Tum Ek Gorakh Dhanda Ho

Markaz E Justuju, Aalam E Rung O Boo, Dum Ba Dum Jalwagar Tu He Tu Chaar Su
Hu K Mahool Mein Kuch Nahi Illah Hu, Tum Bohot Dilruba Tum Bohot Khoobaru
Arsh Ki Azmatein Farsh Ki Aabro, Tum Ho Qonein Ka Haasil-E-Aarzo
Aankh Nay Ker Lia Aanso’on Say Wazu, Ub To Ker Do Ata Deed Ka Ik Sabu
Aao Parday Say Tum Aankh K Ru Baru, Chund Lamhay Milan Do Ghari Guftagu
Naaz Jabta Phiray Ja Baja Qo Ba Qu, Wahdahu Wahdahu La Shareeka Laho

 

 

Allah Hu Allah Hu Allah Hu Allah Hu
Allah Hu Allah Hu Allah Hu Allah Hu

Katamari Damacy is a 3D Japanese Video Game published under Namco.  A very stylsh and strategic game.

The game starts with a magical boll called a katamari. You have to roll this ball around various locations, collecting increasingly larger objects, ranging from thumbtacks to schoolchildren to mountains, until the ball has grown large enough to become a star. Game required a lot f strategy as well as dexterity to complete a mission

 

Cheers!!!

Wonderful Optical illusions

Posted by: usmanahmad on: February 13, 2007

If you watch the below images from your seat in front of the computer, Mr.Angry is on the left, and Mrs.Calm is on the right.

Get up from your seat, and move back 12 feet, and PRESTO!! They switch places!!

 

 

 

This illusion was created by Phillippe G.Schyns and Aude Oliva of the Univ. of Glasgow.

This proves that we may not be seeing what’s actually there, all the time!!

 

Cheers!

The Phenomenal Power of the Human Mind

Posted by: usmanahmad on: February 13, 2007

I cdnuolt blveiee taht I cluod aulaclty uesdnatnrd waht I was rdanieg The phaonmneal pweor of the hmuan mnid! Aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it deosn’t mttaer inwaht oredr the ltteers in a wrod are, the olny iprmoatnt tihng is taht the frist and lsat ltteer be in the rghit pclae. The rset can be a taotl mses and you can sitll raed it wouthit a porbelm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. Amzanig huh? Yaeh, and I awlyas thought slpeling was ipmorantt

 

Amazing? :)

Question to think is how Artificial Neural Network will be able to achieve this.

Ruby Fobia

Posted by: usmanahmad on: January 12, 2007

Now a days, For my fun job, i am learning How to Play with RUBY and RUBY on Rails. I can not describe properly in words how passionate i am about this language but let me try.

“if this is the Real RUBY, I believe IT WILL RULE ONE DAY”

Some one of you will agree with me that Ruby doesnt seem a computer language, it seems as we are reading Plain English essay . Let me give you an example

 

def sampleFunction

10.times do |num|

square = num * num

return num, square if num > 5

end

end

num, square = sampleFunction

puts num

puts square

You can see a simple Ruby program above.  sampleFunction is  a method. now look on Bold text in above program and tell me how cool it looks ,  Let me describe you above three bold sentences in Plain English.

- Ten Times do something with num.

- return num and square if num is greater than 5

- put in num and square the return values from sampleFunction

RUBY code is almost a copy of my Plain English description above.

Hundreds of other examples, but its time now to explore yourself.

: ENJOY another DYNAMIC TYPED Language.

I know I am going to LOVE this Language.

One of nice  tutorials on Ruby for Starters is  A very short Tutorial On Ruby

 

Cheers.

For my graduation research work, i got my first reseach pubication in IEEE in December 2004. The title of my paper is “Language Independent Optical Character Recognition(OCR) for handwritten text”. If you have a valid IEEE login , you can access this research paper at following link.

http://ieeexplore.ieee.org/iel5/9991/32103/01492850.pdf

Project Abstract:

 

Handwritten Language Independent Optical Character Reader (OCR) has emerged as a new idea to overcome the difficulties to understand the document datasets for different languages in single OCR software. Main idea behind Handwritten Language independent OCR is that all languages can be represented in some common basic geometrical strokes. Our research show that, with stroke based character segmentation and a Neural Network trained on basic geometrical shapes, a Language independent OCR can be born.

This software was developed in C#.NET and it is for windows operating system.

This software uses Pitman Shorthand Language and English as its testing languages. Shorthand is an international language used by journalists/stenographers in live conferences and seminars because of its high speed recording advantage (can record over 200-1200 words/min.).As shorthand is written with lead pencil, it has a poor document image with very less gray level difference between background and original text.

This software takes as input a handwritten document, perform necessary operations to convert document into a form suitable for further processing. After preprocessing subsequent operations involve, removing background lines ( Hough Transformation ) and noise, finding connected components , produce skeleton of each component, segmenting individual components into its basic geometrical strokes , extracting necessary features from these strokes, classification and recognition of PSL characters by analyzing these strokes using a trained Neural Network for basic geometrical shapes, and finally converts the recognized PSL strokes to editable form.

Being Language independent OCR, it covers wide areas of applications. This software can be perfectly used for encryption because user can define his own language too. It can also be used for data updates of offline literature written in any language, for enhancing the idea of paper-less office, for making a newspaper reader for blinds. It can be used by newspaper agencies for translating their journalist’s hand written PSL documents into Standard English requiring no more effort of stenographers for understanding PSL documents.

Here is Me, New pic at Eid Day

Posted by: usmanahmad on: January 11, 2007

 

Petals Around the Rose, Interesting puzzle

Posted by: usmanahmad on: January 11, 2007

Today i solved a puzzle,  The name of the game is Petals Around the Rose. The name of the game is important. The computer will roll five dice and ask you to guess the score for the roll. The score will always be zero or an even number. Your mission is to work out how the computer calculates the score. To play around with puzzle, go to following link

http://www.borrett.id.au/computing/petals-j.htm

Note: Bill Gates took 1 hour to solve this puzzle. At the end of page in above link, you can see story of how Bill gates solve it.

If you find answer, Please keep that secret. Never divulge the secret of the game to anyone else. Only those that can work it out for themselves should know the secret of Petals Around the Rose.  Be part of this community

Btw: I solved it in 20 mintues……………it was a constant thinking process.

Hint: Answer is very simple. very very simple. :) .  Note that  ”Name of the game is important”

If you solve it and tell 10 correct answers in 10 attempts, you will see a new link which will take you to registration page. you will become part of community automatically.

 

Cheers

Why doesn’t overloading work for derived classes?

Posted by: usmanahmad on: January 8, 2007

Today i was reading an Interview of Bjrane Stroustrup. This document clears on of my confusion about overloading in C++. Copy of that text is below.

That question (in many variations) are usually prompted by an example like this:

#include<iostream>
 using namespace std;
class B {
      public:
        int f(int i) { cout << "f(int): "; return i+1; }
     }; 
class D : public B {
      public:
       double f(double d) { cout << "f(double): "; return d+1.3; }
        // ...
     };
int main()
    {
    D* pd = new D;
    cout << pd->f(2) << '\n';
    cout << pd->f(2.3) << '\n';
    }

which will produce:

	f(double): 3.3
 	 f(double): 3.6

rather than the

	f(int): 3
	 f(double): 3.6

that some people (wrongly) guessed.

In other words, there is no overload resolution between D and B. The compiler looks into the scope of D, finds the single function “double f(double)” and calls it. It never bothers with the (enclosing) scope of B. In C++, there is no overloading across scopes – derived class scopes are not an exception to this general rule. (See D&E or TC++PL3 for details).

But what if I want to create an overload set of all my f() functions from my base and derived class? That’s easily done using a using-declaration:

class D : public B {
       public:
	using B::f;	// make every f from B available
	double f(double d) { cout << "f(double): "; return d+1.3; }
		// ...
     };

Give that modification, the output will be

	f(int): 3
	 f(double): 3.6

That is, overload resolution was applied to B’s f() and D’s f() to select the most appropriate f() to call

Calendar

November 2009
M T W T F S S
« Feb    
 1
2345678
9101112131415
16171819202122
23242526272829
30  

My del.icio.us

RSS Readings

Watch videos at Vodpod and other videos from this collection.

And Here is ME...

Sand Play - at Budva Beach (Montenegro)

My friends - Salman, Michal, Imre

Teradata Team Dinner, ProMonte Project, Montenegro (Imre, Viladimir, Danial)

More Photos