X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-TCPREMOTEIP: 207.224.51.38 X-Authenticated-UID: jpd AT noqsi DOT com Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: [geda-user] About reinventing the wheel, and how to avoid it From: John Doty In-Reply-To: <201509112038.t8BKc3GP013110@envy.delorie.com> Date: Fri, 11 Sep 2015 15:04:22 -0600 Message-Id: <0895F99A-123A-426F-AE34-C5D3B4B9EFC9@noqsi.com> References: <201509111624 DOT t8BGOPYV000685 AT envy DOT delorie DOT com> <20150911190224 DOT 5b50175919e00b91df2ccf53 AT gmail DOT com> <201509111707 DOT t8BH7kS8004233 AT envy DOT delorie DOT com> <20150911222120 DOT e57a7e4dca6baabdbdf6287c AT gmail DOT com> <201509112038 DOT t8BKc3GP013110 AT envy DOT delorie DOT com> To: geda-user AT delorie DOT com X-Mailer: Apple Mail (2.1878.6) Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t8BL4U0S029300 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 Precedence: bulk On Sep 11, 2015, at 2:38 PM, DJ Delorie wrote: > >> Even though you have to remember attributes and values yourself it >> is not just arbitrary text. For already defined attributes it would >> have been nice with a list to choose from and for each attribute a >> list of predefined values to chose from where appropriate. > > It's not "just arbitrary" because some other tool (typically gnetlist > for gschem) interprets the values. But as far as gschem itself is > concerned, aside from a few convenience pulldowns that provide > commonly used defaults, the text really is just arbitrary. > > If you were using gschem with something other than gnetlist, which had > a different interpretation of the text, it would still not be "just > arbitrary" to that other something, but not because gschem itself gave > it any meaning. For the majority of attributes, (value, footprint, pintype, …) it isn’t really gnetlist but the back end that interprets. Nice factoring, really. > > Thus, my position that adding arbitrary text *in gschem* is not > difficult. Sure. > > The task is more difficult in something like pcb because the > attributes have meaning *to pcb*, and pcb usually has to interpret > them in realtime as the user is editing. It's the meaning that causes > the difficulty, not the attribute storage itself. The realitime > requirement often dictates a non-"arbitrary" internal storage as well. That has more to do with the design of geda-pcb than with any real requirement. I don’t see why a geometry editor couldn’t edit a “teflon” or “constantan” layer. It isn’t the editing requirement that drives these restrictions. It’s the fact that geda-pcb doesn’t really model a PCB, but merely a restricted subset of PCB structures. And that also makes geda-pcb hard to understand for at least some of us. > > (this is similar to the XML "problem" - XML defines a structure for > storing information, but doesn't give any meaning to the information, > leading to lots of incompatible implementations) > It’s just mathematics, really. The meaning of the abstraction is separate from the properties of the abstraction. The application gives the abstraction meaning. Thus, Fourier analysis is useful for a very wide range of problems despite its origin in analyzing heat flow in rectangular objects. This is not a problem, but a powerful property of abstractions. John Doty Noqsi Aerospace, Ltd. http://www.noqsi.com/ jpd AT noqsi DOT com