🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #58165

Re: comments on Jeremy's proposal

#58165
From: Joe Feser
Date: Sat, 13 Apr 2002 23:19
24 lines
2320 bytes
"Jeremy" <jeremy@exit109.com> wrote in message
news:1018718745.831315@ok-corral.gunslinger.net...
> Joe Feser <nntp@fesersoft.com> wrote:
>
> > No matter what, would the values be 1 based or 0 based?
> >
> > start = 0, start = 1
>
> That's on my page; zero-based, of course.  One-based offsets are madness,
> and are essentially *begging* for off-by-one errors.  Not to mention that
> virtually every other piece of software in existence which deals with
> ranges of data within files uses zero-based offsets.

I missed that part, it was one of the bigger issues for me to work around
when building the yEnc application in .net.

Everything is zero based, so I had to keep subtracting or adding one to
things.

Joe


Technical Details
Message-ID: <t23u8.27905$K5.2696596@bin5.nnrp.aus1.giganews.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-xfer2.newshosting.com!nntp2.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!bin5.nnrp.aus1.giganews.com.POSTED!not-for-mail
References: <3CB535C6.138D3BFB@ehsco.com> <3CB69284.C258A266@ehsco.com> <1018685837.228986@ok-corral.gunslinger.net> <IiYt8.20562$K5.2219477@bin5.nnrp.aus1.giganews.com> <1018718745.831315@ok-corral.gunslinger.net>

Show Full Headers
Complete Article Headers
Message-ID: <t23u8.27905$K5.2696596@bin5.nnrp.aus1.giganews.com>
Subject: Re: comments on Jeremy's proposal
Date: Sat, 13 Apr 2002 23:19:53 GMT
From: "Joe Feser" <nntp@fesersoft.com>
References: <3CB535C6.138D3BFB@ehsco.com> <3CB69284.C258A266@ehsco.com> <1018685837.228986@ok-corral.gunslinger.net> <IiYt8.20562$K5.2219477@bin5.nnrp.aus1.giganews.com> <1018718745.831315@ok-corral.gunslinger.net>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-xfer2.newshosting.com!nntp2.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!bin5.nnrp.aus1.giganews.com.POSTED!not-for-mail
Newsgroups: news.software.nntp
Lines: 23
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Date: Sat, 13 Apr 2002 18:19:53 CDT
Organization: Giganews.Com - Premium News Outsourcing
X-Trace: sv3-4UB0tgIrdtPoy7edw3E+k/+PElpo+nHGmHN8BaIK1W9gmiFv7lcaybkR6ShJqe+6RpJUtjOnmL5t7gW!wCCchDe7RSCRXJi9JSsw5khhPrW1QxbmSwqXUgH6DsR658O1KUYeD9gHvsWoeCcqwilBq85Q78kb!S0U=
X-Complaints-To: abuse@GigaNews.Com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly