<?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>Test Blog &#187; Computers</title>
	<atom:link href="http://dcostanet.net/wordpress/category/computers/feed/" rel="self" type="application/rss+xml" />
	<link>http://dcostanet.net/wordpress</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Fri, 05 May 2006 14:53:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Magpie Unit tests</title>
		<link>http://dcostanet.net/wordpress/2006/04/26/magpie-unit-tests/</link>
		<comments>http://dcostanet.net/wordpress/2006/04/26/magpie-unit-tests/#comments</comments>
		<pubDate>Wed, 26 Apr 2006 19:45:31 +0000</pubDate>
		<dc:creator>Sameer</dc:creator>
				<category><![CDATA[Gregarius]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://dcostanet.net/wordpress/2006/04/26/magpie-unit-tests/</guid>
		<description><![CDATA[Since people were waving tasks around several months ago and I finally got tired of atom feeds showing up incorrectly in Gregarius, I decided to port some of Feedparser tests to Magpie. I created a rudimentary ajax-ified unit testing harness for Magpie. You can download it to your webserver with subversion svn co http://svn.gregarius.net/svn/branches/magpie-hacks/ Then, [...]]]></description>
			<content:encoded><![CDATA[<p>Since people were <a href="http://laughingmeme.org/articles/2005/12/20/atom-and-wiki-driven-testing">waving tasks around</a> several months ago and I finally got tired of atom feeds showing up incorrectly in <a href="http://gregarius.net">Gregarius</a>,  I decided to port some of <a href="http://feedparser.org/" rel="tag">Feedparser</a> tests to <a href="http://magpierss.sourceforge.net/" rel="tag">Magpie</a>. I created a rudimentary ajax-ified unit testing harness for Magpie. You can download it to your webserver with subversion<br />
<code><br />
svn co http://svn.gregarius.net/svn/branches/magpie-hacks/<br />
</code></p>
<p>Then, just point any ajax enabled browser at the runTests.php file. You can see it in action <a href="http://test.dcostanet.net/magpie-hacks/MagpieTests/runTests.php">here</a>. </p>
<p>Unfortunately, I could not think of any nice cross-language way to write the expect condition, and so I wrote some scripts (similar to <a href="http://www.intertwingly.net/blog/2005/10/30/Testing-FeedTools-Dynamically">Sam Ruby&#8217;s scripts</a>) to statically convert the python expect condition to php. Writing the correct expect condition is much harder than I thought. My goal is to port about 1000 or so feedparser tests  that I care about (out of the 3000 that exist) and make changes to Magpie without regressing anything. Then I will put this branch version of Magpie back into the Gregarius trunk. </p>
]]></content:encoded>
			<wfw:commentRss>http://dcostanet.net/wordpress/2006/04/26/magpie-unit-tests/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dreamhost Quirks</title>
		<link>http://dcostanet.net/wordpress/2006/04/26/dreamhost-quirks/</link>
		<comments>http://dcostanet.net/wordpress/2006/04/26/dreamhost-quirks/#comments</comments>
		<pubDate>Wed, 26 Apr 2006 18:03:41 +0000</pubDate>
		<dc:creator>Sameer</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Gregarius]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://dcostanet.net/wordpress/2006/04/26/dreamhost-quirks/</guid>
		<description><![CDATA[Dreamhost is doing some strange things with my php scripts. Why are you stealing my newlines? For some strange reason newlines at the end of files seem to be eaten. Take a look at these two php files. < ?phpecho "This string has no newline at the end";?> and < ?phpecho "This first string has a newline at the end\n";?> If you wget these two files (file1, file2) you will see that [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://dreamhost.com">Dreamhost</a> is doing some strange things with my php scripts.  </p>
<ol>
<li>
<h4>Why are you stealing my newlines? </h4>
<p>For some strange reason newlines at the end of files seem to be eaten. Take a look at these two php files.<br />
<code><font color="#000000"><br />
</font><font color="#0000BB">< ?php<br /></font><font color="#007700">echo </font><font color="#DD0000">"This string has no newline at the end"</font><font color="#007700">;<br /></font><font color="#0000BB">?><br /></font></code><br />
and<br />
<code><font color="#000000"><br />
</font><font color="#0000BB">< ?php<br /></font><font color="#007700">echo </font><font color="#DD0000">"This first string has a newline at the end\n"</font><font color="#007700">;<br /></font><font color="#0000BB">?><br /></font></code><br />
If you wget these two files (<a href="http://test.dcostanet.net/DreamhostQuirks/testNOnewline.php">file1</a>, <a href="http://test.dcostanet.net/DreamhostQuirks/testnewline.php">file2</a>) you will see that they are exactly the same. Who took my newline at the end of the second file?
</li>
<li>
<h4>Why don&#8217;t you be polite and flush? </h4>
<p>This is a slightly more serious problem as it prevents Gregarius&#8217; serverpush method for updating feeds from working on my dreamhost server. I took a very simple serverpush example from the <a href="http://www.xulplanet.com/tutorials/mozsdk/serverpush.php">XUL Planet Developer Guide</a> and put it on my dreamhost server.<br />
<code><font color="#000000"><br />
</font><font color="#0000BB">< ?php<br />  header</font><font color="#007700">(</font><font color="#DD0000">'Content-type: multipart/x-mixed-replace;boundary="rn9012"'</font><font color="#007700">);</p>
<p>  print </font><font color="#DD0000">"--rn9012\n"</font><font color="#007700">;<br />  print </font><font color="#DD0000">"Content-type: application/xml\n\n"</font><font color="#007700">;<br />  print </font><font color="#DD0000">"< ?xml version='1.0'?>\n"</font><font color="#007700">;<br />  print </font><font color="#DD0000">"<content>First Part</content>\n"</font><font color="#007700">;<br />  print </font><font color="#DD0000">"--rn9012\n"</font><font color="#007700">;<br />  </font><font color="#0000BB">flush</font><font color="#007700">();</p>
<p>  </font><font color="#0000BB">sleep</font><font color="#007700">(</font><font color="#0000BB">5</font><font color="#007700">);<br />  print </font><font color="#DD0000">"Content-type: application/xml\n\n"</font><font color="#007700">;<br />  print </font><font color="#DD0000">"< ?xml version='1.0'?>\n"</font><font color="#007700">;<br />  print </font><font color="#DD0000">"<content>Second Part</content>\n"</font><font color="#007700">;<br />  print </font><font color="#DD0000">"--rn9012--\n"</font><font color="#007700">;</p>
<p></font><font color="#0000BB">?><br /></font><br />
</code> If you are using a Gecko browser and you point to <a href="http://test.dcostanet.net/DreamhostQuirks/testupdate.php">this file on a dreamhost server</a>, there will be a 5 second pause and you will only see the second part. Compare this with <a href="http://www.xulplanet.com/ndeakin/tests/multipart.php">the same file on the xulplanet webserver</a>, where you see the first part and then after a 5 second pause the second part.
</li>
</ol>
<p>If you have any ideas about what is going on, please let me know. You can find all these files (and their sources) <a href="http://test.dcostanet.net/DreamhostQuirks/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://dcostanet.net/wordpress/2006/04/26/dreamhost-quirks/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>wordpress</title>
		<link>http://dcostanet.net/wordpress/2006/02/01/wordpress/</link>
		<comments>http://dcostanet.net/wordpress/2006/02/01/wordpress/#comments</comments>
		<pubDate>Thu, 02 Feb 2006 02:23:44 +0000</pubDate>
		<dc:creator>Sameer</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://dcostanet.net/wordpress/2006/02/01/wordpress/</guid>
		<description><![CDATA[I finally upgraded wordpress (this blogging software) to version 2.0.1 and beyond. Instead of following the usual upgrade instructions, I just checked out an svn version right on top of my old wordpress directory. I had to move things around a bit, but eventually I have this blog running on a development version that I [...]]]></description>
			<content:encoded><![CDATA[<p><img align="left" alt="powered by wordpress" title="powered by wordpress" src="http://dcostanet.net/blogimages/wp-button-5.gif" /></p>
<p>I finally upgraded wordpress (this blogging software) to version 2.0.1 and beyond. Instead of following the usual upgrade instructions, I just checked out an svn version right on top of my old wordpress directory. I had to move things around a bit, but eventually I have this blog running on a development version that I can keep up2date whenever I want to.</p>
<p>Now I have to figure out how to get my &#8220;<a title="I'm feeling lucky plugin" href="http://dcostanet.net/wordpress/2005/06/09/im-feeling-lucky/">I&#8217;m feeling lucky plugin</a>&#8221; working again and update it on the wordpress plugin repository. Also, the backup plugin needs some tweaking. I shall also tweak the template to give my <a href="http://del.icio.us/sameerd">del.icio.us bookmarks</a> a little more space. I seem to be bookmarking more things and easing up on writing blog posts. If you notice anything funny with the website after the upgrade, please let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://dcostanet.net/wordpress/2006/02/01/wordpress/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Compiling OpenOffice</title>
		<link>http://dcostanet.net/wordpress/2006/01/02/compiling-open-office/</link>
		<comments>http://dcostanet.net/wordpress/2006/01/02/compiling-open-office/#comments</comments>
		<pubDate>Tue, 03 Jan 2006 04:21:22 +0000</pubDate>
		<dc:creator>Sameer</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://dcostanet.net/wordpress/?p=103</guid>
		<description><![CDATA[I decided to upgrade to OpenOffice version 2 as I wanted to use oodraw to make some flowcharts. Emerging software on gentoo involves compiling it (though you can install binary package s if you really want) and OpenOffice weighs in at a hefty 150MB download. I think it will only finish compiling tomorrow morning. Meanwhile [...]]]></description>
			<content:encoded><![CDATA[<p>I decided to upgrade to <a href="http://www.openoffice.org/">OpenOffice</a> version 2 as I wanted to use oodraw to make some flowcharts. <em>Emerging</em> software on <a href="http://www.gentoo.org/">gentoo</a> involves compiling it (though you can install binary package s if you really want) and OpenOffice weighs in at a hefty 150MB download. I think it will only finish compiling tomorrow morning. Meanwhile it does its best to entertain you</p>
<blockquote><p>
 Use gcc33:  &#8221;<br />
 ccache:     no<br />
<b> icecream</b>:   no<br />
Checking for source packages in /usr/portage/distfiles<br />
Looking for OOO_2_0_0-core.tar.bz2 &#8230; ok<br />
Unpacking OO.o build tree &#8211; [<b> go make some tea</b><b> ] &#8230;<br />
</b></p></blockquote>
<p>After telling me it is not going to use icecream and giving me some time to make some tea it tells me&#8230;</p>
<blockquote><p>
Fixing unfortunate snafus
</p></blockquote>
<p>Thats good to know. I wouldn&#8217;t want to wake up in the morning to unfortunate snafus. </p>
<p><em>Ps. Happy New Year everyone. </em></p>
<p>Updated to Add: It is 11 in the morning now. Still compiling&#8230;.. <img src='http://dcostanet.net/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://dcostanet.net/wordpress/2006/01/02/compiling-open-office/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Dupes</title>
		<link>http://dcostanet.net/wordpress/2005/12/07/dupes/</link>
		<comments>http://dcostanet.net/wordpress/2005/12/07/dupes/#comments</comments>
		<pubDate>Thu, 08 Dec 2005 02:56:52 +0000</pubDate>
		<dc:creator>Sameer</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://dcostanet.net/wordpress/?p=102</guid>
		<description><![CDATA[One advantage of having a web based aggregator that constantly pings away at sites (albiet very politely), is that you get to catch mistakes that feed publishers make. Notice any difference in these two items from Slashdot?. Click the image for a close look&#8230;. I guess Slashdot is worried about getting sued by Microsoft &#8230;.]]></description>
			<content:encoded><![CDATA[<p>One advantage of having a <a href="http://gregarius.net">web based aggregator</a> that constantly pings away at sites (albiet very politely), is that you get to catch mistakes that feed publishers make. Notice any difference in these two items from <a href="http://slashdot.org/">Slashdot</a>?. </p>
<p text-align="center"><a href="http://dcostanet.net/blogimages/slashdotdupe.jpg"><img src="http://dcostanet.net/blogimages/slashdotdupe-small.jpg" alt="Slashdot dupes" /></a></p>
<p>Click the image for a close look&#8230;. I guess Slashdot is worried about getting sued by Microsoft <img src='http://dcostanet.net/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  &#8230;. </p>
]]></content:encoded>
			<wfw:commentRss>http://dcostanet.net/wordpress/2005/12/07/dupes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blog That</title>
		<link>http://dcostanet.net/wordpress/2005/11/15/blog-that/</link>
		<comments>http://dcostanet.net/wordpress/2005/11/15/blog-that/#comments</comments>
		<pubDate>Tue, 15 Nov 2005 18:08:07 +0000</pubDate>
		<dc:creator>Sameer</dc:creator>
				<category><![CDATA[Gregarius]]></category>

		<guid isPermaLink="false">http://dcostanet.net/wordpress/?p=96</guid>
		<description><![CDATA[I wrote a Gregarius plugin to send any item to a blog with 1 click. Yes I know another plugin!!. This is the last one for a while, I promise.. Maybe I should patent this one like amazon did. Anyway, here is a screenshot of what the output looks like. Screenshots You can edit the [...]]]></description>
			<content:encoded><![CDATA[<p>I wrote a <a href="http://gregarius.net/" rel="tag">Gregarius</a> plugin to send any item to a blog with 1 click. Yes I know another plugin!!. This is the last one for a while, I promise.. Maybe I should <a href="http://www.oreilly.com/news/patent_archive.html">patent this one like amazon did</a>. Anyway, here is a screenshot of what the output looks like. </p>
<h3>Screenshots</h3>
<p style="text-align:center"><img src="http://dcostanet.net/software/blogthat/blogthat-0.2.jpg" alt="blog that" class="aligncenter"/></p>
<p>You can edit the output by editing a template file just like you would do for a  <a href="http://wiki.gregarius.net/index.php/Theme_Authoring">regular Gregarius theme</a>. </p>
<h3>Download</h3>
<p>Jan 10, 2006. <a href="http://dcostanet.net/software/blogthat/blogthat-0.3.2.zip">Download version 0.3.2</a></p>
<h3>Older Versions</h3>
<ul>
<li>
  Jan 10, 2006. <a href="http://dcostanet.net/software/blogthat/blogthat-0.3.2.zip">Version 0.3.2</a>
<ul>
<li>Prevented the icon from appearing when you were not logged in. </li>
<li>Changed the default config options to a <a href="http://blogthat.wordpress.com">wordpress.com blog</a> </li>
</ul>
</li>
<li>
  Nov 26, 2005. <a href="http://dcostanet.net/software/blogthat/blogthat-0.3.1.zip">Version 0.3.1</a>
<ul>
<li>Prevented the icon from appearing when you were not logged in. </li>
<li>Changed the default config options to a <a href="http://blogthat.wordpress.com">wordpress.com blog</a> </li>
</ul>
</li>
<li>Nov 20, 2005. <a href="http://dcostanet.net/software/blogthat/blogthat-0.3.zip">Version 0.3</a>
<ul>
<li>Now checks the admin cookie for all items and not just private items.</li>
<li>Bug fix for posting as blog items as a draft. Thanks <a href="http://weblog.philringnalda.com/">Phil</a>.</li>
<li>User config value to change the category into which the blog is posted. </li>
</ul>
</li>
</ul>
<ul>
<li>Nov 15, 2005. <a href="http://dcostanet.net/software/blogthat/blogthat-0.2.zip">Version 0.2</a> </li>
</ul>
<ul>
<li>
   Initial release version.
</li>
</ul>
<h3>Requirements</h3>
<p>Gregarius version 0.5.2 +</p>
<h3>Notes</h3>
<ul>
<li>Remember to read the <tt>README.txt</tt> file in the subdirectory <tt>blogthat_files/</tt>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://dcostanet.net/wordpress/2005/11/15/blog-that/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Lilina theme for Gregarius</title>
		<link>http://dcostanet.net/wordpress/2005/11/12/lilina-theme-for-gregarius/</link>
		<comments>http://dcostanet.net/wordpress/2005/11/12/lilina-theme-for-gregarius/#comments</comments>
		<pubDate>Sat, 12 Nov 2005 18:28:47 +0000</pubDate>
		<dc:creator>Sameer</dc:creator>
				<category><![CDATA[Gregarius]]></category>

		<guid isPermaLink="false">http://dcostanet.net/wordpress/2005/11/12/lilina-theme-for-gregarius/</guid>
		<description><![CDATA[I added a new theme for Gregarius which gives it a similar interface to Lilina. It is still a work in progress, so I decided to create a page for it to keep track of changes in the version. This theme shows you the item titles, so you can scan them quickly. You can expand [...]]]></description>
			<content:encoded><![CDATA[<p>I added a new theme for <a href="http://gregarius.net/" rel="tag">Gregarius</a> which gives it a similar interface to <a href="http://lilina.sourceforge.net/" rel="tag">Lilina</a>. It is still a work in progress, so I decided to create a page for it to keep track of changes in the version. This theme shows you the item titles, so you can scan them quickly. You can expand out an individual item by clicking on the title. Expand out all the titles by clicking the expand/collapse all button. You can also hide the sidemenu by clicking on the button with the arrowheads. This last state is stored in a cookie and remembered across visits. </p>
<h3>Screenshots</h3>
<p><a href="http://dcostanet.net/software/lilina/lilina-theme.jpg"><img src="http://dcostanet.net/software/lilina/lilina-theme-thumbnail.jpg" alt="Lilina theme for Gregarius" class="aligncenter" /></a></p>
<h3>Download</h3>
<p>Dec 30, 2005. <a href="http://dcostanet.net/software/lilina/lilina-theme-0.4.1.zip">Download version 0.4.1</a><br />
This version has the following changes</p>
<ul>
<li>Fixed xhtml validity bugs</li>
<li>Included <a href="http://www.marteydodoo.com/">Martey Dodoo&#8217;s</a> low contrast css changes</li>
</ul>
<h3>Older Versions</h3>
<ul>
<li>
Dec 30, 2005. <a href="http://dcostanet.net/software/lilina/lilina-theme-0.4.zip">Download version 0.4</a><br />
This version has the following changes</p>
<ul>
<li>The items are now grouped by date.</li>
<li>More compitibilty with the svn version. Uses screenshots, overrides etc..</li>
</ul>
</li>
<li>
Dec 22, 2005. <a href="http://dcostanet.net/software/lilina/lilina-theme-0.3.2.zip">Download version 0.3.2</a> </p>
<ul>
<li>Added Accesskeys for collapsing the sidebar (Alt-f) and for expanding/collapsing all the items(Alt-C)</li>
<li>Fix for a bug while expanding/collapsing all the divs in Firefox </li>
</ul>
</li>
<li>Nov 12, 2005. <a href="http://dcostanet.net/software/lilina/lilina-theme-0.3.1.zip">Download version 0.3.1</a>
<ul>
<li>Fix for a bug that prompts you to download update.php after updating. </li>
</ul>
</li>
<li>
<a href="http://dcostanet.net/software/lilina/lilina-theme-0.3.zip">Download version 0.3.</a> </p>
<ul>
<li>The sidemenu hidden state is stored in a cookie and saved across visits</li>
<li>Removed underscores from the feed titles</li>
<li>Made the icons line up &#8211; Thanks Chris</li>
<li>Bug fixes when using this theme with version 0.5.2 of Gregarius</li>
</ul>
</li>
</ul>
<h3>Requirements</h3>
<p>Gregarius version 0.5.2 +</p>
<h3>Notes</h3>
<ul>
<li>I do not use this theme myself, so updates will be slow.
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://dcostanet.net/wordpress/2005/11/12/lilina-theme-for-gregarius/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
	</channel>
</rss>

