www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/09/13/14:43:53

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Virus-Scanned: Debian amavisd-new at papyrus.altaweb.hu
Date: Sun, 13 Sep 2015 20:43:37 +0200
From: "Lev (leventelist AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] Apollon
Message-ID: <20150913204337.1e58475a@jive.levalinux.org>
In-Reply-To: <CAC4O8c-99=qdVrz_-sOLAcr+JGemWf3Gp1NoZzsthG-i8F7vNQ@mail.gmail.com>
References: <20150913140631 DOT 1da1b78d AT jive DOT levalinux DOT org>
<CAC4O8c_WSck-z2V+iQRZY5HJf2WOu6=ozRpmo6zFGUf5r6DjMA AT mail DOT gmail DOT com>
<20150913190132 DOT 1926c471 AT jive DOT levalinux DOT org>
<CAC4O8c-99=qdVrz_-sOLAcr+JGemWf3Gp1NoZzsthG-i8F7vNQ AT mail DOT gmail DOT com>
X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.27; amd64-portbld-freebsd10.1)
MIME-Version: 1.0
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id t8DIhkfl005774
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

On Sun, 13 Sep 2015 09:55:25 -0800
"Britton Kerin (britton DOT kerin AT gmail DOT com) [via geda-user AT delorie DOT com]"
<geda-user AT delorie DOT com> wrote:

> Obviously i'ts possible, the question is how hard is it for the
> majority of users.  If you look at DBI.pm I think you cannot honestly
> say that the example I give above will be easier via SQL than it is
> now.

The majority of users don't really care what is going on behind the scenes.
Unfortunately, we are software guys, and we do. :-)
 
> > I don't think xml/yaml is a better choice. They get very, very
> > ugly. I  
> 
> True, but so does SQL once things get complicated.  As it happens I've
> done a lot of SQL so you can't fool me here :)

I don't want to fool you. I'm happy that you are a kind of person, who
actually does something, and not just hang around.

> > don't see any reason why not use SQLite.  
> 
> Because many, possibly most people aren't familiar with it.  Give
> yourself credit for what you've learned about SQL, and acknowledge
> that it isn't going to be instantaneous for others to get that
> knowledge.

I don't have much knowledge on SQL. And I don't really feel that I'm
something special. I just browsed the gEDA/PCB code and I get a feeling
that life would be much easier if we had that SQL thing as the data
structure.

In the other hand, I don't think the vast majority of users actually would
hack an xml. It is pain.

I see no difference here.

> There are actually only two reason *to* use SQL.  One is parse speed,
> which is not significant for most use cases.
> The other is the additional work for you (or someone) to put it in a
> readable format.  But its easy work and I hereby
> volunteer to do it.

Okay. Don't get me wrong. I don't care if it is SQL, or not. I just state
that if we use SQLite, we pull in lots of work. Your work has a value! I
suggest we concentrate on the PCB part, and not doing something which is
already done.

That is all I say.

BTW, what is your recommendation? Would you use xml? Would you roll your own
file format?

Lev

-- 
73 de HA5OGL
Op.: Levente

- Raw text -


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