<?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; Web</title>
	<atom:link href="http://dcostanet.net/wordpress/category/computers/web/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>
	<generator>http://wordpress.org/?v=2.9-rare</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<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, just [...]]]></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 they are exactly [...]]]></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>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  [...]]]></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>More blogs?</title>
		<link>http://dcostanet.net/wordpress/2005/10/18/more-blogs/</link>
		<comments>http://dcostanet.net/wordpress/2005/10/18/more-blogs/#comments</comments>
		<pubDate>Tue, 18 Oct 2005 13:25:58 +0000</pubDate>
		<dc:creator>Sameer</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://dcostanet.net/wordpress/2005/10/18/more-blogs/</guid>
		<description><![CDATA[Need to read more blogs? CNET has come up with a top 100 list. The list is grouped via subject so you can easily find cool blogs that you are interested in. Add the ones you find interesting to your feed agregator.  Never mind that they forgot to put my blog on the list. [...]]]></description>
			<content:encoded><![CDATA[<p>Need to read more blogs? <a href="http://www.cnet.com/">CNET</a> has come up with a <a href="http://news.com.com/2310-10784_3-0.html">top 100 list</a>. The list is grouped via subject so you can easily find cool blogs that you are interested in. Add the ones you find interesting to your feed agregator.  Never mind that they forgot to put my blog on the list. </p>
]]></content:encoded>
			<wfw:commentRss>http://dcostanet.net/wordpress/2005/10/18/more-blogs/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Web based interfaces</title>
		<link>http://dcostanet.net/wordpress/2005/09/16/web-based-interfaces/</link>
		<comments>http://dcostanet.net/wordpress/2005/09/16/web-based-interfaces/#comments</comments>
		<pubDate>Fri, 16 Sep 2005 06:21:02 +0000</pubDate>
		<dc:creator>Sameer</dc:creator>
				<category><![CDATA[Gregarius]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://dcostanet.net/wordpress/?p=79</guid>
		<description><![CDATA[ Roundcube is a very impressive open source web based email reader. It seems to be just like a desktop application and has all the advantages of being web-based. You can access it from anywhere using almost any browser on any OS. The Ajaxified interface feels light and dynamic. Try out the demo. It is [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.roundcube.net/images/screens/mail_view2.jpg"><img src="http://dcostanet.net/blogimages/roundcube.jpg" alt="" class="alignright" /></a> <a href="http://roundcube.net" rel="tag">Roundcube</a> is a very impressive open source web based email reader. It seems to be just like a desktop application and has all the advantages of being web-based. You can access it from anywhere using almost any browser on any OS. The Ajaxified interface feels light and dynamic. <a href="http://www.roundcube.net/?p=demo">Try out the demo.</a> It is quite amazing. What is the deal with all these developers from Switzerland releasing amazing Ajaxified webapps using php and mysql? Don&#8217;t they do anything else over there?</p>
<p><a href="http://mail.yahoo.com"> Yahoo! mail</a> is also getting a new Ajaxified look with drag &#038; drop organization, keyboard shortcuts and <a href="http://home.businesswire.com/portal/site/google/index.jsp?ndmViewId=news_view&#038;newsId=20050914005382&#038;newsLang=en">other features</a>. I am sure <a href="http://gregarius.net" rel="tag">Gregarius</a> can be themed to sport a really nice light Ajaxified interface. The key will be to piecemeal the data transferred between server and client. </p>
]]></content:encoded>
			<wfw:commentRss>http://dcostanet.net/wordpress/2005/09/16/web-based-interfaces/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Failure</title>
		<link>http://dcostanet.net/wordpress/2005/09/15/failure/</link>
		<comments>http://dcostanet.net/wordpress/2005/09/15/failure/#comments</comments>
		<pubDate>Fri, 16 Sep 2005 01:04:41 +0000</pubDate>
		<dc:creator>Sameer</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://dcostanet.net/wordpress/?p=77</guid>
		<description><![CDATA[Guess what the top hit in google is for the word failure? 
Click here to see if you guessed right. This information is from 2003 (yes I know I am a little late to the game   ). Read about it at Snopes. Consequently, you get the same top result if you search for [...]]]></description>
			<content:encoded><![CDATA[<p>Guess what the top hit in google is for the word <em>failure</em>? </p>
<p><a href="http://www.google.com/search?q=failure">Click here</a> to see if you guessed right. This information is from 2003 (yes I know I am a little late to the game <img src='http://dcostanet.net/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ). Read about it at <a href="http://www.snopes.com/politics/bush/google.asp">Snopes</a>. Consequently, you get the same top result if you search for <em>miserable</em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://dcostanet.net/wordpress/2005/09/15/failure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
