On Tue, 19 Apr 2005, Dirk Meyer wrote: i'm not a developer of any of these techs, but have been evaluating them for some uses, and am just dropping in some observations hoping they'd be useful:
> > I knew right away it would suffer from creature feep. But I think if we > > change pyimlib2's scope from "Imlib2 wrapper" to "image library (that > > uses Imlib2)" then things become ok. :) > That's how I looked at the code :) sounds cool > >> Nothing against tabs, but setting tabs to 4, no that's bad. Your > /me is using emacs same here, and many projects seem to prefer all spaces, which is fine for me > For Freevo I was thinking different. I create metadata and thumbnails > on the fly when it's needed or use the cache helper to create it > before. What I found interesting is the sqlite db. I played with > sqlite and found using a directory pickle file much faster for normal > operations like "go into a directory". But I still need some sort of > database or index to do stuff like "show all mp3 files from 2001". (..) > I don't like datbases right now, they seem slow. For a huge guide, the > epg database is slower than it should be. And for a mediadb, the index > can be huge. have you looked at the lightweight Python databases, like Durus or PyPerSyst? i've been using Durus in production (for 6 months or so) and have been quite happy with it so far. it is very small and simple -- the reason it exists is that the Quixote authors, who were using ZODB before, wanted to have an implementation they understood 100%, without the features they didn't need (like multithreading), so they built it. it's not far from just using pickles, but has some niceties, and support for client-server stuff if needed. i've used python dictionaries for indexes, but Durus includes a B-Tree implementation that afaik is better for huge datasets -- dunno if they'd fit the mediadb need tho, perhaps. have never really needed sql, but have understood that e.g. python dictionaries are much faster than such queries, and now with list comprehensions you can do basic query-like things pretty nicely .. so you might have a dict mapping to objects from a certain year if that's what you need, like data.year[2001] .. but if no such mapping exists you can still do things like this and it may be fast enough: [movie for movie in data.movies if movie.year == 2001] PyPerSyst is made by the Schevo guys, and afaik it's in-memory only, and iirc also those ppl are using Durus now. > > I tend to shy away from threads too, though. Things are extremely > I try to avoid threads as much as possible. We had two bad bugs in +1 > Great. It would help if I have something liek the ImageCancas. I need > an imlib2 image, draw on it and put it into evas. Everything else > would be easy to rewrite, only the creating of objects is used very > often. Is it possible to create an evas object from an imlib2 image? .. will be following how this comes up. i recently did some tests with bmovl2 and quite liked it, so read Jason's current thoughts with great interest .. hopefully something usable comes out of this soon, and it would be great if that new vf_osd made it to the official mplayer > Dischi ~Toni ------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel