Demonoid is back once again

Well after a long time, once again, Demonoid is back,  the user accounts are still there, and our upload /download statistics are still intact. enjoy !!


ونڈوز پر اردو کے استعمال کے لیے چند مشورے اور جُگاڑیں

Computer usage in one’s own native language is getting popular these days, and many Softwares now include several languages to overcome the language barrier of the users. It has its own joy of interacting with computers in mother tongue.

Urdu is also one of the languages which is gaining popularity in computer usage. Efforts have been conducted by Pakistani Universities and other professionals to enhance the presence of urdu in general computing activities. These efforts are often supported by Govt. of Pakistan. NUCES Lahore Campus has contributed significantly to the cause with their CRULP ( Center for Research in Urdu Language Processing) initiative.

Following is a list of few good utilities for using urdu on PC from CRULP.

Just to let you know about the complexity of fonts for languages in arabic script is that the actual appearance of character /alphabet is dependent on the context. e.g م is meem, in محمود there are 2 positions for meem, initial and middle,and in علم meem is in final position:)
Now urdu uses alphabets from arabic language, but it follows persian script “Nastaleeq”, which may be a bit difficult for computers, as each new character is connected at a lower level and the whole word follows a slanting path.

So use these utilities, and send your suggestion to the developers, so that they may come up with a better and enhanced version.



Interviewed @ PakSpectator

well my few moments of fame, as I was interviewed by The Pakistan Spectator (TPS).  It was first experience of giving an interview. I hope you may got a little more info about what and how I think. Don’t forget to leave your precious comment.



LPT0006 passed away ! – Obituary

Its really sad for me to break that my laptop ‘lpt0006’ has passed away on wednesday 8th January, 2008 at around 2:45 pm (local time). 😦 The exact cause of death is still unknown, but initial reports claim that it was due to hard disk controller failure. However I am still waiting for an official autopsy and hopes that it may be able to rise again :).

‘lpt0006’ was from the family of acer ferrari 4000 series ( ferrari 4005 WLMI). The departed soul had been in service since 26th March 2006 11:am and meticulously executed it duties during that period. During this period which spanned over 654 days, ‘lpt0006’ served 18-20 hours /day, while the disk I/O usage is estimated at 500 mb read writes /day ( this is only for user data and does not include paging and caching i/o). Awesome thorughput , I would say, from this family. But its sudden death was an extremely surprising incident.

Although I didn’t like the machine , but hey it was free and an above average performer, and didn’t cost me any thing 😀 .  I usually spend most of my after office time over my laptop, and suddenly after getting deprived of it, I had no other choice but to stare the roof while lying on my bed :).  ( I have already taken my xbox and complete Harry Potter books set back to Pakistan  while visiting during this winter vacation) . But the worst part isn’t over yet, the next three days were holiday , Thursday was off  due to 1st Muharram,  while Friday and Saturday are our usual off-days of the week.  So I had nothing to do , literally nothing , to do at home, except for sleeping 😀 .

Anyway , I used Dell Inspiron 8600 ,borrowed from Khurram bhai, for sometime, until I got a replacement laptop tablet notebook. Its LT-20 from LG, bundled with Windows XP Tablet PC edition. Its really cool to use it. It has a touchscreen and can be turned into a small notebook or tablet , by rotating and flipping the screen. Though machine is not so strong, apart from being bloated with support softwares( input panel, keyboard surrogate, bla bla) which consumes almost 80% of available physical memory (400 out of 512 megs, consumed after getting logged in to the system). Anyway its lighter to carry ,with 11″ screen. Helpful in taking notes, preparing documents, chatting, light browsing activities, but nothing more then that. :P.

I am planning  to buy a notebook for myself, after going through some reviews, I am finally settled for Dell XPS M1530  , cool han!  I am waiting for DSF promotions which will be starting from 24 th January 2008. Mean while , I will look into products from other vendors, most probably from Alienware ( Personally I don’t like HP pavillon, Lenovo thinkpad).

By the way, did I mention it was an obituary for the deceased one 🙂



Instant Problem Solver: An Invention By Pakistan President


Congratulations to all fellow Pakistani citizens, our honorable president has made a marvelous discovery of the 21st century. After seven years of struggle, restless nights and extensive research, he has been able to formulate “An Instant Problem Solver for any Problem anywhere, anytime” aka “Emergency”.

This remarkable invention will definitely change the face of the earth, with misery lawlessness, corruption, biased judiciary, suppression of human rights will become things of past. I wonder , whether our next generation will ever heard these words( they might exists in dictionary ). It will help the deteriorating economy to make an about turn and hit the sky.

So, how it works. Well it is strongly to advise to use it when the ‘nation’ is in ‘peril’. Just proclaim Emergency for few days, and then see the result. You won’t believe it, until you see it happening. In few days you will see result yourself. Lift the state of Emergency after the ‘nation’ is out of ‘danger’. (Note: according to the latest research reports by MIT-Mussharraf Institute of Technology, Emergency and Martial Law are synonyms, you can always use them interchangeably ,if you are president and coas). Sometimes the constitution may prohibit you from taking the dose, but you know that sometimes we have to ‘swallow the bitter pill’ for the ‘greater good’.

I would advise to all the presidents and head of states of the world to give this incredible invention, a try. The patent owner is offering money back guarantee if results are not met.

To market the new product, I think , the patent will use some of the existing advertisements for different commodities available in the market as they will give the desire touch.  Some examples.

Medicam Toothpaste.
Uff, Dant ka Dard,
is Dant ke Dard ka kia illaj,
pesh hai medicam toothpaste
issey do minute dantoon pe laga rehne dein , phir asar dekhien ,
Medicam tooth paste, dentists ki awaleen pasand.

Uff, judges nahin bik rahe,
mein sadar kese banon, is dard ka hai koi illaj,
pesh hia Emergency 2007,
isey kuch din mulk mein laga rehne dein, phir asar dekhien,
Emergency 2007 , generals ki awalien pasand.


Suduri (cough Syrupe)
(original )
khansi ka hamla ,
suduri se paspa,
hamdard ki suduri,
(tamam duwain bachon ki pohanch se dur rakhein , tabiyat ziada kharab ho tu doctor se rijo’ karein , turrrnrn)

Judicary ka hamla,
emergency se paspa,
mussharf ki emergency 2007.
(tamam khabarain media ke pohanch se dur rakhein, halat ziada kharab hon tu media pe pabandi laga dein , dissshhh!)

do goli sher ke nishan wali , pani mein jald haal ho jati hai .
chand din ki emergency , General ke nishan walim, mulk mein jaldi lagoo hojati hai.


and the list goes on, :), In short the discvery addresses the following symptoms.
“Are you annoyed with Judicary”
“Is media making fun of you and your allies by publishing their wrongdoings”
“You are not sure whether you will be president for the next term or not.”
“You feel constitution is in your way to greater good”.

then go ahead with emergency.
“One way to rule them all, One way to find them all, One way to bring them all and in the darkness bind them”.
 Emergency is the Way.

Glossory :
Nation => you and yourself only i.e president or head of state or coas
Danger, Peril => you might not get a chance to hold the hot seat for the next term.
Swallow the bitter pill => go and f*** constitution, it won’t be much problematic.
Greater good => your and your allies future as you being in the hot seat.

During the dose you might observe following hallucinations, just disregard them.



faraz   (feeling proud to be Pakistani)

No More Extremism !!!


Self Explanatory. Extremism will not be tolerated at any level.:P



(PS: I am not translating , as it will void the beauty of the captions.)

dotCompilerator first release

well I am building my compiler studio from scratch using some other techniques that I didn’t use last time when I developed compiler studio. I don’t have any prescribed scope right now and I am building it bit by bit right now. But still some of the major enhancements that I would like to be included in the new one are following:

regular expression parser able to parse expression directly into DFA(partially done)
combined dfa support
design restructuring
LR parser implementation
Abstract Syntax tree generation
Visualizers (Grammars, FA, other)
enhanced support in RE for other operator (other then *,+,|,?)
support for multiple language description format( BNF ,EBNF, custom)
custom IDE
Integration with other IDE, (eclipse and

and this list goes on.

I have just started to work on the list, and it needs a bit of dedicated time, I was able to write a parser regular expression that parses the string into a Abstract Syntax Tree and calculates its firstpos, followpos, lastpos values for the node to construct a dfa. ( this is implemented as described in Compiler: Principles, Techniques and Tools by Aho, Sethi and Ulman). Now I am working on object model for FA/DFA/NFA and then RE conversion into FA.

download code from