<?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>Osmarender Frontend: my GSoC adventure &#187; dosfsck</title>
	<atom:link href="http://osmarenderfrontend.wordpress.com/tag/dosfsck/feed/" rel="self" type="application/rss+xml" />
	<link>http://osmarenderfrontend.wordpress.com</link>
	<description>mad coding ramblings by Mario Ferraro</description>
	<lastBuildDate>Tue, 14 Apr 2009 18:01:29 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='osmarenderfrontend.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/5c09a6381634fce24175357dd1f5d3f6?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Osmarender Frontend: my GSoC adventure &#187; dosfsck</title>
		<link>http://osmarenderfrontend.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://osmarenderfrontend.wordpress.com/osd.xml" title="Osmarender Frontend: my GSoC adventure" />
		<item>
		<title>Weekly Report #3: Recipe for the perfect disaster</title>
		<link>http://osmarenderfrontend.wordpress.com/2008/06/21/weekly-report-3-recipe-for-the-perfect-disaster/</link>
		<comments>http://osmarenderfrontend.wordpress.com/2008/06/21/weekly-report-3-recipe-for-the-perfect-disaster/#comments</comments>
		<pubDate>Fri, 20 Jun 2008 23:29:42 +0000</pubDate>
		<dc:creator>fadinlight</dc:creator>
				<category><![CDATA[GSoC]]></category>
		<category><![CDATA[aptana]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[dosfsck]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[firefox 2]]></category>
		<category><![CDATA[firefox 3]]></category>
		<category><![CDATA[gsoc weekly report]]></category>
		<category><![CDATA[mask-class]]></category>
		<category><![CDATA[rule model]]></category>
		<category><![CDATA[svg]]></category>
		<category><![CDATA[svg markers]]></category>
		<category><![CDATA[svg patterns]]></category>

		<guid isPermaLink="false">http://osmarenderfrontend.wordpress.com/?p=57</guid>
		<description><![CDATA[
First of all the GSoC weekly report news:
Yes, I know this is not kinda &#8220;weekly report&#8221;, but, as I&#8217;ve already told to my mentor, I&#8217;m quite busy in these days because I&#8217;ve an exam on June 25. However, step by step, I&#8217;m solving the main &#8220;behind-the-scenes&#8221; difficulties of the project.
SVG markers and patterns
As you can [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=osmarenderfrontend.wordpress.com&blog=3561114&post=57&subd=osmarenderfrontend&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:center;"><a href="http://osmarenderfrontend.files.wordpress.com/2008/06/20080620_weekly_report_otherway.png"><img class="alignnone size-thumbnail wp-image-58 aligncenter" src="http://osmarenderfrontend.files.wordpress.com/2008/06/20080620_weekly_report_otherway.png?w=127&#038;h=59" alt="" width="127" height="59" /></a></p>
<p>First of all the GSoC weekly report news:</p>
<p>Yes, I know this is not kinda &#8220;weekly report&#8221;, but, as I&#8217;ve already told to my mentor, I&#8217;m quite busy in these days because I&#8217;ve an exam on <strong>June 25</strong>. However, step by step, I&#8217;m solving the main &#8220;behind-the-scenes&#8221; difficulties of the project.</p>
<p><strong><em>SVG markers and patterns</em></strong></p>
<p>As you can see in the image above, now, when a class is selected, if it contains a reference to an SVG marker contained in the rule file, <strong>the marker is shown on the right</strong>. Not quite beautiful yet, but it works. The following is another example, even if more difficult to read:</p>
<p style="text-align:center;"><a href="http://osmarenderfrontend.files.wordpress.com/2008/06/20080620_weekly_report_gatelocked.png"><img class="alignnone size-thumbnail wp-image-59 aligncenter" src="http://osmarenderfrontend.files.wordpress.com/2008/06/20080620_weekly_report_gatelocked.png?w=128&#038;h=56" alt="" width="128" height="56" /></a></p>
<p style="text-align:left;">Because I&#8217;ve not already upgraded my Linux box to Firefox 3, I couldn&#8217;t take a snapshot showing <strong>SVG patterns</strong> (which are supported by my code as well), because <a href="http://tavmjong.free.fr/INKSCAPE/MANUAL/web/svg_tests.php" target="_blank">SVG patterns aren&#8217;t supported in Firefox 2</a>, as also <a href="http://developer.mozilla.org/en/docs/SVG_in_Firefox" target="_blank">stated in MDC</a>. However it works smoothly on Firefox 3 for Windows.</p>
<p style="text-align:left;"><em><strong>Rules Modeling</strong></em></p>
<p style="text-align:left;">Beyond SVG markers and patterns, I&#8217;ve got progress in rules handling too. Now quite all rules are parsed (think only &#8220;tag&#8221; elements inside &#8220;text&#8221; elements aren&#8217;t handled yet; same for <strong>selectors</strong> too), and class/mask-class parse-to-arrays is working.</p>
<p style="text-align:center;"><a href="http://osmarenderfrontend.files.wordpress.com/2008/06/20080620_weekly_report_maskclass.png"><img class="alignnone size-thumbnail wp-image-60 aligncenter" src="http://osmarenderfrontend.files.wordpress.com/2008/06/20080620_weekly_report_maskclass.png?w=106&#038;h=96" alt="" width="106" height="96" /></a></p>
<p style="text-align:left;">As you can see in the above picture, if we search in the rules for &#8220;<em>tunnel-core</em>&#8221; class, the correct rule is shown even if <em>tunnel-core</em> is a <em>mask-class</em> and not a real <em>class</em> in the rule file.</p>
<p style="text-align:left;">Else elements are handled as well:</p>
<p style="text-align:center;"><a href="http://osmarenderfrontend.files.wordpress.com/2008/06/20080620_weekly_report_elsetag.png"><img class="alignnone size-thumbnail wp-image-61 aligncenter" src="http://osmarenderfrontend.files.wordpress.com/2008/06/20080620_weekly_report_elsetag.png?w=115&#038;h=96" alt="" width="115" height="96" /></a></p>
<p style="text-align:left;"><em><strong>So what about the recipe for a perfect disaster?</strong></em></p>
<p style="text-align:left;">That&#8217;s simple:</p>
<ul>
<li>Take a laptop computer, Windows XP/Kubuntu 8.04 dual boot</li>
<li>Edit three critical GSoC project files in the Windows XP FAT32 partition for a while with Aptana</li>
<li>Go to dentist without powering off the computer</li>
<li>Return at home, find the pc powered off, power on it, go to Kubuntu and edit three critical GSoC project files in the Windows XP FAT32 partition for a while with KWrite</li>
<li>The day after, boot to Windows XP to read some notes rapidly</li>
<li>Find it was suspended, see Aptana still open with that three files.</li>
<li>Close Aptana without closing the three most critical files of the project before</li>
<li>Power off the PC and, during the evening, boot to Kubuntu</li>
<li>Find the wireless is not working, so reboot Kubuntu again</li>
<li>Leave the laptop booting, and find after a while the <em>dosfsck</em> has run and fixed automatically something in the FAT32 partition</li>
<li>Open Dolphin and, finally, <strong>cry looking at the following screen</strong></li>
</ul>
<p style="text-align:center;"><a href="http://osmarenderfrontend.files.wordpress.com/2008/06/20080620_weekly_report_disaster.png"><img class="alignnone size-thumbnail wp-image-62 aligncenter" src="http://osmarenderfrontend.files.wordpress.com/2008/06/20080620_weekly_report_disaster.png?w=128&#038;h=64" alt="" width="128" height="64" /></a></p>
<p style="text-align:left;">Obviously I had a backup, but several hours of work got wasted however&#8230; Sic!</p>
<p style="text-align:left;">
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/osmarenderfrontend.wordpress.com/57/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/osmarenderfrontend.wordpress.com/57/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/osmarenderfrontend.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/osmarenderfrontend.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/osmarenderfrontend.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/osmarenderfrontend.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/osmarenderfrontend.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/osmarenderfrontend.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/osmarenderfrontend.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/osmarenderfrontend.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/osmarenderfrontend.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/osmarenderfrontend.wordpress.com/57/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=osmarenderfrontend.wordpress.com&blog=3561114&post=57&subd=osmarenderfrontend&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://osmarenderfrontend.wordpress.com/2008/06/21/weekly-report-3-recipe-for-the-perfect-disaster/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c94df9d8b777629c3b78b4ae737fa968?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fadinlight</media:title>
		</media:content>

		<media:content url="http://osmarenderfrontend.files.wordpress.com/2008/06/20080620_weekly_report_otherway.png?w=127" medium="image" />

		<media:content url="http://osmarenderfrontend.files.wordpress.com/2008/06/20080620_weekly_report_gatelocked.png?w=128" medium="image" />

		<media:content url="http://osmarenderfrontend.files.wordpress.com/2008/06/20080620_weekly_report_maskclass.png?w=106" medium="image" />

		<media:content url="http://osmarenderfrontend.files.wordpress.com/2008/06/20080620_weekly_report_elsetag.png?w=115" medium="image" />

		<media:content url="http://osmarenderfrontend.files.wordpress.com/2008/06/20080620_weekly_report_disaster.png?w=128" medium="image" />
	</item>
	</channel>
</rss>