🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #63572

Re: Is MIME dead on Binary Usenet ? (2nd try)

#63572
From: Wolfgang Schelongowski
Date: Wed, 22 Jan 2003 20:46
178 lines
10153 bytes
[This is in parts a reply to Juergen Helbing's article
 <0617a.k1320i@archiver.winews.net>, too] 

In <20030119192217.651$kG@newsreader.com>
 curt@kcwc.com (Curt Welch) writes:

>nospam+2588@xivic.prima.de (Wolfgang Schelongowski) wrote:
>> In <ylel79o8p8.fsf@windlord.stanford.edu>
>>  Russ Allbery <rra@stanford.edu> writes:
>>
>> >Curt Welch <curt@kcwc.com> writes:
>>
>> >> I think it's the nature of a lot of Usenet development.  It's done
>> >> mostly for fun, not as "a job".  Reading MIME specs isn't very fun.
>> >> Writing code is.  When someone is paying you to get it right, you will
>> >> be much more inclined to do the required research to make sure you get
>> >> it right.  When you write a newsreader for the fun of it, you just
>> >> code and see what happens.
>>
>> Let me quote from Vernor Vinge's "A Fire Upon The Deep", page 458:
>>  Half-assed programming was a time-filler that, like knitting,
>>  must date to the beginning of human experience.
>>
>> >I actually find writing code directly from a specification to be more
>> >fun than just playing around and trying to make something look right.
>> >Maybe I'm weird.
>>
>> Then I'm weird, too.

>This is getting off-subject, but I hope people don't get too upset...

But it's not a great part of the volume of this group. And if I came
over as somehow p*ssed off, read the paragraph before the last of 
 Newsgroups: sci.crypt,news.admin.net-abuse.email,comp.mail.sendmail
 Subject: Re: fighting SPAM with cryptographic puzzles
 Date: 19 Jan 2003 19:00:51 +0100
 Message-ID: <b0ep4j$pvh$1@xivic.prima.de>
to know why.

>This topic is interesting because this stuff relates so much to personality
>and not so much to "what's right".

>I really enjoy making software "do something".  When I code, I hate long
>boring stretches of coding without results.  
...

Me too. Sometimes it's the only way. And half assed programming is OK
when you're testing some ideas - that's pretty similar to research.
"Research is what I'm doing when I don't know what I'm doing." And I
don't care much for good style when I write small programs to be
discarded after being used once. If somebody else wants it I make sure
that he knows about the lack of quality. 

OTOH I know how difficult it is to stop PHBs from saying: "Oh, you got
running code? Do not discard one line of code, they're now the crown
jewels of our company!" And the most dangerous PHB is inside oneself. 

>Reading 25 MIME RFCs before writing something is just not the typical way I
>would approach writing any "newsreader".  I would tend to turn to the RFCs
>when the next "little step" needed an answer before I could code it.

That's where we differ. When I had to implement IBM's LU6.2 I waited
for the FM (SC30-3269) to arrive and then read it. I did read it during
one afternoon[1], identified trouble spots, started filling in the
blanks in their pseudocode, and then started coding, which took a few
months. There were only minor errors - some were caught by lint. The
biggest issue was caused by a CompSci PhD who believed that flow
control is unnecessary for all layers above layer 2, just use up all
resources. Famous Last Words. 

>Half-assed programing however is another issue.  I'm not at all sloppy in
>my work, nor do I tend to ignore the little details.  I'm very exact and
>precise about what the code is doing, and about making sure everything
>works perfectly.  I don't ignore error returns or gloss over any important
>details or do things like define an array to be 10 bytes larger than it
>needs to be. That's sloppy or half-assed programming.  That's not what I
>do.  If an array needs to be BUFSIZE+1, I make it BUFISZE+1.  If I don't
>know for sure, I think about it until I do know for sure.

We may differ in what constitutes half-assed. For me part of The Rules
are that all parts of my programs have a single entry and exit. I.e. 
every function has one return, no gotos, no break/continue/... within
a loop, because using the ideas of pre-/postcondition according to the
Holy Edsger[2] in a watered down fashion turns out better
understandable and maintenable code. 

I have always found if one creates programs in such a way it 
is a bit more challenging. I have never found a necessity for
using goto except in very few parts down in the OS, which are
usually written in assembler language, anyway. But sometimes I break
The Rules, and I do that knowingly for good reasons(tm). And far too
often the computer gets its revenge ...

>A major personality trate I've seen in others which I totaly lack is
>forsight.  Some people tend to like to lead their lives in a very
>structured manner.  They are "planners".  Nothing is done without a plan
>and a goal in mind.  I'm just the opposit.  
...

With me it depends. Some things can be planned, and the plan will
even survive the contact with reality. But when you boldly go where
nobody has gone before you will encounter lots of surprises, which you
deal with ad hoc, but still in proper ways. And debugging a program
is very much hack'n slash where you use any dirty trick available -
even decompiling part of the kernel of an OS if the FM is provably wrong.
IMO a programmer must change between the too modes - creative and
planning - when necessary. 

...
>started.  But many people are just the opposit.  Nothing drives them more
>crazy that "not having a plan".

No, what drives me to blow my top are management voodoo euphemisms
called plans, which right from the start have no contact to reality at
all. Been there, done it, t-shirts were in short supply, got the scars
to prove it. And todays starry eyed kids whose programs take an
eternity whereas ours could solve the same problem and it ran
successfully on a 16MHz machine which we had to share which the rest
of the university. 

>I suspect that both of you (Russ and Wolfgang) tend to be "planners"
>instead of "dreamers".  Jumping into code without a plan is just not fun
>for you like it is for me.

For me it is - but only as a preparatory task. Usually I have to
throw away what I wrote if I want a program/system which is useful
not only for me but for the more or less unwashed hordes i.e. people
whose job description does not have the words "RTFM if necessary" in
it. 

>When it comes to programming, both techniques are very valuable. The
>"planners" of corse manage to get everything done.  The world would be lost
>without the planners.  But "planners" tend to be far less creative.  And
>some aspects of prgramming - UI design especially - requires far more
>creativity and far less "planning".  You can't "plan" a good UI design
>ahead of time.  You have to "find it" by a long and slow trial-and-error
>search.  I would guess that both of you tend not to like UI design.  I on
>the other hand love it.

I've done UI design many times in my lifetime e.g. in Databus on
machines named RC Gier Datapoint. For me it's a possible part of any
job I might have.

>I can spend an entire day trying to figure out where to put a single
>button.  I bet both of you would tend to quickly grow impatient with the
>search and just put the damn button on the window and move on before the
>task messed up your "plan".

That would depend upon whether I have adequate access to the end-user. 
I'd hack something together and ask them about it - well knowing that
what they say should be understood cum grano salis because I've seen
that problem in action many years ago. Else I would inspect what others
with a similar problem have done, or delegate it to somebody else who
loves to create user interfaces. In the first case I'd use the same UI
as others have before except when they all have great deficiencies.

>There's a need for both approaches, and neither should be looked at as
>"half-assed".  One is a more "creative" approach.  I like to create, not to
>follow plans (the source of the not-invented-here problem).  The other is a
>more productive approach.  Some people just prefer to "get stuff done".
>Both approaches are needed in this world.  Neither alone could acheive what
>the two combined can achieve, and neither approach, on its own, should be
>mistaken for being "the only right way" to do it.

IMO a programmer needs both modes of thinking, and he must be able to
switch to the appropriate one.


[1] Kids, reading over thousand pages DIN-A4 in four hours can be
    dangerous, even if they lots of pictures a.k.a. Finite State
    Machines in them. Do that only at home, and do not drive
    afterwards[3]. 
[2] May he rest in peace.
[3] But I did. So this proves the existence of at least one guardian angel.
-- 
"Some people are heroes. And some people jot down notes."
  -- Terry Pratchett, The Truth
Technical Details
Message-ID: <b0mvua$rqt$1@xivic.prima.de>
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!bloom-beacon.mit.edu!npeer.de.kpn-eurorings.net!newsfeed.freenet.de!news.ecore.net!nrin.ping.de!news.prima.de!xivic.prima.de!not-for-mail
References: <0421d.a1320q@archiver.winews.net> <ylsmw0pf0p.fsf@windlord.stanford.edu> <rp4v1v047hhqs0v8r7ka57dkf1ci4ubt4d@4ax.com> <yl4r8gpcc0.fsf@windlord.stanford.edu> <k57v1vcq58e7d94cjtiebekhnepg1mv87l@4ax.com> <yliswwnrym.fsf@windlord.stanford.edu> <ihev1vk4tcr78dbh7vd2sh95i0q6l4stpn@4ax.com> <ylwulclz19.fsf@windlord.stanford.edu> <20030119024238.237$2y@newsreader.com> <ylel79o8p8.fsf@windlord.stanford.edu> <b0eju7$oak$1@xivic.prima.de> <20030119192217.651$kG@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <b0mvua$rqt$1@xivic.prima.de>
Subject: Re: Is MIME dead on Binary Usenet ? (2nd try)
Date: Wed, 22 Jan 2003 20:46:02 +0000
From: spamtrap@xivic.prima.de (Wolfgang Schelongowski)
References: <0421d.a1320q@archiver.winews.net> <ylsmw0pf0p.fsf@windlord.stanford.edu> <rp4v1v047hhqs0v8r7ka57dkf1ci4ubt4d@4ax.com> <yl4r8gpcc0.fsf@windlord.stanford.edu> <k57v1vcq58e7d94cjtiebekhnepg1mv87l@4ax.com> <yliswwnrym.fsf@windlord.stanford.edu> <ihev1vk4tcr78dbh7vd2sh95i0q6l4stpn@4ax.com> <ylwulclz19.fsf@windlord.stanford.edu> <20030119024238.237$2y@newsreader.com> <ylel79o8p8.fsf@windlord.stanford.edu> <b0eju7$oak$1@xivic.prima.de> <20030119192217.651$kG@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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!npeer.de.kpn-eurorings.net!newsfeed.freenet.de!news.ecore.net!nrin.ping.de!news.prima.de!xivic.prima.de!not-for-mail
Newsgroups: news.software.nntp
Organization: Private site in Germany
Lines: 177
Reply-To: nospam+2588@xivic.prima.de (Wolfgang Schelongowski)
X-Accept-Language: de, de-DE, en