www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/09/09/13:45:57

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
Date: Wed, 9 Sep 2015 13:45:47 -0400
Message-Id: <201509091745.t89Hjlab021347@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: geda-user AT delorie DOT com
In-reply-to: <D6E97A10-EDD0-4077-A4A8-61A5D4825E1D@noqsi.com> (message from
John Doty on Wed, 9 Sep 2015 07:49:09 -0600)
Subject: Re: [geda-user] Desired changes (was:"New experimental netlist features")
References: <alpine DOT DEB DOT 2 DOT 11 DOT 1509031356150 DOT 13201 AT nimbus> <55E8773B DOT 9000902 AT jump-ing DOT de> <alpine DOT DEB DOT 2 DOT 11 DOT 1509031846370 DOT 7163 AT nimbus> <55E8831A DOT 8050307 AT jump-ing DOT de> <alpine DOT DEB DOT 2 DOT 11 DOT 1509032004020 DOT 10628 AT nimbus> <55E891FA DOT 2010509 AT jump-ing DOT de> <alpine DOT DEB DOT 2 DOT 11 DOT 1509032039300 DOT 14871 AT nimbus> <BC7E3E69-4914-4654-B020-1338C71E0CDB AT noqsi DOT com> <201509032030 DOT t83KU1Yq017045 AT envy DOT delorie DOT com> <55E97A3E DOT 2070402 AT jump-ing DOT de> <69B8B3F4-A6E4-43E9-9055-C63A5D6A3707 AT noqsi DOT com> <msfjma$340$1 AT ger DOT gmane DOT org> <alpine DOT DEB DOT 2 DOT 00 DOT 1509060518220 DOT 6924 AT igor2priv> <msidqe$66h$1 AT ger DOT gmane DOT org> <D2219618-B906-432B-B11A-C108DA9FCBF9 AT noqsi DOT com> <CAOP4iL3JkWC4Nuw8vDOBDR4Zk4OD2xwrMwHXp-ZihPom5Wmfwg AT mail DOT gmail DOT com> <43CA04C5-47B7-4DA4-8005-3A2D4E9D0E47 AT noqsi DOT com> <20150908162514 DOT 43142577ec15e48c50950a18 AT gmail DOT com> <CD93E147-F22E-4CA2-9793-FAAA5558486D AT noqsi DOT com> <20150908182504 DOT 196a11571c68bc63ef8e4c27 AT gmail DOT com> <11875D68-7D82-48AB-8850-C5C3BCCF64EC AT noqsi DOT com> <201509081853 DOT t88IrAak001304 AT envy DOT delorie DOT com> <307FD65!
! 5-69A7-4486-B466-B5FB92CBB1C2 AT noqsi DOT com> <201509082033 DOT t88KXsFZ005209 AT envy DOT delorie DOT com> <D6E97A10-EDD0-4077-A4A8-61A5D4825E1D AT noqsi DOT com>
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> > This is not an argument for integrated tools, just an argument that
> > using a toolkit so you don't have to anticipate user's needs means you
> > might end up not building a robust enough toolkit.  We took a shortcut
> > in gschem because it met one person's needs, and it's causing problems
> > now.
> 
> What do you mean?

I mean hardcoding "our library is a directory" in gschem was
shortsighted.  We need to take that out and replace it with something
more flexible.

> >  We need to be willing to tweak the toolkit model if needed, if
> > we see that it's not as usable as it could be.
> 
> The high road to tweaking a toolkit is often to add new tools.

The first step in this case is changing the exsting tools so that a
new tool can be added.  We need to replace the "library is a
directory" code in the existing tools with something that lets us add
a "this tool provides our library".

> Perhaps, although the advantage of using directories as packages is
> that they are transparent and accessible to other tools and even
> simple shell commands.

I'm not saying that libraries can't be local directories.  I'm saying
that we need a way to enable more than just local directories.
Consider a library plugin that says "pull symbols from gedasymbols" -
obviously, gedasymbols is not a local directory, it's a web site.  The
user gets to choose between the convenience of local text files and
the convenience of pulling from elsewhere as needed.  Similarly for a
corporate SQL database, or a remote connection to Digikey's API.

At the moment, we don't give them that choice.

> > (in my blue-sky, the interface between apps and the CDM was a remote
> > query, where you send "what you have" and it sends back what
> > alternatives remain, or sends you the component info you selected)
> 
> Are you proposing putting this knowledge in the tool?

No, the knowledge would be in the data.  The tool merely passes the
request to a source-specific handler that interprets the request in
terms of the data available.  I didn't put a lot of thought into that
part, because I wanted to leave it up to the backend developers of the
tool to decide how to represent their data to the user.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019