HDTenEightyP/NetNews huggingface dataset:
From: d88-jwa@dront.nada.kth.se (Jon Wtte)
Newsgroups: comp.sys.mac.programmer
Subject: Re: how do you do automated GUI testing?
Date: 4 Jan 93 20:51:27 GMT
Organization: Royal Institute of Technology, Stockholm, Sweden

In <7750@dove.nist.gov> bagwill@swe.ncsl.nist.gov (Bob Bagwill) writes:

>How does Apple (if they choose to respond) do automated testing
>of the GUI aspect of their product?

>How do "professional" Mac developers do automated testing of
>their products?

Apple has a very good product called Virtual User that lets
you create customized or random sessions and play them back
over a network to a lot of macs at the same time.

It's good, and I haven't seen anything better on any other
platform. I seem to remember the arrangements about it being
very inexpensive too.

>Warning: Don't send anything your lawyers don't want you to share.  And
>remember that Internet email is not secure.

Huh? Why would anyone NOT remember that? It's a fact of
life and has always been.

Now, phone lines (cellular phones especially) are not
secure EITHER, and that's something people tend to forget.


-- 
 -- Jon W{tte, h+@nada.kth.se, Mac Hacker Deluxe --

   Speed is arbitrary. Don't believe me? Try a PowerBook 180 running
   System 7 against a 486 laptop running Windows 3.1.
Newsgroups: comp.sys.mac.programmer
From: d88-jwa@byse.nada.kth.se (Jon Wtte)
Subject: Re: TCL, MultiFinder, and Progress Dialogs
Organization: Royal Institute of Technology, Stockholm, Sweden
Date: Mon, 11 Jan 1993 21:56:03 GMT

In <11JAN199316162844@comb1.comb.umd.edu> stern@comb1.comb.umd.edu (Brian Stern; COMB) writes:

>>I want to have a progress dialog up for an operation that takes
>>over a minute, so I've got the usual text string, and a horizontal

>>(1) let the Multifinder take time slices to update other programs,
>>	I assume that WaitNextEvent will do it;
>>(2) Have a "Cancel" button the user can push to cancel the 
>>	operation.  This has me stuck.

>Call WNE with a mDownMask. If it returns true then call FindControl to get
>the control handle (pass it theEvent.where as the point) and then
>TrackControl. If TrackControl tells you that the mouseup occurred in

Actually, this is a bad thing to do to a TCL app; for instance
AppleEvents would be lost because they are ALWAYS delivered
regardless of event mask.

Instead, I usually put up a movable, modal dialog with the bar
etc, and when I need to give idle time, I do:

	gSleepTime = 0 ;
	gApplication -> Process1Event ( ) ;

If you can set up an Idle chore to do the idling, you could
even have your dialog be the supervisor of the chore and have
BeginDialog and EndDialog handle dialog ending.

So what does this do? Well, you can't call DoModalDialog if you
cannot push the thing you're doing into a chore; you'll have
to mimic the behaviour in your idle call. What remains is to
handle DoCommand ( cmdCancel ) by overriding it in the
CDLOGDirector.

Hope this helps,

							/ h+
-- 
 -- Jon W{tte, h+@nada.kth.se, Mac Hacker Deluxe --
   This signature is kept shorter than 4 lines in the interests of UseNet
   S/N ratio.
Newsgroups: comp.sys.mac.programmer,comp.os.ms-windows.programmer.tools
From: howard@netcom.com (Howard Berkey)
Subject: Re: Stallman and friends
Organization: Netcom Online Communications Services (408-241-9760 login: guest)
Date: Fri, 8 Jan 1993 21:32:06 GMT

In article <gtall.726514732@ogre> gtall@ogre.cica.indiana.edu (Gerry Allwein) writes:
>I just a simple yes or no answer to a simple question: does a parser produced
>by GNU Bison fall under the FSF copyright?
>
>Gerry
>


Yes.
-- 
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Howard Berkey                                   	   howard@netcom.com
"These check boxes actually function as check boxes." - from a SW spec
... .. ...   ... .. ...   ... .. ...    ... .. ...   ... .. ...   ... .. ...
From: bowman@reed.edu (BoBolicious)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Another StripAddress Question?
Keywords: Strip Address Question
Date: 7 Jan 93 21:55:29 GMT
Article-I.D.: reed.1993Jan7.215529.3536
Organization: Reed College, Portland, OR

It looks to me like you're doing it right, except that you better make sure
colorIconH is locked before you do *anything* with *colorIconH.

cheez,
bobo              In seeking the unattainable,
bowman@reed.edu            simplicity only gets in the way.
"On Monday, numbers floated everywhere, and the world was full of 
approximations."  -- Spencer Heinz, _The Oregonian_, 1/5/93
Newsgroups: comp.sys.mac.programmer
From: gray@tinman.asel.udel.edu (John Gray)
Subject: Converting between PICT and masked PixMap
Organization: AI duPont Institute
Date: Thu, 7 Jan 1993 15:38:04 GMT

Greeting fellow netters:

I am working on an app that does a lot of image manipulation.  I am storing 
my images in PixMaps because I need to be able to get to individual pixels
of the image easily.  I generally display the pixMaps with a mask usings
CopyBits or CopyMask.  I now have a need to convert the images to PICTs.
I see how to do that by using openPicture and drawing the thing and closing
the picture.  The problem is how to convert back to a PixMap and retrieve the
mask.

Thanks 
John Gray
gray@asel.udel.edu
Newsgroups: comp.sys.mac.programmer
From: sichase@csa2.lbl.gov (SCOTT I CHASE)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Stallman and friends
Followup-To: comp.sys.mac.programmer
Date: 11 Jan 1993 12:07 PST
Organization: Lawrence Berkeley Laboratory - Berkeley, CA, USA
Distribution: world
NNTP-Posting-Host: 128.3.254.197
News-Software: VAX/VMS VNEWS 1.41    

In article <lsr-110193103808@lsr.taligent.com>, lsr@taligent.com (Larry Rosenstein) writes...
> 
>> Then Symbolics negotiated a deal with MIT wherein MIT transferred the
>> copyright to Symbolics.   MIT stopped making the code publically
> 
>My understanding is that something in the public domain has no copyright to
>transfer.  If the code did have a copyright then the copyright holder is
>allowed to transfer rights as s/he sees fit.
> 
>That's not to say that the action was "right" but it doesn't sound illegal.

It's possible to make a good argument that the action >>was<< right.  
Maintaining and distributing MACSYMA was no longer a job that qualified
as a research project.  By turning it over to someone with a financial
stake in providing updates, bug fixes, and continued support on ever-
changing platforms, MIT created a situation in which they could continue
with their academic mission and still be guaranteed that their efforts
in developing MACSYMA would continue to bear fruit.  

BTW: MIT is a private institution.  Does anyone know for sure that MACSYMA
was developed under a federal research grant?  If not, then it is more
clearly MIT's property.

-Scott
--------------------
Scott I. Chase			"It is not a simple life to be a single cell,
SICHASE@CSA2.LBL.GOV		 although I have no right to say so, having
				 been a single cell so long ago myself that I 
				 have no memory at all of that stage of my 
				 life." - Lewis Thomas
From: mkelly@mystix.cs.uoregon.edu (Michael A. Kelly)
Newsgroups: comp.sys.mac.programmer
Subject: C.S.M.P. Digest V2 #3 Available
Date: 11 Jan 93 13:03:40 GMT
Article-I.D.: cs.1993Jan11.130340.5417
Followup-To: poster
Organization: University of Oregon Computer and Information Sciences Dept.


C.S.M.P. Digest             Mon, 11 Jan 93       Volume 2 : Issue 3

Today's Topics:

	need Sys6 InForeground() technique
	In search of SYNCHING code
	pbhopendf returns -50?
	TCL: What Are They Trying to Say?
	'appe' File Type
	Just for you, an early Christmas present
	Adding Comm to an Application



The Comp.Sys.Mac.Programmer Digest is moderated by Michael A. Kelly.

The digest is a collection of article threads from the internet newsgroup
comp.sys.mac.programmer.  It is designed for people who read c.s.m.p. semi-
regularly and want an archive of the discussions.  If you don't know what a
newsgroup is, you probably don't have access to it.  Ask your systems
administrator(s) for details.  If you don't have access to news, there is
no way that I know of for you to post articles to the group.

Each issue of the digest contains one or more sets of articles (called
threads), with each set corresponding to a 'discussion' of a particular
subject.  The articles are not edited; all articles included in this digest
are in their original posted form (as received by our news server at
cs.uoregon.edu).  Article threads are not added to the digest until the last
article added to the thread is at least one month old (this is to ensure that
the thread is dead before adding it to the digest).  Article threads that
consist of only one message are generally not included in the digest.

The entire digest is available for anonymous ftp from ftp.cs.uoregon.edu
[128.223.8.8] in the directory /pub/mac/csmp-digest.  Be sure to read the
file /pub/mac/csmp-digest/README before downloading any files.  The most
recent issues are available from sumex-aim.stanford.edu [36.44.0.6] in the
directory /info-mac/digest/csmp.  If you don't have ftp capability, the sumex
archive has a mail server; send a message with the text '$MACarch help' (no
quotes) to LISTSERV@ricevm1.rice.edu for more information.

The digest is also available via email.  Just send a note saying that you
want to be on the digest mailing list to mkelly@cs.uoregon.edu, and you will
automatically receive each new issue as it is created.  Sorry, back issues
are not available through the mailing list.

Send administrative mail to mkelly@cs.uoregon.edu.


-- 
_____________________________________________________________________________
Michael A. Kelly                                               Senior Partner
mkelly@cs.uoregon.edu                                      High Risk Ventures
_____________________________________________________________________________
Xref: sparky comp.sys.mac.programmer:20896 comp.sys.atari.st.tech:6534
From: bpb9204@tamsun.tamu.edu (Brent Burton)
Newsgroups: comp.sys.mac.programmer,comp.sys.atari.st.tech
Subject: Re: Sozobon (or other free C's): would this strategy work?
Date: 7 Jan 1993 10:19:09 -0600
Organization: Texas A&M Univ., Inc.
Distribution: comp
NNTP-Posting-Host: tamsun.tamu.edu

ntomczak@vega.math.ualberta.ca (N Tomczak-Jaegermann) writes:
|hyc@hanauma.jpl.nasa.gov (Howard Chu) writes:
|
|>As others have already mentioned, the FSF is vehemently opposed to having
|>GNU software ported to Apple platforms.
|
|Port of gcc to A/UX does not indicate that the situation is so
|"vehement".  You should not expect any support from FSF and you should
|not bother them with bug reports but this is not so much different
|then on Atari. 

Right.  The FSF, with their boycott, is merely NOT providing any support
for Apple-based machines.  It does not mean we can't port it; in fact, if
you really disagree with FSF the best thing you can do is port more of
their software.  There is certainly nothing illegal about it, and if the
FSF dared think of punishing a user for porting to macs, they would
instantly become hypocrites.

When I ported bison and flex, bison had some stupid code constructs that
I complained about in gnu.misc.discuss.  This led to a brief email dis-
cussion with Richard Stallman, and he essentially wrote to me (in more
polite words) "If you have changes, we'll take them.  If they are for
the mac, forget it.  Bug fixes are always welcome."  Bug reports here
would mean platform-independent bugs (algorithmic bugs) and not problems
found when trying to compile the thing under THINK C.

One more thing to everybody who has followed up in this entire thread.
If you haven't read the files associated with the GNU project, please
get them and read them.  Two of the files are COPYING (the copyleft)
and the GNU Manifesto(named MANIFESTO, I believe).  These files come
with every software distribution and I think are available via anon ftp
from prep.ai.mit.edu (or gnu.ai.mit.edu).  Before posting next time,
please take time to read through these files and any others you find
that I've left out.

-Brent
-- 
+-------------------------+
| Brent Burton    N5VMG   |    
| bpb9204@tamsun.tamu.edu |  
+-------------------------+ 
Newsgroups: comp.sys.mac.programmer
From: maynard@leah.msc.cornell.edu (Maynard J. Handley)
Subject: Re: Why the Piracy? Here's why...
Organization: Cornell-Materials-Science-Center
Date: Mon, 11 Jan 1993 09:22:26 GMT

These seems to me a kinda lack of understanding of the real world here.
Right now my expereince on campus is that people are quite willing to pay
for a program if they feel it is worth it. When they feel they are being
poorly treated, they feel no guilt about not paying. In many ways the
situation is just like shareware.

So when they are charged for bug fixes, they get mad.
When the code is left to sit for two years and never updated to 32-bits and
VM they get mad.
When it's written by some bozo who never tests it on a machine running a
24bit screen and a bw screen at the same time they get mad.
When it seems full of senseless little deviations from the mac interface
they get mad.
When repeated letters to the company telling of bugs are met with no
acknowledgment they get mad.

I see a lot of support for things like Adobe PhotoShop and Now Utils
because the feeling is these are WORTH what they cost. I also see little
support for many (nameless) programs that are felt to be useful, but not
worth anything like what they cost for one reason or another.

I also noticed a lot more piracy in my home country than in the US and I
think this is because people resent being screwed. When a program costs
$300 in the US and the same program (English manual and code) is sold for
$1000 overseas, people naturally feel this is unfair. Spare me the lecture
on how this is the law unfair or not. My point is that, in the absesnce of
a police state, they only way you can prevent piracy is by persuading
people it's not moral. And when companies behave in a fashion that
indicates they are ultra-greedy, people respond appropriately.

Maynard Handley
From: lim@toadflax.cs.ucdavis.edu (Lloyd Lim)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Default buttons in dialogs
Date: 12 Jan 93 05:42:02 GMT
Organization: Department of Computer Science, University of California, Davis

In article <11JAN199310402756@vx.cis.umn.edu> soc1070 writes:
>In article <01050023.n60ojt@chinchilla.cars.com>, chinchilla!niel@cars.com writes...
>>In article <1993Jan7.153419.3711@tdb.uu.se> (comp.sys.mac.programmer), bredell@tdb.uu.se (Mats Bredell) writes:
>
>>Somewhere I found a CDEF that automatically puts the border around
>>any item whose name ends with an "@".  Very useful.  I can't remember
>>where I found it, but it's just called "Default".
>
>I found defaultCDEF 1.2 on plains.nodak.edu just today. Its kind of
>deep in the dir structure, but not difficult to find. (Lets see...
>I think it was pub/mac/pub/programming/src). The info file says the
>CDEF is 32-bit clean and color QD compatable.

I just checked and the current version is 2.4.  (I wrote Default.)
I haven't touched it for a while because there haven't been any
bugs.  I used to be The World's Expert on Default Button Outlines(R),  :)
but I probably forgot most of it now.  Maybe I should resend it
to the usual places...

FYI, yes, Default does what they say it does.  The code is actually
far more advanced than what anyone else uses.  Total overkill for
novices, perfectionists, or the lazy.  :)

+++
Lloyd Lim                    Internet: lim@cs.ucdavis.edu
Lim Unlimited                America Online: LimUnltd
330 W. Iris Ave.             AppleLink: LimUnltd
Stockton, CA  95210-3738     CompuServe: 72647,660
Newsgroups: comp.sys.mac.programmer
From: bskendig@netcom.com (Brian Kendig)
Subject: TEInsert() and TEKey() print invisible characters sometimes!
Organization: Starfleet Headquarters: San Francisco
Date: Sun, 10 Jan 1993 18:08:23 GMT

I'm having a weird problem... maybe someone here would have an idea?

I have a old-fashioned TextEdit field in a window.  I use TEInsert and
TEKey to insert text in it.  Everything works fine, except that under
certain reproducible circumstances, those two functions will just move
the TextEdit cursor forward the proper amount instead of printing
text.  I can't figure out what's common about the circumstances where
it happens yet, but I'm not changing any of the properties of the
TextEdit field after I set it up.

Sometimes some of the text becomes visible again when I move a window
to cover it up then move the window aside, or scroll the text out of
view then back into view, but sometimes it stays invisible, although I
can select it and cursor through it as if it was there.

I'm stymied.  There's nothing unusual I'm doing that would make text
invisible, but chances are I'm just overlooking something.  Has anyone
had a similar problem before, or heard of this happening?

-- 
_/_/_/  Brian Kendig                             Je ne suis fait comme aucun
/_/_/  bskendig@netcom.com                de ceux que j'ai vus; j'ose croire
_/_/                            n'etre fait comme aucun de ceux qui existent.
  /  Nolite te bastardes     Si je ne vaux pas mieux, au moins je suis autre.
 /    carborundorum.                                             -- Rousseau
Newsgroups: comp.sys.mac.programmer,comp.sys.atari.st.tech
From: jjmcwill@mtu.edu (Jeff McWilliams)
Subject: Re: Sozobon (or other free C's): would this strategy work?
Organization: Michigan Technological University
Distribution: comp
Date: Thu, 7 Jan 1993 08:32:10 GMT

In article <1993Jan5.133455.9714@panix.com> spencer@panix.com (David Spencer) writes:
>
>>  To encourage people to port GCC, Richard Stallman
>>(author of GCC) has written a 190-page manual describing in detail how
>>to port GCC.  I don't believe any other program comes with such
>>carefully written porting instructions.
>
>A very nice book on practical compiler theory. Unfortunately (unless
>I'm out of date), the manual is not up to date. The latest version of
>the manual describes version 1.38, I think; the current version of the
>compiler is 2.3. Because the basic theory of the compiler hasn't
>changed, it should be adequate, though.
>
>
>dhs   spencer@panix.com

Can somebody please tell me the title of this book that is mentioned above?
E-mail preferred, follow-ups to the post acceptable.

Jeff McWilliams
jjmcwill@mtu.edu    OR  jjmcwill@mathlab.mtu.edu    

-- 
Jeff McWilliams  jjmcwill@mtu.edu  EE Engineer --> Michigan Tech. 
Leaves Turning, falling, withering
Wind blowing, rustling, chilling
candlelight will soon be flickering
Newsgroups: comp.sys.mac.programmer
From: siegel@world.std.com (Rich Siegel)
Subject: Re: Why the Piracy? Here's why...
Organization: GCC Technologies
Date: Tue, 5 Jan 1993 15:34:03 GMT

In article <C0D9q1.H6r@news.udel.edu> kurisuto@chopin.udel.edu (Sean J. Crist) writes:
>
>There's a crucial difference between piracy and shoplifting.  With
>shoplifting, you are stealing an item which cost money to produce by
>itself.  With piracy, the software developer had the costs of developing
>the product, but you're not actually stealing a unit which cost money to
>be produced by itself.

I've got news for ya, pal. :-) With virtually any mass-produced good, even
something expensive like an automobile, the ratio of (cost of development)
to (cost of goods sold) is very high - it's how companies recover their
original development investment and continue to make money and stay in
business. By way of example a simple piece of molded plastic may only
cost a few cents to produce, but the cost to design and produce the tool
to make it can (and often does) run into the tens of thousands of dollars.

>If you don't make this distinction, you would have to claim that making a
>copy of an application which your friend bought is morally identical to
>walking into a store and stealing a shrink-wrapped software package off the
>shelf.  The former act doesn't actually *cost* the developer, distributor,
>and retailer anything; with the latter, there are all kinds of packaging,
>printing, and retail costs which the companies actually lose.  (A similar
>distinction could be made between sneaking into a movie theater vs.
>stealing popcorn: both are wrong, but they are different kinds of acts.)

As a matter of fact, piracy is very much like stealing a box. The costs
amount to almost the same thing, but in different areas - when you steal
the box, you've denied the retailer the opportunity to recover his
investment in purchasing the package from the distributor (or direct
from the company); when you copy the disk, you deny the company the
opportunity to recover its costs in R&D and production, which it would
have recovered by selling the finished goods to a distributor or retailer.

R.



-- 
-----------------------------------------------------------------------
Rich Siegel                              Internet: siegel@world.std.com
Senior Software Engineer
GCC Technologies
Newsgroups: comp.sys.mac.programmer
From: hd12@ellis.uchicago.edu ()
Subject: List Manager help wanted
Reply-To: hd12@midway.uchicago.edu
Organization: University of Chicago
Date: Mon, 4 Jan 1993 06:19:05 GMT

I like to creat a list containing file names, size, date etc. Each entry
should be in a single cell. After I put file name in the cell using
LSetCell, I have to add size, date etc. in the same cell. Although I can
use LAddToCell to do that but that will make the size field not aligned
vertically. Anyone know an elegent way to handle this? Thank you very much.

BTW. I am using Think C 5.0.3, have lots of trouble with C and Pascal strings.
Suppose I have:    Str255 mystring;
Use: mystring="\p Something "; doesn't work. How could I assign a string to the
variable mystring?
Newsgroups: comp.sys.mac.programmer
Distribution: world
From: sharkman@magicbb.uucp (Matt Daw)
Organization: MAGIC - Macintosh Awareness Group In Canada
Date: Sun, 03 Jan 1993 12:30:26 EST
Subject: Re: Learning to program w/ MacIILC

Tell him to buy Think C by Symantec and Learn C on the Mac by Dave Mark and C
Programming Primer Vols I & 2 also by Dave Mark. Those will provide pretty
much all the stuff he would need to get started.

Matt
From: sw@network-analysis-ltd.co.uk (Sak Wathanasin)
Newsgroups: comp.sys.mac.programmer
Subject: Re: TCL: Bizzare Behavior Time
Date: 12 Jan 93 22:50:30 GMT
Reply-To: sw@network-analysis-ltd.co.uk
Organization: Network Analysis Ltd
X-Mailer: uAccess - Macintosh Release: 1.6v1


In article <1993Jan11.170231.17969@fsl.noaa.gov> (comp.sys.mac.programmer), urban@yoda.fsl.noaa.gov (Art Urban) writes:

> Swatch reports that my application's heap has gone BAD BAD BAD BAD
> (Swatch's words, not mine). I followed the source code until this condition
> occured, and it happens right after a call to new ( anObject ). My TRY,

This just happened to me in the appl I am working on. This is a MacApp-based
program not TCL, so I don't know how much of this applies to you. In my
case, in my Initialize method, I was dereferencing a null pointer and trashing
memory. You may find that your constructor or other initialization method
is causing the bad heap. Good luck!

Sak Wathanasin
Network Analysis Limited
178 Wainbody Ave South, Coventry CV3 6BX, UK

uucp:      ...!uknet!nan!sw  Phone: (+44) 203 419996
AppleLink: NAN.LTD           Internet: sw@network-analysis-ltd.co.uk