<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Anyway, I went through both your proposal and Matej&#39;s a few mins ago<br>
and I&#39;ll provide feedback soon. I noticed your latest draft is quite<br>
different from the first one you posted and as of now it conflicts<br>
with mine :-S (the first one didn&#39;t). </blockquote><div><br>I am not sure if you are talking with me. Anyway, if you are going to make any work in krunner, I am interested in talk with you. If 3 of us are going to work on krunner, we&#39;ll need quite a bit of talking.&nbsp; I wait your comments. Also, I use to be in #plasma and #kde-devel, my nick is surprisingly jordi.<br>
<br><br>And in a someone unrelated comment, as expected, multilingualism is a difficult goal. I&#39;ve been playing with some ideas in the calculator runner (this runner may be the most difficult one in term of syntax, that&#39;s why I started testing ideas there).<br>
<br>Right now the CalculatorRunner will run the text input as qscript code. What make it very simple but confuses users who generally expect some more user oriented math language (programming languages make its decisions on syntax knowing they will be used by programmers).<br>
<br>I&#39;ve tried to write a small parser. Even working for simple cases it gets crazy easily ( math expresions can be intrincate ...) <br><br>And of course multilinguism is a problem even in a &quot;restricted&quot; domain as maths. In spanish we don&#39;t use &quot;sin 30&quot; but &quot;sen 30&quot;.&nbsp; I also wanted to implement the google command &quot;X% of Y&quot;, which is easy but Japanese will find it really awkward (I don &#39;t think they can get used to it) because they say &quot;YnoX%&quot;. <br>
<br>So the only solution is go to a pure mathematical usage (I&#39;ll send a patch when ready). <br>The mathematical language has evolved to become universal at least for signs, operant positions and the like. If someone knows exceptions on this, please tell me.<br>
The &quot;sen&quot; example of spanish is considered an alternative to &quot;sin&quot; (though I&#39;m spanish and I didn&#39;t know about &quot;sen&quot; not being the standard Spanish name). <br><br>Summary: Defining the language beforehand is a much better idea although less flexible than letting the task to each application.<br>
<br><br>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Anyway, I like what you&#39;re<br>
proposing. Intelligence in a launcher program is something I wanted to<br>
implement. I tried a limited version back in my fork of Katapult but<br>
focused on multithreading and the infrastructure for KRunner last<br>
year. But I like what I see so far. :)<br>
<br>
Ryan<br>
<br>
2008/3/31 Jordi Polo &lt;<a href="mailto:mumismo@gmail.com">mumismo@gmail.com</a>&gt;:<br>
<div><div></div><div class="Wj3C7c">&gt;<br>
&gt; Your proposal has striking similarities to mine:<br>
&gt; <a href="http://www.bahasara.org/raw-attachment/wiki/Papers/gsoc.txt" target="_blank">http://www.bahasara.org/raw-attachment/wiki/Papers/gsoc.txt</a><br>
&gt;<br>
&gt; It seems that even when both want to push krunner forward, you are more<br>
&gt; interested in the performance of the future krunner and I am more interested<br>
&gt; in the integration with the rest of KDE and the command input.<br>
&gt;<br>
&gt; You wrote that ranking will be the most time consuming operation. I really<br>
&gt; see discovering the type of information or other text manipulation task as<br>
&gt; more consuming than ranking. Keep track of most used runners, add<br>
&gt; blacklisting and priority and rank according to that should not take a lot<br>
&gt; of time (guess what the kernel does with memory pages...)<br>
&gt;<br>
&gt; I do like your idea of the runners being able of somehow present themselves<br>
&gt; and their syntax.<br>
&gt;<br>
&gt;<br>
&gt; On Mon, Mar 31, 2008 at 5:53 AM, Matej Svejda &lt;<a href="mailto:mata@aw-modell.at">mata@aw-modell.at</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; Am Sonntag, 30. März 2008 21:48:58 schrieb Aaron J. Seigo:<br>
&gt; &gt;<br>
&gt; &gt; &gt; please be sure to file this soon enough on<br>
&gt; <a href="http://code.google.com/soc2008" target="_blank">http://code.google.com/soc2008</a><br>
&gt; &gt; &gt; so that you don&#39;t miss the deadline. now.. feedback:<br>
&gt; &gt; Already did.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; just to be clear, this won&#39;t work for all slow runners. i&#39;m not even<br>
&gt; sure<br>
&gt; &gt; &gt; this will help at all since these runners should be checking for this<br>
&gt; catch<br>
&gt; &gt; &gt; word and returning immediately if it doesn&#39;t exist anyways. what this<br>
&gt; would<br>
&gt; &gt; &gt; save is starting them in the thread; i&#39;m not sure that&#39;s really a<br>
&gt; &gt; &gt; bottleneck.<br>
&gt; &gt; You&#39;re right. That&#39;s not really a bottleneck. But still if the catch-word<br>
&gt; was<br>
&gt; &gt; made configurable there is no real reason why a runner that only reacts to<br>
&gt; a<br>
&gt; &gt; catch-word should be instanciated an do the logic itself. This can be done<br>
&gt; by<br>
&gt; &gt; the manager-class. While this won&#39;t have a (noticable) impact on speed it<br>
&gt; &gt; would at least mean less work for the runner-programmers.<br>
&gt; &gt; I tried to clear that up a bit in my proposal.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; the runner classes will remain part of libplasma. there&#39;s no material<br>
&gt; &gt; &gt; benefit to having a second library just for this functionality, thought<br>
&gt; &gt; &gt; having separate libraries to link against will increase the time to<br>
&gt; &gt; &gt; startup.<br>
&gt; &gt; Ok. Changed that.<br>
&gt; &gt;<br>
&gt; &gt; Thanks for your input!<br>
&gt; &gt;<br>
&gt; &gt; Matej<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Panel-devel mailing list<br>
&gt; &gt; <a href="mailto:Panel-devel@kde.org">Panel-devel@kde.org</a><br>
&gt; &gt; <a href="https://mail.kde.org/mailman/listinfo/panel-devel" target="_blank">https://mail.kde.org/mailman/listinfo/panel-devel</a><br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Jordi Polo Carres<br>
&gt; NLP laboratory - NAIST<br>
&gt; <a href="http://www.bahasara.org" target="_blank">http://www.bahasara.org</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; &nbsp;Panel-devel mailing list<br>
&gt; &nbsp;<a href="mailto:Panel-devel@kde.org">Panel-devel@kde.org</a><br>
&gt; &nbsp;<a href="https://mail.kde.org/mailman/listinfo/panel-devel" target="_blank">https://mail.kde.org/mailman/listinfo/panel-devel</a><br>
&gt;<br>
&gt;<br>
_______________________________________________<br>
Panel-devel mailing list<br>
<a href="mailto:Panel-devel@kde.org">Panel-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/panel-devel" target="_blank">https://mail.kde.org/mailman/listinfo/panel-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Jordi Polo Carres<br>NLP laboratory - NAIST<br><a href="http://www.bahasara.org">http://www.bahasara.org</a><br>