<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>recluze  ... ( moved )</title>
	<atom:link href="http://recluze.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://recluze.wordpress.com</link>
	<description>Moved here: http://csrdu.org/nauman</description>
	<lastBuildDate>Tue, 14 May 2013 00:56:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='recluze.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>recluze  ... ( moved )</title>
		<link>http://recluze.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://recluze.wordpress.com/osd.xml" title="recluze  ... ( moved )" />
	<atom:link rel='hub' href='http://recluze.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Moving again</title>
		<link>http://recluze.wordpress.com/2010/07/04/moving-again/</link>
		<comments>http://recluze.wordpress.com/2010/07/04/moving-again/#comments</comments>
		<pubDate>Sun, 04 Jul 2010 08:57:04 +0000</pubDate>
		<dc:creator>recluze</dc:creator>
				<category><![CDATA[Announcements]]></category>

		<guid isPermaLink="false">http://recluze.wordpress.com/?p=443</guid>
		<description><![CDATA[I remember posting on my blogger account that I was moving to WordPress.com. It&#8217;s that time again. I&#8217;ve moved all the contents of this blog to my new home: http://www.csrdu.org/nauman I&#8217;ll be cross-posting material on both sites for some time but after a little while I&#8217;ll simply move away from this site to my own [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=recluze.wordpress.com&#038;blog=88911&#038;post=443&#038;subd=recluze&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I remember posting on my blogger account that I was moving to WordPress.com. It&#8217;s that time again. I&#8217;ve moved all the contents of this blog to my new home: <a href="http://www.csrdu.org/nauman">http://www.csrdu.org/nauman</a></p>
<p>I&#8217;ll be cross-posting material on both sites for some time but after a little while I&#8217;ll simply move away from this site to my own hosted site. So, if you are reading this in feeds or check up on the site regularly, you should bookmark the new address.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/recluze.wordpress.com/443/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/recluze.wordpress.com/443/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=recluze.wordpress.com&#038;blog=88911&#038;post=443&#038;subd=recluze&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://recluze.wordpress.com/2010/07/04/moving-again/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d773786ee23700700d995d477fa983b1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">recluze</media:title>
		</media:content>
	</item>
		<item>
		<title>Regression with Gradient Descent in Low-level Matlab</title>
		<link>http://recluze.wordpress.com/2010/06/25/regression-with-gradient-descent-in-low-level-matlab/</link>
		<comments>http://recluze.wordpress.com/2010/06/25/regression-with-gradient-descent-in-low-level-matlab/#comments</comments>
		<pubDate>Fri, 25 Jun 2010 00:40:25 +0000</pubDate>
		<dc:creator>recluze</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://recluze.wordpress.com/?p=423</guid>
		<description><![CDATA[I just finished writing my first machine learning algorithm in Matlab. The algorithm is based on gradient descent search for estimating parameters of linear regression (but can be easily extended to quadratic or even higher-dimensional polynomials). It&#8217;s fairly easy if you know the theory behind the model. So, first a very brief theory portion. This [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=recluze.wordpress.com&#038;blog=88911&#038;post=423&#038;subd=recluze&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I just finished writing my first machine learning algorithm in Matlab. The algorithm is based on gradient descent search for estimating parameters of linear regression (but can be easily extended to quadratic or even higher-dimensional polynomials). It&#8217;s fairly easy if you know the theory behind the model. So, first a very brief theory portion. This isn&#8217;t a tutorial on statistics. Go read a book if you don&#8217;t know about regression.</p>
<p><span id="more-423"></span></p>
<p>Just to recall: Regression comes in when you want to estimate a response variable (<img src='http://s0.wp.com/latex.php?latex=y&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='y' title='y' class='latex' />) given explanatory variables (<img src='http://s0.wp.com/latex.php?latex=x_i&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='x_i' title='x_i' class='latex' />). The goal for linear regression is to come up with values for <em>parameters</em> (<img src='http://s0.wp.com/latex.php?latex=%5Ctheta_i&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;theta_i' title='&#92;theta_i' class='latex' />) such that you get a &#8216;best possible fit&#8217; for each jth instance in the dataset of m instances:</p>
<p><img src='http://s0.wp.com/latex.php?latex=y%5Ej+%3D+%5Csum_%7Bi%3D1%7D%5Em%7B%5Ctheta_i++%5Ctimes+x_i%5Ej%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='y^j = &#92;sum_{i=1}^m{&#92;theta_i  &#92;times x_i^j}' title='y^j = &#92;sum_{i=1}^m{&#92;theta_i  &#92;times x_i^j}' class='latex' /></p>
<p>In matrix notation, that comes simply to:</p>
<p><img src='http://s0.wp.com/latex.php?latex=Y+%3D+%5Ctheta%5ET+X&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='Y = &#92;theta^T X' title='Y = &#92;theta^T X' class='latex' /></p>
<p>(For ease, we assume that <img src='http://s0.wp.com/latex.php?latex=x_1&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='x_1' title='x_1' class='latex' /> is a vector of all 1s thus making <img src='http://s0.wp.com/latex.php?latex=%5Ctheta_1&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;theta_1' title='&#92;theta_1' class='latex' /> the y-intercept).</p>
<p>The idea of gradient descent is to come up with the best (locally) values of <img src='http://s0.wp.com/latex.php?latex=%5Ctheta&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;theta' title='&#92;theta' class='latex' />. It does this by repeatedly updating the value of <img src='http://s0.wp.com/latex.php?latex=%5Ctheta&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;theta' title='&#92;theta' class='latex' /> using the formula:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Ctheta_i+%3D+%5Ctheta_i+-+%5Calpha+%2A+%5Csum_%7Bj%3D1%7D%5Em%7B%28%5Ctheta%5ET+X%5Ej+-+Y%5Ej%29+X_i%5Ej%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;theta_i = &#92;theta_i - &#92;alpha * &#92;sum_{j=1}^m{(&#92;theta^T X^j - Y^j) X_i^j}' title='&#92;theta_i = &#92;theta_i - &#92;alpha * &#92;sum_{j=1}^m{(&#92;theta^T X^j - Y^j) X_i^j}' class='latex' /></p>
<p>If you have no idea what this is or if you want to know this in-depth, read till the end.</p>
<p>Here&#8217;s the Matlab code for this whole procedure I wrote at first. Note the use of W for <img src='http://s0.wp.com/latex.php?latex=%5Ctheta&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;theta' title='&#92;theta' class='latex' />:</p>
<pre class="brush: matlabkey; title: ; notranslate">
% Gradient descent algo for linear regression
% author: Nauman (recluze@gmail.com)

%set the data
X=[1 1 1 1 1 1 1; 22 49 80 26 40 54 91];
Y=[20 24 42 22 23 26 55];
hold on;
plot(X(2,:),Y, 'x');

% set the actual values of W
W = [5.775 0.474]';
YAct = (W' * X);

% GRADIENT DESCENT
W = zeros(2,1);     % initialize W to all zeros
m = size(X,2);      % number of instances
n = size(W,1);      % number of parameters
alpha = 0.000025;    % gradient descent step size

disp('Starting Weights:');
W

% 1) do the loop for W estimation using gradient descent ------------
for iter = 1 : 20 % let's just do 5 iterations for now ... not til convergence
% for each iteration
for i = 1 : n       % looping for each parameter W(i)
    % find the derivative of J(W) for all instances
    sum_j = 0;
    for j = 1 : m
        hW_j = 0;
        for inner_i = 1 : n
            hW_j = hW_j + W(inner_i) * X(inner_i,j);
        end
        sum_j = sum_j + ( (hW_j - Y(j)) * X(i,j) ) ;
    end
    % calculate new value of W(i)
    W(i) = W(i) - alpha * sum_j;
end
% plot the thingy
newY = (W' * X);
gColor = 0.05 * iter;
plot(X(2,:),newY, 'Color', [0 gColor 0]);

% end 1) ------------
end
% output the final weights
disp ('Final calculated weights');
W
% output actual weights from formula in Red W = [5.775 0.474]'
plot(X(2,:),YAct, 'Color',[1 0 0]);
% finish off
hold off;
</pre>
<p>Then I figured that I was just doing loops and didn&#8217;t really need the matrices. So, I went back and thought about the whole nested loop thing and replaced the loop portion with this:</p>
<pre class="brush: matlabkey; title: ; notranslate">
for i = 1 : n       % looping for each parameter W(i)
    % calculate new value of W(i)
    W(i) = W(i) - alpha * sum( ((W'*X) - Y) .* X(i,:) );
end
</pre>
<p>Seems suspiciously like the original formula, doesn&#8217;t it? Here&#8217;s what the plot look like. The red line shows the linear regression line calculated from a closed-form formula and the other lines show estimations of <img src='http://s0.wp.com/latex.php?latex=%5Ctheta&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;theta' title='&#92;theta' class='latex' /> with the darkest colored ones being the initial guess and lighter ones are successive guesses.</p>
<p><img class="aligncenter size-full wp-image-437" title="Estimating regression parameters through gradient-descent" src="http://recluze.files.wordpress.com/2010/06/grad-desc.jpg?w=480" alt=""   /></p>
<p>And finally, as promised, here&#8217;s where you can learn all about this stuff: <a href="http://www.youtube.com/watch?v=UzxYlbK2c7E">machine learning video lectures from Stanford</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/recluze.wordpress.com/423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/recluze.wordpress.com/423/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=recluze.wordpress.com&#038;blog=88911&#038;post=423&#038;subd=recluze&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://recluze.wordpress.com/2010/06/25/regression-with-gradient-descent-in-low-level-matlab/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d773786ee23700700d995d477fa983b1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">recluze</media:title>
		</media:content>

		<media:content url="http://recluze.files.wordpress.com/2010/06/grad-desc.jpg" medium="image">
			<media:title type="html">Estimating regression parameters through gradient-descent</media:title>
		</media:content>
	</item>
		<item>
		<title>Writing a Skeleton Linux Security Module</title>
		<link>http://recluze.wordpress.com/2010/05/23/writing-a-skeleton-linux-security-module/</link>
		<comments>http://recluze.wordpress.com/2010/05/23/writing-a-skeleton-linux-security-module/#comments</comments>
		<pubDate>Sun, 23 May 2010 11:14:38 +0000</pubDate>
		<dc:creator>recluze</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://recluze.wordpress.com/?p=412</guid>
		<description><![CDATA[I recently had to write a Linux Security Module (LSM) for one of my research projects and I was surprised to find that there are few tutorials out there and most of them don&#8217;t work because of the discrepencies in kernel versions. They&#8217;re talking about 2.000.x kernel versions! The only good tutorial I came across [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=recluze.wordpress.com&#038;blog=88911&#038;post=412&#038;subd=recluze&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I recently had to write a Linux Security Module (LSM) for one of my research projects and I was surprised to find that there are few tutorials out there and most of them don&#8217;t work because of the discrepencies in kernel versions. They&#8217;re talking about 2.000.x kernel versions! The only good tutorial I came across was the one on <a href="http://www.linuxjournal.com/article/6279" target="_blank">Linux Journal</a> but it assumed some background knowledge (which I didn&#8217;t have). So, I had to struggle for a day to figure out how to go about writing the LSM. Hence, this tutorial.</p>
<p>Now, this isn&#8217;t strictly a newbie tutorial. It isn&#8217;t even a tutorial per se. It&#8217;s more like a guideline that will tell you where to look to find what you need. The reason is that if I write something specific, it&#8217;ll go out-of-date in a giffy. So, I&#8217;ll tell you the process of how I figured out the steps and you can (probably) reproduce them even if the specifics have changed. This might not be the best way to do it but it certainly gets you going. I had to take quite a few detours to get to these steps; so they might save you some time. Ok, let&#8217;s go.<br />
<span id="more-412"></span></p>
<p>First, I read up on what an LSM is. (If you&#8217;re reading this, you probably know what it is.) Then, I came across the tlj link I mentioned <a href="http://www.linuxjournal.com/article/6279" target="_blank">earlier</a> and read what <code>register_security</code> function, <code>security_operations</code> struct and others do.</p>
<p>Then, I went ahead and created a directory in the security folder of the linux kernel source. (I used linux-2.6.33.3, so the I&#8217;ll assume the source is sitting in <code>/usr/src/linux-2.6.33.3</code>) Assume the name of the LSM is <code>blabbermouth</code> (since it does nothing but printk the hooks).</p>
<p>To tell the kernel build about your LSM, I needed to do three things: (1) Create a Makefile. That&#8217;s simple. See <a href="http://sites.google.com/site/naumanrecly/Home/blabbermouth.tar.gz?attredirects=0&amp;d=1" target="_blank">this archive</a> for the files and patches. (2) Create a Kconfig file. Again, fairly straight forward for a skeleton LSM. (3) Tell the security Makefile and Kconfig files about my LSM i.e. Edit <code>security/Makefile</code> and <code>security/Kconfig</code>. (See the two patch files in the archive to figure out where to insert the new lines.)</p>
<p>Once that is out of the way, I needed the actual source of the LSM. So, I created the blabbermouth.c fie. Now, the first thing was to create an instance of the security_ops structure. This is complicated because there are several fields in this and if you don&#8217;t have a good IDE, this is going to be tough. Of course, you have the kernel source so you can simply &#8220;borrow&#8221; code from elsewhere. I went to <code>security/selinux/hooks.c</code> and copied me a nice tidy <code>security_operations</code> struct (you can find it right at the bottom). Of course, it points to different functions in the same file so I got those too. By the way, you can find the declaration of the <code>security_operations</code> structure in <code>include/linux/security.h</code></p>
<p>Changed all the <code>selinux_*</code> function names to <code>blabbermouth_*</code> function names and replaced the bodies of all these functions with a <code>return 0</code>; Hence the name &#8220;skeleton LSM&#8221;. I also inserted some printk statements just so that I&#8217;d know that the thing was working.</p>
<p>Of course, when you&#8217;re working with the kernel, you have to make sure you cater to the configurations. So, I surrounded the relevant portions with the <code>#ifdef CONFIG_SECURITY_BLABBERMOUTH</code> and <code>#endif</code> to make sure it only gets built if configured as such.</p>
<p>Once that is out of the way, I created a new initialization function with <code>void __init blabbermouth_init</code> and told the module to call it on initialization through <code>module_init</code> macro. Also created an <code>__exit blabbermouth_exit</code> function and registered it through <code>module_exit</code>.</p>
<p>Phew. That was fun. Now, back to make menuconfig and selected the blabbermouth module from the security page.</p>
<p>Make, make modules_install and make install and I was good to go. Felt good to see the blabbermouth outputs in <code>dmesg</code>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/recluze.wordpress.com/412/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/recluze.wordpress.com/412/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=recluze.wordpress.com&#038;blog=88911&#038;post=412&#038;subd=recluze&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://recluze.wordpress.com/2010/05/23/writing-a-skeleton-linux-security-module/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d773786ee23700700d995d477fa983b1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">recluze</media:title>
		</media:content>
	</item>
		<item>
		<title>Why I&#8217;m leaving facebook</title>
		<link>http://recluze.wordpress.com/2010/05/17/why-im-leaving-facebook/</link>
		<comments>http://recluze.wordpress.com/2010/05/17/why-im-leaving-facebook/#comments</comments>
		<pubDate>Mon, 17 May 2010 02:58:18 +0000</pubDate>
		<dc:creator>recluze</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Islam]]></category>
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://recluze.wordpress.com/?p=406</guid>
		<description><![CDATA[I&#8217;ve had enough. Some of my friends initiated the boycott a few months back but I wasn&#8217;t convinced. I was mistaken. Facebook has, time and again, refused to take action against hate speech and hate groups that operate within the platform. I came up with many excuses to keep using the platform and fabricated many [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=recluze.wordpress.com&#038;blog=88911&#038;post=406&#038;subd=recluze&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve had enough. Some of my friends initiated the boycott a few months back but I wasn&#8217;t convinced. I was mistaken. Facebook has, time and again, refused to take action against hate speech and hate groups that operate within the platform. I came up with many excuses to keep using the platform and fabricated many arguments in its favour. Fortunately, I gave it time and now realize that facebook <em>is</em> to blame. <span id="more-406"></span></p>
<p>The most popular argument in favour of facebook is this: &#8220;boycotting facebook for the reason that it refuses to take action against offensive groups is like boycotting telephone or internet, because facebook is just a medium&#8221;. It&#8217;s a red herring because facebook is a moderated medium while telephone and internet are not. The admins at facebook have control over the content that gets posted (and they do exercise this control in many instances). If facebook didn&#8217;t have the power to remove the offensive pages or if it wasn&#8217;t possible for them to moderate them, they&#8217;d be home-free but neither of these things is true. So, facebook is not off-the-hook. A better analogy would be that of a newspaper and you should certainly boycott a newspaper if it publishes offensive material. Facebook chooses not to take offensive groups off and for that, they are to blame.</p>
<p>Another argument is that boycotting facebook would make no difference. This is complete nonsense. Every business needs customers and every customer counts. Even if I can get no one else to leave facebook, just the fact that I&#8217;m leaving will make a difference to facebook. Besides, muslims are a huge portion of the world&#8217;s population and we can always make a difference. It&#8217;s really quite easy. Once we boycott one product/service for being offensive to our religion, many alternatives will surface and they would be careful. So, we&#8217;ll have what we want and still use our favourite products/services. It just needs a little bit of time (which unfortunately, we&#8217;re not willing to sacrifice).</p>
<p>I will not get into a debate of &#8220;free speech&#8221; versus &#8220;hate speech&#8221;. It&#8217;s fairly obvious to those who think with an open mind that insulting someone&#8217;s deep-felt beliefs is not free speech. Regardless of who the target is, insulting their religious beliefs is hate speech. This applies to all religions and no one should be allowed to insult any one else&#8217;s religious icons.</p>
<p>A while back, when a Danish newspaper published offensive depictions of our Holy Prophet (sallallaho-alaihe wasallam), I posted the fatwa by Mufti Ibrahim Desai on my blog. You can see it <a href="http://recluze.wordpress.com/2008/08/02/how-should-we-react/" target="_blank">here</a>. I will re-iterate a few very important points here. They are applicable now as they were then:</p>
<ol>
<li>Express anger and disgust within the framework of the law of the country. Use the law of the country to its full capacity.</li>
<li>Boycott all Danish products and products of anyone else who support Denmark in this issue or even sympathise with Denmark.</li>
<li>Do not confine expression of anger to the cartoon issue. Use the opportunity to express the disgust on Islamophobia in general and highlight some pertinent issues.</li>
<li>Do not conduct ourselves with our fellow non-Muslim citizens in a way that offend them and look for an opportunity to get back at us. We will then be the cause of them showing disrespect to Islam and Islamic values. Always express good character and conduct to all.</li>
<li>The most important issue in expressing our love and honour for Rasulullah [sallallaahu alayhi wasallam] is following his Sunnah. Expressing our anger at the disrespect to Rasulullah [sallallaahu alayhi wasallam] is important but it will be hypocritical if we do not emulate the outward appearance, beard, dressing, etc. and noble character of Rasulullah [sallallaahu alayhi wasallam]. Every one should obtain a kitaab on the Sunnats of Rasulullah [sallallaahu alayhi wasallam] and implement that in our lives and pass this over to others.</li>
</ol>
<p>So, these are the reasons I&#8217;m leaving facebook. I&#8217;m not de-activating my account. I&#8217;m deleting it. I set the date to May 19. I will switch to another service and if that service does the same thing, I&#8217;ll move on again. I can live without social networks if I have to.</p>
<p>I urge you all to spread this message.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/recluze.wordpress.com/406/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/recluze.wordpress.com/406/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=recluze.wordpress.com&#038;blog=88911&#038;post=406&#038;subd=recluze&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://recluze.wordpress.com/2010/05/17/why-im-leaving-facebook/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d773786ee23700700d995d477fa983b1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">recluze</media:title>
		</media:content>
	</item>
		<item>
		<title>A much better (and useful) eclipse plugin</title>
		<link>http://recluze.wordpress.com/2010/04/18/a-much-better-and-useful-eclipse-plugin/</link>
		<comments>http://recluze.wordpress.com/2010/04/18/a-much-better-and-useful-eclipse-plugin/#comments</comments>
		<pubDate>Sun, 18 Apr 2010 13:21:31 +0000</pubDate>
		<dc:creator>recluze</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[research]]></category>

		<guid isPermaLink="false">http://recluze.wordpress.com/?p=395</guid>
		<description><![CDATA[It&#8217;s been four days since I started working with eclipse plugins and I finally have my first useful plugin. It&#8217;s useful for my research purposes and hopefully for a small audience interested in my work. It might also be useful for those trying to learn how to write eclipse plugins because I&#8217;ll soon be writing [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=recluze.wordpress.com&#038;blog=88911&#038;post=395&#038;subd=recluze&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>It&#8217;s been four days since I started working with eclipse plugins and I finally have my first useful plugin. It&#8217;s useful for my research purposes and hopefully for a small audience interested in my work. It might also be useful for those trying to learn how to write eclipse plugins because I&#8217;ll soon be writing a tutorial on how I put this thing together from scratch (inshallah).</p>
<p>For the time being though, enjoy the screenshot.</p>
<p><a href="http://recluze.files.wordpress.com/2010/04/ape-screenshot.gif"><img class="aligncenter size-full wp-image-396" title="Plugin screenshot" src="http://recluze.files.wordpress.com/2010/04/ape-screenshot.gif?w=480&#038;h=288" alt="" width="480" height="288" /></a></p>
<p>Update: fixed the plugin with a new &#8216;View&#8217;. It now operates much better with a separate view for the output and controls. Also added is a &#8216;Hierarchy&#8217; view for viewing the policy in a nice tree structure.</p>
<p><a href="http://recluze.files.wordpress.com/2010/04/ape-plugin-2.gif"><img class="aligncenter size-full wp-image-398" title="Eclipse Plugin (updated)" src="http://recluze.files.wordpress.com/2010/04/ape-plugin-2.gif?w=480&#038;h=288" alt="" width="480" height="288" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/recluze.wordpress.com/395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/recluze.wordpress.com/395/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=recluze.wordpress.com&#038;blog=88911&#038;post=395&#038;subd=recluze&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://recluze.wordpress.com/2010/04/18/a-much-better-and-useful-eclipse-plugin/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d773786ee23700700d995d477fa983b1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">recluze</media:title>
		</media:content>

		<media:content url="http://recluze.files.wordpress.com/2010/04/ape-screenshot.gif" medium="image">
			<media:title type="html">Plugin screenshot</media:title>
		</media:content>

		<media:content url="http://recluze.files.wordpress.com/2010/04/ape-plugin-2.gif" medium="image">
			<media:title type="html">Eclipse Plugin (updated)</media:title>
		</media:content>
	</item>
		<item>
		<title>Writing a Minimal Eclipse Plugin</title>
		<link>http://recluze.wordpress.com/2010/04/15/writing-a-minimal-eclipse-plugin/</link>
		<comments>http://recluze.wordpress.com/2010/04/15/writing-a-minimal-eclipse-plugin/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 14:22:38 +0000</pubDate>
		<dc:creator>recluze</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://recluze.wordpress.com/?p=381</guid>
		<description><![CDATA[I have tried, on multiple occasions, to write an eclipse plugin. I always gave up in the middle of the process though, what with the different versions of eclipse floating around and the discrepancies between the tutorials and the version I was using. I finally decided to sit down and go through a simple &#8216;hello [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=recluze.wordpress.com&#038;blog=88911&#038;post=381&#038;subd=recluze&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I have tried, on multiple occasions, to write an eclipse plugin. I always gave up in the middle of the process though, what with the different versions of eclipse floating around and the discrepancies between the tutorials and the version I was using. I finally decided to sit down and go through a simple &#8216;hello world&#8217; plugin and write a tutorial in the process to guide those that are using the latest eclipse. This is a tutorial for eclipse 3.5 (galileo) and is a no BS tutorial with little or no explanation. That&#8217;s because I believe in code first, think later approach when learning new technologies. So, download eclipse SDK version (not the Java or the C/C++ version) and read on.</p>
<p><span id="more-381"></span></p>
<p>First, create a new project of type &#8216;plugin development&#8217;. If you don&#8217;t know what that means, try finding a basic tutorial for using eclipse. The following screenshot shows the options you need to set for the plugin project. (Click to enlarge.)</p>
<p><a href="http://recluze.files.wordpress.com/2010/04/plugin-3.gif"><img class="alignnone size-full wp-image-382" title="Create project options" src="http://recluze.files.wordpress.com/2010/04/plugin-3.gif?w=480" alt=""   /></a></p>
<p>And</p>
<p><a href="http://recluze.files.wordpress.com/2010/04/plugin-41.gif"><img class="alignnone size-thumbnail wp-image-385" title="Don't use a template" src="http://recluze.files.wordpress.com/2010/04/plugin-41.gif?w=129&#038;h=150" alt="" width="129" height="150" /></a></p>
<p>When the project is created, you&#8217;ll see the manifest file in the main editor view. (If you don&#8217;t, just click on it in the manifest project in the project explorer.) See the different tabs in the bottom of the view.</p>
<p><a href="http://recluze.files.wordpress.com/2010/04/plugin-5.gif"><img class="alignnone size-thumbnail wp-image-386" title="Tabs in the manifest editor" src="http://recluze.files.wordpress.com/2010/04/plugin-5.gif?w=150&#038;h=112" alt="" width="150" height="112" /></a></p>
<p><a href="http://recluze.files.wordpress.com/2010/04/plugin-5.gif"></a>In the &#8216;Extensions&#8217; tab, you&#8217;ll see the &#8216;All Extensions&#8217; pane. Click on &#8216;Add&#8217; and search for &#8216;actionSets&#8217;. You need to create an extension of type &#8216;org.eclipse.ui.actionSets&#8217;. This basically allows the plugin to extend the basic eclipse interface (i.e. a menu in our case).</p>
<p><a href="http://recluze.files.wordpress.com/2010/04/plugin-6.gif"><img class="alignnone size-thumbnail wp-image-387" title="plugin-6" src="http://recluze.files.wordpress.com/2010/04/plugin-6.gif?w=150&#038;h=60" alt="" width="150" height="60" /></a></p>
<p>Right-click on the actionSet just created and create a new &#8216;menu&#8217;. (You would probably want to change the properties, especially the name, of the actionSet in an actual project.)</p>
<p><a href="http://recluze.files.wordpress.com/2010/04/plugin-7.gif"><img class="alignnone size-thumbnail wp-image-388" title="Creating a menu" src="http://recluze.files.wordpress.com/2010/04/plugin-7.gif?w=150&#038;h=61" alt="" width="150" height="61" /></a></p>
<p>Then, under the menu, create a new separator and give it a name. This will allow the placement of a menuitem later on.</p>
<p><a href="http://recluze.files.wordpress.com/2010/04/plugin-8.gif"><img class="alignnone size-thumbnail wp-image-389" title="Insert separator" src="http://recluze.files.wordpress.com/2010/04/plugin-8.gif?w=150&#038;h=61" alt="" width="150" height="61" /></a></p>
<p>Create an &#8216;action&#8217; type under the actionset similar to the menu item. This will be the actual item that we can click on in the menu. Once you do that, give it a proper name and click on &#8216;class&#8217; in the properties pane. This will allow you to associate a class with this action item. (This should remind you of action listeners but this is a lot more dependent on eclipse plugin architecture.) Give the class a name and place it in your package.</p>
<p><a href="http://recluze.files.wordpress.com/2010/04/plugin-9.gif"><img class="alignnone size-thumbnail wp-image-390" title="Associate a class with the action" src="http://recluze.files.wordpress.com/2010/04/plugin-9.gif?w=150&#038;h=97" alt="" width="150" height="97" /></a></p>
<p>Now, finally, for some code. Open the class you just created and you&#8217;ll see that there is some placeholder text inserted in. (Not going into the theory of what this actually is and how it works. Code first, think later!) Here&#8217;s the code. I&#8217;ve formatted the additions you need to make in a bold, blue typeface here.</p>
<p><code><br />
public class HelloWorldAction implements IWorkbenchWindowActionDelegate {<br />
<strong><span style="color:#333399;">IWorkbenchWindow window; </span></strong><br />
@Override<br />
public void init(IWorkbenchWindow window) {<br />
// TODO Auto-generated method stub<br />
<strong><span style="color:#333399;">this.window = window; </span></strong></code></p>
<p><code> </code></p>
<p><code>}</p>
<p>@Override<br />
public void run(IAction action) {<br />
// TODO Auto-generated method stub<br />
<strong><span style="color:#333399;">MessageDialog.openInformation(window.getShell(), "Hello world", "Hello world! I am a new plugin!");</span></strong></p>
<p></code></p>
<p><code> }</code></p>
<p>And running the plugin is easy. Right click the project, Run-As and &#8216;Eclipse Application&#8217;.</p>
<p><a href="http://recluze.files.wordpress.com/2010/04/plugin-11.gif"><img class="alignnone size-thumbnail wp-image-392" title="Run plugin" src="http://recluze.files.wordpress.com/2010/04/plugin-11.gif?w=150&#038;h=136" alt="" width="150" height="136" /></a></p>
<p>Finally, to deploy the project, just go to &#8216;File&#8217; -&gt; &#8216;Export&#8217; and select &#8216;Deployable Plugins and Fragments&#8217;. Just give it an archive name and you will have a zip file that can be extracted in any eclipse directory to incorporate the new plugin in that project. You can also export it to a repository but that&#8217;s another story. Last, but not least, see the screenshot and marvel at what you&#8217;ve done.</p>
<p><a href="http://recluze.files.wordpress.com/2010/04/plugin-12.gif"><img class="alignnone size-thumbnail wp-image-393" title="Running Plugin" src="http://recluze.files.wordpress.com/2010/04/plugin-12.gif?w=150&#038;h=90" alt="" width="150" height="90" /></a></p>
<p>What&#8217;s next? See this <a href="http://www.vogella.de/articles/RichClientPlatform/article.html" target="_blank">tutorial </a>on how to create an RCP application in eclipse. Maybe someday I&#8217;ll write one of those too.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/recluze.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/recluze.wordpress.com/381/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=recluze.wordpress.com&#038;blog=88911&#038;post=381&#038;subd=recluze&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://recluze.wordpress.com/2010/04/15/writing-a-minimal-eclipse-plugin/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d773786ee23700700d995d477fa983b1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">recluze</media:title>
		</media:content>

		<media:content url="http://recluze.files.wordpress.com/2010/04/plugin-3.gif" medium="image">
			<media:title type="html">Create project options</media:title>
		</media:content>

		<media:content url="http://recluze.files.wordpress.com/2010/04/plugin-41.gif?w=129" medium="image">
			<media:title type="html">Don&#039;t use a template</media:title>
		</media:content>

		<media:content url="http://recluze.files.wordpress.com/2010/04/plugin-5.gif?w=150" medium="image">
			<media:title type="html">Tabs in the manifest editor</media:title>
		</media:content>

		<media:content url="http://recluze.files.wordpress.com/2010/04/plugin-6.gif?w=150" medium="image">
			<media:title type="html">plugin-6</media:title>
		</media:content>

		<media:content url="http://recluze.files.wordpress.com/2010/04/plugin-7.gif?w=150" medium="image">
			<media:title type="html">Creating a menu</media:title>
		</media:content>

		<media:content url="http://recluze.files.wordpress.com/2010/04/plugin-8.gif?w=150" medium="image">
			<media:title type="html">Insert separator</media:title>
		</media:content>

		<media:content url="http://recluze.files.wordpress.com/2010/04/plugin-9.gif?w=150" medium="image">
			<media:title type="html">Associate a class with the action</media:title>
		</media:content>

		<media:content url="http://recluze.files.wordpress.com/2010/04/plugin-11.gif?w=150" medium="image">
			<media:title type="html">Run plugin</media:title>
		</media:content>

		<media:content url="http://recluze.files.wordpress.com/2010/04/plugin-12.gif?w=150" medium="image">
			<media:title type="html">Running Plugin</media:title>
		</media:content>
	</item>
		<item>
		<title>Confusion amongst Zaid Hamid Fans</title>
		<link>http://recluze.wordpress.com/2010/03/13/confusion-amongst-zaid-hamid-fans/</link>
		<comments>http://recluze.wordpress.com/2010/03/13/confusion-amongst-zaid-hamid-fans/#comments</comments>
		<pubDate>Sat, 13 Mar 2010 14:49:08 +0000</pubDate>
		<dc:creator>recluze</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Islam]]></category>

		<guid isPermaLink="false">http://recluze.wordpress.com/?p=371</guid>
		<description><![CDATA[Zaid Hamid is cornered. He has nothing to say and nothing to clear his name with. As one of my friends put it, &#8220;there is no need to expose Zaid Hamid&#8221;. He is clearly deviated but some people still don&#8217;t get it. So, I thought I should help these people figure out what the question [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=recluze.wordpress.com&#038;blog=88911&#038;post=371&#038;subd=recluze&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Zaid Hamid is cornered. He has nothing to say and nothing to clear his name with. As one of my friends put it, &#8220;there is no need to expose Zaid Hamid&#8221;. He is clearly deviated but some people still don&#8217;t get it. So, I thought I should help these people figure out what the question under discussion really is around here. It&#8217;s not about Zaid&#8217;s ideas about khilafat. It&#8217;s not about how good his speeches are. It&#8217;s not whether he works for the CIA or against it. It has nothing to do with any of it. The question that we are concerned with here is only of Yousuf Kazzab. If Zaid Hamid defends a kazzab, then:</p>
<ol>
<li>We can&#8217;t let it go. We can&#8217;t forget about it because it&#8217;s part of our <em>Imaan</em> to care about such things. We cannot tolerate someone who denies the finality of the prophethood of Hazrat Muhammad (<em>Sallallah-o-alaih-e-wasallam</em>). Period.</li>
<li>It doesn&#8217;t matter what other things he does. It&#8217;s not relevant any more.</li>
</ol>
<p>So, if you&#8217;re a &#8220;Zaid Hamid Fan&#8221; here&#8217;s a simple flow chart that can help you decide what your opinion is regarding Zaid Hamid. Clear your mind and come clean with what you think about him. Then decide what the real situation here is. (Click the image to see full size.)</p>
<div id="attachment_373" class="wp-caption alignnone" style="width: 490px"><a href="http://recluze.files.wordpress.com/2010/03/zh.gif"><img class="size-full wp-image-373" title="Confusion among Zaid Hamid Fans" src="http://recluze.files.wordpress.com/2010/03/zh.gif?w=480&#038;h=634" alt="" width="480" height="634" /></a><p class="wp-caption-text">Confusion among Zaid Hamid Fans</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/recluze.wordpress.com/371/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/recluze.wordpress.com/371/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=recluze.wordpress.com&#038;blog=88911&#038;post=371&#038;subd=recluze&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://recluze.wordpress.com/2010/03/13/confusion-amongst-zaid-hamid-fans/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d773786ee23700700d995d477fa983b1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">recluze</media:title>
		</media:content>

		<media:content url="http://recluze.files.wordpress.com/2010/03/zh.gif" medium="image">
			<media:title type="html">Confusion among Zaid Hamid Fans</media:title>
		</media:content>
	</item>
		<item>
		<title>The Lies of Zaid Zaman Hamid</title>
		<link>http://recluze.wordpress.com/2010/03/08/the-lies-of-zaid-zaman-hamid/</link>
		<comments>http://recluze.wordpress.com/2010/03/08/the-lies-of-zaid-zaman-hamid/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 15:07:28 +0000</pubDate>
		<dc:creator>recluze</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Islam]]></category>

		<guid isPermaLink="false">http://recluze.wordpress.com/?p=359</guid>
		<description><![CDATA[For those who can&#8217;t bother to read the whole thing, here&#8217;s the short version: Zaid (Zaman) Hamid is a supporter of Yousuf Ali Kazzab who claimed prophethood for himself and was convicted by a court of Pakistan on those counts. Scholars of almost all sects agree that he was a kazzab and got what he [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=recluze.wordpress.com&#038;blog=88911&#038;post=359&#038;subd=recluze&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>For those who can&#8217;t bother to read the whole thing, here&#8217;s the short version: Zaid (Zaman) Hamid is a supporter of Yousuf Ali Kazzab who claimed prophethood for himself and was convicted by a court of Pakistan on those counts. Scholars of almost all sects agree that he was a kazzab and got what he deserved. Zaid Hamid waited a long time before answering any queries regarding this issue and when he finally had to come out, he did so by defending the kazzab. So, he is a follower of the kazzab and in no way should be followed or supported by muslims. Read on for the full version.</p>
<p><span id="more-359"></span></p>
<p>I never write about modern cults because they&#8217;re usually very short-lived and anyone with the most basic of religious knowledge can understand the contradictions in their ideology. For example, I never bothered to condemn Javed Ahmad Ghamidi because his opinions are obviously deviant and anyone can figure out that he is either very incompetent or very dishonest. The case of Zaid Hamid is different because he never speaks openly of his religious beliefs.</p>
<p>Ever since I heard about Zahid Hamid, I had some lack of clarity about him. I browsed through his site and read the &#8216;frequently asked questions&#8217; section but I wasn&#8217;t convinced. It probably had something to do with the fact that whenever someone starts his campaign condemning sectarianism, it&#8217;s usually because they have no ideology of their own or they have one that they are not willing to share.</p>
<p>There have been rumours (and denials) going on about his affiliation with Yousaf Kazzab. No body seemed to know what the truth was and I wasn&#8217;t prepared to comment until I knew for sure. Today, I looked at his video in which he explicitly addressed the question. They just decided to share this video (mostly because it was released by people who were strictly ordered not to release it) and unfortunately (for him), he finally messed up. These videos clearly show that he supports Yousuf Kazzab.</p>
<p>First, let me mention a few points here:</p>
<p>1. Regardless of what capabilities a person has or the (good) influence he has on the society, the religious soundness can only be judged by the beliefs that are depicted by the actions. Besides, no one who believes in a &#8216;false prophet&#8217; can do good to the Muslim ummah.</p>
<p>2. Claims must be backed up by actions. If a person claims that he does not endorse the prophethood of anyone after Prophet Muhammad (Sallall-o-alaihe-wasallam) and yet affiliates himself with someone who declares himself to be a prophet, then that claim is worth nothing.</p>
<p>3. Now, about the video: If you see his videos about this subject (links following), you&#8217;ll know Zaid Hamid does not deny his affiliation with Yousuf Kazzab. He does say that he left him before the trial (which is not true) but does admit he was with him at start. This, in itself, would&#8217;ve been alright but once you are publicly known to be affiliated with someone, and that someone turns out to be a deviant and a liar, you have to openly deny any further association. Moreover, you must explicitly deny having the same beliefs as the deviant. This brings us to the next point.</p>
<p>4. He now clearly states that the judgement against Yousuf Kazzab was unjust and that the only reason he isn&#8217;t taking it up in court is that it will take &#8216;three years&#8217; in high court. He wants a shariah court listening to this and that isn&#8217;t possible according to Pakistan&#8217;s penal code. Convenient. The problem, however, is that in making this claim, he has clearly admitted that he disagrees with the judgement against Yousuf Kazzab and thinks that he had done nothing wrong. I&#8217;ll get back to this precise point in a little while but notice that this is exactly what his opposers are saying. Even if he is not Yousuf Kazzab&#8217;s &#8216;khalifa&#8217; (just assuming here), he endorses his beliefs and that is the core of the dispute at hand.</p>
<p>5. In his videos, he repeatedly claims that Maulana Abdus-Sattar Niazi disagreed with the death sentence for Yousuf Kazzab. He fails to mention Maulana&#8217;s later statement about a certain Zaid Zaman coming to him and misleading him about Yousuf Kazzab and his beliefs! Zaid (Zaman) Hamid himself has declared Maulana to be &#8216;one of the most respected scholars&#8217;. Surely, he can&#8217;t claim that Maulana was lying, can he? He tries to portray Yousuf Kazzab&#8217;s case as a Deobandi-barelvi problem because that&#8217;s an easy way out. Just blame it on sectarianism. Forgets to mention all those Barelvi ulema who opposed Yousuf Kazzab though.</p>
<p>6. Last, but not least, understand that Ulema-e-Haq do not go against any person out of spite. Almi-Majlis-e-Tahaffuz-e-Khatm-e-Nubuwwat (AMTKN) has always been home to the most prominent and world renouned scholars. Their piety and rigor in scholarly matters has never been challenged. I know this personally because I&#8217;ve read both sides of the argument. In cases past and present. Read the fatawa and see for yourself.</p>
<p>Finally, the links:</p>
<p>First of all, the fatwa from Jamia Binoria about Zaid Hamid. Read the fatwa <a href="http://recluze.files.wordpress.com/2010/03/fatwa-binoria.jpg" target="_blank">here </a>and the article &#8216;Rahbar k Roop mein Rahzan&#8217; <a href="http://www.khatm-e-nubuwwat.com/zaid-zaman-hamid.htm" target="_blank">here</a>. The article refers to a speech by Yousuf Kazzab and two of his disciples (including Zaid Zaman Hamid) which is the last one <a href="http://kashifiat.wordpress.com/2010/03/03/zaid-hamid-admits-his-links-to-yousuf-kazzab/" target="_blank">here</a>.</p>
<p>Zaid Zaman Hamid clearly endorses the opinion that Yousuf Kazzab was wrongly accused. He even vows to drag into court Yousuf Kazzab&#8217;s opponents (more precisely AMTKN) &#8220;when shariah courts are established&#8221; in Pakistan.</p>
<p>Finally, take a look <a href="http://www.scribd.com/doc/27951084/27896180-Reply-to-Zaid-Hamid-s-Defend-of-Yusuf-Kazzab" target="_blank">here</a> for a few more scans regarding Zaid Hamid&#8217;s false claims.</p>
<div id="_mcePaste">Zaid Hamid&#8217;s claim that &#8216;Khabrain&#8217; newspaper was the only source of information. Read about it <a href="http://zaidhamidexposition.wordpress.com/2010/03/07/refutation-zaid-hamid-claims-that-the-accusers-molvis-did-not-have-any-proof-except-khabrain-news/" target="_blank">here</a>.</div>
<div id="_mcePaste">
<p>Finally, you can read the whole court proceedings of Yousuf Kazzab&#8217;s trial, look <a href="http://zaidhamidexposition.wordpress.com/yusuf-kazab-blasphemy-case-full-court-proceedings/" target="_blank">here</a>.</p>
<p><em>Update:</em> I&#8217;ve removed the comments about adultery charges because I&#8217;m not very clear about them. Will post them as soon as I research them.</p>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/recluze.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/recluze.wordpress.com/359/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=recluze.wordpress.com&#038;blog=88911&#038;post=359&#038;subd=recluze&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://recluze.wordpress.com/2010/03/08/the-lies-of-zaid-zaman-hamid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d773786ee23700700d995d477fa983b1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">recluze</media:title>
		</media:content>
	</item>
		<item>
		<title>Building Xen from source on Ubuntu 8.04</title>
		<link>http://recluze.wordpress.com/2010/02/09/building-xen-from-source-on-ubuntu-8-04/</link>
		<comments>http://recluze.wordpress.com/2010/02/09/building-xen-from-source-on-ubuntu-8-04/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 10:36:24 +0000</pubDate>
		<dc:creator>recluze</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://recluze.wordpress.com/?p=346</guid>
		<description><![CDATA[After struggling with XEN&#8216;s source for around two weeks, I&#8217;ve finally managed to get it working on a Ubuntu 8.04. It was fairly straight forward with a few bits and pieces of trouble. That is mainly due to the problems of incompatibility between different versions of the hypervisor and dom0 kernels. So, here&#8217;s how I [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=recluze.wordpress.com&#038;blog=88911&#038;post=346&#038;subd=recluze&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>After struggling with <a href="http://xen.org/" target="_blank">XEN</a>&#8216;s source for around two weeks, I&#8217;ve finally managed to get it working on a Ubuntu 8.04. It was fairly straight forward with a few bits and pieces of trouble. That is mainly due to the problems of incompatibility between different versions of the hypervisor and <code>dom0</code> kernels.</p>
<p>So, here&#8217;s how I did it. This is more for archiving purposes than for teaching. So, use whatever you can. Post any queries and I&#8217;ll see if I can help.<br />
<span id="more-346"></span></p>
<p>First, though, you need to get the prerequisites installed on your system.  I had a lot of trouble with the compilation because xen build scripts don&#8217;t check for prereqs before starting. It kept stopping in the middle of the build because of missing packages. So, here&#8217;s the complete list of all the packages you need for building this version of xen. Just execute:</p>
<p><code># sudo apt-get install build-essential mercurial gawk zlib1g-dev libzzip-dev libcurl4-openssl-dev xorg-dev gettext libncurses5-dev python2.5-dev texinfo texlive-latex-base texlive-latex-recommended texlive-fonts-extra texlive-fonts-recommended transfig bridge-utils uuid-dev<br />
</code></p>
<p>Xen also requires Dev86. Get that from <a href="http://rdebath.nfshost.com/dev86/">here</a> (You only need the binary, not the source. I got Dev86bin-0.16.17.tar.gz) Copy the .tar.gz file to <code>/</code> &#8212; your filesystem root and extract it.</p>
<p>Now, get the xen-unstable source. In my case, this was xen-4.0.0-rc3.</p>
<p><code># hg clone <a href="http://xenbits.xensource.com/xen-unstable.hg" rel="nofollow">http://xenbits.xensource.com/xen-unstable.hg</a> </code></p>
<p>That might take just a little while. This only gets the hypervisor source. The <code>dom0</code> kernel source will be downloaded by the build script. Start the building process:</p>
<p><code># make world </code></p>
<p>In the future, if you wish to rebuild the code without losing all the configuration change, just <code> make dist </code>.</p>
<p>This builds the hypervisor, downloads the associated <code>dom0</code> kernel source (which might take a lot of time), builds xen-tools and other smaller packages. Install the whole thing using:</p>
<p><code><br />
# ./install.sh<br />
</code></p>
<p>After all that, you should have <code>xen.gz</code> and the kernel (which in my case was 2.6.31.6) in the /boot directory.</p>
<p>It&#8217;s a good idea to create an initrd image. To do so, execute the following two commands:</p>
<p><code><br />
# depmod -a 2.6.31.6<br />
# update-initramfs -c -k 2.6.31.6<br />
</code></p>
<p>You now need to add the following directives to <code>/boot/grub/menu.lst</code> to enable booting into xen:</p>
<p><code><br />
title Xen 4.0 w/ Linux 2.6.31.6<br />
  root (hd0,1)<br />
  kernel  /boot/xen.gz  dom0_mem=524288<br />
  module /boot/vmlinuz-2.6.31.6 root=/dev/hda1 ro<br />
  module /boot/initrd.img-2.6.31.6<br />
</code></p>
<p>Where /dev/hda1 is your linux partition. (You can get that from <code> sudo fdisk -l</code>.)</p>
<p>Reboot and you should be in Xen. Start the Xen daemon and take a look at your brand new <code>dom0</code>. </p>
<p><code><br />
# /etc/init.d/xend start<br />
# xm list<br />
</code> </p>
<p>Next tutorial on how to create a <code>domU</code> and then move on to more exciting stuff such as DRTM! </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/recluze.wordpress.com/346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/recluze.wordpress.com/346/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=recluze.wordpress.com&#038;blog=88911&#038;post=346&#038;subd=recluze&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://recluze.wordpress.com/2010/02/09/building-xen-from-source-on-ubuntu-8-04/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d773786ee23700700d995d477fa983b1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">recluze</media:title>
		</media:content>
	</item>
		<item>
		<title>Down the Drain</title>
		<link>http://recluze.wordpress.com/2010/02/02/down-the-drain/</link>
		<comments>http://recluze.wordpress.com/2010/02/02/down-the-drain/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 15:00:59 +0000</pubDate>
		<dc:creator>recluze</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://recluze.wordpress.com/?p=344</guid>
		<description><![CDATA[I started teaching at IMSciences around a month ago. Today, I got the news that I&#8217;m being kicked out, mid-semester. I&#8217;m not surprised because I knew what was going on behind my back. I&#8217;m not mad. I&#8217;m not angry. I&#8217;m not even sad. I am a little bit disgusted though because in the past two [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=recluze.wordpress.com&#038;blog=88911&#038;post=344&#038;subd=recluze&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I started teaching at IMSciences around a month ago. Today, I got the news that I&#8217;m being kicked out, mid-semester. I&#8217;m not surprised because I knew what was going on behind my back. I&#8217;m not mad. I&#8217;m not angry. I&#8217;m not even sad. I<em> am</em> a little bit disgusted though because in the past two years, I have given IMSciences more than 15 publications. I&#8217;ve written two books. I&#8217;ve helped bring in two projects with a combined funding of over 25 million. I&#8217;ve played my part in creating jobs for around twenty people. I even contributed in starting a PhD programme. After all that, they didn&#8217;t even have the decency to come up with a better excuse than, &#8220;some of your students had some objections on your teaching style&#8221;. That is obviously an offense which mandates termination without even a show-of-cause notice.</p>
<p>Pathetic, really.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/recluze.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/recluze.wordpress.com/344/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=recluze.wordpress.com&#038;blog=88911&#038;post=344&#038;subd=recluze&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://recluze.wordpress.com/2010/02/02/down-the-drain/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d773786ee23700700d995d477fa983b1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">recluze</media:title>
		</media:content>
	</item>
	</channel>
</rss>
