HDTenEightyP/NetNews huggingface dataset:
From: djd@csg.cs.reading.ac.uk (David J Dawkins)
Newsgroups: alt.hackers
Subject: Re: (none)
Date: 1 Oct 92 12:40:36 GMT
Organization: University of Reading

Jimbo@*.il writes:

>Well so i think i have to say thanks to all those ppl that
>r giving class about how to use Yes....
>i finaly find how to use this stupid program that followowaw...
>yes... i was thinking it was just a stupid programmmm but i was
>defenitivly WRONG ...
>so test it... by doing:     yes | a.out 
>you will be surprise... sure....

>btw: i didnt have the time to #include <signal.h> 
>     should be better with it... ;)

><------cut here ------->
>        #include <stdio.h>
>        #include <strings.h>
>        main()
>        {
>        char bond[007];
>        for(;;) {
>        printf("would you like to ear a niiiiice thing? (y/n)");
>        strcpy(bond,"        ");
>        gets(bond);
>        if(bond[0]==121) {
>        printf("%c\n",7);
>        }
>        else printf("Whats???\n");
>        }
>        }
><----------------------->

   NYAAAA!! It's a BIFF derivative (descendant?)
   Maybe less of the falling-down juice before posting :-)


ObHack:

   Writing a template pre-processor (named tpp) for C++ in 600 lines of
   Perl. The version of cfront we have actually implements templates,
   but we were so disappointed with the implementation, we went back to
   our own tpp! In one test, a 400-line program was expanded to 23,000
   lines after passing through tpp. This was an extreme example, with
   _heavy_ use of templates.

-dave


-- 
djd@uk.ac.reading.cs.csug
djd@uk.ac.reading.cs.csg
davidd@integ.uucp
From: mallman@oucsace.cs.ohiou.edu (Mark Allman)
Newsgroups: alt.hackers
Subject: hello hackers!
Date: 3 Oct 92 19:09:07 GMT
Organization: /home/ace/a/mallman/.org

hello,
   this is a test message, and if it works, that will be my (cheap, small)
for the day. :-)

mark
-- 

/* Mark Allman                |  Real programmers dont comment their code.
   mallman@ace.cs.ohiou.edu   |  If it was hard to write, it should be hard     
   mallman@duce.cs.ohiou.edu  |  to read, and even harder to modify.         */
From: mvm@caesun6.epg.harris.com (Matt Mahoney)
Subject: Re: Finally a use for yes
Date: Mon, 28 Sep 1992 18:01:37 GMT
Reply-To: mvm@epg.harris.com (Matt Mahoney)
Organization: Engineering Productivity Group, Harris Corp., Melbourne, FL
Summary: Automated news reader

Yes, now you too can have an automated news reader:

  yes ' ' | rn >& /dev/null &

ObHack: Filtering out useful information from "yes ' '|rn" 

--------------------------------        _\/_
Matt Mahoney, mvm@epg.harris.com       |(TV)|  Drug of the Nation
#include <disclaimer.h>                |____|
From: cgw@sol.acs.unt.edu (christopher williams)
Newsgroups: alt.hackers
Subject: hacking a cyclometer
Keywords: Cateye CC-6000 555 timer ingenuity
Date: 30 Sep 92 04:32:37 GMT
Organization: University of North Texas
Originator: cgw@sol

ok, so i bought a used cyclometer. no manual. feh. well, it's easy
enough to figure out and adjust well enough so that it works. well,
a friend had the actual manual, so i thought i'd adjust it according
to the manual. the only thing is, to do that, i have to erase all
the data it's accumulated (not terrible, i just lose the odometer).

so i make the adjustments, and as i'm finishing up, i think, 'hey,
i *don't* have to lose my odometer - just hand crank it back up'.
flip over the bike and start hand cranking. that goes ok for about 
a mile (in high gear, of course). after two, i'm thinking 'hack,
hack, hack'. i examine the back of the cyclometer, and see that it
has three contacts. most likely, a common, a wheel-click, and a
pedal-click. the middle contact appeared to be the common, and the
right is the wheel-click. cool, now all i need is a way to make LOTS
of clicks in a short amount of time. 

so i slapped together your basic 555 pulse generator and touch the
output to the wheel-click, and touch the ground to the common. 
hm, not bad... 30 miles an hour... a few minor adjustments later,
and a set of silly-puttied makeshift contacts, and i was virtually
flying down the road at 83 miles an hour, on a bicycle, no less.

it took about an hour, start to finish, and now my odometer is right
where it left off..

-cgw-

ps: due to a flaky pot, the max speed was 155 mph. the total 
distance covered while the timer was on was 21.30 miles. my 
average speed was 22.5 mph (due to me forgetting to turn off the 
timer while the cyclometer wasn't getting pulses during a phone
call)

--
christopher williams   cgw@unt.edu  +1 817 565 4161  Just a guy
lead programmer/operator, university of north texas  made of dots and lines.
From: turmel@IRO.UMontreal.CA (Richard Turmel)
Newsgroups: alt.hackers
Subject: 2 tests
Date: 30 Sep 92 19:49:08 GMT
Distribution: iro
Organization: Universite de Montreal

Hum, test local (j'espere) que nul ne devrait lire (sauf moi!)...



--
+---------------------------------------------------------------------------+
| Richard Turmel   Mail at: u1743@jsp.umontreal.ca  turmel@iro.umontreal.ca |
| (514) 345-8474            Turmel@wolfpak.cam.org  turmel@crim.ca          |
+---------------------------------------------------------------------------+
Xref: sparky alt.hackers:1490 alt.hackers.malicious:76
From: elrond@rivdell.sccsi.com (Stephen L. Palmer)
Newsgroups: alt.hackers,alt.hackers.malicious
Subject: Re: crypt(3)
Date: 25 Sep 92 20:30:00 CST
Reply-To: oleg@yosemite.csufresno.edu
Followup-To: alt.hackers
Organization: Rivendell BBS / Houston, TX / +1(713)941-2236

[oleg@yosemite.csufresno.edu writes]
> Does anyone here have a description of DES and it's implementation on UNIX.
> (No, I don't think I can write fast decrypt(3) :)). Just curious what people
> are spending so much time to break.

Try looking in the source for kc8  :-)

ObHack:  Getting an old Plato CPM machine to display a virtual window of
         what was going on in a background DOS session under DESQview/X.

Newsgroups: alt.hackers
From: nickel@cs.tu-berlin.de (Juergen Nickelsen)
Subject: dc and X Windows
Reply-To: nickel@cs.tu-berlin.de
Organization: STONE Project, Technical University of Berlin, Germany
Date: Thu, 1 Oct 1992 02:43:50 GMT

Two days ago I felt for the first time the need to use dc, when I
tried to make the output of xcoloredit an argument of bggen.

I liked the idea of interactively choosing a background color for X
with 
	xsetroot -solid `xcoloredit`

Having done this, I thought I would also like the idea of choosing the
two colors with which bggen makes a nice background interactively too.
Unfortunately bggen wants three decimals for the red, green, and blue
component each.

Here is the result:

----------------------------------------------------------------------
#!/bin/sh

xsetroot

bggen -s 900 \
        `(xcoloredit ; echo) | 
                sed 's/^$/0ppp/;
                     s/^#\(..\)\(..\)\(..\)$/16i\1p\2p\3p/
                     1q' | 
                        tr a-f A-F | dc` \
        `(xcoloredit ; echo) | 
                sed 's/^$/0ppp/;
                     s/^#\(..\)\(..\)\(..\)$/16i\1p\2p\3p/
                     1q' | 
                        tr a-f A-F | dc` |
    xv  -root -quit -slow24 - &
----------------------------------------------------------------------

That took me *some* time.

--
Juergen Nickelsen
Newsgroups: alt.hackers
From: zowie@daedalus.stanford.edu (Craig "Powderkeg" DeForest)
Subject: Re: net.views -- computer crime
Organization: Stanford Center for Space Science and Astrophysics
Date: 3 Oct 92 22:10:28

In article <1992Oct02.212017.12779@utoday.com> wagner@utoday.com writes:
		    Do you consider computer crime to be 
		    a threat to your system?

Hey, Mitch --

	This is *alt.hackers*, not *alt.crackers*.  Maybe you should post
to comp.risks, or comp.security.announce, or news.announce.newusers, or
something...

ObHack: 
	Well, I haven't been hacking on that much lately -- just this 
bletcherous numerical astrophysical simulation code that's really more of
a hack than a crock.  I'm working on it on a DECstation, which uses a 
totally evil system to store symbol information in object files, making
source-level debugging nearly impossible.  This is probably a commonly done
thing -- but I was happy when I thought of it:

	int debug_level = 0;
	#define DEBUG_LEVEL(x) if((x)<DEBUG_LEVEL) ; else
	#define DEBUG(foo) do {DEBUG_LEVEL(x) {fputs(stderr,foo); \
                                               fflush(stderr)}} while(0)

Then you can use DEBUG_LEVEL and DEBUG as normal statements in the code,
without getting if-else or other compound statements confused.
(The do {} while(0) thing is way old news...)
--
Craig `No, I *really* *do* play piano in the marching band!' DeForest
                       zowie@daedalus.stanford.edu
From: checker@acf5.NYU.EDU (checker)
Newsgroups: alt.hackers
Subject: OS/2 SVGA Hack
Date: 3 Oct 92 02:45:08 GMT
Organization: New York University


I just bought a new 17" monitor for running OS/2 2.0.  It is the Nanao
F550i, and it sure is nice.  One of the neatest things about it is the
amount of control you have over the picture.  All of the controls are in
the front, and it will memorize all kinds of settings.  Anyway, it is a
pretty high quality monitor, so you can spread the picture to the very
edges of the tube without it distorting, and you end up with a lot more
real estate.  I got very used to having this large display area, so when
I found that the Trident 1024x768 video mode that I wanted to use didn't
spread all the way out horizontally, I was pretty upset.  I lived with a
half inch on each side for a week or so, then I decided to call Nanao. 
The tech support guy said that the proportion of sync info to video data
is too high in that mode, and that an expensive adapter would let you
set the front and back porch times, but he doubted that the cheapo
Trident card would have the eeprom, or whatever.

I was about to give up when I remembered that there was some sort of
picture tuner program on the Trident BBS, so I took a look.  Sure
enough, it allowed you to adjust the spread.  I thought I was home free
when I realized that it wanted to load a DOS device driver to change the
CRTC register settings on each mode switch (because there is no way of
storing that info on the card).  Well, I run OS/2, so I can't load a DOS
device driver and have it active for the OS/2 desktop, which is what I
wanted to fix.  The tuner program saves the register information in two
files, a text file and the device driver.

I decided to look into how the Trident OS/2 drivers go about setting the
video modes.  There is a text file called svgadata.pmi which contains
all sorts of register information that is generated so that OS/2 can
save SVGA modes correctly when going from full screen to windowed
sessions, but surely the desktop driver didn't use that file, right? 
After all, the desktop driver is contained in its own DLL, so why would
it need to read this text file?

Oh heck, I decided that it was worth a try, so I loaded the svgadata.pmi
and the text file generated by the tuner program into uemacs, and went
about trying to decode them.  I found the correct video modes, and then
had to unravel which registers were loaded where and with what.  I have
done a fair amount of VGA programming, so I sort of knew what to look
for, but these files definitely weren't meant for human consuption.  At
last, I decided I had changed all of the relevant settings, and I shut
down and rebooted.

Well, it wouldn't be a hack if it hadn't worked!  Perfect spread, all
17" of the monitor filled, etc.  Goodness knows why the desktop driver
reads this silly text file, but I'm glad it does.

ObHack:  Using named pipes and a daemon to let a DOS session launch OS/2
native programs.

Chris
Newsgroups: alt.hackers
From: gray@ml.csiro.au (Randall Gray)
Subject: Huh? 'bond' is only 7 chars not 9!
Followup-To: poster
Reply-To: Randall Gray <gray@ml.csiro.au>
Organization: CSIRO Division of Fisheries
Date: Fri, 2 Oct 1992 15:39:08 GMT
Expires: Fri, 16 Oct 1992 16:39:08 GMT


Jimbo@*.il writes ...


	Well so i think i have to say thanks to all those ppl that
	r giving class about how to use Yes....
	i finaly find how to use this stupid program that followowaw...
	yes... i was thinking it was just a stupid programmmm but i was
	defenitivly WRONG ...
	so test it... by doing:     yes | a.out 
	you will be surprise... sure....

	btw: i didnt have the time to #include <signal.h> 
	     should be better with it... ;)

	<------cut here ------->

        #include <stdio.h>
        #include <strings.h>
        main()
        {
        char bond[007];
        for(;;) {
        printf("would you like to ear a niiiiice thing? (y/n)");
        strcpy(bond,"        ");
        gets(bond);
        if(bond[0]==121) {
        printf("%c\n",7);
        }
        else printf("Whats???\n");
        }
        }

	<----------------------->
  
 
Umm, Did I miss something?  Did Jimbo leave his terminal unattended?
Are we all the victims of some perfidious plot? Do we get a free
bamboo steamer if we order now?

-------------------------------------------------------------------
Randall -- gray@ml.csiro.au

Randall Gray 			CSIRO Marine Laboratories, 
				Castray Esplanade
CSIRO Division of Fisheries	GPO Box 1538
Pelagic Fisheries		Hobart, Tasmania  7001
				AUSTRALIA

We live in a non-causal universe, everything else follows from that
-------------------------------------------------------------------


ObHack:
	I had a printer which had "Epson compatible" graphics.  Hah.
the command set was the same, but there was one serious flaw -- the
normal ascii spaces were different widths.  I was trying to use a 
program which was really helpful -- it dumped spaces instead of 
blank graphics whenever it could in order to speed things up. I
carefully studied the command set and the dip switch settings.  Tried
all the likely combinations which might give me what I wanted, but
to no avail ... it all stemmed from the fact that the Epson and my 
printer had a fundamentally different base number of dots per inch.  

I ended up writing a piece of code which could trap all printer calls
and understand (just) enough of the command set to parse the graphics
codes so that it could substitute bitmapped graphic blanks for spaces.
I had a nice little software switch to turn it on and off again so that
I could print *normal* files and still have the printer behave itself.
'Course if I were to do it again, it would substitute spaces for 
graphics *correctly*, but the printer died, and the (genuine) Epson I
have now has a whole set of *different* incompatibilities  :-)



					R.
From: dansmith@Autodesk.COM (Daniel Smith)
Newsgroups: alt.hackers
Subject: Re: Finally a use for yes
Date: 26 Sep 92 20:02:35 GMT
Organization: Autodesk Inc., Sausalito CA, USA


In <EekbLUO00VB4M6ywFb@andrew.cmu.edu> tm8t+@andrew.cmu.edu (Tod McQuillin) writes:

> As a side note, has anyone ever found an interesting, useful way to
> take advantage of /usr/ucb/yes?  The ostensible use is for piping into
> programs like fsck, but I ask you, do you know anyone at all who's
> actually done that?
> --

	Well, you can make a list of numbers...

yes "" | cat -n | head -100

	So, an alias could be:

alias range \
'@ r=`expr \!:2 - \!:1`; @ r++; yes "" | cat -n | head -\!:2 | tail -${r}'
bermuda:home/dansmith :-) range 2 4
     2
     3
     4
bermuda:home/dansmith :-) range 10 20
    10
    11
    12
    13

	and so on,.. this falls apart for large numbers that
head or tail can't handle.  It also doesn't handle the number '0'.
I'd go on, but it's not a rainy afternoon :-)

				Daniel
-- 
     Daniel Smith, Autodesk, Sausalito, California, (415) 332-2344 x 2580
	      Disclaimer: written by a highly caffeinated mammal
	    dansmith@autodesk.com            dansmith@well.sf.ca.us
From: Jimbo@*.il
Newsgroups: alt.hackers
Subject: (none)
Date: 1 Oct 92 07:49:20 GMT

Well so i think i have to say thanks to all those ppl that
r giving class about how to use Yes....
i finaly find how to use this stupid program that followowaw...
yes... i was thinking it was just a stupid programmmm but i was
defenitivly WRONG ...
so test it... by doing:     yes | a.out 
you will be surprise... sure....

btw: i didnt have the time to #include <signal.h> 
     should be better with it... ;)

<------cut here ------->
        #include <stdio.h>
        #include <strings.h>
        main()
        {
        char bond[007];
        for(;;) {
        printf("would you like to ear a niiiiice thing? (y/n)");
        strcpy(bond,"        ");
        gets(bond);
        if(bond[0]==121) {
        printf("%c\n",7);
        }
        else printf("Whats???\n");
        }
        }
<----------------------->

                     _______   --------------------------------------------
      ___           / *.il /  |  '' Just remember hackers have ethics...'' |
      // o ______  /______/   |          a root wrote that...              |
     //_<_/ / / <_/_) (_)      --------------------------------------------
    //
~-_-'
  
 
Newsgroups: alt.education.disabled
From: wallg@meena.cc.uregina.ca
Subject: RE: need advice
Date: 28 SEP 92 23:51:25 GMT
Organization: University of Regina, Regina, Sask., Canada

I work with learning disabled teenagers and I sometimes use Kid Talk on the
Mac to help them learn new vocabulary.  It will repeat sentences that are
typed in.  Hope this is some help to you Dave Brown.
From: lpw@lance.esd.sgi.com (Lance Welsh)
Newsgroups: alt.education.disabled
Subject: Re: Computer input
Date: 27 Sep 92 07:11:41 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA


> I need information on someone who can tell me where I can
> get a voice input system for an IBM compatible system.

Here are three systems I am familiar with (there are many more):

	Covox (Northwest US - OR, WA?):
		Discrete utterances (one word at a time) and
		Speaker independent (must be trained for each speaker).
		Main advantage is that it is cheap (a few hundred $US).

	Dragon Systems, Inc. (Newton, MA)
		Continuous Speech and speaker dependent.
		The products range in capability and price,
		but I think they start over $1000.
		
	Scott Instruments, Inc. (Denton, TX)
		Discrete utterances and speaker independent.
		They start out at over $1000 too.
		
All these require a plug-in slot and software installation.
Not to be discouraging, but all these work much worse than
a human (especially the Covox).  But they have their applications.

-Lance.
From: rmutton@alfred.carleton.ca (Ross Mutton)
Newsgroups: alt.education.disabled
Subject: Speech to Text
Summary: Computerized Speech to Text Software/Hardware
Date: 30 Sep 92 12:43:39 GMT
Organization: Carleton University

We are broadcasting university credit courses on television and are
looking for a simple way of quickly (ideally in real time) of
captioning the lectures.  We are in the process of acquiring software
and hardware to do the actual captioning, but we still must go through
the process of transcribing the lectures into a word processing
program and then captioning the tapes.  Voice recognition would be
ideal, but I gather that is still a few years away from being
instantaneous voice to printed text.  I have recently read there is a
package called C-print which uses a type of shorthand that permits
trained personnel to type into the computer at the same speed as
someone speaks (similar to court stenographer) with resultant text
file.  Has anyone had any experience with this or know where I might
get more info?

Ross Mutton,
Carleton University, Ottawa, Canada
rmutton@ccs.carleton.ca
613-788-3814  FAX 613-788-3928
From: anderson@acs.ucalgary.ca (Terry Anderson)
Newsgroups: alt.education.bangkok.cmc
Subject: Re: test sent from unibase LOOKS GOOD!
Date: 5 Oct 92 21:43:59 GMT
Reply-To: <bancmc-m@udevdiv.unibase.sk.ca>
Organization: Unibase Telecom Ltd.
Originator: bancmc-m@udevdiv.unibase.sk.ca

Hi Leigh
These 2 messages sent didn't seem to have been resent after being delivered to
you from the Calgary list, so at least your system is noting their origion and
not resending them - progress no?
> 
> This is a atest sent from unibase
> -- 
> 
> Leigh Calnek
> Internet: leigh@unibase.unibase.sk.ca
> voice: 306/789-9007
> 


-- 
Terry Anderson
Dept. of Educational Psychology                     Ph 403-284-0922
University of Calgary                              Fax 403-289-4471    
Calgary, AB. Canada T2N 1N4              InterNet ANDERSON@ACS.UCALGARY.CA
From: leigh@unibase.Unibase.SK.CA (Leigh Calnek)
Newsgroups: alt.education.bangkok.cmc
Subject: test 8
Date: 6 Oct 92 00:21:13 GMT
Reply-To: <bancmc-m@udevdiv.unibase.sk.ca>
Organization: Unibase Telecom Ltd.
Originator: bancmc-m@udevdiv.unibase.sk.ca

this is tes 8

-- 

Leigh Calnek
Internet: leigh@unibase.unibase.sk.ca
voice: 306/789-9007
From: leigh@unibase.Unibase.SK.CA (Leigh Calnek)
Newsgroups: alt.education.bangkok.cmc
Subject: test 9
Date: 6 Oct 92 00:26:39 GMT
Reply-To: <bancmc-m@udevdiv.unibase.sk.ca>
Organization: Unibase Telecom Ltd.
Originator: bancmc-m@udevdiv.unibase.sk.ca

and this is test 9.
-- 

Leigh Calnek
Internet: leigh@unibase.unibase.sk.ca
voice: 306/789-9007
From: anderson@acs.ucalgary.ca (Terry Anderson)
Newsgroups: alt.education.bangkok.cmc
Subject: Test
Date: 5 Oct 92 19:38:42 GMT
Reply-To: <bancmc-m@udevdiv.unibase.sk.ca>
Organization: Unibase Telecom Ltd.
Originator: bancmc-m@udevdiv.unibase.sk.ca

This is a test of the automatic link between BANCMC-M and the Usenet group
alt.bangkok.cmc

-- 
Terry Anderson
Dept. of Educational Psychology                     Ph 403-284-0922
University of Calgary                              Fax 403-289-4471    
Calgary, AB. Canada T2N 1N4              InterNet ANDERSON@ACS.UCALGARY.CA
From: anderson@acs.ucalgary.ca (Terry Anderson)
Newsgroups: alt.education.bangkok.cmc
Subject: Re: Test
Date: 5 Oct 92 20:25:28 GMT
Reply-To: <bancmc-m@udevdiv.unibase.sk.ca>
Organization: Unibase Telecom Ltd.
Originator: bancmc-m@udevdiv.unibase.sk.ca


Hi Leigh
Yes, we did get a copy of the message sent back. I think we have to either keep
juggling the order of the header lines until we get them in an order that your
software likes or you alter your software to look for the line that says
SENDER: or some combination of the 2. It is strange that your sofware jumped on
the ERROR: line even when it was in 2 different positions!
You can test the software yourself by mailing to bancmc-m@acs.uclagary as it
only inlcudes myself, Kim and bancmc-m@udevdiv. I'll change it back to the full
list when we have it fixed.
Regards
Terry
> 
> OK....that got through to the news group.  Two problems remain:
> 1) each message incoming message from calgary is being sent to
> leigh for approval....that needs to be fixed.
> 
> 2) I suspect that you got a copy sent back because it again
> arrived indicating it was from -request.  I am just waiting for
> a call from roe to check and see exactly what field we do pick
> up...will get back to you as soon as I hear from him.
> 
> Leigh.
> 
> PS. I have shut down distribution of this discussion beyond
> unibase here...so we can do as much as we like.
> 
> -- 
> Dr. Ray Petracek                   uucp: petrraa@unibase.uucp
> Professor of Education             Internet:
> petrraa@unibase.unibase
> University of Regina
> 


-- 
Terry Anderson
Dept. of Educational Psychology                     Ph 403-284-0922
University of Calgary                              Fax 403-289-4471    
Calgary, AB. Canada T2N 1N4              InterNet ANDERSON@ACS.UCALGARY.CA