🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #46348

Re: Free reliable wordcount utility available (final version)

#46348
From: Thomas J. Boschloo
Date: Tue, 05 Nov 2002 19:18
105 lines
6130 bytes
Phil Carmody wrote:
> 
> On Sun, 03 Nov 2002 15:47:43 +0000, Richard Heathfield wrote:
> > "Thomas J. Boschloo" wrote:
> >>
> > <snip>
> >>
> >> No remarks at all? Is my program that good since neither of you can find
> >> any flaws in it?
> >
> > <shrug> It claimed to be in ANSI C, but contained the line
> >
> >   #include <values.h>
> >
> > which is not an ANSI C header. This is such a basic mistake that I just
> > presumed the whole article was a nut-post. We get a lot of those in
> > sci.crypt.

Should I regard this as an spelling lame? Or is this much more serious
an error to you Richard?

> >> Anyways there will be a port to ANSI-C because I used
> >> the wrong library for the maximum value of an integer and my Turbo C 2.0
> >> compiler didn't warn me at all about this (I should have used INT_MAX
> >> from limits.h instead of MAXINT from values.h).
> >
> > Headers are headers. Libraries are libraries. Please learn the simple
> > stuff before you move onto the complicated stuff. Thank you.

So what does this compiler option tell you?
-A	disable non-ANSI extensions

I think the compiler could have warned me about this 'basic mistake'
Rich, but at least we are getting somewhere here.

> What? No comment about the insularity of the following assumption? You're
> slacking, Richard! :-)
> 
> And what is EDCBIN?

Another spelling lame?? I think I said I was not a linguist like you two
seem to be. To me words may have a totally different meaning. Anyways, I
thought you guys from sci.crypt would concentrate on the maths behind
the hash algorithm. I guess that is just to hard for you to do which
made you resort to spelling and coding (is there such a thing?) lames.
Tell you what, I think you Rich, did compile the program but couldn't
work out the warning and errors you got from your compiler, which made
you angry and you just had to punish someone for this grave frustration
this 'nutty' program gave you. But at least you tried, that is more that
I can say for other people back here who didn't even bother to reply.

> <<<
> /* since most of the usenet population uses outlook express the EDCBIN/IBM
>    character set is assumed */
> int isletter(const int c)
> {
>         if(c<0) return FALSE; /* shouldn't happen really */
>         if(((c>='0') && (c<='4')) || (c=='6') || (c=='8')) return TRUE;
>                                         /* 133t tr4d3r w8'n */
>         if((c>=128) && (c<=154)) return TRUE; /* multi-lang */
>         if((c>=160) && (c<=167)) return TRUE; /* spanish or something */
>         if((c>=224) && (c<=239)) return TRUE; /* greek and german */
>         if((c>'z') || (c<'A')) return FALSE;
>         if((c>'Z') && (c<'a')) return FALSE;
>         return TRUE;
> }
> >>>
> 
> What does the OP have against ISO graves, circumflices, tildes, diaerses,
> rings and cedillas? Perhaps isalpha(7) and locale(7) would be useful.
> The misspelling of 1337 as 133t was a dead 9iveaway there was something
> amiss.

This I can do something with. So I should include '7' and '9'. I will
probably throw in '5' too, is that proper 57an9?

I am lost on ISO graves. Are they still chars that can be read by fgetc?
You two seem to know a lot about these kinds of things. Or maybe fgetc
is superseded by another function I should use? Perhaps it is not safe
because it reads characters unbuffered? We might after all hit upon some
of those ISO graves and things like that, don't we Phil? <flaming away>.
Besides, Turbo C 2.0 hasn't got a locale function according to the
online help file and to Rich, isalpha is just a macro in Turbo C 2.0:

#ctype.h
# define isalpha(c) (_ctype[(c) + 1] & (_IS_UPP | _IS_LOW))

So why aren't you flaming Phil here to learn the simple stuff before
moving to the ISO stuff? Besides, I am thinking about a preprocessor
that will turn =%2x strings into EBCDIC characters. Would that be nice
or is it better to put the whole code into one lump of program? After
all, l33t coders don't make programming mistakes, do they?!

If anyone still has any more constructive criticism, fire away but be
aware that my clothing is asbestos coated as you might have figured by
now. Also, my flamethrower is a lot better I think you
math/crypto-sissies! Learn to code!! Knowledge about cryptodesign alone
gets you nowhere in this world, you should learn a tiny bit about
security also (like I do).

Thomas
-- 
There are two types of people with Borderline disorder. The ones I like
and the ones I don't like.   - T.J. Boschloo
<home.hccnet.nl/t.j.boschloo>
Technical Details
Message-ID: <3DC81975.45915377@hccnet.nl.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.security.pgp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news.teledanmark.no!newsfeed1.ulv.nextra.no!nextra.com!bnewspeer00.bru.ops.eu.uu.net!emea.uu.net!news.hccnet.nl!not-for-mail
References: <3DC1596C.6D2B55BD@hccnet.nl.invalid> <3DC526FC.CBCFE9B6@hccnet.nl.invalid> <3DC5451F.DBF3CDDA@eton.powernet.co.uk> <pan.2002.11.03.17.05.02.482162@yahoo.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <3DC81975.45915377@hccnet.nl.invalid>
Subject: Re: Free reliable wordcount utility available (final version)
Date: Tue, 05 Nov 2002 20:18:13 +0100
From: "Thomas J. Boschloo" <nospam@hccnet.nl.invalid>
References: <3DC1596C.6D2B55BD@hccnet.nl.invalid> <3DC526FC.CBCFE9B6@hccnet.nl.invalid> <3DC5451F.DBF3CDDA@eton.powernet.co.uk> <pan.2002.11.03.17.05.02.482162@yahoo.co.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.security.pgp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news.teledanmark.no!newsfeed1.ulv.nextra.no!nextra.com!bnewspeer00.bru.ops.eu.uu.net!emea.uu.net!news.hccnet.nl!not-for-mail
Newsgroups: alt.privacy.anon-server,sci.crypt,alt.fan.cult-dead-cow,alt.security.pgp
Organization: Hobby Computer Club News Network
Lines: 106
NNTP-Posting-Host: uds190-35.dial.hccnet.nl
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: news.hccnet.nl 1036524261 25161 62.251.35.190 (5 Nov 2002 19:24:21 GMT)
X-Complaints-To: abuse@hccnet.nl
NNTP-Posting-Date: Tue, 5 Nov 2002 19:24:21 +0000 (UTC)
Cancel-Lock: sha1:IcZSlr2D5IOoZ+JNHhV6oVVkusE=
X-Mailer: Mozilla 4.8 [en] (Win98; U)
X-Accept-Language: en,nl,de
X-NFilter: 1.2.1-b1