HDTenEightyP/NetNews huggingface dataset:
From: geo@shark.mel.dit.CSIRO.AU (George Bray)
Subject: Re: Speeding up a search/replace/sort routine
Organization: Sand Consulting, guest of CSIRO DIT
Date: Sun, 12 Apr 92 07:24:38 GMT

In article <1992Apr11.191959.5116@macc.wisc.edu> jbnash@vms.macc.wisc.edu writes:
>Hi
>I have a script here that turns the words of a field into a list of words and 
>then sorts them alphabetically.  Problem is this script has to look at every 
>character of every word, so fields with a lot of text take many minutes to sort. 

Your script will be lots faster if you work with variables in your loop,
rather than fields.

Use the Rinaldi FullReplace XFCN to change spaces to returns.

get fld "Concordance file"
put Fullreplace(it,space,return) into it
sort lines of it 
put it into fld "Concordance file"

George
From: davids@c3.lanl.gov (David Simmons)
Newsgroups: comp.sys.mac.hypercard
Subject: Repeating Variables
Date: 15 Apr 92 23:44:40 GMT
Article-I.D.: newshost.1992Apr15.234440.7350
Organization: Los Alamos National Laboratory

I have a series of variables, and I want to look at them
through a repeat loop, but HC doesn't seem to want to do
this.  It is basically an array problem.

In C, I would say

for(i = 1; 1 < 10; i++)
  if row[i] == var[i]
	<doStuff>
  end if;

or some such.

Now, in HC, I want to do this:

<commands>
repeat with x = 1 to 5
  if row & x = var & x then
	<doStuff>
  end if
end repeat

But no such luck.

I've also tried:

repeat with x = 1 to 5
  put "row" & x into v1
  put "var" & x into v2
  if v1 = v2 then
    doStuff
  end if
end repeat

but this only compares the words "row1" to "var1", not the variables
row1 and var1.

Any suggestions for running this as a C-style array?

-- 


David G. Simmons
davids@lanl.gov

************************************************************
*							   *
*	All I'm asking for is a chance to prove		   *
*      	      that money can't make me happy		   *
*							   * 
************************************************************

"Any resemblance to real opinions is purely coincidental"
From: Jim.Williams@macnet.omahug.org (Jim Williams)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: QuickTime in HC2.1
Date: 10 Apr 92 22:53:45 CST
Reply-To: jim.williams@macnet.omahug.org
Organization: Macnet Omaha
Followup-To: comp.sys.mac.hypercard

Thanks for info re performance of QuickTime PICT compression. Decompression
time is not critical in my application (basically a photo index; bitmapped "thumbnails"
on cards with option of viewing grayscale PICT) but storage space is, so sounds
as if it's worth trying.

I know this is off topic, but re stinking UNIX editor w/no backspace: I think
most *can* backspace; are you set to the right terminal type?  Reading "termcap"
file might show whether and how backspace/delete can be enabled on your term.
From: David_Greg_Herlihy@cup.portal.com
Newsgroups: comp.sys.mac.hypercard
Subject: preserving text styles in containers
Date: Sat, 11 Apr 92 05:46:43 PDT
Organization: The Portal System (TM)

Is there any way to "get" the contents of a field containing words in
different styles (i.e., bold or italic) and "put it" in a different
field while preserving the text styles?  Perhaps an XCMD can do this?
Also, are there system 7 features which would now let you write the
contents of the field to a file in Microsoft Word and keep the different
text styles?   Thanks  David
From: deben@world.std.com (Robert J DeBenedictis)
Newsgroups: comp.sys.mac.hypercard
Subject: Standalone Stacks
Date: 12 Apr 92 01:56:23 GMT
Organization: The World Public Access UNIX, Brookline, MA

Is there anyway to run stand-alone HC stacks?
I want to write a stack that will talk to one
of those new modems with voice capabilities.
I want a stack that'll answer my phone.  But
I still want to use HC for other stuff while
the voice/modem stack is handling calls.

Another Message in the Bottle from
Robert DeBenedictis
Newsgroups: comp.sys.mac.hypercard
From: EIVERSO@cms.cc.wayne.edu
Subject: Re: Repeating Variables
Organization: Wayne State University, C&IT
Date: Thu, 16 Apr 1992 03:40:08 GMT

In article <1992Apr15.234440.7350@newshost.lanl.gov>
davids@c3.lanl.gov (David Simmons) writes:

>I have a series of variables, and I want to look at them
>through a repeat loop, but HC doesn't seem to want to do
>this.  It is basically an array problem.
>
>In C, I would say
>
>for(i = 1; 1 < 10; i++)
>  if row[i] == var[i]
>	<doStuff>
>  end if;
>
>or some such.
>
>Now, in HC, I want to do this:
>
><commands>
>repeat with x = 1 to 5
>  if row & x = var & x then
>	<doStuff>
>  end if
>end repeat
>
>But no such luck.
>
>I've also tried:
>
>repeat with x = 1 to 5
>  put "row" & x into v1
>  put "var" & x into v2
>  if v1 = v2 then
>    doStuff
>  end if
>end repeat
>

David, I think I owe you a non-cute response, so here goes.

You need a "do" statement to compare the contents of the variables.
Something like this should work for you in your repeat loop:

   do "get row" & x && "= var" & x
   if it is true then doStuff

There may be more elegant ways of doing this, but this will work.
Certainly not the most legible code, huh?

>but this only compares the words "row1" to "var1", not the variables
>row1 and var1.
>
>Any suggestions for running this as a C-style array?
>
>--
>
>
>David G. Simmons
>davids@lanl.gov

I might be a smartass, but I know my HyperTalk! ;-)

--Eric
Organization: Doctoral student, Social & Decision Sciences, Carnegie Mellon, Pittsburgh, PA
Newsgroups: comp.sys.mac.hypercard
Date: Wed, 15 Apr 1992 17:08:47 -0400 
From: "Kenneth L. Simons" <ks3y+@andrew.cmu.edu>
Subject: Re: >Book on Writing XCMDs
	<1992Apr15.132953.29409@kth.se>

Previous messages have referred to Gary Bond's book, XCMD's for
HyperCard.  This book will give you enough understanding of XCMDs to get
by, but it's no gem.  What made the difference for me to be able to
create XCMDs was Think Pascal (from Symantec), which includes a simple,
well-laid-out example of a set of four XCMDs.  That example doesn't tell
you how to do special activities like create dialog boxes or draw on the
screen or run a modem - for those activities, Bond's book may be of some
use.

Ken.
From: f85-tno@nada.kth.se (Tommy Nordgren)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: >Book on Writing XCMDs
Date: 15 Apr 92 13:29:53 GMT
Organization: Royal Institute of Technology, Stockholm, Sweden

In article <1992Apr15.105618.22455@fwi.uva.nl>, geniene@fwi.uva.nl (Geniene (Sheep)) writes:
|> The book I use for writing XCMD's is called :
|> 
|>              XCMD's for HyperCard written by Gary Bond
|>              ISBN 0-943518-85-7   
|> 
|> This book addresses both Pascal and C programmers.
|> 
|>                                                  Sheep.
Beware . There appears to be some serious bugs in the examples.
Tommy Nordgren.
From: byrne@cc.gatech.edu (Michael Byrne)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Color Hypercard
Date: 17 Apr 92 15:43:10 GMT
Organization: College of Computing

Not to be TOO much of a commercial, but if you really, really need
at least some color support right away, grad the "ColorizeHC" stack
(it's an XCMD).  Should be on Sumex... 

-------------------------------------------------------------
Mike Byrne                               byrne@cc.gatech.edu
Grad student in Psychology/Cognitive Science
25947 GA Tech Station, Atlanta, GA 30332

----->>>>    "Only the mediocre are always at their best."
From: mdc@spt.entity.com (Marty Connor)
Newsgroups: comp.sys.mac.system
Subject: Re: Neil, would you please comment on this?
Date: 10 Apr 92 02:38:57 GMT
Reply-To: mdc@spt.UUCP (Marty Connor)
Organization: Hacks 'R' Us, Cambridge, MA

Marty Said:
>I respectfully disagree with this attitude.  We do immense good for
>Apple Computer by using and testing their software for them.  The
>electronic distribution of their software helps to secure market share
>for their proprietary hardware and operating system.  

Mike Said:
>I disagree with your attitude.  Apple owns the software, and has sole
>discretion as to who can distribute it, where it can be distributed,
>and by what means it can be distributed.  No matter how pure your
>motives, no matter how much you may think that you are helping, no
>matter how altrusitic you may be, you do not have the right to unilaterally
>decide what to do with other people's property.

Mike, your response seems to have little to do with what I said.
I believe Neil was groveling unnecessarily.  I believe that electronic
distribution does a lot of good for Apple, Inc.  It gives them rapid
distribution, without packaging overhead, and gets the software into
the hands of the most sophisticated users most quickly.  I suggested
mostly that we as users have a bargaining position.

As someone who can be fired by Apple, I suppose I should expect that
you would have the attitude that anything they want to do with their
software (source of your paycheck) is fine.

As someone who cannot be fired by Apple, I believe that Apple, Inc.
should recognize that anything it does is NOT NECESSARILY alright with
me, legal though it may be.

And I furthur believe that it is fine for people such as myself to say
that I think people like Neil worship too easily.  Just as I think it
is fine for Werner to say he thinks I'm unstable.

It's called free speech and freedom of expression.  Part of the law,
as I remember.

-- 
Marty Connor, Marty's Computer Workshop, Maker of Keyboard & Mouse Wrist Rests
US Mail: P.O. Box 550, Kendall Square; Cambridge, MA 02142-0004
  Voice: (617) 491-6935, Fax: (617) 491-7046
    Net: mdc@entity.com, or ...{harvard|uunet}!mit-eddie!spt!mdc
Newsgroups: comp.sys.mac.system,comp.sys.mac.misc
From: juskiw@ee.ualberta.ca (Scott Juskiw)
Subject: Re: 7.1 When?
Organization: University Of Alberta, Edmonton Canada
Date: Thu, 9 Apr 1992 23:49:20 GMT

nerm@apple.com (Dean Yu) writes:
> 
>   I'm not sure if I'm supposed to say this or not, but I'm going to anyway
> in an effort to save our FTP server.  There's a bug in 1.1, so it's
> being recalled.  1.1.1 should be ready soon.

Does this fix the incompatibility between the tuner and the GC card init ?
I hope so.

-- 
Scott Juskiw
Electrical Engineering
juskiw@ee.ualberta.ca
From: kaneko@icsi.Berkeley.EDU (Seiji Kaneko)
Newsgroups: comp.sys.mac.system
Subject: Re: Kanjitalk Postscript fonts
Date: 8 Apr 92 17:52:40 GMT
	<6243@bigbird.hri.com.hri.com>
Distribution: usa
Organization: International Computer Science Institute
NNTP-Posting-Host: axiom.icsi.berkeley.edu
In-reply-to: wilde@hri.com's message of 8 Apr 92 16:05:21 GMT

>>>>> On 8 Apr 92 16:05:21 GMT, wilde@hri.com (Scott Wilde) said:
>You can get two postscript Kanji fonts by buying ATM-J from
>Adobe.  They also have other fonts available at a rather higher

|> Can anyone provide some information on availability/pricing of ATM-J
|> in the US?  How about any rumors of when Kanjitalk 7.0/Japanese TrueType
|> fonts will be available?

Kanji TrueType was already announced, but not shipped yet(rumored 
that it put off to May because of bugs) even in Japan. Kanjitalk 
7.0 was announced to be shipped late of this year, but God knows
when ;-) ATM-J is sold in several places in US, but a little bit
too expensive considering price in japan. I saw ATM-J was sold in 
computer shop in S.F. japantown with a price tag $400(street price
in japan is around $250, and retail is about $310).
--
Seiji Kaneko  kaneko@icsi.Berkeley.EDU,kaneko@sdl.hitachi.co.jp
..................................... 76270.2466@compuserve.com
From: anstine@rm105serve.sas.upenn.edu (David Anstine)
Newsgroups: comp.sys.mac.system
Subject: Re: Two RAM questions
Date: 13 Apr 92 15:24:23 GMT
Organization: University of Pennsylvania

In article <12APR92141712@acad3.alaska.edu>, fsspr@acad3.alaska.edu (Sean P. Ryan, Hardcore Alaskan) writes:
> 
> 1) Do RAM disks have to be created strictly from physical RAM, or is it
> possible to create them from virtual memory?  If the latter is the case,
> how badly does performance suffer in comparsion?

Isn't that kind of like mixing Loctite and Liquid Wrench?

-dave
Newsgroups: comp.sys.mac.system,comp.mac.sys.hardware
From: jlw7@ellis.uchicago.edu (jonathan lee wanak)
Subject: System 7/AppleShare 3/Apple CD SC/CD Setup 3.2
Summary: AppleShare 3 doesn't read my CD
Reply-To: jlw7@midway.uchicago.edu
Organization: University of Chicago Computing Organizations
Distribution: usa
Date: Wed, 15 Apr 1992 02:19:08 GMT

We're trying to upgrade our server (SE/30; 4/80), originally running AppleShare 2.0.1, to AppleShare 3.  Connected to the server is an AppleCD SC drive (not 
the new one).  When we upgraded to System 7.0.0/ AppleShare 3, it would no 
longer read CD-ROMs.  The computer would spend about 10 minutes trying to read
cd's, and then ask to initialize them.  We have downloaded the Apple CD SC 
Setup, and tried installing it several times, with no difference (the version
we downloaded was 3.2, the same version the server had before).  We are running
no non-Apple, non-System 7 startup documents or control panels.  Anyone have
this happen to them?  Anyone have any suggestions?  Anyone want to buy a
server real cheap?

Jonathan Wanak
jlwt@midway.uchicago.edu
From: dewhirst@kuhub.cc.ukans.edu (Rob Dewhirst)
Newsgroups: comp.sys.mac.system
Subject: Re: MountImage can be your enemy...?!? (Re: Please insert this disk...)
Date: 15 Apr 92 01:08:56 CDT
Organization: KU Museum of Invertebrate Paleontology

> 	but when I click on OK (or rather, I type the RETURN-key), the
>         floppy gets ejected, followed by an immediate dialog:
> 
>                 "Please insert the disk:
>                   "Name of Disk"
> 
> 
> 	Which leads me to conclude that MountImage (I am using the
> 	version 1.2b1 and know of no later one) is best kept out of
> 	your Extensions folder, except for the rare occassion in which
> 	you need it (and hopefully do not mind having to reboot to
> 	activate it, after moving it back into your Extensions folder);
> 	btw, I tried giving it names to install it both first and
> 	last and with all other INITs and CDEVs inactive, even had
> 	the System Tuner 1.1.1 removed, yet still it would present me
> 	with this "Gotcha!" ...
> 
> 	hope this avoids you having to go through the same cycle of
> 	25 times rebooting after changing your INITs and CDEVs...
> 
> [ btw, this is with os 7.0.1 tuned to 1.1.1 level on an SE-30 with
>   5meg in 24-bit mode, no virtual memory, 128k cache always on...]

On my 7.0.1, 17 meg 32bit IIsi, this exact same problem occurs, but
only with Apple Disk Copy.  Extremely frustrating when you are trying
to copy disks!

Take out MountImage - no problem.

Rob.

-- 
Rob Dewhirst        dewhirst@kcufgat.fidonet.org, kcufgat!macroc!Rob.Dewhirst
The MacRocosm BBS:(913) 841-9446 v.32 1:280/108 - Licensed Apple Distributors
G. Roddenberry 1921-1991                       America Online: Echopapa, LAUG
From: tonyrich@titanic.cs.wisc.edu (Anthony Rich)
Newsgroups: comp.sys.mac.system
Subject: Disk First Aid 7.0 -- useless for filesystem fixup?
Date: 9 Apr 92 09:56:36 GMT
Organization: University of Wisconsin - Eau Claire

Problem:  Trying to fix Mac filesystem corruption problems on an internal
          300MB CMS Wren HD in a vanilla Mac II under system 7.0.1.

1.  You can't run Disk First Aid from the HD itself, because DFA can't repair
    the boot volume or the volume it's launched from.  OK, fine.

2.  So I boot from a 6.0.5 floppy with DFA 7.0 on it and run DFA 7.0 to fix
    the HD.  DFA says "Repairs needed.  Do you want me to fix them?"
    I click YES.  DFA refuses!  "Can't repair disk due to open files."  Grrr.

    Open files on the HD?  I didn't boot from it!  OK, *what* open files?
    Why doesn't DFA tell me which ones?  Is it some corporate secret?!
    Why doesn't DFA just CLOSE them?  After all, I *said* I wanted it to
    make repairs!  And why did it bother to ask me if I wanted to make
    repairs if it can't do it?  Who wrote this program, anyway?  GRRRR.
    My blood pressure doubles.  But the battle isn't over yet...

3.  So I drag the HD to the trash to unmount it -- no more open files,
    right?  Now I try to run DFA again, but I immediately get an error dialog
    that says "The following application is damaged or busy:  Disk First Aid."
    It lies!  There's nothing wrong with it!  Can't it deal with the fact
    that the HD was unmounted?  Sheesh!  I click OK and immediately get
    "The following application is damaged or busy:  Finder."  I have to
    click RESTART...no other choice.  GRRR.  Blood pressure triples.

4.  OK, so I reboot from the 6.0.5 floppy again, this time while holding
    down Command-Option-Shift-Delete (of course...!) so the HD doesn't mount.
    Now I try to run DFA again to fix it.  But now DFA doesn't know the HD
    exists, since it isn't mounted...clicking DRIVE doesn't show the HD
    volume, so it can't be opened and repaired!  GRRRR.  Blood pressure
    quadruples.  Veins bulging in forehead.  Reaching for nitro pills...

So what good is Disk First Aid?  I can't use it if I boot from the HD,
I can't use it if I boot from a floppy with the HD mounted, and I can't use
it if I boot from a floppy with the HD unmounted.  SUM II version 2.1.1
can't fix the HD, either.  This is not good.

The only way I've found to fix the HD (there IS a way!) is to attach an
external HD that's got system 7 installed, boot from THAT, and then run
Disk First Aid to fix the internal HD.  I don't know why booting with System
7 makes a difference, but it seems to.  But we poor slobs who only have
800K drives don't have the option of booting from a System 7 *floppy*.

Come on, Apple -- can't Disk First Aid be made effective and user-friendly?
And what about that hidden command-S crock needed just to see what the heck
DFA is trying to do?  Is DFA a Macintosh program or a DOS program?

There, I said it.  I feel better now.

  -- Tony (battle-scarred Disk First Aid war veteran)
From: mdc@spt.entity.com (Marty Connor)
Newsgroups: comp.sys.mac.system
Subject: Re: Neil, would you please comment on this?
Date: 10 Apr 92 02:21:26 GMT
Reply-To: mdc@spt.UUCP (Marty Connor)
Organization: Hacks 'R' Us, Cambridge, MA

In article <1992Apr8.151713.27410@u.washington.edu> gwangung@milton.u.washington.edu (Just another theatre geek.....) writes:

Hello again; I believe when last we chatted we were discussing the
subjective nature of language.  Know what I mean?

>In article <43823@spt.entity.com> mdc@spt.UUCP (Marty Connor) writes:
>>In article <64995@apple.Apple.COM> chuq@Apple.COM (Chuq Von Rospach) writes:
>>>Don't yell at Apple. get the laws fixed.
>>Quit blaming everything on "the laws".  I believe that Apple follows
>>that part of "the law" that is most profitable for it.
>	Irrelevant arguement in this case, since, if you know any law, the
>stuff you've been calling "stupid and irrational" is pretty close to
>de rigeur. 

Whether the laws are de rigeur and whether they are "stupid and
irrational" are two seperate questions in my mind.  Everyone knows
that people with a lot of money can hire better lawyers, and thus
stand less of a chance of going to jail.  Most people would agree that
rich people (and politicians) go to nicer jails, in general. (spiro
agnew, john haldeman).  I consider this unfair, stupid, and
irrational.  I recognize it as the current state of affairs, however.

>>Your argument that Apple is being as nice as possible under "the law"
>>suggests that if it could "under the law", Apple would be some sort of
>>corporate sister theresa.
>	Your arguement is that Apple is still slime even though they're
>doing what other corporations have to do in order to protect their
>rights under law.  This isn't a good arguement; just reflexive
>Apple-bashing.

Once again, you seem to be unable to accept that idea that a company
operating within the law can still be slime.  I believe that there is
a lot of latitude under the law, and Apple is operating on the
mean-spirited side of things.  I also believe my argument stands.

Apple has good lawyers.  Microsoft's lawyers are Bill Gate's Dad's law
firm. I guess maybe Bill Jr. gets a discount.

Do you know what the phrase "papering them to death" means in law?
That's when a big law firm with lots of money to spend files an
endless stream of motions hoping the other side will not have money to
respond to them all.  Charming, the law.

-- 
Marty Connor, Marty's Computer Workshop, Maker of Keyboard & Mouse Wrist Rests
US Mail: P.O. Box 550, Kendall Square; Cambridge, MA 02142-0004
  Voice: (617) 491-6935, Fax: (617) 491-7046
    Net: mdc@entity.com, or ...{harvard|uunet}!mit-eddie!spt!mdc
From: jsjacob@soda.berkeley.edu (John S. Jacob)
Newsgroups: comp.sys.mac.system
Subject: Where to find RAM test software?
Date: 12 Apr 1992 07:15:08 GMT
Organization: U.C. Berkeley, CS Undergraduate Association
Distribution: world
NNTP-Posting-Host: soda.berkeley.edu


I'm considering buying a used Mac. I have Norton to check the hard
drive but would like some software to test the RAM. Any suggestions? I
would prefer some software I could download through ftp. Please send
me e-mail, and I could post a follow-up if many desire one.

--
  [======== John S. Jacob ========]
  |   jsjacob@soda.berkeley.edu   |-------- Address ------------+
  |  jsjacob@ocf  c60a-cn@amazon  | 2400 Durant Ave. Room 209P  |
  +-------------------------------+ Berkeley, CA 94720-4827     |
     I'm stuck in a GUI world.  +-------------------------------+

-- 
  [======== John S. Jacob ========]
  |   jsjacob@soda.berkeley.edu   |-------- Address ------------+
  |  jsjacob@ocf  c60a-cn@amazon  | 2400 Durant Ave. Room 209P  |
  +-------------------------------+ Berkeley, CA 94720-4827     |
From: maarten@fwi.uva.nl (Maarten Carels)
Newsgroups: comp.sys.mac.system
Subject: Re: MountImage can be your enemy...?!? (Re: Please insert this disk...)
Date: 13 Apr 92 11:38:53 GMT
Organization: FWI, University of Amsterdam

werner@rascal.ics.utexas.edu (Werner Uhrig) writes:

>	Which leads me to conclude that MountImage (I am using the
>	version 1.2b1 and know of no later one) is best kept out of
>	your Extensions folder, except for the rare occassion in which
>	you need it (and hopefully do not mind having to reboot to
>	activate it, after moving it back into your Extensions folder);
>	btw, I tried giving it names to install it both first and
>	last and with all other INITs and CDEVs inactive, even had
>	the System Tuner 1.1.1 removed, yet still it would present me
>	with this "Gotcha!" ...

I had numerous problems (crashes etc) with 1.2b1. Went back to 1.1b3, which
works without problems.
You have a problem installing the system though. The 1.2b1 has 8 'disks',
whereas the 1.1 has only 4...

--maarten
-- 
In real life:	Maarten Carels
		Computer Science Department
		University of Amsterdam
email:		maarten@fwi.uva.nl
Newsgroups: comp.sys.mac.system
From: meharp01@vlsi.louisville.edu (Michael Harpe)
Subject: Re: DeskWriter V3.0 drivers
Organization: University of Louisville
Date: Thu, 9 Apr 1992 02:22:51 GMT

walkerl@mr.med.ge.com (Larry Walker 3-5196) writes:

>I just called HP's Peripheral Assistance line to check on the
>availability of the V3.0 DeskWriter drivers (the one's that support
>spooling.)  The call director system gave the number (303) 353-7650
>to call to order drivers. The operator there check briefly, and then
>cheerfully took my order for the (no charge!) V3.0 upgrade. She said
>that the upgrades are scheduled to start shipping in 2-3 days, and to
>expect to receive it in 7-10 days.

>As usual, HP is to be complemented for going above and beyond to
>support their customers. The DeskWriter is a high-quality, work-horse
>of a printer, and HP's upgrade policy is a model for all vendors.

>Thanks HP!

>Larry Walker
>GE Medical Systems
>Pewaukee, WI

So when will we see it posted or FTP-able from somewhere?

Mike