🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #46173

Re: INN 2.3.0 public beta

#46173
From: Curt Welch
Date: Sat, 29 Apr 2000 00:00
108 lines
5648 bytes
bostic@bostic.com wrote:
> In article <20000428200032.678$zG@newsreader.com>,
>   curt@kcwc.com (Curt Welch) wrote:
>
> > Nope, I don't trust that code at all any more.  Anybody that can ship
> > database code with errors as bad as that just can't be on my "trused
> > coder" list.
>
> To some extent, I'm hesitant to reply

No, I'm glad you did. It shows you care about your work and that's
always a good thing.

> -- if you don't like the
> software, you don't like the software.  There are some things
> that Curt didn't make clear, however.
>
> First, when Curt says "Berkeley DB', he's talking about version
> 1.85.

Right.  It's the 2.X sequence that starts the new stuff right?

> DB 1.85 was written by two graduate students and myself
> at the University of California, Berkeley, around 10 years ago.
> It mostly works, but was never systematically tested -- it did
> what we needed it to do, which was create a replacement for the
> AT&T dbm code that we could distribute in 4BSD, and get a couple
> of papers published.
>
> The bugs Curt notes are long-known problems in a code base that
> hasn't been maintained or looked at in a decade.

Yes, and it was years ago when I found the first bug and reported
it.

> (Our web pages
> list other problems in DB 1.85 that Curt didn't mention.)  By
> now, it's clear we should have changed the name of the package
> from "Berkeley DB" when we rewrote the code as Sleepycat Software,
> but we didn't, and it's too late now.
>
> Second, Curt notes that Sleepycat told him to upgrade when he
> asked about the problems he was seeing.  Maybe he didn't realize
> that we were telling him to upgrade to a completely new code
> base, or maybe he didn't want to change APIs.

A little of both.  But mainly it was an issue of since I was burned once -
and had created work-around patches which seemed to be holding, I just
didn't want to waste my time upgrading to a yet another version of code
(from at least one of the same authors) which I might once gain have to
spend days debugging problems and creating new work-arounds.

Also, all I needed for my application was a simple hashed key/value
file access method.  The new code had added tons of more advanced database
features that I had no use for.  From my past experience with the
old code, the idea of switching to a new code base from the same people
which had thousands of lines of new code to support even more advanced
and complex features was something that just didn't sound like a wise
move on my part.

> Regardless, we
> weren't telling him to upgrade to a new release, a bug-fix
> version.  We were telling him there was an entirely different
> software package he should run.  He notes that FreeBSD still
> ships the old code.  There are reasons for that, but it's still
> not fair to blame us that FreeBSD ships 10-year-old code.

Sure.  I wasn't trying to blame you for that. It was more just to
warn people that the old buggy code was still being shipped today (even
if not by you).

> Third, there's a "constant flow of bug fix releases" from
> Sleepycat.  You bet.  Anybody in this newsgroup ever ship
> 100,000 lines of bug-free code?

Well that's my point.  I needed 500 lines of hashed key file
access code and got burned when I tried to use your old code.
The though of switching to the 100K version just didn't make
much sense for me.  For someone that needs all the "real"
DB features your new code supports, it makes a lot more sense.

> Berkeley DB is the best tested product I've ever shipped in my
> life.  Our test suite is about 25,000 lines of Tcl, and takes
> about 3 days to run.  We're going through a release cycle now.
> We'll doing full test suite runs on 17 different compiler and
> architecture combinations, as well as individual tests
> elsewhere, and that's all before we enter beta test.  Our test
> coverage is about 80% (that means we're testing everything but
> the individual error cases). Our Purify runs are clean.

Well it sounds like you have come a long way from the days when the
old stuff was developed.  That's good.

And, because of my problems with the old code, I have never
tested the new stuff to know how well it works.  So my comments only
apply to the old stuff.

> Berkeley DB is a very solid package, folks.  And, you don't have
> to take my word for it.  We're an OpenSource product.  Download
> the software and evaluate it and our testing story for yourself.

Just watch out for the old 1.85 code ....

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Technical Details
Message-ID: <20000429132525.148$WB@newsreader.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <yl7ldiu3j8.fsf@windlord.stanford.edu> <8ecabt$2kb0$1@info.cs.uofs.edu> <ylya5xlucr.fsf@windlord.stanford.edu> <20000428200032.678$zG@newsreader.com> <8eevj5$s2c$1@nnrp1.deja.com>

Show Full Headers
Complete Article Headers
Message-ID: <20000429132525.148$WB@newsreader.com>
Subject: Re: INN 2.3.0 public beta
Date: Sat, 29 Apr 2000 00:00:00 +0000
From: curt@kcwc.com (Curt Welch)
References: <yl7ldiu3j8.fsf@windlord.stanford.edu> <8ecabt$2kb0$1@info.cs.uofs.edu> <ylya5xlucr.fsf@windlord.stanford.edu> <20000428200032.678$zG@newsreader.com> <8eevj5$s2c$1@nnrp1.deja.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 617231762
X-User: Curt@NewsReader.Com
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5 %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
Organization: NewsReader.Com
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Newsgroups: news.software.nntp