On Dec 12, 6:45 pm, Peli <
andreas....@gmail.com> wrote:
> rtreffer,
>
> > here is my idea for a content provider:
>
> > > Items (<content_uri>s)
> > > Tags (tuple of <name>,<parent_tag>,<weight>)
>
> Ok, now I see your point that tags are just like URIs, so no need for
> two tables, only one. You stated what I repeated afterwards in a
> complicated way, but I didn't understand in your first post.
Sometime ideas need to be explained in different ways. It's very hard
to explain an idea in an easy way, especially if you have thought
about it for some time, I think it's my fault, as I'm not able to
simplify it to a point where every one can understand it. Sorry, but
it's great if we can agree on that *g*
> What is "weight" for? What did you have in mind here? You tag you
> "pizza hawaii" just "20% favorite" and "pizza cappriciosa" "40%
> favorite"?
Weight was an idea to allow algorithms to detect important and
unimportant tags. I don't insist on this anymore, but most tag-clouds
use weights (bigger and smaller text). I thought it might be usefull
to push this into the DB, but I'm not sure about it. I would suggest
to leave it out untill we have a real use case. I should have striped
it out.
> The other thing about namespaces was just meant for internal use, to
> reduce memory taken redundantly by taking apart long URIs where only
> the last few characters change. I have no idea whether splitting
> things up would reduce memory or just decrease speed due to overhead.
> But this would in any case be an "under the hood" optimization (if at
> all) that can be kept in mind for later.
I would save them as flat URI's. The "overhead" isn't that big. And
keep in mind that there is a index over the items. Namespaces would
help to simplify queries like "I'm looking for locations". "Keep it in
mind for later" sounds reasonable. I wouldn't care about storage as
tagging is a low storage overhead compared to the actual date (I guess
much less than 100% overhead, depending on the data type, e.g.
geographic tagging might cause 100% overhead, music tagging will cause
<1% overhead)
Anyway I don't thing speed would be an issue unless you store several
MB of data. I've noticed a considerable slowdownn with amarok + >50GB
music tags in sqlite, but I don't expect every phone to have a 200GB
HD.
I really like flowdi's idea of an "tag it" action/intend. You can
initiate tagging from any app for any content and you'll simply get a
tag-cloude. This is quite simple and really usefull. Sounds like a
good idea.
> Thanks for setting up the Wiki page. As for the voting process, I
> expect more members over the next few days, so i wonder whether
> swapping columns and rows would not be more readable in the near
> future (I'm being optimistic :-) )
Anything that improves communication is good. Would you like to
initiate #openintents on irc?
I thought about swapping columns, but I guess there will be ~1 idea/
person and most persons will vote with yes/no. The idea was stolen
from
http://code.google.com/p/geagle/wiki/gEagleFeatures (I didn't
have the time to google for it). I'd suggest this for most ideas (at
least those ideas that get 3+ devs)
s the right place to implement it or is openintends the right place to
suggest/specify it?
@NumBeast: What do you think? I'd really like to talk to you. Feel
free to cantact me via pm or whatever else suits your needs.... I
don't want to annoy you or kick you out in any way....