[haiku-development] Re: Any interest in an advanced MIME db replacement?

  • From: Dario Casalinuovo <b.vitruvio@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 7 Feb 2017 18:04:43 +0100

Hi,

On Tue, Feb 7, 2017 at 4:57 PM, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote:

Am 07/02/2017 um 16:44 schrieb Dario Casalinuovo:

I'm working on a project which is very similar to the mime-db.

[...]

I have the freedom to release it as an open source library (possibly
LGPL), so I'm wondering, is there any interest having something like
that integrated in Haiku?


Hard to say upfront :-)
If it actually improves anything, and manages to stay somewhat compatible,
it would be hard to say no. The MIME database is pretty entangled in the
system, and also has Haiku specific data in it.


This is one of the reasons I've been asking...



But I don't really see what you assume to improve over our current
solution; as far as I'm aware of, the only issues with our implementation
is related to multi user and package management.


I'm not aware of those issues ;)

I assume to improve the situation before all by supporting more file types.

Other than making it more platform independent and hopefully a project
driven by different communities, the major improvement would be the
possibility to have a set of tools able to generate sniff rules from
samples. In future it might lead to a way to train the system to recognize
new files and things. Right now this is the part I'm mostly interested in
from a technological side so I'm considering in which ways the system
should be modeled to work well, binary files are a lot less a problem in
this sense.



And also, as Francois pointed out, if it would be possible to reuse
resources maintained by other people, that might generally be beneficial,
too.


Yes I agree.

Bye,
Dario

Other related posts: