<?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/"
	>

<channel>
	<title>Raza&#039;s Weblog</title>
	<atom:link href="http://blog.razasayed.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://blog.razasayed.com</link>
	<description>Everything should be made as simple as possible, but no simpler.</description>
	<lastBuildDate>Mon, 12 Jul 2010 02:12:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Nokia N900, a phone thats free&#8230;as in freedom ! :)</title>
		<link>http://blog.razasayed.com/?p=121</link>
		<comments>http://blog.razasayed.com/?p=121#comments</comments>
		<pubDate>Mon, 12 Jul 2010 00:30:02 +0000</pubDate>
		<dc:creator>raza</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[gnu/linux]]></category>
		<category><![CDATA[maemo]]></category>
		<category><![CDATA[n900]]></category>
		<category><![CDATA[nokia]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://blog.razasayed.com/?p=121</guid>
		<description><![CDATA[Ive been hacking away at my recently bought Nokia N900  . It runs the Maemo 5,which is a GNU/Linux distro based on Debian . Calling the Nokia N900 a phone would be an understatement, as its actually a mobile computer.Rather than a phone that can also compute,its really a computer that can also function [...]]]></description>
			<content:encoded><![CDATA[<p>Ive been hacking away at my recently bought Nokia N900  . It runs the Maemo 5,which is a GNU/Linux distro based on Debian . Calling the Nokia N900 a phone would be an understatement, as its actually a mobile computer.Rather than a phone that can also compute,its really a computer that can also function as a phone !..simple,isnt it ? <img src='http://blog.razasayed.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> . Below,is a pic of my phone..ahem,computer in all its glory <img src='http://blog.razasayed.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<a href="http://blog.razasayed.com/wp-content/uploads/2010/03/N900.jpg"><img class="alignnone size-medium wp-image-105" title="N900" src="http://blog.razasayed.com/wp-content/uploads/2010/03/N900-300x225.jpg" alt="N900" width="300" height="225" /></a></p>
<p>Maemo is a Debian derivative,so its not pure Debian,but still that didnt stop me from getting all the Debian goodness on my device.<br />
All it took was installing the Easy Debian package,which downloaded a large Debian image file to my phone giving me access to stuff like OpenOffice.org, Gimp, the LXDE Desktop Environment, Evince, Firefox,Java etc and a lot of other precompiled apps from the Debian repo&#8230;kewl,isnt it ? <img src='http://blog.razasayed.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Now, the programmer in me was dying to start programming the phone. And what better than Python for some instant nirvana ! <img src='http://blog.razasayed.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  . To get started i wrote a simple hello world snippet,that makes use of the GTK libraries on the phone.The code is as follows:</p>
<pre class="brush: python;">
import gtk
from gtk import Window, Button, Widget
if __name__ == &quot;__main__&quot;:
    window = Window(gtk.WINDOW_TOPLEVEL)
    window.connect(&quot;destroy&quot;, gtk.main_quit)
    button = Button(&quot;Hello World:)&quot;)
    button.connect_object(&quot;clicked&quot;, Widget.destroy, window)
    window.add(button)
    window.show_all()
    gtk.main()
</pre>
<p>And below is a pic of the program running on my phone <img src='http://blog.razasayed.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Nothing really fancy,but definitely a step in the right direction !<br />
<a href="http://blog.razasayed.com/wp-content/uploads/2010/07/hw.pngg"><img class="alignnone size-medium wp-image-105" title="N900" src="http://blog.razasayed.com/wp-content/uploads/2010/07/hw.png" alt="N900" width="300" height="225" /></a></p>
<p>Well,thats all for now folks.Twitter has made me really lazy,so writing more than 140 character posts is now a huge task for me <img src='http://blog.razasayed.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> . But,still ill try and keep updating about my n900 hacks and experiments. Bye for now, have fun ! <img src='http://blog.razasayed.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.razasayed.com/?feed=rss2&amp;p=121</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>JQuerify any webpage</title>
		<link>http://blog.razasayed.com/?p=101</link>
		<comments>http://blog.razasayed.com/?p=101#comments</comments>
		<pubDate>Tue, 05 Jan 2010 16:53:45 +0000</pubDate>
		<dc:creator>raza</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://blog.razasayed.com/?p=101</guid>
		<description><![CDATA[Im a big fan of JQuery. Its a truly versatile javascript library that greatly simplifies writing javascript code,and also one need not worry about cross-browser issues, which was the bane of plain old javascript.
Recently i came across an interesting bookmarklet written by Karl Swedberg, called JQuerify. It is a small snippet of javascript code that [...]]]></description>
			<content:encoded><![CDATA[<p>Im a big fan of JQuery. Its a truly versatile javascript library that greatly simplifies writing javascript code,and also one need not worry about cross-browser issues, which was the bane of plain old javascript.<br />
Recently i came across an interesting bookmarklet written by Karl Swedberg, called <a href="http://www.learningjquery.com/2009/04/better-stronger-safer-jquerify-bookmarklet" target="_blank">JQuerify</a>. It is a small snippet of javascript code that we can bookmark and use to embed jquery support on any page we are currently viewing in the browser.<br />
Really useful for playing around with JQuery in the Firebug console. Go, give it a shot ! <img src='http://blog.razasayed.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.razasayed.com/?feed=rss2&amp;p=101</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unknown date in email notifications sent out by Mantis</title>
		<link>http://blog.razasayed.com/?p=86</link>
		<comments>http://blog.razasayed.com/?p=86#comments</comments>
		<pubDate>Fri, 01 Jan 2010 15:03:55 +0000</pubDate>
		<dc:creator>raza</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[bugzilla]]></category>
		<category><![CDATA[foss]]></category>
		<category><![CDATA[mantis]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://blog.razasayed.com/?p=86</guid>
		<description><![CDATA[I have been using Bugzilla as a bug tracker for quite some time. However,recently i was involved in setting up Mantis , which is another free and open source bug tracking system .Unlike Bugzilla which is Perl based, Mantis is written in PHP.
I had a strange problem with email notifications being sent out by Mantis. [...]]]></description>
			<content:encoded><![CDATA[<p>I have been using Bugzilla as a bug tracker for quite some time. However,recently i was involved in setting up <a href="http://www.mantisbt.org/" target="_blank">Mantis</a> , which is another free and open source bug tracking system .Unlike Bugzilla which is Perl based, Mantis is written in PHP.</p>
<p>I had a strange problem with email notifications being sent out by Mantis. When the emails arrived in my inbox,the inbox view showed &#8216;Unknown Date&#8217; in the date field for the mails. Mantis uses <a href="http://sourceforge.net/projects/phpmailer/" target="_blank">PHPMailer</a> as the mail library. This bug has been discussed on the <a href="http://old.nabble.com/small-bug-in-timezone-code-td13320733.html" target="_blank">PHPMailer mailing list</a>. Quoting the solution below.</p>
<blockquote><p><span>In class.phpmailer.php &#8217;s function RFCDate(), there is a bug in the<strong> </strong>timezone code which returns +0580 for Indian Standard Time instead of +0530.</span><br />
<span> </span><br />
<span> The line</span></p>
<pre class="brush: php;">
$tz = ($tz/3600)*100 + ($tz%3600)/60;
</pre>
<p><span> </span><br />
<span> should be replaced with</span><br />
<span> </span></p>
<pre class="brush: php;">
$tz= (($tz - ($tz%3600) )/3600)*100 + ($tz%3600)/60;
</pre>
</blockquote>
<p>After patching my Mantis installation with the fix, the issue was resolved.Hope this helps someone else faced with the same problem&#8230;have fun <img src='http://blog.razasayed.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.razasayed.com/?feed=rss2&amp;p=86</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Adding Python support to Aptana Studio</title>
		<link>http://blog.razasayed.com/?p=74</link>
		<comments>http://blog.razasayed.com/?p=74#comments</comments>
		<pubDate>Sun, 22 Nov 2009 15:07:24 +0000</pubDate>
		<dc:creator>raza</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[aptana]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[pydev]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://blog.razasayed.com/?p=74</guid>
		<description><![CDATA[Aptana Studio is the IDE that i have been using for development, for quite some time now . I like the various features it provides to ease the development of web applications . And since its Eclipse under the hood, its completely free and open source, and has plugins for all major web development technologies [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.aptana.org" target="_blank">Aptana Studio</a> is the IDE that i have been using for development, for quite some time now . I like the various features it provides to ease the development of web applications . And since its Eclipse under the hood, its completely free and open source, and has plugins for all major web development technologies like PHP, Ruby on Rails,Adobe AIR  etc.</p>
<p>Python support is provided by the Aptana PyDev plugin, which was earlier a part of their Pro version,but which they have now  <a href="http://twitter.com/Aptana/status/3764873743" target="_blank">released as free and open source</a> <img src='http://blog.razasayed.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Detailed instructions for setting up and using Aptana PyDev are given at <a href="http://pydev.org/manual.html" target="_blank">http://pydev.org/manual.html</a>,and here i have summarized the installation steps involved.</p>
<p><strong>1)</strong> Go to Help-&gt;Install New Software</p>
<p><strong>2)</strong> Click on Add, to add the update site</p>
<p><strong>3)</strong> Now enter any Name for the update site,say PyDev,and in Location enter,http://pydev.org/updates and press OK.</p>
<p><strong>4)</strong> Then select what you want to install and click Finish.</p>
<p>After installation is over, you will have to specify the location of the python interpreter on your system. So, to do that :</p>
<p><strong>1)</strong> Go to Window -&gt; Preferences.</p>
<p><strong>2)</strong> Under PyDev select Interpreter-Python</p>
<p><strong>3)</strong> You can press Auto Config to make Aptana automatically detect the python interpreter on your system and add it, but if that fails for some reason , no worries, just click on New,enter a name and Browse to the location on your file system where it is installed. Then press OK on the select interpreter screen and OK again on the Preferences screen</p>
<p>Thats it, you should now have full Python support in Aptana Studio&#8230;Happy Hacking <img src='http://blog.razasayed.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.razasayed.com/?feed=rss2&amp;p=74</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello World !</title>
		<link>http://blog.razasayed.com/?p=9</link>
		<comments>http://blog.razasayed.com/?p=9#comments</comments>
		<pubDate>Fri, 18 Sep 2009 00:02:08 +0000</pubDate>
		<dc:creator>raza</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[hello]]></category>

		<guid isPermaLink="false">http://blog.razasayed.com/?p=9</guid>
		<description><![CDATA[Starting off my blog here with the customary Hello World post . I used to blog earlier at http://razasayed.wordpress.com, but this is gonna be my new home on the web . I plan to post interesting tidbits on tech, life and my day to day musings.  Cya around folks !  ]]></description>
			<content:encoded><![CDATA[<p>Starting off my blog here with the customary Hello World post . I used to blog earlier at <a href="http://razasayed.wordpress.com" target="_blank">http://razasayed.wordpress.com</a>, but this is gonna be my new home on the web . I plan to post interesting tidbits on tech, life and my day to day musings.  Cya around folks ! <img src='http://blog.razasayed.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.razasayed.com/?feed=rss2&amp;p=9</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
