2007/5/2, Evgeny Egorochkin <<a href="mailto:phreedom.stdin@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">phreedom.stdin@gmail.com</a>>:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Wednesday 02 May 2007 21:59:15 Mikkel Kamstrup Erlandsen wrote:<br>> 2007/5/2, Evgeny Egorochkin <<a href="mailto:phreedom.stdin@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
phreedom.stdin@gmail.com</a>>:<br>> > On Wednesday 02 May 2007 15:46:15 jamie wrote:
<br>> > > On Wed, 2007-05-02 at 14:13 +0200, Sebastian Trüg wrote:<br>> > > > Hmm, so now you ignore RDF?<br>> > > > Don't get me wrong, it is your project, so in the end it is your<br>
> > > > decision. I am just a little confused why we have this wiki page<br>> > > > then.<br>> > :<br>> > :)<br>> > :<br>> > > Im too busy (until mid-may) to comment on the spec in much detail
<br>> > ><br>> > > perhaps we can arrange an online discussion mid may to flesh this all<br>> > > out<br>> > ><br>> > > I have a few concerns with the nature of the proposed desktop file
<br>> > > spec.<br>> > ><br>> > > I agree its important the desktop file should be easily convertible to<br>> > > rdf but we do want to eliminate the complexity (and extra overhead of<br>
> > > rdf) as much as possible from it - that is the point of having the<br>> > > desktop file.<br>> ><br>> > I think still this compexity issue is not an issue at all. The reason I<br>> > think
<br>> > so is:<br>> > 1) most of metametadata definitions will be provided by Xesam<br>> > 2) code to parse this in the database will be written only once<br>> > 3) If a dev needs an exotic field, somebody can help. It's not much of
<br>> > work.<br>><br>> Don't underestimate where newcomer devs poke around. I clearly remember<br>> myself a good while back poking around with some fancy gnome-vfs code, some<br>> objects read as .desktop files, and even if I didn't know anything about
<br>> those at that time I could readily work with them. Who knows - if that had<br>> been some obscure format (sorry I don't mean that rdf is obscure :-)) I<br>> might have stopped there and might not have been here today...
<br>><br>> So even if most apps will use a helper lib don't forget that we should also<br>> make it easy for people to poke around. Didn't we all start that way?<br><br>There are RDF formats that are extremely newcomer-friendly. Nobody today
<br>complains when they see XML which looks no way better and nobody raises<br>any "complexity" issues whenever XML is suggested as a representation. I<br>don't see how RDF is worse in this aspect. Its representation is text-based
<br>and meta-meta spec except regexps can be figured out from just a couple<br>example definitions. Newcomers are not dumb by any means.</blockquote><div><br><br>Oh, I for sure complain about complex XML formats and believe me, many do. Take for instance XML Schema (just for one) do you know and appreciate the *full* spec?
<br></div><br><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> So what is more important is flexibility, extensibility and compatibility.
<br>><br>><br>> Don't the .desktop-approach have that?<br><br>Flexibility, no. There are many things which RDF and XML can do and .desktop<br>can't.</blockquote><div><br>Yes, of course RDF can do a lot more that is the whole point :-) But can it do anything we need that we cannot do with .desktop files?
<br><br>I think it would be good to have some concrete cases of .desktop vs RDF approach (with different RDF syntaxes possibly). Also it would be useful to track down some concrete cases of what RDF could do that .desktop can't...
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Extensibility follows from flexibility. RDF has nice extras which we may want<br>
to use in the future.<br><br>Compatibility. Do you have a tool to visualize ontology built using .desktop<br>files? Do you have GUI editors?</blockquote><div><br>It should be pretty easy to write a tool to visualize the structure of the current proposal. GUI editors - if you mean syntax highlighting then yes.
<br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">It might seem far-fetched, but it isn't so. The ontology is likely to contain
<br>~100 fields. No less. And will grow. Maintaining it, and especially<br>child/parent field relation gets really complex. I can feel it myself already<br>being responsible for Strigi ontology. It is also useful for other devs in
<br>deciding which fields to use and understanding the consequences and<br>implications. Visualization is a great help here, including those newcomers<br>whom it'd help to grasp the ontology.</blockquote><div><br><br>
Visualization could be a great help, yes. I could write a tool for that in an afternoon with Python and Cairo. It could do well in the xesam-tools package I'm writing atm.<br></div><br><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
GUI editor is also a plus. I'm sure the spec will be getting more and more<br>elaborate with more features added. Having some editor for all this mess is<br>really handy, newcomers included.<br><br>> Also, it is important to act fast, otherwise the goal of compatibility is
<br>><br>> > unattainable since much of the code gets written around metadata spec.<br>> > Analyzers are written to extract data and feed in to the indexer in a<br>> > specific<br>> > format. It becomes a real problem if our projects do this in a different
<br>> > way.<br>><br>> 100% right. This is a problem that is hard to address. The only solution is<br>> just to not despair and just keep the train rolling, panic solutions are<br>> deemed to end up disastrous at some point.
<br><br>I'm not offering a "panic" solution. Still such delays like till 14th and the<br>preceding silence really bothers me and Strigi devs in general.</blockquote><div><br>Sorry, I didn't mean to say that you offered a panic solution. I just meant that we shouldn't
rush things through...<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">There's already pressure to have something well-defined. You can extract
<br>
meta-data from files just fine, but in what form to feed it to the index? I<br>can only guess at this moment and if I guess wrong it means some dev has to<br>spend considerable time doing corrections. By 14th I expect a significant
<br>drag on Strigi due to complete absense of the standard.<br><br>Also, I don't think project leaders absolutely must get directly involved.<br>They can delegate technical negotiations to their team members and only look
<br>at "snapshots" of the negotiations & provide feedback on key issues.</blockquote><div><br>Right. So project leaders, please consider sending stand-ins if you are caught in a tight spot. I just wonder - who am I gonna send :-)
<br></div><br>Cheers,<br>Mikkel<br></div><br>