HDTenEightyP/NetNews huggingface dataset:
From: istewart@pyrian.com
Subject: PARABASE for sale
Organization: Pyrian, San Fran, CA, USA
Date: Sun, 6 Sep 1992 20:43:10 GMT

I have a copy of Parabase for sale $500. includes example disk and free upgrade  
to 1.1 (SEPT,OCT,NOV). I will throw in a couple of goodies from expo if the  
price seems too hign:

reply to:

istewart@pyrian.com
-- 
Ian H. Stewart                      |  voice/fax 415-664-1170
Pyrian Software Group               |  CIS  71101,1260
Always looking for new SW to market |  Net  istewart@pyrian.com
NeXT,Mac,PC & Sun		    | Isn't LiFE more like RiSK?
Newsgroups: comp.sys.next.programmer
From: samurai@cs.mcgill.ca (Darcy BROCKBANK)
Subject: Re: DIstributed Objects Problem (HELP!)
Organization: SOCS - Mcgill University, Montreal, Canada
Date: Tue, 15 Sep 1992 21:59:27 GMT

In article <4987@rosie.NeXT.COM> sam_s@NeXT.com writes:
>samurai@cs.mcgill.ca (Darcy BROCKBANK) writes:
>
>> (... A bunch of stuff about distributed applications)
>
>You mentioned that you ran the server's connection, but you didn't mention
>running the clients connection.  Let's see if I can make this clear.
>
>When you asked for the registered server object, you actually got a proxy
>to that object.  In order to make that happen, a connection was created for
>you automatically on the client side.  You can get this connection like this:
>
>	magicConnection = [myServerProxy connectionForProxy];


[ stuff deleted ]

O Great Sam, Bringer of BackSpace, and Light of the People, you are
absolutly correct!

I just added:

[[myServerProxy connectionForProxy] runFromAppKit];

And all my problems were solved!

Thanks a million...

- db

>
>This connection will receive messages at its inPort, but how will it
>send those messages to you?  It must have some "thread" of execution to
>dispatch those messages to you.  You probably want to run that connection from
>DPSclient ("runFromAppKit") so that the Objective-C messages are dispatched
>from the main thread.  You could run the connection in a new thread, but then
>when unsolicited messages came in (like those your server sends) you would
>handle those messages in the client's connection's thread, and you don't
>want multiple threads running in a NeXTstep app unless you really know
>what you're doing.
>
>In other words, since you don't run the client connection, messages
>arrive there but you never give control to the connection code to
>do anything with those messages, so they just sit there at the port.
>
>-sam
>
>--
>Opinions expressed herein are not those of my employer.  They're not even
>mine.  They're probably wrong besides.  How did they get in here, anyway?


Newsgroups: comp.sys.next.programmer
From: greg@afs.com (Gregory H. Anderson)
Subject: Re: Multiple init: functions defined
Reply-To: greg@afs.com
Date: Tue, 15 Sep 1992 03:25:40 GMT

In article <60157@mimsy.umd.edu> alex@cs.umd.edu (Alex Blakemore) writes:
> actually having several functions share a single name can be very 
> useful. Its called overloading of course and exists in languages like 
> Ada and C++. As long as the compiler can resolve the reference to the 
> correct call, and you only overload semantically similar operations, it 
> can be a great convenience.
> 
> There's no need to remember half a dozen names for the same conceptual 
> operation. you could then use just setValue: instead of setStringValue:, 
> setIntValue:, setFloatValue: etc - the compiler can figure out which one 
> you meant from the argument type and you can worry about other things.  
> Its convenient for some of the same reasons that polymorphism is.

Well, sorta. If you think about it, though, operator overloading in C++ is  
the same as reusing method names in multiple Obj-C classes, which is  
valid. For example, the overloaded C++ method (a+b) really means, "using  
the plus operator, as 'a' class defines it, apply object b to object a".  
In Obj-C, we would simply say [a add:b]. AS LONG AS 'A' AND 'B' ARE BOTH  
OBJECTS, NOT SIMPLE DATA TYPES, you can do anything you want to them  
inside the add: method in any class. Cells, for example, can be queried  
for their values in several ways, and some of AFS's private classes define  
a few more storage types. (For example, a date class might return a  
properly formatted string in response to [date stringValue], but a Julian  
number in response to [date intValue]. But you have to pass around the  
OBJECTS to do this. 

What we have here is a syntactical different between two languages--one  
lets you use the old familiar operators, like + and ==; the other makes  
you use named messages--but the result is the same: overloading. Another  
case where the C++ bigots are spreading misinformation about our beloved  
language.  8^)

--
Gregory H. Anderson          | "We're very tolerant around here,
Benevolent Dictator-for-Life |  being only amateurs ourselves."
Anderson Financial Systems   | - Tortoise (Godel, Escher, Bach)
greg@afs.com  (Nextmail OK)  |
From: isbell@cats.ucsc.edu (Art Isbell)
Newsgroups: comp.sys.next.programmer
Subject: NeXTSTEP development position in N.Y.C. area
Date: 9 Sep 1992 15:32:40 GMT
Organization: Cubic Solutions - NeXT software development and consulting
Distribution: na
NNTP-Posting-Host: am.ucsc.edu
Summary: Call Debbie Ostrow for info - 908 321 8600
Keywords: employment



Not sure this is the correct place to post this sort of thing, but programmers
are the intended audience.

I received a call from the consulting firm, Collins and Pierce, about their
need for NeXTSTEP programmers in the commodities business.  I'm posting this
without their permission, but they sounded desparate for leads :-)  But don't
contact me for more info because I don't know any details since I'm gainfully
contracted.  But this might be a good opportunity for someone wanting to get
some good NeXTSTEP experience, so I thought I'd let you know.
-- 

Art Isbell                                                      Cubic Solutions
NeXT Registered Developer #745         NeXT software development and consulting
Email: isbell@cats.UCSC.EDU                                Voice: (408)335-1154
USmail: 95018-9442                                           Fax: (408)335-2515
Newsgroups: comp.sys.next.programmer
From: cgb@count0.cmhnet.org  (Charles G. Bennett)
Subject: Re: (?) IB: setting up nexttext
Reply-To: cgb@count0.cmhnet.org
Organization: BenaTong
Date: Sat, 5 Sep 1992 05:34:08 GMT

In article <1992Sep4.003858.9857@cs.uno.edu> emurphy@cs.uno.edu (Edward Murphy)  
writes:
> 
> howdy.
> 
> have a small problem that i hope someone is "in the know" enough to help  
> me out on. i'm putting together a app with two objects. a "form" and a  
> "scrollview". i'd like to be able to tab from the last formcell to the  
> scrollview's text window. is anyone able to explain to me how i might go  
> about doing that? several attempts have not worked.
> 
> incidently, when i set the nexttext of the form to be the scrollview it  
> crashes with the message...
> 
> error: ScrollView does not recognize selector -selectText:
> 
> ..
> 
> ed murphy

set the forms target to the scrollviews docView..

Yea, Thats the ticket... :-)
Chuck
-- 
Chuck Bennett, BenaTong Consulting
Harem Security (UNIX Consulting :-) )
cgb@count0.cmhnet.org
From: bill@epnxt.jsc.nasa.gov
Newsgroups: comp.sys.next.programmer
Subject: How do I make a window respond to nothing?
Date: 9 Sep 1992 15:36:12 GMT
Reply-To: bill@epnxt.jsc.nasa.gov
Organization: nasa-jsc

I would like to create a panel to be used as a background and thus not  
respond to any thing (keyboard, mouse, ect) ...ie never become the key  
window.

I can make the window easily enough via IB but I did not see a method  
which would make the window immune to the mouse or keyboard.

Any help would be appreciated.


Thanks in advance.

		Bill
Newsgroups: comp.sys.next.programmer,comp.lang.objective-c
From: ede978e@monu6.cc.monash.edu.au (Robert D. Nicholson)
Subject: General OOP Question
Summary: General OOP Question
Organization: Monash University, Caulfield Campus
Date: Mon, 7 Sep 1992 23:47:48 GMT

If you have some time, give this one a shot.

Why would you rather develop a GUI application using OOP than using 
a structured language like C?

What benefits/problems do you see in using OOP ?

How do you feel the use of a UIMS (IB) helps ?

Please be general and not implementation specific, feel free to mention strength
s of NeXTStep if you like.

For Instance, how do you think OOP helps in separating  (application/model) from
the Interface (To MVC or not to MVC)


Newsgroups: comp.sys.next.programmer
From: quarrie@cds001.cebaf.gov (David Quarrie)
Subject: Re: 3.0 IB question
Reply-To: quarrie@cds001.cebaf.gov (David Quarrie)
Organization: CEBAF (Continuous Electron Beam Accelerator Facility)
Date: Wed, 9 Sep 1992 18:40:36 GMT

--
In article <1992Sep8.143101.6957@pencom.com>, dudney@broadway (William
"Bill" A. Dudney) writes:
|>From: dudney@broadway (William "Bill" A. Dudney)
|>Subject: 3.0 IB question
|>Date: 8 Sep 92 14:31:01 GMT
|>Organization: Pencom Software
	[....]
|>In IB under 2.x we could sellect an object and hit Command-5 to get
|>the  
|>inspector to show what the object was. Has anyone figured out how to
|>do  
|>this in 3.0 yet?
|>Bill Dudney
|>dudney@pencom.com
|>

I'd also be interested in knowing whether this is somehow still possible.

There used to be a "Miscellaneous" Inspector subpanel in the 2.1 IB
which allowed
the size to be specified and also the name of the object. In your app,
you could 
then locate an object using its owner and name. 

The concept of a name is obviously still there since I've converted some
2.1 .nib
files to 3.0 format and can still locate the objects within them, but
the 3.0 IB
doesn't appear to let you name the objects any more.

Somewhat frustrating...

-------------------------------------------------------------------------------
	David Quarrie					CEBAF MS 12H
							12000 Jefferson Ave
Internet: quarrie@cebaf.gov				Newport News VA 23606
DECnet  : cebaf::quarrie				Tel: (804) 249-7562
BITNET  : quarrie@cebaf					Fax: (804) 249-7363
Newsgroups: comp.sys.next.programmer
From: Pyrian!root (Operator)
Subject: PARABASE for Sale
Organization: Pyrian, San Fran, CA, USA
Date: Sun, 6 Sep 1992 04:48:12 GMT

I have a copy of Parabase for sale. It includes a copy of the examples disk and  
a free upgrade to 1.1 when it ships (Sept, Oct Nov). I will throw in a couple  
of goodies from Expo if the price is too high. $500.00. I paid over $750 with  
tax, shipping etc.

reply to: istewart@pyrian.com
From: simsong@next.cambridge.ma.us (Simson L. Garfinkel)
Newsgroups: comp.sys.next.programmer
Subject: Re: 3.0 IB question
Date: 10 Sep 92 12:53:32 GMT
Reply-To: simsong@next.cambridge.ma.us
Organization: Simson Garfinkel and Associates, Inc.

In article <1992Sep9.184036.2210@murdoch.acc.Virginia.EDU>  
quarrie@cds001.cebaf.gov (David Quarrie) writes:
> There used to be a "Miscellaneous" Inspector subpanel in the 2.1 IB
> which allowed
> the size to be specified and also the name of the object. In your app,
> you could 
> then locate an object using its owner and name. 
> 

Look under the Edit menu.
-- 

................................................................simson
Newsgroups: comp.sys.next.programmer
From: roder@mayo.edu (Mark N. Roder)
Subject: DBKit- Trying to get a SQL function in a query
Reply-To: roder@mayo.edu(Mark N. Roder)
Organization: Mayo Foundation, Rochester MN. Campus
Date: Wed, 9 Sep 92 19:40:37 GMT



	I am trying to find a easy answer to the following problem.  I am  
doing a phone-book type application and want to use the SQL function  
soundex to do fuzzy type of searchs on last name.

	I (will) have a trigger to create a soundex value in the table  
whenever a insert/update is done.  We will call that field sl, with the  
name field being name.  The type of query I want to do is like this:
	SELECT name FROM entries
	WHERE sl LIKE SOUNDEX('looking_for_this_name')

How can I do this with DBKit?.  

	The way I look at it, there is 2 different ways to approach this.

	1) try to get a value back from a SQL function.  I can then use  
that in the building of the qualifier.  In looking at the docs, the  
evaluateString: method would do the trick, but I don't know how to get the  
value back from that.  I can do the following from withn isql:
> 1> SELECT SOUNDEX('Anderson')
> 2> go
>        
>  ----- 
>  A536  
> 
> (1 row affected)
> 1> 
	Now, If I send it that string using evaluateString, how do I get  
the value back?   This would also be nice in finding things like MAX, MIN,  
AVG,etc


	2) Have some way of building the qualifier that has something like  
the following:
sprintf(buff,"SOUNDEX('%s')")
dbQualifier = [[DBQualifier allocFromZone:[self zone] ] 
                initForEntity:[dbModule entity]
                fromDescription:"%@ LIKE %XXX", SoundsLike,buff];
					^^^^^^ don't know 

	Has anybody solved this (probably simple) problem already?  

Thanks for the help


--
Mark Roder
NeXT Consultant, Mayo Foundation
NeXT Mail: 	roder@mayo.edu
phone:		(507) 284-5306
Newsgroups: comp.sys.next.programmer
From: ernest@pundit.cithep.caltech.edu (Ernest Prabhakar)
Subject: Re: GCC-2.2.2, 3.0PR2
Reply-To: ernest@pundit.cithep.caltech.edu (Ernest Prabhakar)
Organization: California Institute of Technology, Pasadena
Date: Tue, 8 Sep 1992 17:47:59 GMT

In article <Bu8A6F.Iz1@world.std.com> gsk@world.std.com (Geoffrey S Knauth)  
writes:
> Has anyone successfully compiled GCC-2.2.2 under NeXTstep 3.0PR2?
> rtl.c won't compile, because __extension__ is not defined away
> to nothingness.  Before I start impurifying GCC sources, I thought
> I'd ask if anyone else has been down this road.
> 
What I did was get the GCC 2.1 binaries from the archives, and compiled gcc  
2.2.2 with that.  It turned out to work just fine.  I also hacked cccp.c to  
follow NeXT's bizzare header file format, and that also (as far as I've  
checked, which isn't too far) works fine.  Once I did that, libg++ also  
compiled fine.  So, it's tricky but not impossible.
- Ernie P.
P.S.  Yes, I'm also using PR2
--
Ernest N. Prabhakar                  Caltech High Energy Physics
Member, League for Programming Freedom (league@prep.ai.mit.edu)
CaJUN President        NeXTMail:ernest@pundit.cithep.caltech.edu
"...and ourselves, your servants for Jesus sake." - II Cor 4:5b
#import <std/disclaimer.h>
Newsgroups: comp.sys.next.programmer
From: cgb@count0.cmhnet.org  (Charles G. Bennett)
Subject: Re: Command-line apps now harder (Can you pass arguments?)
Reply-To: cgb@count0.cmhnet.org
Organization: BenaTong
Date: Sun, 6 Sep 1992 16:17:50 GMT

In article <1992Sep4.194248.568@leland.Stanford.EDU>  
qureshi@unixhub.slac.stanford.edu ("For deposit only") writes:
> In article <1992Sep2.141110.19865@pencom.com> alex@laos (Alex D. Nghiem)  
> writes:
> > 
> > You can always use open, such as open Example.app to launch the  
application.
> > 
> > 
> > Best regards,
> > 
> > 
> > Alex Duong Nghiem          Phone: (512) 343-1111
> 
> How can you also pass arguments to the application being opened.  e.g, open  
> bar.app and have it open a file called "foo".  
> 
> I tried "open bar.app foo" but it doesn't work.
> 
> Thanx,
> 
> imran

Well NXArgv and NXArgc are still there, so If YOU are writing the app
just use the getopt stuff to parse the "bad fellows"  out.

Chuck
-- 
Chuck Bennett, BenaTong Consulting
Harem Security (UNIX Consulting :-) )
cgb@count0.cmhnet.org
Newsgroups: comp.sys.next.programmer
From: greg@afs.com (Gregory H. Anderson)
Subject: Re: How do I make a window respond to nothing?
Reply-To: greg@afs.com
Date: Tue, 15 Sep 1992 03:08:51 GMT

In article <1992Sep9.153612.10324@aio.jsc.nasa.gov>  
bill@epnxt.jsc.nasa.gov writes:
> I would like to create a panel to be used as a background and thus not  
> respond to any thing (keyboard, mouse, ect) ...ie never become the key  
> window.
> 
> I can make the window easily enough via IB but I did not see a method  
> which would make the window immune to the mouse or keyboard.
> 
Under program control, use "setEventMask:" to turn off all events you  
don't want to receive. The Window class docs show a list of all events and  
which ones are enabled by default. You just need a different mask.

--
Gregory H. Anderson          | "We're very tolerant around here,
Benevolent Dictator-for-Life |  being only amateurs ourselves."
Anderson Financial Systems   | - Tortoise (Godel, Escher, Bach)
greg@afs.com  (Nextmail OK)  |
From: sam_s@NeXT.com (Sam Streeper)
Newsgroups: comp.sys.next.programmer
Subject: Re: DIstributed Objects Problem (HELP!)
Date: 15 Sep 92 18:17:58 GMT
Reply-To: sam_s@NeXT.com

samurai@cs.mcgill.ca (Darcy BROCKBANK) writes:

> (... A bunch of stuff about distributed applications)

You mentioned that you ran the server's connection, but you didn't mention
running the clients connection.  Let's see if I can make this clear.

When you asked for the registered server object, you actually got a proxy
to that object.  In order to make that happen, a connection was created for
you automatically on the client side.  You can get this connection like this:

	magicConnection = [myServerProxy connectionForProxy];

This connection will receive messages at its inPort, but how will it
send those messages to you?  It must have some "thread" of execution to
dispatch those messages to you.  You probably want to run that connection from
DPSclient ("runFromAppKit") so that the Objective-C messages are dispatched
from the main thread.  You could run the connection in a new thread, but then
when unsolicited messages came in (like those your server sends) you would
handle those messages in the client's connection's thread, and you don't
want multiple threads running in a NeXTstep app unless you really know
what you're doing.

In other words, since you don't run the client connection, messages
arrive there but you never give control to the connection code to
do anything with those messages, so they just sit there at the port.

-sam

--
Opinions expressed herein are not those of my employer.  They're not even
mine.  They're probably wrong besides.  How did they get in here, anyway?
Newsgroups: comp.sys.next.programmer
From: andrew@cubetech.com (Andrew Loewenstern)
Subject: Re: Multiple init: functions defined
Organization: Cube Technologies, Inc.
Date: Fri, 4 Sep 1992 22:24:19 GMT

In article <3575@richsun.cpg.trs.reuter.com> jack@richsun.cpg.trs.reuter.com (Jack Gidding) writes:
>
>Hmmmm..... this is really strange and very undesired behavior from Objective-C
>
>When I include the header files from two different classes into a third class,
>and each of the included classes have a single init: method defined, I get  
>messages similar to the following:
>
>
>main2.m:18: warning: multiple declarations for method `init:'
>/Clib/RP.h:32: using `-init:(int )pSize'
>/Clib/RS.h:31: also found `-init:(OBJPTR )s'

This is because you have init: defined differently in two places.  In
RP, you have init:(int)pSize while in RS you have init:(id)sender.
This is a nono.  If you need an initializer that takes an int for the
starting size, call it - initSize:(int)pSize, etc... and call that.
Don't forget to call [super init]...


andrew
-- 
andrew@cubetech.com     | "We shall not cease from exploration
Andrew Loewenstern      |  And the end of our exploring
Cube Technologies, Inc. |  Will be to arrive where we started
                        |  And know the place for the first time." -T.S. Eliot
Newsgroups: comp.sys.next.programmer
From: istewart@pyrian.com
Subject: PARABASE for sale
Organization: Pyrian, San Fran, CA, USA
Date: Fri, 4 Sep 1992 21:27:54 GMT

I have a copy of Parabase 1.0 for sale. It comes with examples disk and free  
upgrade to 1.1 (Sept or Oct). I will include special stuff from NeXpo if the  
price seems to high. Please reply to:

pyrian!istewart@netcom.com (temp)
istewart@pyrian.com (After Sept 6th)
-- 
Ian H. Stewart                      |  voice/fax 415-664-1170
Pyrian Software Group               |  CIS  71101,1260
Always looking for new SW to market |  Net  istewart@pyrian.com
NeXT,Mac,PC & Sun		    | Isn't LiFE more like RiSK?
From: osiris@ucrengr.ucr.edu (mark radleigh)
Newsgroups: comp.sys.next.programmer
Subject: Making a window immobile...
Date: 9 Sep 92 01:15:34 GMT
Organization: University of California, Riverside



    Just like the title says, is there a way to make a window immobile when
it first comes up?  This window appears as soon as the application is started.
Please reply via E-Mail.  Thanks in advance.

 
  +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
 /                                                                         \
/  Mark J. Radleigh, Computer Science             | ..!ucsd!ucrmath!osiris  \
\  C.S.L.D. System Administrator, UC Riverside    | osiris@ucrengr.ucr.edu  /
 \                                                                         /
  +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Newsgroups: comp.sys.next.programmer
From: BrianW@SoundS.WA.com (Brian Willoughby)
Subject: Re: (?) IB: setting up nexttext
Reply-To: BrianW@SoundS.WA.com
Organization: SoundSoftware, Bellevue, WA, USA
Date: Mon, 14 Sep 1992 19:13:54 GMT

Charles G. Bennett writes
| emurphy@cs.uno.edu (Edward Murphy) writes:
| > [...] i'm putting together a app with two objects. a "form" and a  
| > "scrollview". i'd like to be able to tab from the last formcell to the  
| > scrollview's text window.  [...]
| >
| > incidently, when i set the nexttext of the form to be the scrollview it  
| > crashes with the message...
| >
| > error: ScrollView does not recognize selector -selectText:
| 
| set the forms target to the scrollviews docView..
| -- 
| Chuck Bennett, BenaTong Consulting
| cgb@count0.cmhnet.org

Chuck's idea should work if executed programmatically (I haven't verified it,  
though), perhaps within -appDidInit you could make this connection with a call  
to -setTarget (I couldn't make the connection to the docView within IB).

However, if you would like a solution which should work from within IB, try  
this:

Write a category of ScrollView which implements the -selectText: method.   
Within this method you can find the appropriate docView and make it the  
firstResponder, after placing the cursor where you would like it to be if it  
isn't already there.

This approach should work no matter how many different Form/ScrollView pairs  
you have.  Just hook any two of them up with IB by double-clicking the nextText  
outlet.  No need to manually set the target within your code.

I haven't verified this for ScrollViews, but I've done the exact same thing  
with NXBrowsers to allow tabbing into and out of a browser from other Forms in  
a panel.
-- 
Brian Willoughby	Software Design Engineer, BSEE NCSU
BrianW@SoundS.WA.com	Sound Signal Processing Software and Consulting
NeXTmail welcome	- NO EMAIL SOLICITATION without prior permission
Newsgroups: comp.sys.next.programmer
From: gsk@world.std.com (Geoffrey S Knauth)
Subject: GCC-2.2.2, 3.0PR2
Organization: The World Public Access UNIX, Brookline, MA
Date: Mon, 7 Sep 1992 21:54:14 GMT

Has anyone successfully compiled GCC-2.2.2 under NeXTstep 3.0PR2?
rtl.c won't compile, because __extension__ is not defined away
to nothingness.  Before I start impurifying GCC sources, I thought
I'd ask if anyone else has been down this road.

GCC-2.2.2 compiled just fine under NS 2.1.

Thanks,
Geoffrey
-- 
Geoffrey S. Knauth, Marble Associates, Inc.                Member BCS-NeXT, LPF
gsk@marble.com, (617) 891-5555 work, (617) 547-5247 home   Standard Disclaimers
Newsgroups: comp.sys.next.programmer
From: federico@heinz.in-berlin.de (Federico Heinz)
Subject: Re: 3.0 - NIKit Docs...
Organization: Federico Heinz Consulting
Date: Sat, 12 Sep 1992 11:35:12 GMT

In article <1992Sep9.145743.1010@afs.com> jon@afs.com (Jonathan Hendry)  
writes:
> Could someone with 3.0 check and see if the NIKit is documented any better?

It is, and it isn't. There is more information on it, sure, and they say that  
it's supported, unlike under 2.1. But the docs are far too terse, and I find  
myself again and again scratching my head and trying out things to see if I  
figured it out right (which I do on average on the third try).

	Federico