🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #51853

Re: Reading usenet archives

#51853
From: Yasir Hassan
Date: Mon, 16 Apr 2001 01:10
177 lines
7861 bytes
You can find the archive at

ftp://ftp.netlab.cs.rpi.edu/pub/comp.lang.c++.moderated


"Player" <tecaj@bonbon.net> wrote in message
news:9b9l1k$bql6$1@as121.tel.hr...
> Where did you download those???
>
>
> "Yasir Hassan" <no@spam.please> wrote in message
> news:MhMB6.2427$482.12589@newsfeeds.bigpond.com...
> > Sorry if this is the wrong place to ask.
> >
> > I've downloaded an archive of a particular usenet group. The archive is
> > simply a text file with all the postings and their headers.
> >
> > Is there an app (on Windows, Mac or Linux, preferably windows) that can
> > import the archive and let me view it in a user-friendly way (e.g. with
> > messages threaded etc, as in something like Netscape of Outlook
Express)?
> >
> > Thanks,
> >
> > Yasir
> >
> > Here is a sample from the archive (with 2 postings) in case you don't
know
> > what I mean
> >
>
> -------------------------------------------------------------------------
> > Path: not-for-mail
> > From: fjh@mundook.cs.mu.OZ.AU (Fergus Henderson)
> > Newsgroups: comp.lang.c++.moderated
> > Subject: Re: implicit_cast from Visual C++
> > Date: 2 Nov 1996 15:37:54 -0500
> > Organization: Comp Sci, University of Melbourne
> > Lines: 60
> > Sender: cppmods@netlab.cs.rpi.edu
> > Approved: harkness@airmail.net
> > Message-ID: <55gbf2$j75@netlab.cs.rpi.edu>
> > References: <55347v$bat@netlab.cs.rpi.edu>
<55a8fb$mce@netlab.cs.rpi.edu>
> > <55cgsv$5bs@netlab.cs.rpi.edu>
> > X-Original-Date: 1 Nov 1996 17:09:57 GMT
> > X-Submission-Address: c++-submit@netlab.cs.rpi.edu
> >
> > "Bradd W. Szonye" <bradds@concentric.net> writes:
> >
> > >Fergus Henderson <fjh@murlibobo.cs.mu.OZ.AU> wrote in article
> > ><55a8fb$mce@netlab.cs.rpi.edu>...
> > >> is there any good reason why isn't it part of the standard library?
> > >> If there is, I certainly haven't found it.
> > >
> > >The "best" name is difficult to decide on: should it be convert<>,
> > >implicit_cast<>, safe_cast<>, implicit_conversion<>, trivial_cast<>, or
> > >something else? The commitee has better things to do than argue over
the
> > >name and editing of something that's trivial to implement.
> >
> > The committee is a *standards* committee, it is *supposed* to
standardize.
> > Having each programmer implement their own version of it with their own
> > name promotes needless diversity that makes code more difficult to
> > understand, not less.  Frankly, it wouldn't matter too much which name
> > the committee picks, there would be real benefits in choosing a single
> > standard name regardless of which name were chosen.
> >
> > >There are not even any tricks to writing an implicit cast function;
> there's
> > >really only one way to do it, and it's a one-liner.
> >
> > *Wrong*.  There are several ways to do it.  Both of the commonly seen
> > ones fail for certain cases.  It's very easy for experts to get it wrong
> > (in the sense of implementing convert<> in a way that fails for some
> cases).
> > I certainly have, and so has Bjarne Stroustrup, if the version that he
> > published in D&E is anything to go by.  It fails if the source type
> > doesn't have a copy constructor.  To do it properly, you need to pass
> > a reference, and to do that properly, you need to have four overloaded
> > versions.
> >
> >     template <class T, U> inline T convert(U & u) { return u; }
> >     template <class T, U> inline T convert(const U & u) { return u; }
> >     template <class T, U> inline T convert(volatile U & u) { return u; }
> >     template <class T, U> inline T convert(const volatile U & u) {
return
> > u; }
> >
> > >Users can even rely on functional casts in this case; a good
> implementation
> > >should warn only about old-style casts that do non-implicit
conversions.
> >
> > I'm not convinced that a good C++ implementation will always warn
> > about using old-style casts, even for non-implicit conversions.
> > Remember, the C++ committee voted *not* to deprecate old-style casts.
> >
> > What if I want to use macros from a header file written in C?
> > An implementation that warns about old-style casts would give
> > me irritating warnings if these macros contain casts.
> > I think we will still be using some header files written in C for
> > a very long time, perhaps for the forseeable future.
> >
> > But the main problem is just that if a reader sees an old-style or
> > functional cast, they can't assume very much about the original
> > programmer's intention.
> >
> > --
> > Fergus Henderson <fjh@cs.mu.oz.au>   |  "I have always known that the
> > pursuit
> > WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
> > PGP: finger fjh@128.250.37.3         |     -- the last words of T. S.
> Garp.
> >
> >       [ Send an empty e-mail to c++-help@netlab.cs.rpi.edu for info ]
> >       [ about comp.lang.c++.moderated. First time posters: do this! ]
> >
> >
> > Path: not-for-mail
> > From: malak@access.digex.net (Michael Malak)
> > Newsgroups: comp.lang.c++.moderated
> > Subject: operator for char* based template
> > Date: 2 Nov 1996 16:24:28 -0500
> > Organization: Express Access Online Communications, Greenbelt, MD USA
> > Lines: 34
> > Sender: cppmods@netlab.cs.rpi.edu
> > Approved: harkness@airmail.net
> > Message-ID: <55ge6c$jjp@netlab.cs.rpi.edu>
> > X-Original-Date: 1 Nov 1996 13:07:23 -0500
> > X-Submission-Address: c++-submit@netlab.cs.rpi.edu
> >
> > OK, why won't this compile?  (I'm using Microsoft Visual C++ 4.2):
> >
> > -----------{ begin }---------------------------------------------
> > template< char* psz > class C {
> >  public:
> >     int i;
> > };
> >
> > template< char* psz > inline int operator< (
> >     const C<psz>& lhs,  const C<psz>& rhs ) {      // first error
> >     return  lhs.i < rhs.i;
> > }                                                  // second error
> > ----------{ end }-------------------------------------------------
> >
> > I get two errors:
> >
> > * error C2975: 'C' : invalid template argument '#1', constant
> >   expression expected
> >
> > * error C2997: '<' : function parameter list must use template
> >   parameter 'psz'
> >
> > Any other general information about using char* based templates
> > would be appreciated.  (I already know from researching DejaNews
> > that I must pass in a globally-defined char myArray[].  Any other
> > tips?)
> >
> > --
> > Michael Malak         Home: malak@access.digex.net
> > Washington, DC        Work: malak@notes.sonix.com
> >
> >
> >       [ Send an empty e-mail to c++-help@netlab.cs.rpi.edu for info ]
> >       [ about comp.lang.c++.moderated. First time posters: do this! ]
> >
> >
> >
> >
> >
>
>


Technical Details
Message-ID: <2nrC6.3930$482.17807@newsfeeds.bigpond.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!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!intgwpad.nntp.telstra.net!newsfeeds.bigpond.com!not-for-mail
References: <MhMB6.2427$482.12589@newsfeeds.bigpond.com> <9b9l1k$bql6$1@as121.tel.hr>

Show Full Headers
Complete Article Headers
Message-ID: <2nrC6.3930$482.17807@newsfeeds.bigpond.com>
Subject: Re: Reading usenet archives
Date: Mon, 16 Apr 2001 11:10:06 +1000
From: "Yasir Hassan" <no@spam.please>
References: <MhMB6.2427$482.12589@newsfeeds.bigpond.com> <9b9l1k$bql6$1@as121.tel.hr>
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!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!intgwpad.nntp.telstra.net!newsfeeds.bigpond.com!not-for-mail
Newsgroups: news.software.nntp
Lines: 176
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 139.134.161.109
X-Trace: newsfeeds.bigpond.com 987382334 139.134.161.109 (Mon, 16 Apr 2001 10:52:14 EST)
NNTP-Posting-Date: Mon, 16 Apr 2001 10:52:14 EST
Organization: Telstra BigPond Internet Services (http://www.bigpond.com)