HDTenEightyP/NetNews huggingface dataset:
From: pedersen@seas.smu.edu (Ted Pedersen)
Subject: HELP with scanf/getchar!
Organization: SMU School Of Engineering and Applied Science
Date: Mon, 9 Nov 1992 16:25:47 GMT


The following is an annoying little problem that I just can't figure
out. I'm trying to get the program to prompt me for how many
characters I want to enter and then once I have said how many
characters I want I want the program to ask me to input those
characters.

What really happens is that it asks me how many characters I want. I
input that and then my program sits. When I input the appropriate
number of characters the program goes ahead and prints out the message
asking for characters and then runs the program ok. 

It seems like this is running out of order. Anyone have any idea as to
what might be going on?

Thanks,
Ted Pedersen
--------------------------------------------------------------------
#include <stdio.h>
#include <ctype.h>

#define  SIZE  128

int     storage[SIZE];

void count_char (void);


void count_char (void) {
    char    character;
    int     count,
            loop,
            output;


    printf ("Enter number of characters you want : ");
    scanf ("%d\n", &count);
    printf ("Enter your characters :");
    for (loop = 0; loop < count; loop++) {

        character = getchar();
        storage[character]++;

    }

    for (output = 0; output < SIZE; output++) {
        if (storage[output] >= 1) {
            printf ("\n %c (ascii code = %d) occurs %d times",
                    output,
                    output,
                    storage[output]);
        }
    }
}

main () {
    count_char ();
}
------------------------------------------------------------------
%a.out
Enter number of characters you want : 4
abcd                       
Enter your characters :
 a (ascii code = 97) occurs 1 times
 b (ascii code = 98) occurs 1 times
 c (ascii code = 99) occurs 1 times
 d (ascii code = 100) occurs 1 times

%exit
From: csstddm@brunel.ac.uk (David Martland)
Newsgroups: comp.programming
Subject: SPREADSHEETS under Unix and X
Date: 12 Nov 92 11:55:42 GMT
Reply-To: csstddm@brunel.ac.uk
Organization: Brunel University

I would like to know about any good Spreadsheet programs that run under
Unix and X (or OpenLook)
_______________________________

                       David Martland
                  Dept. of Computer Science
                      Brunel University
                       United Kingdom

                  David.Martland@brunel.ac.uk
                  Tel: 0895 - 274000 ext 2139
                  Fax: 0895 - 256186
From: pcastine@tubkom.prz.tu-berlin.de (Peter Castine)
Newsgroups: comp.programming
Subject: Re: Looking for Mac assemblers
Date: 12 Nov 92 14:57:12 GMT
Organization: TU-Berlin TUBKOM, Germany

In article <1992Nov10.125006.186@physc1.byu.edu> seth@physc1.byu.edu writes:
>Hi. I am looking for a good Mac assembler that is sys.7 savvy and 32-bit clean,
>but I do not want to spend the big bucks for MPW Assembler, and I have not
>found Consulair Development System adequate. Does anyone out ther know of any
>other assemblers, be they shareware or commercial?


You could do worse than to use THINK C's inline assembler. IMHO.


================================================================================
 Peter Castine                            |
 Technische Universitaet Berlin           |  "Errors and anachronisms ought to
 Sekretariat H51                          |   be few. If they do occur, I take
 Fachgebiet Kommunikationswissenschaften  |   full responsibility like Richard
 Strasse des 17. Juni 135                 |   Nixon..."
 W-1000 Berlin 12                         |                     -- Gore Vidal
 Germany                                  | 
================================================================================

-- 
================================================================================
 Peter Castine                            |
 Technische Universitaet Berlin           |  "Errors and anachronisms ought to
 Sekretariat H51                          |   be few. If they do occur, I take
Newsgroups: comp.programming
From: saeed@a.cs.okstate.edu (SAEED FAISEL)
Subject:  BIG arrays in TC
Organization: Oklahoma State University, Computer Science, Stillwater
Date: Fri, 6 Nov 92 21:42:33 GMT


/*
	PLEASE HELP !!!

	I am trying to allocate two arrays of 512x512 each.

	the following code compiles successfully on TC 2.0
	but cannot allocate the desired memory.

	what do I need to do ?
*/

#include <mem.h>
#include <stdio.h>

#define		Image_Size	(unsigned long) (512 * 512)

main ()
{
	unsigned char far	*I, *O;

	if ((I = farcalloc (Image_Size, sizeof (unsigned char))) == NULL)
		printf ("memory allocation error.\n");
	else
		printf ("%ld bytes allocated at %Fp\n", Image_Size, I);

	if ((O = farcalloc (Image_Size, sizeof (unsigned char))) == NULL)
		printf ("memory allocation error.\n");
	else
		printf ("%ld bytes allocated at %Fp\n", Image_Size, O);
}
-- 

Faisel Saeed
Computer Science Department,   Oklahoma State University,   Stillwater, OK 
---------------------------------------------------------------------------
From: peterme%ocf.Berkeley.EDU@ucbvax.Berkeley.EDU (Peter Merholz)
Newsgroups: comp.society
Subject: Film on Computers and Society/Computer Culture
Date: 11 Nov 1992 08:26:56 GMT
Organization: U.C. Berkeley Open Computing Facility

I'm doing research for a film proposal, the topic being how computers are
cultural phenomena and various permutations of computers and society,
computers and culture, etc. This is for an anthropology class, so situating
computers in a *cultural* context is extremely important. One idea I'm
playing with is the culture of people out there who lead their lives
through computers (more than just use them as a tool for work, but use
telecommunications for social interaction, etc.). If you know of any
good articles in newspapers or periodicals, any good books, or any good
videos/tv shows/movies on this topic, PLEEZE e-mail me. Thanks! Your
help will be greatly appreciated and duely acknowledged.

--Peter M

--
*****************************************************************************
Peter Merholz                   *   MY GOD  * There is no god.
Research Assistant/             *    WHAT   * It's really quite that simple.
  Undergraduate F*ck-up         *   HAVE I  * Now, can't we discuss more
UC Berkeley                     *   DONE?!  * pertinent matters?
*****************************************************************************
Newsgroups: comp.society
From: jones@ils.nwu.edu
Subject: New Ph.D. Program
Organization: institute for the learning sciences
Date: Mon, 9 Nov 1992 20:11:20 GMT

T h e   L  E  A  R  N  I  N  G    S  C  I  E  N  C  E  S    P h. D.   P r o g r
a m


Preparing individuals for productive work and a   high quality of life in
today's society is a complex  challenge for schools and corporations. To meet
this challenge, Northwestern University has established a unique Ph.D. program
in the Learning Sciences. Its purpose is to advance the research and
development of innovative educational structures and technologies.

Research in the Learning Sciences is aimed at creating environments that offer
all students a rich variety of opportunities for learning to think effectively,
both within and outside of formal learning settings. Graduate student and
faculty research efforts are supported by a multimedia, networked computing
infrastructure and an unusual commitment to developing technologies that
function effectively within their intended settings.

The Learning Sciences is a synthesis of computational and social science
disciplines including artificial intelligence, cognitive and developmental
psychology, educational research, linguistics, computer science, anthropology
and fields that develop strategies for teaching complex subject matter.

Through research, field work and apprenticeships, the Ph.D. program will
prepare its graduates to assume leadership roles in advancing the scientific
understanding and systematic practices of learning and teaching.

Students are eligible for competitively-awarded multi-year funding. To qualify
for financial aid, candidates should apply by January 15, 1992. Applications
received after that date may be  considered. Individuals with relevant teaching
experience or a strong academic  background in a field related to the Learning
Sciences are encouraged to apply. For  application materials or for further
information, contact:

Professor Roy Pea
Ph.D. Program Chair
The Learning Sciences
Northwestern University
1890 Maple Avenue
Evanston, IL  60201
phone: 708-491-8152
fax:    708-491-5258
email: jones@ils.nwu.edu
Date: 02 Nov 92 12:00:22 EST
From: Dave King <71270.450@compuserve.com>
Newsgroups: comp.society.privacy
Subject: Risks Of Cellular Speech
Organization: Computer Privacy Digest
X-Submissions-To: comp-privacy@pica.army.mil
X-Administrivia-To: comp-privacy-request@pica.army.mil
X-Computer-Privacy-Digest: Volume 1, Issue 096, Message 2 of 8

[Moderator's Note:  This was forwarded from the Risks Digest by Monty
Solomon <monty@proponent.com>.   ._dennis]

  [The following was distributed here at work by our security folks. I was
  surprised at the degree to which cellular traffic has apparently become
  public speech.  But then, perhaps my surprise is just a reflection of my
  naivete.  I'm not sure how Canada's laws compare to ours, but given how
  difficult it must be to catch someone at this, I can't imagine things are
  much different here in the 'States.  (But then if it's so difficult, how'd
  they do the study???)  Dave]

Two Bell Canada security managers shared some startling data with us recently.
In a three-month study of the Metro Toronto area earlier this summer, Bell
found that 80 percent of all cellular telephone traffic is monitored by third
parties.  Even more eye-opening is the fact that 60 percent of monitored calls
are taped for closer scrutiny and culling of marketable information.  The
chance of being monitored and taped is even higher in rural areas, where air
traffic is lighter. Scanners cost as little as $200, and are sold in virtually
every shopping mall in Toronto.

Marketable information includes the obvious -- mergers, take-overs, market and
product plans, but the listeners are also looking for voice/phonemail access
codes and passwords.

The digitized tones are translated into numbers quite easily. "Phone phreaks",
the telecommunications equivalent of computer hackers, use these numbers to
break into voicemail systems. One misuse which is growing in frequency is the
setting up of "pirate" voicemail boxes, often by organized crime.  Pirated
boxes give them the ability to disseminate information on drug deals, as one
example, with little or no risk of detection.

We ask you to be extremely cautious when using your personal or business
cellular phone.  Do not discuss confidential business matters, and avoid
calling in for phonemail messages via your cellular phone.

David L. King, IBM SE Region Information & Telecomm Systems Services Department
CAY, Mail Drop D072, 10401 Fernwood Road, Bethesda MD 20817 301 571-4349
Date: 4 Nov 92 20:41:54 GMT
From: "Wm. L. Ranck" <ranck@joesbar.cc.vt.edu>
Newsgroups: comp.society.privacy
Subject: Re: Clinton Endorses Right to Information Privacy
Organization: Computer Privacy Digest
X-Submissions-To: comp-privacy@pica.army.mil
X-Administrivia-To: comp-privacy-request@pica.army.mil
X-Computer-Privacy-Digest: Volume 1, Issue 097, Message 2 of 8


CPSR (cpsr@csli.stanford.edu) wrote:
: 
: Excerpts from - Clinton/Gore Campaign Pledges Strong Consumer
: Protections; Blasts Bush/Quayle Record -  Oct. 26
: 
:                                               * * *
:  A Clinton/Gore Consumer  Bill of Rights will include:
: 
:          1.  The Right to Safety - To be protected against the
:              marketing of goods which are hazardous to health or
:              life.

While the other stuff on the list doesn't bother me this one sure does.
Basically it says that the government knows what is good for me and will
not let me decide.  How long till this results in making alcohol and 
tobacco illegal?  How long till it makes "dangerous" recreational activity
illegal?  "Sorry, skis and ski poles are dangerous, you can't buy them 
anymore." 
   If a product is possibly dangerous then requiring some reasonable labeling
is fine, but to "protect" the public from what is considered dangerous is
not.
--

*******************************************************************************
* Bill Ranck                                          ranck@joesbar.cc.vt.edu *
*******************************************************************************
Date: 9 Nov 92 12:42:26
From: Stephen M Jameson <sjameson@fergie.dnet.ge.com>
Newsgroups: comp.society.privacy
Subject: Re: SSN and unique IDs
Reply-To: sjameson@atl.ge.com
Organization: General Electric Advanced Technology Labs
X-Submissions-To: comp-privacy@pica.army.mil
X-Administrivia-To: comp-privacy-request@pica.army.mil
X-Computer-Privacy-Digest: Volume 1, Issue 098, Message 6 of 8

In article <comp-privacy1.96.6@pica.army.mil> sjameson@fergie.dnet.ge.com (Stephen M Jameson) writes:
>>
>>A scenario: NIST standardizes such an algorithm (perhaps with some
>>local parameters so that a third party with my SSN and a company's FID
>>_still_ couldn't get my ID) and use of it becomes compulsory as use of
>>SSNs by private entities becomes illegal; phased in over a 4-5 year
>>period, perhaps.
>>
 ...
>of privacy on the part of the individuals who are not compelled or
                                                   ^^^

Of course this "not" shouldn't be here.  It should read:

I know that "privacy" as used in this newsgroup usually refers to specific
kinds of privacy, but doesn't the whole idea of "use of it becomes compulsory"
and "becomes illegal" denote government violation of privacy on the part of the
individuals who are compelled or prohibited from taking certain actions?
--
Steve Jameson                           General Electric Aerospace 
sjameson@atl.ge.com                     Advanced Technology Laboratories
                                        Moorestown, New Jersey              
****************************************************************************
**  . . . but I do not love the sword for its sharpness, nor the arrow    **
**  for its swiftness, nor the warrior for his glory.  I love only that   **
**  which they defend . . .                                               **
**    -- Faramir, "The Two Towers"                                        **
****************************************************************************
Date: Thu, 5 Nov 1992 00:30:35 GMT
From: zoltan egyed <egyed@lns62.tn.cornell.edu>
Newsgroups: comp.society.privacy
Subject: Re: ssn and traffic tickets
Reply-To: EGYED@lns62.tn.cornell.edu
Organization: Wilson Lab, Cornell U., Ithaca, NY, 14853
X-Submissions-To: comp-privacy@pica.army.mil
X-Administrivia-To: comp-privacy-request@pica.army.mil
X-Computer-Privacy-Digest: Volume 1, Issue 096, Message 8 of 8

In article <comp-privacy1.94.5@pica.army.mil>, Eric Hunt <bsc835!ehunt@uunet.uu.net> writes:
>> In article <comp-privacy1.92.6@pica.army.mil> fns-nc1!fns-nc1.fns.com!vib@concert.net (Victor Bur) writes:
>> As for traffic tickets, I don't think it's illegal to forget your SSN
>> and to not have it written down anywhere handy.  Just tell the cop he
>> will have to forgive your traffic infraction because your SSN is not
>> available.
>
>In Alabama, your SSN is printed on your driver's license. It's *not* the
>DL#, but it is printed on the card itself.
>
>How many other states also have the SSN printed on the license?
>---
>Eric Hunt                     | bsc835!ehunt@uunet.uu.net (preferred)
>Birmingham-Southern College   | eric.hunt@the-matrix.com
>Birmingham, Alabama 35254     |          ^--- Nothing longer than 100 lines
>
>
It's on my Tennessee driver license, called as "audit number". :-((((((

  Zoltan
Date: Thu, 5 Nov 1992 00:49:35 -0800
From: Robert Lenoil <lenoil@catalogic.com>
Newsgroups: comp.society.privacy
Subject: 1-800-CURB-DWI
Organization: Catalogic, Mountain View, California [Voice: 415-961-4649]
X-Submissions-To: comp-privacy@pica.army.mil
X-Administrivia-To: comp-privacy-request@pica.army.mil
X-Computer-Privacy-Digest: Volume 1, Issue 096, Message 1 of 8

The following article appeared in comp.dcom.telecom:

>From: dwn@dwn.ccd.bnl.gov (Dave Niebuhr)
>Subject: Cell Phones to Cut DWI Requested by State Police
>Date: 2 Nov 92 20:35:36 GMT
>Organization: TELECOM Digest
>
>A letter to the editor in today's {Newsday} (11/02/92) by a New York
>State Police Captain requested the use of cell and land-line phones
>for reporting drunk and/or dangerous drivers.
>
>The article reads:
>
>"Regarding the letter by Dorothy Enright ["Put Car Phone to Good Use,"
>Oct. 19]: "The Division of State Police has invited the public to
>assist the police in DWI enforcement by establishing the *DWI
>(numerically, it's *394).  By dialing that number the public may
>report persons who are suspected of operating vehicles under the
>influence of alcohol or drugs.  If the area of the reported violation
>is customarily patrolled by a local police agency, the agency having
>the nearest available patrol will be notified and asked to respond and
>investigate.
>
>"This effort is backed up by a toll-free telephone land-line,
>1-800-CURB-DWI (1-800-287-2394).  Although the system is intended
>primarily for reporting suspected intoxicated drivers, the reckless
>and erratic operators described by Enright constitute a hazard that
>the state police wish to be informed of."
>
>
>Dave Niebuhr      Internet: niebuhr@bnl.gov / Bitnet: niebuhr@bnl
>Brookhaven National Laboratory Upton, NY 11973  (516)-282-3093

I wonder what safeguards are built into this system. It seems all too easy
to "report" someone and cause them no end of grief. Can you call this
number and file an anonymous report, and would that be sufficient grounds
for police to stop and search a person's vehicle? That could be a great way
to ruin the day of someone who double-parked in front of your car.

[Moderator's Note:  This doesn't really have any thing to do with privacy
but I thought I would let it in due to it potential to be abused.
 ._dennis]
Date: Thu, 5 Nov 1992 22:44:03 -0800 (PST)
From: Jim Budler <jimb@silvlis.com>
Newsgroups: comp.society.privacy
Subject: Re: Computer Privacy Digest V1#096
Organization: Computer Privacy Digest
X-Submissions-To: comp-privacy@pica.army.mil
X-Administrivia-To: comp-privacy-request@pica.army.mil
X-Computer-Privacy-Digest: Volume 1, Issue 097, Message 8 of 8

: In article <comp-privacy1.94.5@pica.army.mil>, Eric Hunt <bsc835!ehunt@uunet.uu.net> writes:
: >> In article <comp-privacy1.92.6@pica.army.mil> fns-nc1!fns-nc1.fns.com!vib@concert.net (Victor Bur) writes:
: >> As for traffic tickets, I don't think it's illegal to forget your SSN
: >> and to not have it written down anywhere handy.  Just tell the cop he
: >> will have to forgive your traffic infraction because your SSN is not
: >> available.
: >
: >In Alabama, your SSN is printed on your driver's license. It's *not* the
: >DL#, but it is printed on the card itself.
: >
: >How many other states also have the SSN printed on the license?
: It's on my Tennessee driver license, called as "audit number". :-((((((

There was a period when it was on the California drivers license. But it
stopped being on mine a least two licenses ago, about 8 years ago.

When it first appeared on my license, long before I entered the era
of answering "Why do you need to know?" to the request for my SSN, I
thought it meant I no longer had to stuff an extra ID in my wallet.

Of course, since my drivers license now has a mag stripe on the back, 
how long is it before the grocery store starts swiping it through the
cash register to validate a check?

jim
Date: Wed, 4 Nov 1992 20:12:50 GMT
From: Chris Nelson <nelsonc@colossus.cs.rpi.edu>
Newsgroups: comp.society.privacy
Subject: SSN and studying
Organization: Rensselaer Polytechnic Institute, Troy, NY
X-Submissions-To: comp-privacy@pica.army.mil
X-Administrivia-To: comp-privacy-request@pica.army.mil
X-Computer-Privacy-Digest: Volume 1, Issue 097, Message 1 of 8

Today, I planned to meet a friend at the campus library to study.  So
that we wouldn't disturb others, I stopped at the front desk to
reserve a study room.  The form I was given had a blank for "SSN".

I know that RPI uses the social security number as a student ID for
most non-foriegn students and am accustomed to the staff's failure to
distinguish between SSN and student ID number (a rather non-PC,
non-multicultural affront to our guests, I'd say).  To combat this
failure, I make a point of asking anyone who asks for my "sosh"[sic]
if what they want is my student ID number.

In this case, I was told that, no, what they needed was my SSN as that
was what the Bursar billed by and they considered that number security
against damage to the room, failure to return the key, etc.  Setting
aside, for the moment, the fact that I could trash a large part of the
library outside the study rooms without giving anyone my student
number (or any other form of ID), WHY ON EARTH SHOULD I HAVE TO GIVE A
LIBRARIAN MY SOCIAL SECURITY NUMBER TO STUDY WITH A FRIEND IN THE
LIBRARY?!?

If you read this on rpi.general, I'm very interested in your comments.
If you read this on c.s.p, it's a flame or an anecdote as you wish to
interpret it; I'm sorry if I'm wasting bandwidth (and I guess I'd
welcome your comments, too).

                                  Chris


-- 
 ------------------------------+----------------------------------------------
Chris Nelson                  |  Rens-se-LEER is a county.
Internet: nelsonc@cs.rpi.edu  |  RENS-se-ler is a city. 
CompuServe: 70441,3321        |  R-P-I is a school in Troy!
Date: 3 Nov 92 17:55:36 GMT
From: Ted Lemon <mellon@ncd.com>
Newsgroups: comp.society.privacy
Subject: Re: Blockbuster announces plan to use data from video rentals
Organization: Computer Privacy Digest
X-Submissions-To: comp-privacy@pica.army.mil
X-Administrivia-To: comp-privacy-request@pica.army.mil
X-Computer-Privacy-Digest: Volume 1, Issue 097, Message 3 of 8


nolan@helios.unl.edu (Michael Nolan) writes:
>Well, you have to use your drivers license to get a Blockbuster card, and
>they don't handle X rated movies, much less 'adult' movies.  (At least,
>that's how it works in Lincoln, NE.)

That's the way it works in the Bay Area, too.   BlockBuster Video seems to
be a pretty puritan company - they won't even provide some pretty mainstream
but controversial movies.   They don't seem to have a problem with female
nudity, but if there are nude males in your flick, forget it.

Needless to say, Blockbuster does not get my business.   If you don't like
their business practices, whether they have to do with privacy issues or
censorship issues, I suggest that you vote with your pocketbook. :'>

				_MelloN_
--
mellon@ncd.com						uunet!lupine!mellon
Member of the League for Programming Freedom - to find out how software
patents cost you your right to program, please contact league@prep.ai.mit.edu.
Date: 7 Nov 92 18:26:57
From: wbe@bbn.com (Winston Edmond)
Newsgroups: comp.society.privacy
Subject: Re: ssn and traffic tickets
Organization: Bolt Beranek and Newman, Inc., Cambridge, MA
X-Submissions-To: comp-privacy@pica.army.mil
X-Administrivia-To: comp-privacy-request@pica.army.mil
X-Computer-Privacy-Digest: Volume 1, Issue 098, Message 5 of 8

Eric Hunt <bsc835!ehunt@uunet.uu.net> asks:
>In Alabama, your SSN is printed on your driver's license. It's *not* the
>DL#, but it is printed on the card itself.
>
>How many other states also have the SSN printed on the license?

In Massachusetts, your SSN will be used as your driver's license number
unless you specifically request otherwise.  I vaguely recall that it took a
court case to force the Registry to make the option available.
 -WBE