<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>Waqas's Blog</title>
	<atom:link href="http://waqastoor.weblog.pk/feed/" rel="self" type="application/rss+xml" />
	<link>http://waqastoor.weblog.pk</link>
	<description>Me ... Myself and What i think ..!!</description>
	<pubDate>Tue, 11 Dec 2007 08:25:29 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Changing OLPC locale the hard way&#8230;</title>
		<link>http://waqastoor.weblog.pk/2007/12/10/changin-olpc-locale-the-hard-way/</link>
		<comments>http://waqastoor.weblog.pk/2007/12/10/changin-olpc-locale-the-hard-way/#comments</comments>
		<pubDate>Mon, 10 Dec 2007 10:15:48 +0000</pubDate>
		<dc:creator>waqastoor</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://waqastoor.weblog.pk/2007/12/10/changin-olpc-locale-the-hard-way/</guid>
		<description><![CDATA[this post is just for a reminder for me  . Now OLPC build contains sugar-control-panel so changing locale from that is very easy! just a simple command and walla! the locale is changed.
how? here it is &#8230; $ sugar-control-panel -s language Urdu/Pakistan
simple aint it .. but why i am writing it because i have [...]]]></description>
			<content:encoded><![CDATA[<p>this post is just for a reminder for me <img src='http://waqastoor.weblog.pk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Now OLPC build contains sugar-control-panel so changing locale from that is very easy! just a simple command and walla! the locale is changed.</p>
<p>how? here it is &#8230; $ sugar-control-panel -s language Urdu/Pakistan</p>
<p>simple aint it .. but why i am writing it because i have to experiment with a historic build and its useful for Fedora as well</p>
<p>$ cd /etc/sysconfig/<br />
$ vi i18n<br />
add LANG= &#8220;ur_PK.UTF-8&#8243;</p>
<p>and then restart X or restart you machine  ( for fedora/olpc Users )<br />
and if you are using my Favourite Ubuntu and want to change to locale of the machine then its simple just edit<br />
$ vi /etc/environment<br />
add LANG= &#8220;ur_PK.UTF-8&#8243;<br />
and restart X or machine and there you go then locale or orientation of you desktop is in urdu i.e. right hand side writting scheme.</p>
<p>soon ill be writing more about localization issues <img src='http://waqastoor.weblog.pk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> from PO files to MO and from Keyboard configuration to Font installation</p>
]]></content:encoded>
			<wfw:commentRss>http://waqastoor.weblog.pk/2007/12/10/changin-olpc-locale-the-hard-way/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Counting characters in String in Bash</title>
		<link>http://waqastoor.weblog.pk/2007/04/04/counting-characters-in-string-in-bash/</link>
		<comments>http://waqastoor.weblog.pk/2007/04/04/counting-characters-in-string-in-bash/#comments</comments>
		<pubDate>Wed, 04 Apr 2007 16:15:34 +0000</pubDate>
		<dc:creator>waqastoor</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://waqastoor.weblog.pk/2007/04/04/counting-characters-in-string-in-bash/</guid>
		<description><![CDATA[walla i&#8217;ve learned bash. i am not a pro coder in bash right now but now i can under stand bash really well. Here is an interesting thing i found or you can say that the thing most bugged me when i was writing bash scripts were how to count the resulting string characters, and [...]]]></description>
			<content:encoded><![CDATA[<p>walla i&#8217;ve learned bash. i am not a pro coder in bash right now but now i can under stand bash really well. Here is an interesting thing i found or you can say that the thing most bugged me when i was writing bash scripts were how to count the resulting string characters, and also how to substring.</p>
<p>so here is what i found and was amazed with the power of bash or regular expression.</p>
<p>first to substring on a string based on my character</p>
<p>#! /bin/bash<br />
String=waqastoor  #substring based on t<br />
resultingString= ${String%t*}    #will result in waqas<br />
resultingString=${String:5}   #will result in toor</p>
<p>easy isn&#8217;t it</p>
<p>now counting the characters part</p>
<p>resultingString=${#String}  #will result in 9</p>
<p>strange how you can manipulate string in bash just with regular expression. Some people prefer sed and awk to make these work. But i believe digging deep into bash and regular expressions you wont be needing sed , awk etc may be those are used when things get really nasty in string manipulation. But the tasks i achieved from string compare to string concatenation to substring and finding a character in string. You can use simple regular expression and in bash you can achieve it.</p>
<p>Now looking from a problem with string where bash and regular expression fails <img src='http://waqastoor.weblog.pk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>for further reading for the interested ones http://tldp.org/LDP/abs/html/string-manipulation.html</p>
]]></content:encoded>
			<wfw:commentRss>http://waqastoor.weblog.pk/2007/04/04/counting-characters-in-string-in-bash/feed/</wfw:commentRss>
		</item>
		<item>
		<title>I am back</title>
		<link>http://waqastoor.weblog.pk/2007/04/02/i-am-back/</link>
		<comments>http://waqastoor.weblog.pk/2007/04/02/i-am-back/#comments</comments>
		<pubDate>Mon, 02 Apr 2007 12:39:56 +0000</pubDate>
		<dc:creator>waqastoor</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://waqastoor.weblog.pk/2007/04/02/i-am-back/</guid>
		<description><![CDATA[so i am back and i&#8217;ve got a lot of stories to tell  was busy with a lot of coding and designing and will now share what i found interesting in my fight with all those tools and languages 
]]></description>
			<content:encoded><![CDATA[<p>so i am back and i&#8217;ve got a lot of stories to tell <img src='http://waqastoor.weblog.pk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> was busy with a lot of coding and designing and will now share what i found interesting in my fight with all those tools and languages <img src='http://waqastoor.weblog.pk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://waqastoor.weblog.pk/2007/04/02/i-am-back/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Temporary Shutdown</title>
		<link>http://waqastoor.weblog.pk/2006/12/31/temporary-shutdown/</link>
		<comments>http://waqastoor.weblog.pk/2006/12/31/temporary-shutdown/#comments</comments>
		<pubDate>Sun, 31 Dec 2006 17:30:11 +0000</pubDate>
		<dc:creator>waqastoor</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://waqastoor.weblog.pk/2006/12/31/temporary-shutdown/</guid>
		<description><![CDATA[ok &#8230; i am busy a lot &#8230; cant even think of writing something usefull
so its a temporary shutdown&#8230; but will be up soon as i get some time to think 
]]></description>
			<content:encoded><![CDATA[<p>ok &#8230; i am busy a lot &#8230; cant even think of writing something usefull</p>
<p>so its a temporary shutdown&#8230; but will be up soon as i get some time to think <img src='http://waqastoor.weblog.pk/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://waqastoor.weblog.pk/2006/12/31/temporary-shutdown/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Microsoft Novell Pact &#8230; where its all going???</title>
		<link>http://waqastoor.weblog.pk/2006/11/13/microsoft-novell-pact-where-its-all-going/</link>
		<comments>http://waqastoor.weblog.pk/2006/11/13/microsoft-novell-pact-where-its-all-going/#comments</comments>
		<pubDate>Mon, 13 Nov 2006 10:41:18 +0000</pubDate>
		<dc:creator>waqastoor</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://waqastoor.weblog.pk/2006/11/13/microsoft-novell-pact-where-its-all-going/</guid>
		<description><![CDATA[Ok it struck like a shock when i read the news &#8230; then yet again bloggers started bombing each other, linux users and windows users showed different views and were quiet a war out there in these two worlds.So why should i wait then &#8230; thats why i am rambling here
I am not going to [...]]]></description>
			<content:encoded><![CDATA[<p>Ok it struck like a shock when i read the news &#8230; then yet again bloggers started bombing each other, linux users and windows users showed different views and were quiet a war out there in these two worlds.So why should i wait then &#8230; thats why i am rambling here</p>
<p>I am not going to abuse any one here &#8230; as i am a nice guy <img src='http://waqastoor.weblog.pk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> so i am going to be totally rational here &#8230; may be what i say if it works out then we could help making computing more fun</p>
<p>what i think that looking at the brighter side windows is still the champ of Hardware vendor market , Games market , Desktop market and its true , yes it is !! &#8230; i dont know what will come out of this &#8220;friendship&#8221; but looking again on the brighter side linux will get to know different hardwares due to Microsoft , may be games market will consider linux to be their plateform , linux will be more portable as its going to understand windows code as well &#8230; people will hack win modems and we&#8217;ll get modems working ,Â VIA chipsets and different mother boards will be supported in linux &#8230; so its a lot linux will learn .. but will microsoft will learn the philosophy of Open Source Software ??? now what microsoft will learn is the stability that linux has ,,, i still remeber my teacher saying that microsoft&#8217;s <a href="ftp://ftp.exe/">FTP.exe</a> program is taken from BSDs &#8230; and yeah its true &#8230; so may be microsoft will benefit more from linux as linux from microsoft.Microsoft will learn or adopt to make its SQL server more portableÂ on linux and windows ,,, C# in for java on both plateforms , so theres a lot that windows can think of making use of there softwares &#8230; but are they going to be Open Source ???</p>
<p>That was the brighter side, now to some darker side</p>
<p>DRM &#8230; Per Processor Licences , per Machine Licences , software patents etc etc there is a lot of LAW books Microsoft guys have read latelly and with vista we can see that working right. Vista crashes more than Xp and still vista is a more &#8220;Trusted Computing&#8221; concept as it makes it user bound to validate and register its self &#8230; if that is so how they can justify the money they get ??? 300 $ for professional release and yet we have to purchase and antivirus , firewall , spywares etc &#8230; so paying 300$ for what ??? just flashy windows , tip top clocks , sounds etc&#8230;</p>
<p>where as linux is free and still it is virus free and a lot more it has to offer &#8230; but the word &#8220;FREE&#8221; is better than 300$ (may be the prices are wrong what i am quoting here ) so what Microsoft will get is the core concepts to mature its windows and lock it down with the patent laws and what linux will get some more buggy code to contribute in the community and get the fixes &#8230; sound good right ???</p>
<p>its now a fuzzy image that what the next 5 years would look like from now on but what if it works as my brighter side ?? we&#8217;ll get a more strong linux that we can depend on &#8230; but will microsoft want that ???</p>
<p>as of my writing i&#8217;ve heard a rumor that java is going OpenSource &#8230; now cant wait for that &#8230; mono or java &#8230; a new war to check out &#8230; cant wait &#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://waqastoor.weblog.pk/2006/11/13/microsoft-novell-pact-where-its-all-going/feed/</wfw:commentRss>
		</item>
		<item>
		<title>What is OpenSource</title>
		<link>http://waqastoor.weblog.pk/2006/10/24/what-is-opensource/</link>
		<comments>http://waqastoor.weblog.pk/2006/10/24/what-is-opensource/#comments</comments>
		<pubDate>Tue, 24 Oct 2006 17:35:57 +0000</pubDate>
		<dc:creator>waqastoor</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://waqastoor.weblog.pk/2006/10/24/what-is-opensource/</guid>
		<description><![CDATA[Why i am writing it &#8230; becuase i feel very sad when people compare windows with Linux &#8230; here are some things that i think must be kept in mind when comparing windows and linux.
OpenSource is a philosophy not some key points to code you program. Why philosophy because when Richard stallman started this movement [...]]]></description>
			<content:encoded><![CDATA[<p>Why i am writing it &#8230; becuase i feel very sad when people compare windows with Linux &#8230; here are some things that i think must be kept in mind when comparing windows and linux.</p>
<p>OpenSource is a philosophy not some key points to code you program. Why philosophy because when Richard stallman started this movement he only wanted to make the resources globaly shareable. means that information is accessible to every one not controlled by some propriety software vendor or some company. Then came linux &#8230; and the words of linus were that &#8220;it is for those who want to know their computer in side out&#8221; now time showed that people worked on it &#8230; extended it and made it some what out of reach. what i mean about that is there was not hierarchy .. &#8220;Distros&#8221; came and now comming abruptly &#8230; i guess there are more than 300+ distros of linux available . Now what windows has the power is that it is only One distro &#8230; i mean only one software &#8230; organized to work ( what Microsoft thinks ). What richard stallman missed and Linus missed is to direct these OpenSource movement.</p>
<p>now there are BSDs and there are 3 major of them FreeBSD , OpenBSD and NetBSD every bsd has its own motive to achieve &#8230; free for general web servers,dns servers etc , Openbsd for security providing rock solid security and that is worth it . and netbsd is all about portability &#8230; now what linux users get &#8230; one thing repeated again and again &#8230;. one thing missing in one distro and one thing available in other distro &#8230; not a single hierarchy &#8230; now what people like me do they keep one trying distros to match their computer needs &#8230; and other part tries to replace windows becuase they are so fedup of the buggy and unsecure Operating system. so the clash occures here the replacement people want every thing like windows &#8230; and we people want every thing in one distro &#8230;</p>
<p>Now what i feel that there should be some Dictator for this to direct opensource communtity to make people who are replacing or finding new ways to use there computer find one solution &#8230; i mean distros come and die and which are moviing have some community based on area &#8230; i mean on country working on specific distro to grow &#8230;or a communty .</p>
<p>i dont have much to say becuase its like a never ending debate and people come and play their part and no one to make a Rule out of them</p>
<p>i hope the some day OpenSource will play its vital part when it comes to standard bugfree and all in one major distro</p>
]]></content:encoded>
			<wfw:commentRss>http://waqastoor.weblog.pk/2006/10/24/what-is-opensource/feed/</wfw:commentRss>
		</item>
		<item>
		<title>&#8220;linux is garbage&#8221; &#8230; look whose saying</title>
		<link>http://waqastoor.weblog.pk/2006/10/17/linux-is-garbage-look-whose-saying/</link>
		<comments>http://waqastoor.weblog.pk/2006/10/17/linux-is-garbage-look-whose-saying/#comments</comments>
		<pubDate>Mon, 16 Oct 2006 19:52:52 +0000</pubDate>
		<dc:creator>waqastoor</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://waqastoor.weblog.pk/2006/10/17/linux-is-garbage-look-whose-saying/</guid>
		<description><![CDATA[http://www.crn.com/sections/breakingnews/dailyarchives.jhtml?articleId=164901198
i am personally fan of this guy( theo de raadt) &#8230; what an achivement that in open bsd just one security hole in 8 years ( great work ) but saying linux garbage doesnt make him the Macho man &#8230;
ive tried open bsd &#8230; its is hell &#8230; so darn difficult that i had to [...]]]></description>
			<content:encoded><![CDATA[<p>http://www.crn.com/sections/breakingnews/dailyarchives.jhtml?articleId=164901198</p>
<p>i am personally fan of this guy( theo de raadt) &#8230; what an achivement that in open bsd just one security hole in 8 years ( great work ) but saying linux garbage doesnt make him the Macho man &#8230;</p>
<p>ive tried open bsd &#8230; its is hell &#8230; so darn difficult that i had to digg into 2 books ( absolute bsd , and bsd tip and tricks ) to just install and with linux what i get ? i get ubuntu &#8230; click and install but yeh access to all the depth of linux&#8230; so garbage is the code what he says &#8230; what i say being a amature &#8230; give me openbsd and ill make it vunrable to hacks &#8230; becuase i am a bad sysadmin and when it comes  to linux i am also a bad sysadmin&#8230; <img src='http://waqastoor.weblog.pk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> now what i think security is a philosophy not a term of a software &#8230; one lock is created and at the same time its breaker is created &#8230; so its a live run time fight &#8230; a good linux sysadmin can make linux secure &#8230; and why not it will work if you know the philosophy and you have personally encounterd attacks&#8230; so except security and buzz about security we need a bug free code .. so have any body seen all the errors of apache or mysql etc ??? i guess not becuase running a huge opensource project is a constant hit and trial job &#8230; i am a developer and i try to make bug free code but still some unseen and unforcasted things occur and these are what makes me refine my self and same is the case with software lifecycle &#8230; constant refining &#8230; i&#8217;ve seen administrators that are runnning &#8220;secure&#8221; windows servers &#8230; yeah its rare but it is here &#8230; why becuause they are good admins who know the loop holes &#8230;</p>
<p>so theo dont make such statements &#8230;there are 2%openbsd thats it and there is 80% plus linux .. make open bsd popular and approach able first then fight the security &#8230; if there are 100 server there are 100 minds who want to tweak it &#8230; but when there are 2 servers there are going to be only 2 aur 3 minds who are going to crack it</p>
]]></content:encoded>
			<wfw:commentRss>http://waqastoor.weblog.pk/2006/10/17/linux-is-garbage-look-whose-saying/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Look who is copying now &#8230;!!</title>
		<link>http://waqastoor.weblog.pk/2006/10/04/look-who-is-copying-now/</link>
		<comments>http://waqastoor.weblog.pk/2006/10/04/look-who-is-copying-now/#comments</comments>
		<pubDate>Wed, 04 Oct 2006 04:22:30 +0000</pubDate>
		<dc:creator>waqastoor</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[Microsoft]]></category>

		<category><![CDATA[Open Source and Linux]]></category>

		<guid isPermaLink="false">http://waqastoor.weblog.pk/2006/10/04/look-who-is-copying-now/</guid>
		<description><![CDATA[Ok seems a bit odd or sould i say &#8220;usuall&#8221; for Microsoft to steal some idea &#8230; now look at some logo part as well &#8230; msn space logo seemed like the logo of ubuntu but was a change in colors and stuff so they justified that its different can you see the difference ????
Now [...]]]></description>
			<content:encoded><![CDATA[<p>Ok seems a bit odd or sould i say &#8220;usuall&#8221; for Microsoft to steal some idea &#8230; now look at some logo part as well &#8230; msn space logo seemed like the logo of ubuntu but was a change in colors and stuff so they justified that its different <img src="http://waqastoor.weblog.pk/files/2006/10/copy2.png" alt="msnubuntu" />can you see the difference ????</p>
<p>Now ok the fuzzy colors make it a different one but know i have a very tough one can you find the difference in this picture ??<img src="http://waqastoor.weblog.pk/files/2006/10/msa_logo.gif" alt="msa" />Â  yeah tough one right ? and its the logo of microsoft alumini network .. whose the copy cat now ???</p>
<p>and know i remember the line of Microsoft Visual studio 2005 that is .. &#8220;The Difference is obvious&#8221; &#8230; yeah i can see that [:)]</p>
<p>as far as ubuntu is concerned its turning out to be a real champion distro</p>
]]></content:encoded>
			<wfw:commentRss>http://waqastoor.weblog.pk/2006/10/04/look-who-is-copying-now/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Some thing for a sysadmin</title>
		<link>http://waqastoor.weblog.pk/2006/09/19/some-thing-for-a-sysadmin/</link>
		<comments>http://waqastoor.weblog.pk/2006/09/19/some-thing-for-a-sysadmin/#comments</comments>
		<pubDate>Tue, 19 Sep 2006 10:04:48 +0000</pubDate>
		<dc:creator>waqastoor</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://waqastoor.weblog.pk/2006/09/19/some-thing-for-a-sysadmin/</guid>
		<description><![CDATA[ok the reason for this post is very interesting or interesting for me that i came accross a word BOFH &#8230; now other words do make some sense but this one was a bit strange so a little googling i came accross some pretty good links that showed me what it *really meant*
so share my [...]]]></description>
			<content:encoded><![CDATA[<p>ok the reason for this post is very interesting or interesting for me that i came accross a word BOFH &#8230; now other words do make some sense but this one was a bit strange so a little googling i came accross some pretty good links that showed me what it *really meant*</p>
<p>so share my experience <a href="http://aca-vnt.mcc.ac.uk/ScrapBook/bofh.htm" target="_blank">here</a> strangest and wildest things a system administrator can do <img src='http://waqastoor.weblog.pk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://waqastoor.weblog.pk/2006/09/19/some-thing-for-a-sysadmin/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Microsoft to launch ZUNE</title>
		<link>http://waqastoor.weblog.pk/2006/09/15/microsoft-to-launch-zune/</link>
		<comments>http://waqastoor.weblog.pk/2006/09/15/microsoft-to-launch-zune/#comments</comments>
		<pubDate>Fri, 15 Sep 2006 03:57:13 +0000</pubDate>
		<dc:creator>waqastoor</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://waqastoor.weblog.pk/2006/09/15/microsoft-to-launch-zune/</guid>
		<description><![CDATA[Microsoft is planning to launch ZUNE a compact MP3 player expected this X-max &#8230; its going to be a challenge to Apple&#8217;s iPOD-iTunes (now why i am not surprised..) .
The features include a wide screen , FM radio and wirless connectivity( not sure ) &#8230;
so i guess i about time that after XBox as a [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft is planning to launch ZUNE a compact MP3 player expected this X-max &#8230; its going to be a challenge to Apple&#8217;s iPOD-iTunes (now why i am not surprised..) .</p>
<p>The features include a wide screen , FM radio and wirless connectivity( not sure ) &#8230;</p>
<p>so i guess i about time that after XBox as a rival of sony&#8217;s play station some how couldnt make it now its time for zune to get Microsoft some edge <img src='http://waqastoor.weblog.pk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>rest of the story <a href="http://uk.news.yahoo.com/14092006/323/microsoft-unveils-zune-challenge-ipod.html" target="_blank">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://waqastoor.weblog.pk/2006/09/15/microsoft-to-launch-zune/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
