<?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>Flavio Castelli &#187; Strigi</title>
	<atom:link href="http://flavio.castelli.name/category/strigi/feed" rel="self" type="application/rss+xml" />
	<link>http://flavio.castelli.name</link>
	<description>debugging my life</description>
	<lastBuildDate>Fri, 20 Jan 2012 08:27:36 +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>Still coding</title>
		<link>http://flavio.castelli.name/still-coding</link>
		<comments>http://flavio.castelli.name/still-coding#comments</comments>
		<pubDate>Tue, 27 May 2008 20:36:29 +0000</pubDate>
		<dc:creator>Flavio</dc:creator>
				<category><![CDATA[KDE]]></category>
		<category><![CDATA[Qt]]></category>
		<category><![CDATA[Strigi]]></category>

		<guid isPermaLink="false">http://www.flavio.castelli.name/?p=86</guid>
		<description><![CDATA[Yes, long time has passed since my last post (really strange, isn&#8217;t it ). It has been a busy period, full of work, dog training and&#8230; coding (fortunately!). During this time I&#8217;ve been working on XesamQLib creation. This is a Qt based library for accessing Xesam services. Its API is going to be similar to [...]]]></description>
			<content:encoded><![CDATA[<p>Yes, long time has passed since my last post (really strange, isn&#8217;t it <img src='http://flavio.castelli.name/wp-content/plugins/smilies-themer/tango/face-smile-big.png' alt=':D' class='wp-smiley' /> ).<br />
It has been a busy period, full of work, dog training and&#8230; coding (fortunately!).</p>
<p>During this time I&#8217;ve been working on XesamQLib creation. This is a Qt based library for accessing <a href="http://www.xesam.org/main">Xesam</a> services.<br />
Its API is going to be similar to <a href="http://xesam.org/people/kamstrup/xesam-glib/">Xesam-glib</a> one and it will make life easier for developers who want to interact with programs exposing Xesam service (who talked about <em>Strigi</em>? <img src='http://flavio.castelli.name/wp-content/plugins/smilies-themer/tango/face-smile-big.png' alt=':D' class='wp-smiley' /> )</p>
<p>Right now I&#8217;m finishing to clean the code, in order to publish a first version of XesamQLib on KDE repository.<br />
I&#8217;ll keep you updated.</p>
]]></content:encoded>
			<wfw:commentRss>http://flavio.castelli.name/still-coding/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>My current tasks</title>
		<link>http://flavio.castelli.name/my_current_tasks</link>
		<comments>http://flavio.castelli.name/my_current_tasks#comments</comments>
		<pubDate>Fri, 18 Jan 2008 14:31:23 +0000</pubDate>
		<dc:creator>Flavio</dc:creator>
				<category><![CDATA[KDE]]></category>
		<category><![CDATA[Strigi]]></category>
		<category><![CDATA[Xesam. KDE]]></category>

		<guid isPermaLink="false">http://www.flavio.castelli.name/my_current_tasks</guid>
		<description><![CDATA[Usually I write blog posts announcing what I have done, but this time it is useless. So I&#8217;m going to blog about what I&#8217;m going to do. After latest Strigi irc meeting, I came out with this task: KDE integration: Flavio will coordinate the definition of interfaces over which KDE will handle searching and metadata. [...]]]></description>
			<content:encoded><![CDATA[<p>Usually I write blog posts announcing <strong>what I have done</strong>, but this time <a href="http://pollycoke.net/2008/01/14/strigi-ha-un-piano-di-sviluppo-finalmente/" target="_blank">it</a> <a href="http://www.kdedevelopers.org/node/3204" target="_blank">is</a> <a href="http://strigi.sourceforge.net/?q=strigi_metting_summary">useless</a>. So I&#8217;m going to blog about <strong>what I&#8217;m going to do</strong>.<br />
<span id="more-83"></span><br />
After latest Strigi irc meeting, I came out with this task:</p>
<blockquote><p>KDE integration: Flavio will coordinate the definition of interfaces over which KDE will handle searching and metadata. He can ask Aaron, Evgeny and Jos for help with the interface design. The interface will cover:</p>
<ul>
<li>Querying via Xesam</li>
<li>Configuration of the Strigi daemon</li>
<li>Indexing and deindexing of data by passing it to the daemon (allowing for indexing for more than just files)</li>
<li>Controlling the daemon (starting, stopping, pausing)</li>
</ul>
</blockquote>
<p>Once this interface will be ready, it will be easy to integrate Strigi functionalities inside KDE programs. This mean (just reporting the most relevant cases) that it will be possible to create a Strigi krunner, have metadata extraction inside Dolphin and Konqueror, interact with Akonadi&#8230;</p>
<p>Talking about Xesam, right in these days I got a mail from <a href="http://developer.berlios.de/blog/authors/6825-Fabrice-Colin">Fabrice Colin</a>, author of <a href="http://pinot.berlios.de/">Pinot</a>.<br />
Recently Fabrice made some improvements on Pinot&#8217;s <em>XesamQueryLanguage</em> parser (which is also <a href="http://www.flavio.castelli.name/strigi_xesam_query_language_support">used by Strigi</a>). We&#8217;re now figuring out how to share our code in a more convenient way. Maybe we&#8217;ll use <a href="http://svnbook.red-bean.com/nightly/en/svn.advanced.externals.html">svn external</a>&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://flavio.castelli.name/my_current_tasks/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Strigi irc meeting</title>
		<link>http://flavio.castelli.name/strigi_irc_meeting_january</link>
		<comments>http://flavio.castelli.name/strigi_irc_meeting_january#comments</comments>
		<pubDate>Fri, 11 Jan 2008 09:59:09 +0000</pubDate>
		<dc:creator>Flavio</dc:creator>
				<category><![CDATA[KDE]]></category>
		<category><![CDATA[Strigi]]></category>

		<guid isPermaLink="false">http://www.flavio.castelli.name/strigi_irc_meeting_january</guid>
		<description><![CDATA[Just giving more voice to original announce: Tomorrow, Saturday 12 January, at 17 UTC an irc meeting will take place on #strigi channel (it&#8217;s on freenode if you don&#8217;t know). During the meeting Strigi developers will discuss about the future developments of Strigi. Special guest: Aaron Aseigo. You&#8217;re all welcome.]]></description>
			<content:encoded><![CDATA[<p>Just giving more voice to <a href="http://strigi.sourceforge.net/?q=january_2008_strigi_irc_meeting" target="_blank">original announce</a>:<br />
<cite><br />
Tomorrow, Saturday 12 January, at 17 UTC an irc meeting will take place on #strigi channel (it&#8217;s on freenode if you don&#8217;t know).<br />
During the meeting Strigi developers will discuss about the future developments of Strigi.<br />
Special guest: Aaron Aseigo.<br />
You&#8217;re all welcome.<br />
</cite></p>
]]></content:encoded>
			<wfw:commentRss>http://flavio.castelli.name/strigi_irc_meeting_january/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Tyding up Strigi analyzers</title>
		<link>http://flavio.castelli.name/tyding_up_strigi_analyzers</link>
		<comments>http://flavio.castelli.name/tyding_up_strigi_analyzers#comments</comments>
		<pubDate>Thu, 10 Jan 2008 14:49:17 +0000</pubDate>
		<dc:creator>Flavio</dc:creator>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[Strigi]]></category>

		<guid isPermaLink="false">http://www.flavio.castelli.name/tyding_up_strigi_analyzers</guid>
		<description><![CDATA[As you may know, KDE4 will use Strigi for meta information extraction instead of the old KFilePlugin classes. Since Strigi&#8217;s analyzer work in a different way, lot of code has to be ported. Unfortunately, after a good start, some relevant analyzers were still missing. But in the last weeks Strigi gained support of: wave file [...]]]></description>
			<content:encoded><![CDATA[<p>As you may know, KDE4 will use Strigi for meta information extraction instead of the old  <a href="http://api.kde.org/3.5-api/kdelibs-apidocs/kio/kio/html/classKFilePlugin.html" target="_blank">KFilePlugin</a> classes.</p>
<p>Since Strigi&#8217;s analyzer work in a different way, lot of code has to be ported. Unfortunately, after a good start,  some relevant analyzers were still missing.</p>
<p><span id="more-81"></span>But in the last weeks Strigi gained support of:</p>
<ul>
<li>wave file</li>
<li>avi files</li>
<li>txt files</li>
<li>dds files</li>
<li>rgb files</li>
<li>sid files</li>
<li>ico files</li>
</ul>
<p>I&#8217;ve also updated <a href="http://wiki.kde.org/tiki-index.php?page=Porting+KFilePlugin+Progress">this</a> summary page. As  you can see there&#8217;s still some work to do, but don&#8217;t worry&#8230; I&#8217;ll try to do the best <img src='http://flavio.castelli.name/wp-content/plugins/smilies-themer/tango/face-wink.png' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://flavio.castelli.name/tyding_up_strigi_analyzers/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Strigi gains FAM support</title>
		<link>http://flavio.castelli.name/strigi-gains-fam-support</link>
		<comments>http://flavio.castelli.name/strigi-gains-fam-support#comments</comments>
		<pubDate>Mon, 26 Nov 2007 11:33:52 +0000</pubDate>
		<dc:creator>Flavio</dc:creator>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[Strigi]]></category>
		<category><![CDATA[file system monitoring]]></category>

		<guid isPermaLink="false">http://www.flavio.castelli.name/strigi-gains-fam-support</guid>
		<description><![CDATA[Last Monday I submitted lot of changes into Strigi&#8217;s trunk. I&#8217;ve heavily refactored some classes in order to obtain a more flexible file system notification infrastructure. Thanks to this work now it will be easier to add support for new file system notification facilities. For example, in order to add File Alteration Monitor (aka FAM) [...]]]></description>
			<content:encoded><![CDATA[<p>Last Monday I submitted lot of changes into Strigi&#8217;s trunk. I&#8217;ve heavily refactored some classes in order to obtain a more flexible file system notification infrastructure.<br />
Thanks to this work now it will be easier to add support for new file system notification facilities.<br />
<span id="more-75"></span><br />
For example, in order to add <em>File Alteration Monitor</em> (aka <em>FAM</em>) support I had to write only 576 loc (including license and documentation stuff).</p>
<p>So, by now, Strigi supports the following file system monitoring facilities:</p>
<ul>
<li>polling: used when nothing else is available</li>
<li>inotify: available only on linux platform with kernel &gt;= 2.6.13</li>
<li>FAM: available on most of the *nix systems, I recommend to use Gamin instead of FAM (most linux distributions already use it by default)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://flavio.castelli.name/strigi-gains-fam-support/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Strigi gains full Xesam queries support</title>
		<link>http://flavio.castelli.name/strigi_full_xesam_support</link>
		<comments>http://flavio.castelli.name/strigi_full_xesam_support#comments</comments>
		<pubDate>Fri, 31 Aug 2007 16:30:52 +0000</pubDate>
		<dc:creator>Flavio</dc:creator>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[Strigi]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Xesam]]></category>

		<guid isPermaLink="false">http://www.flavio.castelli.name/strigi_full_xesam_support/</guid>
		<description><![CDATA[As I said in this previous post, Strigi&#8217;s Xesam support was half-done since XesamUserSearchLanguage wasn’t yet handled. Well, this is no longer true&#8230; In these weeks I’ve been working on XesamUserSearchLanguage support. Ehm&#8230; to be honest, I’ve been fighting with Bison. But in the end I tamed the beast and now Xesam support in Strigi [...]]]></description>
			<content:encoded><![CDATA[<p>As I said in <a href=http://www.flavio.castelli.name/strigi_xesam_query_language_support>this</a> previous post, Strigi&#8217;s Xesam support was half-done since <a href="http://wiki.freedesktop.org/wiki/XesamUserSearchLanguage">XesamUserSearchLanguage</a> wasn’t yet handled. Well, this is no longer true&#8230; <img src='http://flavio.castelli.name/wp-content/plugins/smilies-themer/tango/face-wink.png' alt=';)' class='wp-smiley' /> <br />
In these weeks I’ve been working on <em>XesamUserSearchLanguage</em> support. Ehm&#8230; to be honest, I’ve been <em><strong>fighting</strong></em> with <a href="http://www.gnu.org/software/bison/">Bison</a>.</p>
<p>But in the end I tamed the beast and now <a href="http://wiki.freedesktop.org/wiki/XesamAbout">Xesam</a> support in Strigi is full.<br />
<span id="more-6"></span></p>
<p>IMHO <em>XesamUserSearchLanguage</em> can be considered more important than <a href="http://wiki.freedesktop.org/wiki/XesamQueryLanguage">XesamQueryLanguage</a> since common users will write queries in this way.</p>
<p>As reported on the project page:<br />
<cite>It is <em>[XesamUserSearchLanguage]</em> designed as an extended synthesis of Apple&#8217;s spotlight and Google&#8217;s search languages.</cite></p>
<p>These are some possible queries (examples taken from freedesktop site):</p>
<ul>
<li><em>type:music hendrix</em> will return all music items related to hendrix</li>
<li><em>type:image size>=1mb tag:flower africa</em> will return all pictures displaying a flower greater than 1 Mb and related with africa</li>
</ul>
<p></p>
<h3>Technical aspects</h3>
<p>The Xesam&#8217;s UserSearchLanguage query&#8211;> Strigi::Query object conversion is made using a hand-written scanner and a C++ parser created by Bison.</p>
<p>You don&#8217;t have to worry if you don&#8217;t have Bison installed on your system since all parser generated code is already put into svn.</p>
<p>In these days, as soon as I&#8217;ll have some spare time (when?!), I&#8217;ll write another post about open-source scanner and parser generators.</p>
<p>By now I would like to thank <a href="http://apaku.wordpress.com">Andreas Pakulat</a> (developer of <a href="http://www.kdevelop.org/">KDevelop</a>) for his help with parser generators.</p>
]]></content:encoded>
			<wfw:commentRss>http://flavio.castelli.name/strigi_full_xesam_support/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Xesam and bathroom hacking</title>
		<link>http://flavio.castelli.name/xesam-and-bathroom-hacking</link>
		<comments>http://flavio.castelli.name/xesam-and-bathroom-hacking#comments</comments>
		<pubDate>Fri, 10 Aug 2007 14:00:21 +0000</pubDate>
		<dc:creator>Flavio</dc:creator>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[Real life]]></category>
		<category><![CDATA[Strigi]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Xesam]]></category>

		<guid isPermaLink="false">http://www.flavio.castelli.name/xesam-and-bathroom-hacking/</guid>
		<description><![CDATA[Yesterday morning I was quite arrived at work when Laura (my gf) called me. Something went wrong in our bathroom and water was everywhere. She closed the main water tap and I took the first train for home (yes, since I&#8217;m an outlier I take the train two times per day). Once arrived at home [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday morning I was quite arrived at work when Laura (my gf) called me. Something went wrong in our bathroom and water was everywhere. She closed the main water tap and I took the first train for home (yes, since I&#8217;m an outlier I take the train two times per day).<br />
Once arrived at home I performed some hacking on the guilty washing machine, checked some pipes and than took the next train for office.</p>
<p>In the end yesterday I spent approximately <strong>four hours</strong> on the train. During this elapse of time I started the Xesam User Language parser <img src='http://flavio.castelli.name/wp-content/plugins/smilies-themer/tango/face-smile.png' alt=':)' class='wp-smiley' /> <br />
<span id="more-8"></span><br />
During the travels I:</p>
<ul>
<li>refreshed my memories about <a href="http://www.gnu.org/software/flex/">Flex</a>, <a href="http://www.gnu.org/software/bison/">Bison</a> and language parsers in general</li>
<li>wrote XesamUserLanguage&#8217;s <a href="http://en.wikipedia.org/wiki/Backus%E2%80%93Naur_form">BNF grammar</a></li>
<li>wrote Flex scanner</li>
<li>started Bison parser</li>
</ul>
<p>Now, after fixing some build errors, I&#8217;ll start writing Bison&#8217;s grammar rules. These rules will translate Xesam user language queries into Strigi::Query objects.</p>
<p>I hope it will work (both bathroom and Xesam parser <img src='http://flavio.castelli.name/wp-content/plugins/smilies-themer/tango/face-wink.png' alt=';)' class='wp-smiley' /> )</p>
]]></content:encoded>
			<wfw:commentRss>http://flavio.castelli.name/xesam-and-bathroom-hacking/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to have some fun with Strigi and Xesam queries</title>
		<link>http://flavio.castelli.name/query_strigi_using_xesam</link>
		<comments>http://flavio.castelli.name/query_strigi_using_xesam#comments</comments>
		<pubDate>Thu, 09 Aug 2007 12:10:30 +0000</pubDate>
		<dc:creator>Flavio</dc:creator>
				<category><![CDATA[KDE]]></category>
		<category><![CDATA[Strigi]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Xesam]]></category>

		<guid isPermaLink="false">http://www.flavio.castelli.name/query_strigi_using_xesam/</guid>
		<description><![CDATA[Last day just after I hit the &#8220;submit&#8221; button a doubt came into my mind: &#8220;did I say everything ?&#8221; Well, the answer is &#8220;No!&#8221; In fact I forgot to tell you one of the most important things: how to have some fun with Strigi and Xesam! Actually the only way to perform XesamQueryLanguage queries [...]]]></description>
			<content:encoded><![CDATA[<p>Last day just after I hit the <em>&#8220;submit&#8221;</em> button a doubt came into my mind: &#8220;did I say everything ?&#8221;<br />
Well, the answer is <strong>&#8220;No!&#8221;</strong><br />
In fact I forgot to tell you one of the most important things: <em>how to have some fun with Strigi and Xesam!</em><br />
<span id="more-9"></span><br />
Actually the only way to perform <em>XesamQueryLanguage</em> queries with Strigi is through the <em>strigicmd</em> program.</p>
<p><em>Strigicmd</em> is a command-line tool shipped with Strigi. It can perform different actions like:</p>
<ul>
<li>create Strigi indexes</li>
<li>remove items from index</li>
<li>list all files contained into an index</li>
<li>retrieve informations associated to an indexed file</li>
<li>update the contents of your index</li>
<li>query the index</li>
<li><strong>perform a query using XesamQueryLanguage</strong></li>
</ul>
<p>So, if you want to try the new Xesam support you&#8217;ve just to use <em>strigicmd</em> with the <em>xesamquery</em> option.<br />
The command syntax is:<br />
<code>strigicmd xesamquery -t backend -d indexdir [-u xesam_user_language_file] [-q xesam_query_language_file]</code><br />
As you can expect you&#8217;ve to save your Xesam query to file and point <em>strigicmd</em> to it.</p>
<p>This is a really small step-by-step guide:</p>
<ol>
<li>Create a new Strigi index (in this case I&#8217;ll index all irc logs):<br />
<code>strigicmd create -t clucene -d temp/ logs/</code></li>
<li>Create a simple file containing your Xesam query. You can find some example query on <a href="http://www.freedesktop.org/wiki/XesamQueryLanguage">Xesam site</a> or inside strigi tarball (complete path: <em>strigi/src/streamanalyzer/xesam/testqueries/</em>).<br />
This is a stupid and easy query:</p>
<pre>
<code>&lt;request&gt;

&lt;query&gt;

&lt;or&gt;

&lt;equals&gt;

&lt;string casesensitive="true"&gt;Oever&lt;/string&gt;

&lt;/equals&gt;

&lt;contains&gt;

&lt;string casesensitive="false"&gt;jos&lt;/string&gt;

&lt;/contains&gt;

&lt;/or&gt;

&lt;/query&gt;

&lt;/request&gt;</code></pre>
</li>
<li>Perform the search, just type:
<pre><code>strigicmd xesamquery -t clucene -d temp/ -q ~/irc_oever.xml</code></pre>
</li>
<li><strong>Enjoy the search results <img src='http://flavio.castelli.name/wp-content/plugins/smilies-themer/tango/face-wink.png' alt=';)' class='wp-smiley' /> </strong></li>
</ol>
<p>Remember that <em>XesamUserLanguage</em> query language isn&#8217;t yet supported.</p>
]]></content:encoded>
			<wfw:commentRss>http://flavio.castelli.name/query_strigi_using_xesam/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Strigi gets XesamQueryLanguage queries support</title>
		<link>http://flavio.castelli.name/strigi_xesam_query_language_support</link>
		<comments>http://flavio.castelli.name/strigi_xesam_query_language_support#comments</comments>
		<pubDate>Tue, 07 Aug 2007 13:43:27 +0000</pubDate>
		<dc:creator>Flavio</dc:creator>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[Strigi]]></category>
		<category><![CDATA[Xesam]]></category>

		<guid isPermaLink="false">http://www.flavio.castelli.name/strigi_xesam_query_language_support/</guid>
		<description><![CDATA[Since last Thursday Strigi gained XesamQueryLanguage support. This means that now is possible to process queries formulated using this syntax. But why is this important? If you aren&#8217;t able to answer the previous question probably you don&#8217;t know what is Xesam. Here&#8217;s a short definition taken from the official site: Xesam is an umbrella project [...]]]></description>
			<content:encoded><![CDATA[<p>Since last Thursday Strigi gained <em>XesamQueryLanguage</em> support. This means that now is possible to process queries formulated using this syntax.</p>
<p>But why is this important?<br />
<span id="more-10"></span><br />
If you aren&#8217;t able to answer the previous question probably you don&#8217;t know what is Xesam.<br />
Here&#8217;s a short definition taken from the <a href="http://www.freedesktop.org/wiki/XesamAbout">official site</a>:<br />
<cite><br />
Xesam is an umbrella project with the purpose of providing unified apis and specs for desktop search- and metadata services.<br />
</cite><br />
Thanks to dbus and Xesam it will be possible to access the informations indexed by Strigi (and all the desktop searching programs supporting these technologies) in a standard and easier way. Isn&#8217;t it cool?</p>
<h3>Credits</h3>
<p>I&#8217;ve to say a big <em><strong>&#8220;thank you&#8221;</strong></em> to <a href="http://developer.berlios.de/blog/authors/6825-Fabrice-Colin">Fabrice Colin</a> (author of <a href="http://pinot.berlios.de/">pinot</a>) because my Xesam code relies upon his work.</p>
<h3>Future tasks</h3>
<p>My work isn&#8217;t yet finished. Xesam defines two kind of queries:</p>
<ul>
<li>Xesam user language queries</li>
<li>Xesam query language queries</li>
</ul>
<p>Fabrice&#8217;s code for <em>XesamUserLanguage</em> queries uses <a href="http://spirit.sourceforge.net/">Spirit library</a>. Since we don&#8217;t want to depend against the boost library, I&#8217;ll write a new parser for this language.</p>
<p>By now I&#8217;m thinking to accomplish this task using flex, but I&#8217;m just in a preliminary state.<br />
Suggestions are welcome!</p>
<p><strong>P.S.</strong> I&#8217;m really happy because this is my first post published on <a href="http://www.planetkde.org">PlanetKDE</a>. Hello to everybody!</p>
]]></content:encoded>
			<wfw:commentRss>http://flavio.castelli.name/strigi_xesam_query_language_support/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Lots of improvements into Strigi inotify support</title>
		<link>http://flavio.castelli.name/lots-of-improvements-into-strigi-inotify-support</link>
		<comments>http://flavio.castelli.name/lots-of-improvements-into-strigi-inotify-support#comments</comments>
		<pubDate>Tue, 10 Jul 2007 21:50:34 +0000</pubDate>
		<dc:creator>Flavio</dc:creator>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[Strigi]]></category>
		<category><![CDATA[file system monitoring]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.flavio.castelli.name/lots-of-improvements-into-strigi-inotify-support/</guid>
		<description><![CDATA[Some days ago I committed lots of changes regarding inotify support. Goodies and improvements have been introduced&#8230; I had this code laying on my laptop for several weeks because I wasn&#8217;t able to fully test it. An annoying bug afflicting the update index operations was blocking me. But some days ago Jos fixed it, so [...]]]></description>
			<content:encoded><![CDATA[<p>Some days ago I committed lots of changes regarding inotify support. Goodies and improvements have been introduced&#8230;<br />
<span id="more-14"></span><br />
I had this code laying on my laptop for several weeks because I wasn&#8217;t able to fully test it. An annoying bug afflicting the <em>update index</em> operations was blocking me.<br />
But some days ago <a href="http://www.vandenoever.info">Jos</a> fixed it, so I didn&#8217;t have any excuse <img src='http://flavio.castelli.name/wp-content/plugins/smilies-themer/tango/face-smile.png' alt=':)' class='wp-smiley' /> </p>
<p>These are the major changes introduced:</p>
<ol>
<li>event caching: using a small cache it&#8217;s now possible to <u>simplify multiple events</u> and <u>prevent high cpu usage</u> when lot of changes occur on the same files</li>
<li>interruption handling during the re-index operations: changing the directories to watch during an indexing operation will break the previous job and start a new one</li>
<li>other small changes for improving cpu utilization</li>
</ol>
<p>Actually I&#8217;m very happy of the first point, but I think the second one can still be improved&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://flavio.castelli.name/lots-of-improvements-into-strigi-inotify-support/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

