HDTenEightyP/NetNews huggingface dataset:
From: noah@apple.com (Noah Price)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Why the Piracy? Here's why...
Date: 8 Jan 93 01:15:48 GMT
Followup-To: comp.sys.mac.programmer
Organization: (not the opinions of) Apple Computer, Inc.

In article <C0Hv06.7rB@mentor.cc.purdue.edu>, neath@brazil.psych.purdue.edu
(Ian Neath) wrote:
> 
> In article <1993Jan7.155907.19880@mail.cornell.edu> Tim Larkin 
> (tsl1@cornell.edu) writes:
> > In article <MELLON.93Jan5123854@pepper.ncd.com> Ted Lemon,
> > mellon@ncd.com writes:
> >> This is a complicated issue, and not susceptible to simple answers
> >> like the one that you propose above.
> [some deletions]
> > It makes no difference whether piracy is most
> > like shoplifting or most like illegal parking or most like serial
> > killing.
> > It's wrong even if it's easy and low risk. If it's wrong, don't do it.
> > There's nothing complicated about it. It is fully susceptible to a simple
> > answer.
> 
> A hypothetical question:
> Would you rather I pirate some software from you (or park in your parking
> space illegally) or would you rather I make you viction number 6 in a
> series of a dozen grizly murders?  

I believe our (US-centric answer here) legal system recognizes that, like
shoplifting, piracy is a less serious offense than murder.

noah

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
noah@apple.com                                 Macintosh Hardware Design
...!{sun,decwrl}!apple!noah   (not the opinions of) Apple Computer, Inc.
Xref: sparky comp.sys.mac.programmer:20998 comp.os.ms-windows.programmer.tools:1936 comp.os.ms-windows.programmer.misc:4747
From: mellon@ncd.com (Ted Lemon)
Newsgroups: comp.sys.mac.programmer,comp.os.ms-windows.programmer.tools,comp.os.ms-windows.programmer.misc
Subject: Re: Stallman and friends
Date: 8 Jan 93 01:08:31 GMT
	<1993Jan05.231932.21087@eng.umd.edu>
Followup-To: comp.sys.mac.programmer
Organization: Network Computing Devices, Inc.
In-reply-to: russotto@eng.umd.edu's message of 5 Jan 93 23:19:32 GMT


>They state them quite openly:  they want software to be free, or at
>least they don't want people to have to pay for it with money.  They
>DON'T believe it should be free of attached strings, which say that
>anyone who uses their software must treat the product of their work in
>accordance with Stallman's wishes.

You have it exactly backwards.   The FSF does not claim that you must
be able to get their software for free, and they go out of their way
to prevent strings from being attached to the software.   The *only*
string attached is that you may attach no strings.

There is absolutely nothing to prevent you from using GCC on the
MacIntosh, and in fact some people do.   However, Stallman refuses to
maintain donated code for Apple products, whereas he will maintain
donated code for many other platforms.   However, he probably wouldn't
be willing to maintain a MacOS port in any case, since MacOS is not
Unix.   The FSF does not maintain either the VMS or MS-DOS gcc ports.

I too think that the FSF stance on Apple is unfortunate, since it
basically serves no purpose except to piss people off to the point
where they aren't interested in anything that the FSF has to say,
which is too bad, because if you read the GNU Manifesto with an open
mind, there's a lot of worthwhile thought there, whether or not you
agree with it in its entirety.

			       _MelloN_
--
mellon@ncd.com						uunet!lupine!mellon
Member of the League for Programming Freedom.   To find out how software
patents may cost you your right to program, contact lpf@uunet.uu.net
Newsgroups: comp.sys.mac.programmer
From: neeri@iis.ethz.ch (Matthias Neeracher)
Subject: Re: Why does BinHex exist?
Organization: Integrated Systems Laboratory, ETH, Zurich
	<1ii16eINN4d0@usenet.INS.CWRU.Edu> <1993Jan7.210159.26183@netcom.com>
Date: Fri, 8 Jan 1993 16:27:40 GMT

In article <1993Jan7.210159.26183@netcom.com>, howard@netcom.com (Howard Berkey) writes:


> Periodically people post asking what BinHex is, or where to get it,
> etc... What I want to know is, Why is it really necessary?  It:

> A.  Makes the files larger than a binary format
> B.  Is annoying to have to convert
> C.  Doesn't seem to do anything

> I claim C because I have had many mac files stored on a UNIX file
> system for long periods of time, in MacBinary II, with no ill effects.
> This has proven true on various Suns, 2 RS-6000's, and 2 HP-9000's.
> It may be that some machines will damage mac files if they aren't
> binhexed, and thus it would be neccecary in that case.

They don't get destructed from storing, but they *might* get destructed from
transmitting. While ftp transfer of macbinary files seems to work for all
but the most brain damaged ftp clients, I wouldn't recommend to mail one.

Additionally, less people know how to handle MacBinary than BinHex; I
personally try to distribute files as MacBinary but often get questions
as to how to translate it and why I didn't store them as BinHex.

Matthias

-----
Matthias Neeracher                                      neeri@iis.ethz.ch
  "And that's why I am going to turn this world upside down, and make
   of it a fire so *bright* that someone real will notice"
                                -- Vernor Vinge, _Tatja Grimm's World_
From: lward@husc11.harvard.edu (Lester Ward)
Newsgroups: comp.sys.mac.programmer
Subject: Button Grid, how to?
Date: 12 Jan 93 18:37:11 GMT
Article-I.D.: husc.lward.726863831

I'm trying to create a row of buttons across the top of a text window, just
under the window title bar.  Each button is 15 pixels square.  The idea is
sort of like a tool palete, but within a text display window.  My question
is, what is the .best. way to implement this?  I can think of a couple, but
this sounds like one of those things that is semi built-in that I've never
heard of.

Please e-mail.  I will summarize.

Lester Ward
Newsgroups: comp.sys.mac.programmer
From: grass@cs.uchicago.edu (Joshua Grass)
Subject: Re: GWorlds and Windows - a problem....
Organization: Department of Computer Science, University of Chicago
Date: Sun, 10 Jan 1993 22:59:29 GMT

In article <1ililcINNo5d@cat.cis.Brown.EDU> ST202153@brownvm.brown.edu () writes:
>In article <1993Jan8.233136.18543@cs.ucla.edu>, tj@kona.cs.ucla.edu (Tom
>Johnson) said:
>>When WORKING is defined as TRUE, the program executes successfully. When
>>it is FALSE, the program crashes at the NewCWindow() call.
>
>>   SetGWorld(offWorld, nil);
>>   PaintRect(&offR);  // Just fill it w/ black
>>
>>#if !WORKING    // this will crash spectacularly
>>   wind = NewCWindow(nil, &windR, "\p", TRUE, zoomDocProc,
>>                     (WindowPtr) -1, TRUE, 0);
>>#endif
>>
>>   SetGWorld(SavePort, SaveGD);
>
>You probably need to move the SetGWorld call before NewCWindow.  QuickDraw
>does an amazingly good job of crashing when the port is set to an offscreen
>GWorld at the wrong time.  (I had a TCL app which drew in an offscreen port
>while updating a progress bar.  The number of times I restarted while
>debugging is best left unsaid.)
>
>Andrew Shearer
>st202153@brown.edu

One problem might also be the think c has an error in its mac library with
NewCWindow, namely that it returns a window, not a cwindow.  I've fixed mine
and recompiled it and alot of color window stuff works now.  This is with
ver 5.0. newer versions might have fixed this fairly glaring problem.

							Joshua

Newsgroups: comp.sys.mac.programmer
From: dpape@imlab (Daniel X Pape)
Subject: Mac C Prog. Primer
X-Newsreader: Tin 1.1 PL5
Organization: University of Illinois at Urbana
Date: Mon, 4 Jan 1993 10:24:38 GMT

Ok -- I have this book (volume one, 2nd edition) and I am working out the
examples. I have typed in the examples for EventTracker and EventTrigger
EXACTLY ( I have even had others proofread it for me) and although
EventTracker seems to work, EventTrigger won't. Has anyone else out there
bought this book and done these two examples and gotten them to work?

In fact are there any brave souls who want to mess around and I could mail 
them the typed in source code, and they could try to get them to work?

The success of the EventTrigger example is not essential to my finishing the
book, but it would be nice to get this first AppleEvents example working.

Hey-- I wonder if Dave Mark and Cartwright Reed actually read this group.
Maybe they could figure out what I'm doing wrong :)
From: tj@kona.cs.ucla.edu (Tom Johnson)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Think Ref 2.0
Date: 8 Jan 93 21:30:17 GMT
Organization: UCLA, Computer Science Department

In article <PHILS.93Jan8083854@chaos.cs.brandeis.edu> phils@chaos.cs.brandeis.edu (Phil Shapiro) writes:
>
(About Think Reference 2.0)
>
>The new release also supports drop-in databases, context-free
>hyperlinks, and AppleEvents. Drop in databases will make it possible
>for Symantec to come out with database upgrades or additions (such as
>QuickTime), and allows users to remove databases they don't need.
>

And what I want to know:
  Can 3rd parties create their own drop-in databases?  If I have a 
  library that I wish to distribute, would I be able to create my own
  Think Ref database for part of my documentation?


Tom
-- 
Tom Johnson             "They say Confucious does his crossword with a pen."
tj@cs.ucla.edu                               -Tori Amos
From: d88-jwa@hemul.nada.kth.se (Jon Wtte)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Detecting mouse position in a window ?
Keywords: faq mouse in window regions etc help
Date: 12 Jan 93 13:20:59 GMT
Organization: Royal Institute of Technology, Stockholm, Sweden

In <1993Jan12.050224.14617@magnus.acs.ohio-state.edu> jbush@magnus.acs.ohio-state.edu (J Eric Bush) writes:

>Just use the GetMouse(p:point) procedure.  If at first it gives you a global 
>point, then all you have to do it say point:=GlobalToLocal(p).

This is wrong; instead, create a region (in global coordinates)
that covers ALL the areas where the cursor should stay the
same as it is now; pass that region to WaitNextEvent. Also set
the cursor appropriately before each call to WaitNextEvent.

Now, everytime the cursor strays outside the appropriate area
for its shape, you will get a mouseMoved event (osEvt, app4Evt)
and before calling WaitNextEvent the next time, you will set the
cursor to its new shape and calculate a new region.

Cheers,

							/ 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.
Xref: sparky comp.sys.mac.programmer:21336 comp.os.ms-windows.programmer.tools:2007
From: mellon@ncd.com (Ted Lemon)
Newsgroups: comp.sys.mac.programmer,comp.os.ms-windows.programmer.tools
Subject: Re: Stallman and friends
Date: 12 Jan 93 20:10:19 GMT
	<1993Jan10.014701.14286@usage.csd.unsw.OZ.AU>
Followup-To: comp.sys.mac.programmer
Organization: Network Computing Devices, Inc.
In-reply-to: troy@cbme.unsw.EDU.AU's message of 10 Jan 93 01:47:01 GMT


>In practice, the situation doesn't really arise anyway. While the GNU tools
>are generally better than their commercial counterparts, businesses are
>nervous about buying products produced with free tools, primarily because
>they have nobody they can blame if something goes wrong as a result of
>an error in one of those tools.

You could have fooled me.   NCD uses gcc for all of our X terminal
products, and our customers don't seem to mind terribly.   We also
provide great support, from what I've heard.

A lot of people are discovering that having somebody to blame is cold
comfort when you're being screwed over by a software problem.   Many
software vendors will only fix a problem in the next release, if then,
and won't publicize known bugs in their software, so that you don't
even know in advance what you're getting into.

By contrast, bug fixes for the GNU tools typically come out very
quickly because so many people are working on them, and a typical
piece of GNU software will have a list of known problems and ideas
that people have for how to solve them.   Bugs are discussed in an
open forum, and fixes are generally available to all comers.

Which solution works for you can vary, but in general I think that the
average end-user would rather have good service than bad service, and
I think that even in the world of commercial software, companies that
provide good service will tend to win in the long run.

			       _MelloN_

--
mellon@ncd.com						uunet!lupine!mellon
Member of the League for Programming Freedom.   To find out how software
patents may cost you your right to program, contact lpf@uunet.uu.net
From: whitney@cs.ucsd.edu (Whitney Cunha)
Newsgroups: comp.sys.mac.programmer
Subject: Desperate MPW Questions!
Date: 8 Jan 93 23:12:05 GMT
Followup-To: whitney@cs.ucsd.edu
Organization: General Atomics, San Diego

I'm new to the Mac and I'm using MPW 3.2.3.  Please!  I need some answers to 
these simple questions (just not simple to me) fast.  My boss is visiting my 
desk every 5 minutes now....

1) Why won't MPW C handle function parameters that are pointers to functions? 
       int  ksort ( int x, int y, int (*comp)() );
   MPW can't handle the pointer part.  Yet this is right out of K&R, pg 119.
   THINK C 5.0 has no problem with this.

2) How do you link the math functions!  I have included the libraries 
   "{CLibraries}"Math.o, and then even tried compiling with the 68881 processor.
   For example, link here won't be able to find sqrt:
      #include <stdio.h>
      #include <math.h>
      void main ( )   
       { float x = 9.0;
         printf ("The sqrt is %f\n", sqrt(x));
       }
  Is it something to do with the sqrt being extended and it's trying to find a 
  float sqrt?  If you get this to work, can you send me your file and MakeFile? 

3) I am the only programmer where I work and the only programmer I know who 
   uses MPW.  Is this the only place to get help?  Calling Apple for help is 
   equivalent to dropping a brick on my foot (they tell me to call the dealer 
   who's never heard of MPW - that's why they are salesman dammit!).  Is there 
   anyplace where you can pay for tech services (it'd be worth it!)?

4) Since I have you here, is there any way to make it so that the
   return key works like the enter key?  And is there a full version
   of 'vi' available for the Mac (one where you can resize windows)?
   Where do you get those helpful items like Tech notes and such?

Much much appreciated!  If I can ever repay a favor, please let me know.

Whitney
Newsgroups: comp.sys.mac.programmer
From: kurisuto@chopin.udel.edu (Sean J. Crist)
Subject: *Shareware:  How many responses do you typically get?
Organization: University of Delaware
Date: Tue, 12 Jan 1993 20:50:05 GMT

For those of you who have released shareware, how many responses have you
typically gotten?  Is it you perception that people are generally honest
or not honest about paying for shareware?  How much $$$ have you been able
to make through this system?

Also, what kind of shareware did you release, and how much did you ask for
it?  I'm interested in finding out if there are certain price ranges and
types of products which elicit a better response.

Please respond by email; I'll summarize and post, keeping all responses
anonymous unless you tell me otherwise.

--Kurisuto

Newsgroups: comp.sys.mac.programmer
From: Stormbringer <mateyg@rpi.edu>
Subject: Novice Q about sound
X-Xxmessage-Id: <A7748A8467015538@stormbringer.stu.rpi.edu>
X-Xxdate: Sat, 9 Jan 93 13:58:28 GMT
Organization: Rensselaer Polytechnic Institute
X-Useragent: Nuntius v1.1.1d14
Date: Sat, 9 Jan 1993 18:58:35 GMT

As the titles says I am a novice Mac programmer (with previous knowledge
of C) that has a few questions about sound.  I am trying to write a
real-time spectrum analyzer on the mac.  Could any wizard give me some
tips on how to manage the graphical display of sound from the sound
input port.  Also how can the mac play sound directly from the port
without recording it.  I have IM VI so you can give me the page # I 
should read to give a clue if you don't want to bother with an in
depth explanation.  Any and all help will be appreciated.  I would 
prefer any responses to be emialed to:  mategy@rpi.edu.
Thanks!!
************************************************************************
George J Matey                          One lawyer with a briefcase
Rensselaer Polytechnic Institute         can steal more money than
email: mateyg@rpi.edu                     a hundred men with guns.
                                                   - Mario Puzo
************************************************************************
Xref: sparky comp.sys.mac.programmer:21250 comp.sys.mac.games:14150
From: jwhitnell@cup.portal.com (Jerry D Whitnell)
Newsgroups: comp.sys.mac.programmer,comp.sys.mac.games
Subject: Re: Code for drawing a sprite desired.
Date: Mon, 11 Jan 93 21:29:47 PST
Organization: The Portal System (TM)
  <1993Jan10.222055.342@midway.uchicago.edu>

In article <1ha3ikINN7tm@uwm.edu> bowden@csd4.csd.uwm.edu (John William Bowden)
 writes:
>Hiya,
>
> THere is alot of interest in writing games for the mac (myself included.)
>If there's a kindly sagelike programmer out there with a little time on
>his/her hands, could someone share a technique for copying a sprite from an
>offscreen grafPort?

Check out the latest developer's CD.  On it, in a folder called Animation f,
is a set of C and assembler files that implement a sprite manager, which
does basically what you want.  I havn't played with it, but I'm guessing from
a quick glance at the code.  Apple's license agreement prevents me from
posting/mailing it so please don't ask.  Maybe some kind sole from Apple
will brave their own legal department and post it.

Jerry
From: eaeu209@orion.oac.uci.edu (Rodney G. Ramos)
Subject: **BOOKS TO LEARN C: SUGGESTIONS NEEDED**
Newsgroups: comp.sys.mac.programmer
Organization: University of California, Irvine
Distribution: usa
Date: 9 Jan 93 09:20:11 GMT
Followup-To: comp.sys.mac.programmer

I had posted about this earlier, but the response wasn't that great.

I've recently been interested in learning C. Can anyone suggest a good book
to get me started?

I already know Pascal, so it's important that I find a book that does not
assume the reader has no knowledge or experience with programming.

Any suggestions would be much appreciated. I would also like to compile
a list of the responses for future reference for others.

Please e-mail if possible.
Rodney
Newsgroups: comp.sys.mac.programmer,comp.windows.ms.programmer,comp.os.ms-windows.programmer.tools
From: kent@lloyd.Camex.COM (Kent Borg)
Subject: Re: Stallman and friends
Organization: Camex Inc., Boston MA
Date: Thu, 07 Jan 1993 15:20:52 EST

In article <D2150035.mrrnh5@outpost.SF-Bay.org> peirce@outpost.SF-Bay.org (Michael Peirce) writes:
>
>In article <1993Jan3.221507.17152@plx.com> (comp.sys.mac.programmer,comp.os.ms-windows.programmer.tools,comp.windows.ms.programmer), sailu@plx.com (Sailu Reddy) writes:

>>Then again what do I know, I have the same wierd ideas and hope
>>someday I have the honour of calling "RMS" a friend.

I am proud to say that I have already had the honor of reminding
Stallman who I am and having him remember me with: "Oh, you're *that*
asshole."

P.S.  I am glad Stallman is out there doing his thing, and I am happy
he won that MacAuthor fellowship.  I am just glad he is not going to
get his way in building *his* utopia--sounds like Hell to me.


--
Kent Borg            kent@camex.com or kentborg@aol.com (when it is *working*)
                                            H:(617) 776-6899  W:(617) 426-3577
As always, things look better when some costs are left out.
						      -Economist 3-28-92 p. 94
Newsgroups: comp.sys.mac.programmer
Distribution: world
From: stoney@cosoco.com (Stoney Ballard)
Organization: Component Software Corp., Lexington, MA USA
Date: Sat, 09 Jan 1993 09:00:47 EST
Subject: Why Control Segmentation?

I'd like to hear opinions from Mac programmers about how much control you
want/need over the segmentation of your programs. Do you really care about
which functions are in which segments? Why? Do you really see performance
differences from this or do you just feel better with functions that call each
other in the same segment? Or is the only thing you need to control the
"functional grouping" of the segments to minimize the amount of code that
needs to be resident at one time. Would you like to be able to assign segments
by function, or is by class or by module good enough?

This information will contribute to the design of the segmentation editor in
Component Workshop.

Thanks for any help on this.

------------------------------------------------------------
   Stonewall Ballard, CTO, Component Software Corp
					stoney@cosoco.com
  			 (apply standardDisclaimers argument)
------------------------------------------------------------

Newsgroups: comp.sys.mac.programmer
From: wolfmc@rtsg.mot.com (Michael Wolf)
Subject: No programmer switch, so how to enter MacBugs on LCII?
Organization: Motorola Inc., Cellular Infrastructure Group
Date: Mon, 4 Jan 1993 19:16:10 GMT

Am I missing it or is it actually not there.  Why does the LCII not have
a programmers switch on the side.  This would enable me to enter MacBugs 
at the time I desire it.

So, how do I enter MacBugs then without the programmer switch?

Thanks.
Newsgroups: comp.sys.mac.programmer
Subject: Re: SFGetFile's directory after an Open Event
From: russells@ccu1.aukuni.ac.nz (Russell Street)
Date: Tue, 5 Jan 1993 19:22:51 GMT
 <76105@apple.apple.COM>,<1993Jan5.135459.8834@cujo.curtin.edu.au> <1993Jan5.153640.5291@alw.nih.gov>
Organization: University of Auckland, New Zealand.

fixer@faxcsl.dcrt.nih.gov (Chris Clinging Desperately Tate) writes:

>Personally, I prefer to have the Standard File directory set when I open a
>file ...

So do I! I often want to use more than one application at once and get
(um) annoyed when some of them don't adjust the SF dialog and the
others don't.  Part of this could be the "keyboard vs mouse" debate.
As a touch typist I get annoyed when I have to take my hands off the
keyboard to do something with the simple with the mouse -- an opening
files in various folders over a disk is one of them.

Senario: I find deeply nested folder X in the Finder, and want to edit
three files in it -- one at a time. I double click file #1, edit it,
close the document all without taking hands off the keyboard.  I then
select Open (using Cmd-O): if the app has changed the SF directory I
can select file #2 quickly and easily. If the app has not I either
have to dig up X again or go back to the Finder (using the mouse).

One answer here is that you put the SF dialog to the same directory as
the file currently open :) (or the last place seen if no document is
open, assuming it still exists).

>It seems this is a tricky question.  For example (just to play devil's advocate
>a bit), should the app redirect the SF globals at every 'odoc', or just for
>documents that were double-clicked to launch the app?  If you change it at
>every 'odoc,' you interfere with people who want to open multiple documents in
>succession, but save them all to the same place.  If you just change it at
>startup, you take care of that problem, but inconvenience people who want to
>save modified documents in the same locations as the originals!

"You can please [fool] some of the people all of the time ..."

----------------------------------------------------------
Russell Street (russells@ccu1.aukuni.ac.nz)

"If vandals kidnapp you look for finger prints on or about
your person -- that's a crime stopper."

Newsgroups: comp.sys.mac.programmer
From: positron@quip.eecs.umich.edu (Jonathan Haas)
Subject: Re: moof?
Organization: University of Michigan EECS Dept., Ann Arbor
Date: Thu, 7 Jan 1993 18:30:30 GMT

In article <1993Jan7.173355.8877@kth.se> d88-jwa@dront.nada.kth.se (Jon Wtte) writes:
>
>He's dead, guys, dead. He died with a re-structuring of DTS
>last year. Sorry to break the news.
>

They killed Clarus the Dogcow? Nooooo! :)

-- 
__/\__  Jonathan S. Haas         | Jake liked his women the way he liked
\    /  University of Michigan   | his kiwi fruit: sweet yet tart, firm-
/_  _\  positron@eecs.umich.edu  | fleshed yet yielding to the touch, and
  \/    Finger for PGP key       | covered with short brown fuzzy hair.
Newsgroups: comp.sys.mac.programmer