<?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>Darius Aliabadi &#187; Coding</title>
	<atom:link href="http://blog.wednesdaymorning.co.uk/category/coding/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.wednesdaymorning.co.uk</link>
	<description>a blog dictating the digital life off me</description>
	<lastBuildDate>Wed, 01 Sep 2010 21:41:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Since we last spoke..</title>
		<link>http://blog.wednesdaymorning.co.uk/2010/01/since-we-last-spoke/</link>
		<comments>http://blog.wednesdaymorning.co.uk/2010/01/since-we-last-spoke/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 17:44:53 +0000</pubDate>
		<dc:creator>Darius</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[University / Studies]]></category>

		<guid isPermaLink="false">http://blog.wednesdaymorning.co.uk/?p=276</guid>
		<description><![CDATA[Hey,
Since my last posting,  Christmas and New Years happened&#8230; *sigh*. As much as I enjoy the time off (haha, we all know a university student never gets time off), I hate having those &#8220;what have you been up to?&#8221; conversations with friends that lets face it, I don&#8217;t have time to talk to every week. [...]]]></description>
			<content:encoded><![CDATA[<p>Hey,</p>
<p>Since my last posting,  Christmas and New Years happened&#8230; *sigh*. As much as I enjoy the time off (haha, we all know a university student never gets time off), I hate having those &#8220;what have you been up to?&#8221; conversations with friends that lets face it, I don&#8217;t have time to talk to every week. Why can&#8217;t they just follow me on twitter? haha.</p>
<p>Anyway, I&#8217;ve had a recent techy upgrade. I don&#8217;t often treat myself with larger items, I tend to spend most of my money on spur of the moment purchases or spending time with my friends however since I&#8217;m finally getting back into the swing of working full time (it&#8217;s only taken 10 weeks). I find myself with extra cash, my first purchase was a lovely 23&#8243; monitor (http://www.scan.co.uk/Products/23-Digimate-L-2362WD-Black-Wide-Full-HD-1080P-VGA-DVI-1920&#215;1080-10001-300cd-m-5-ms-Speakers), it is very nice and replaced one of the screens I had before. I then got another for christmas from my parents, which completed the set.</p>
<p style="text-align: center;"><a href="http://blog.wednesdaymorning.co.uk/wp-content/uploads/2010/01/dualscreens.jpg" rel="lightbox[276]"><img class="size-full wp-image-277  aligncenter" title="dualscreens" src="http://blog.wednesdaymorning.co.uk/wp-content/uploads/2010/01/dualscreens.jpg" alt="" width="400" height="300" /></a></p>
<p>My desk is messy in this picture, this is how is always is. I live at this desk for around 10 hours a day, It&#8217;s not great but it&#8217;s my student life. Whenever I see any of the workspace pictures on lifehacker, I always wonder how these people have the time to keep their desks to clear. Mine is usually got paper and books all over it. It really could use some re-organisation at some point.</p>
<p>What else has happened? Well I&#8217;ve been working on my courseworks, I&#8217;ve currently handed in 2 of the 3 that are in before the exams and one of those was my third year project progress report. For those of you interested, this document gives the markers an idea of how far we have gotten in 10 weeks. We include initial designs, gantt charts etc as well as literary review. Mine was a little too long :s, I wrote 10 pages of text&#8230; which is not approximately 3000 words as the specification said. Oh well, I hope my supervisor enjoys the read.</p>
<p>Finally, as anyone in the UK or knows anyone in the UK knows. We&#8217;ve had snow! It&#8217;s really not as great as people made out&#8230; university was closed today because there was supposed to be a big storm last night. Luckily it&#8217;s starting to thaw and won&#8217;t snow again any time soon.</p>
<p><a href="file:///home/darius/images/dualscreens.JPG" rel="lightbox[276]"></a>Darius Out!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wednesdaymorning.co.uk/2010/01/since-we-last-spoke/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Taming the Python</title>
		<link>http://blog.wednesdaymorning.co.uk/2009/11/taming-the-python/</link>
		<comments>http://blog.wednesdaymorning.co.uk/2009/11/taming-the-python/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 18:32:58 +0000</pubDate>
		<dc:creator>Darius</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Crunchbang]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Openbox]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://blog.wednesdaymorning.co.uk/?p=195</guid>
		<description><![CDATA[Hey Guys,
I&#8217;ve been learning some python over the last few weeks, thought I would give it coding a Openbox Pipe Menu a go. It&#8217;s not very useful and some of the guys in the Crunchbang Forums helped me to fix my bugs. Here is the code:
#!/usr/bin/env python -W ignore::DeprecationWarning
import sys
import cgi
import twitter

if __name__ == "__main__":
 [...]]]></description>
			<content:encoded><![CDATA[<p>Hey Guys,</p>
<p>I&#8217;ve been learning some python over the last few weeks, thought I would give it coding a Openbox Pipe Menu a go. It&#8217;s not very useful and some of the guys in the Crunchbang Forums helped me to fix my bugs. Here is the code:</p>
<pre class="brush:python">#!/usr/bin/env python -W ignore::DeprecationWarning
import sys
import cgi
import twitter

if __name__ == "__main__":
 twit = twitter.Api(username="", password="")
 status = twit.GetFriendsTimeline()
 print "&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;"
 print "&lt;openbox_pipe_menu&gt;"
 print"    &lt;separator label=\"Twitter\" /&gt;"

 for u in status:
    tweet = u.text
    tweet = tweet.replace("\"", "'")
    tweet = tweet.encode("utf-8")
    tweet = cgi.escape(tweet)

    print "    &lt;menu id=\"%s\" label=\"%s\"&gt;" % (u.id, tweet)
    print "        &lt;item label=\"View Tweet\"&gt;&lt;action name=\"Execute\"&gt; &lt;execute&gt;firefox http://twitter.com/%s/status/%s\ &lt;/execute&gt; &lt;/action&gt; &lt;/item&gt;" % ( cgi.escape(u.user.screen_name), u.id)
    print "        &lt;item label=\"Tweet by %s\" /&gt;" % (cgi.escape(u.user.name))
    print "        &lt;item label=\"%s\" /&gt;" % (cgi.escape(u.relative_created_at))
    print "    &lt;/menu&gt;"

 print "&lt;/openbox_pipe_menu&gt;"
 sys.exit(0)</pre>
<p>I don&#8217;t suggest you make use of it, this is the alpha version but I intend to add some conversation thread and caching into it at some point. I&#8217;m also learning some perl but I haven&#8217;t really made anything other than programs to test things.</p>
<p>I&#8217;ll try and post something tomorrow, after all the site is called Wednesday Morning.</p>
<p>Darius</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wednesdaymorning.co.uk/2009/11/taming-the-python/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
