🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #85351

Re: [XNews] Saving articles from particular newsgroups to certain directories

#85351
From: Robert Amesz
Date: Wed, 10 Oct 2001 14:41
85 lines
5206 bytes
Murray Peterson wrote:

> Robert Amesz <reqhye72zux@mailexpire.com> wrote in 
> news:Xns9134153161571rcamesz@127.0.0.1:
> 
>> That will never do! Exposing innocent people to the vagaries of
>> Perl, polluting this newsgroup with its foul syntax: it's an
>> affront. 
> 
> Be careful -- I could always get my revenge and post it in VB :-)

Aw, that would hurt you more than it would hurt me. <g>

 
>> So I took the liberty of translating it into the beatific language
>> that is Python, its syntax capable of soothing the savage beast. 
> 
> Only if done while playing soothing hippo music :-)
> Read this to have the reference make a bit more sense:
>          http://www.usps.gov/moversnet/howtopacka2.html

Incredible. <g> I wonder what the postage is for an average hippo?


>> [programming style]
> 
> I am definitely accustomed to C, but the style is one that seems to
> follow me around from language to language.  Probably comes from
> learning how to program in assembler as my first language.

An unusual choice for a first language.

I'm not old enough to be one myself, but I can almost imagine the 
response from real computer veterans:

  "Hah, assembler, we didn't have any assembler when I was young. I had 
to enter machine code by hand at the terminal."
  "Terminal? You were lucky! All we had was a card punching machine and 
we had to carry stacks of cards around which we fed into the machine."
  "What luxury... We only had big rolls of paper tape, and a pair of 
nail clippers. And even that had to be shared by five programmers."
  "At least you had paper tape. We had to use a souldering iron to put 
our instructions into the machine, and if we ran out of soulder we had 
to go to the typing pool and borrow hairpins from the girls."
  "You think that's bad? We had to enter our code one bit at the time 
by holding the north or south pole of a small magnet to different 
positions on our magnetic drums."
  "Magnetic drums? What's that? Our computer used cogs and gears, and 
we had to take it apart and reassemble it _every single day_. 
Strangely, though, we always ended up with some leftover parts..."

Ok, so this is getting a bit off-topic.


> Clarity is a prime requirement there, and I never saw any reason to
> relax my rules for programming simplicity. 
> Perl is like many other languages -- it can be extremely ugly, but
> that isn't any reason to allow it to happen. 

True, but unfortunately Perl seems to attract the kind of 'cowboy' 
programmer that likes to be obtuse, and Perl has so many special 
variables, special cases and alternative ways of doing exactly the same 
thing that it is often very hard to read other peoples work, or even 
your own after a while.

Python, on the other hand, is very consistent in its syntax, and it's 
nearly always very easy to read other peoples code. 


>> [script snipped]
> 
> Now there are two of us that can be accused of posting binaries in
> this newsgroup :-)

I'm not sure the definition of a binary can be stretched quite as far 
as that. ;-)

Also, people regularly post much larger articles than ours (93 and 129 
lines respectively). Worse, lots of people then bottom-quote the 
*entire* article, adding two or three lines of their own. Ugh, now 
that's truly 'orrible.


Robert Amesz
Technical Details
Message-ID: <Xns9136A9D4DDC2Frcamesz@127.0.0.1>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!sn-xit-01!sn-post-01!supernews.com!news.demon.nl!amesz.demon.nl!not-for-mail
References: <Xns912C780CD877ABlueJAMC@207.225.159.8> <Xns912C89E6EFAE0imamidnighttoken@65.82.44.7> <Xns912D60F251C50BlueJAMC@207.225.159.7> <Xns912F9375A7650damiansmailandnewsco@64.152.100.102> <Xns9130916BC45DDBlueJAMC@207.225.159.7> <Xns9130BBD527020damiansmailandnewsco@64.152.100.102> <Xns9130B47515FC2imamidnighttoken@65.82.44.7> <Xns9130BAB6747D8BJAMC@207.225.159.6> <Xns9130C33E811DDimamidnighttoken@65.82.44.7> <Xns91321212940Crcamesz@127.0.0.1> <Xns913259E086C9BJAMC@207.225.159.7> <Xns913276D26DFCAimamidnighttoken@65.82.44.7> <Xns9132AC1268BE4BJAMC@207.225.159.8> <Xns9132B3DCDDDCBfarkle@24.71.223.45> <Xns9134153161571rcamesz@127.0.0.1> <Xns9133C0B9FF496farkle@24.71.223.45>

Show Full Headers
Complete Article Headers
Message-ID: <Xns9136A9D4DDC2Frcamesz@127.0.0.1>
Subject: Re: [XNews] Saving articles from particular newsgroups to certain directories
Date: Wed, 10 Oct 2001 14:41:42 -0000
From: Robert Amesz <reqhye72zux@mailexpire.com>
References: <Xns912C780CD877ABlueJAMC@207.225.159.8> <Xns912C89E6EFAE0imamidnighttoken@65.82.44.7> <Xns912D60F251C50BlueJAMC@207.225.159.7> <Xns912F9375A7650damiansmailandnewsco@64.152.100.102> <Xns9130916BC45DDBlueJAMC@207.225.159.7> <Xns9130BBD527020damiansmailandnewsco@64.152.100.102> <Xns9130B47515FC2imamidnighttoken@65.82.44.7> <Xns9130BAB6747D8BJAMC@207.225.159.6> <Xns9130C33E811DDimamidnighttoken@65.82.44.7> <Xns91321212940Crcamesz@127.0.0.1> <Xns913259E086C9BJAMC@207.225.159.7> <Xns913276D26DFCAimamidnighttoken@65.82.44.7> <Xns9132AC1268BE4BJAMC@207.225.159.8> <Xns9132B3DCDDDCBfarkle@24.71.223.45> <Xns9134153161571rcamesz@127.0.0.1> <Xns9133C0B9FF496farkle@24.71.223.45>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!sn-xit-01!sn-post-01!supernews.com!news.demon.nl!amesz.demon.nl!not-for-mail
Newsgroups: news.software.readers
User-Agent: Xnews/4.06.22 Hamster/1.3.22.104
X-Face: i/!"w>!GV8UL{^20`L2OEvvFz(T"{bFYn2<:u"5<4Blsl-isl(bTDMKVqWL?nk-VY7[[);j =yB|s]|c3nRG4c7^1#+/(D)v4ToNC;PoE=\7baN'i75%+2NhzndU~qJUTI*-v[R"l)Q$GOX3o(-#7C iY6a`%._v`G8cG`!/3,mt?pkyvjv3f}\-mZiNnXJ9EK~D>Qs(ckW8yam<<T!\Kf>`wtj3>eEAAV\
Reply-To: rcamesz@dds.nl
X-Complaints-To: abuse@nl.demon.net
NNTP-Posting-Host: amesz.demon.nl
X-NNTP-Posting-Host: amesz.demon.nl:212.238.72.220
X-Trace: news.demon.nl 1002724901 news:6684 NO-IDENT amesz.demon.nl:212.238.72.220
Lines: 84