HDTenEightyP/NetNews huggingface dataset:
From: paterson@gdss.commerce.ubc.ca (Toby Paterson)
Newsgroups: comp.sys.next.programmer
Subject: Re: experienced NeXTSTEP programmer shortage
Date: 16 Dec 1992 20:31:37 GMT
Organization: The University of British Columbia
Reply-To: paterson@gdss.commerce.ubc.ca
NNTP-Posting-Host: gdss.commerce.ubc.ca

In article <1992Dec15.195018.5227@afs.com> greg@afs.com (Gregory H.  
Anderson) writes:
> 
> *soap box on*
> Why won't anyone invest in training their employees anymore? Why must  
> everyone come pre-programmed for the specific job available? I'd rather  
> teach programming to smart liberal arts majors who know how to think,  
than  
> teach thinking to a bunch of computer linguists who only know how to  
code.
> *soap box off*
> 

* gross generalizations on *
Many companies do.   For example Anderson Consulting, a multi-national  
consulting firm, spends about six months training all its new employess.   
The computer industry, however, typically has a high turnover rate; many  
employees usually stay with a company for only a few years at a time  
before moving on to the next one (in many cases, the company's  
competitor).  It's hard for a company with a high turn over rate to  
justify spending gobs of money training people who are going to leave  
shortly thereafter.
* gross generalizations off *

X

--
\\  /    Who:   Toby Paterson
 \\/     How:   tpaterso@cs.ubc.ca, paterson@gdss.commerce.ubc.ca
 //\     What:  Grunt and NeXT hacker; GDSS Fellowship
//  \    Where: University of British Columbia
Newsgroups: comp.sys.next.programmer
From: vac249f@monu6.cc.monash.edu.au (Robert D. Nicholson)
Subject: Re: WANTED: code for RESIZE-KNOB
Organization: Monash University, Caulfield Campus
Date: Fri, 11 Dec 1992 20:43:40 GMT

harit@kripalu.com writes:

>In article <mst.723853978@sanjuan> mst@sanjuan.UVic.CA (Marc Stadelmann)  
>writes:
>> 
>> I am looking for some code that implements a simple resize-knob
>> that allows the user to enlargen one view at the expense of some
>> other view in the same window.
>> 
>> The digital Librarian uses such a knob and the font panel as well.
>> 
>> I browsed through several archives but could not find any example
>> or code.  This seems like an every-day lunch for a NeXT interface,
>> so maybe I've overlooked something ?
>> 
>> 
>> Any hints ?  -- Many thanks.
>> 
>> 
>> -- Marc
>> 
>> mst@sanjuan.uvic.ca
>>

>Look in the docs for class NXSplitView.  There is no IB way to construct these  
>however.  No group in split view option as of yet.

>-- 
>Michael Allen Latta
>Kripalu Center
>harit@kripalu.com
>(413)448-3288

There was a miniexample called "BananaSplit" that did this.

Newsgroups: comp.sys.next.programmer,comp.sys.next.misc
From: BrianW@SoundS.WA.com (Brian Willoughby)
Subject: Help: linking to topics within Help.store
Reply-To: BrianW@SoundS.WA.com
Organization: SoundSoftware, Bellevue, WA, USA
Date: Sat, 12 Dec 1992 20:10:58 GMT


I've successfully added help to one of my apps, but I cannot create working  
links to any of the topics in the Help.store file created by NeXT.  I've tried  
copying the links, but I suppose that they might be relative to the Help.store  
file itself (such that they won't work when copied to a file that isn't in the  
/usr/lib/NextStep/Resources/English.lproj directory).

All of the links to my Help topics work, but the links to topics in Help.store  
just cause a beep and the current topic is redrawn (and scrolled to the top).

Has anyone been able to write their own Help topic which has links into NeXT's  
default Help.store?  If so, I would appreciate a few hints or pointers.
-- 
Brian Willoughby	Software Design Engineer, BSEE NCSU
BrianW@SoundS.WA.com	Sound Consulting and Signal Processing Software
NeXTmail welcome	- NO EMAIL SOLICITATION without prior permission
From: wick@stone.com
Newsgroups: comp.sys.next.programmer
Subject: RenderMan shadow maps
Keywords: renderman, 3d, shadows
Date: 14 Dec 92 07:43:06 GMT
Article-I.D.: stone.1992Dec14.074306.667
Reply-To: wick@stone.com
Organization: Stone Design Corp


A few more things on generating shadow maps with RenderMan.  

There are basically 2 steps:

1.  Generate a depth based picture file (Z-File).  The RIB file that you want  
to render the Z information from must have a Display call along the lines of:
Display "filename" "zfile" "z"
where filename is the name of the output Z-File.  This file is not of any  
recognized format so don't bother trying to view it.  Also, shaders and light  
sources are not used so don't bother with them, either.  Your camera  
transformations should be such that your camera is at the "from" point of  
your light, and pointing at the "to" point of it.  Also, if your light is a  
distant light, then you should not use a "perspective" projection and use  
instead "orthographic".  For spotlights, you need to use "perspective".  For  
pointlights, call Pixar and get them to explain it. (It is not fun)  Another  
thing to worry about is the ScreenWindow and whether it is large enough to  
encompass all your shadow casting and casted objects.  With distant lights  
the ScreenWindow bounds get used, with spots its the fov parameter in your  
projection. Make it so. Also, make sure the output image is sized by powers  
of 2, or else you will have a very funny looking world.

2. Call RiMakeShadow("filename.zfile", "shadowfile", RI_NULL) or just stick  
the following line after the last FrameEnd in the RIB file that generates  
your z-file, and you can do both steps in one fell swoop:
MakeShadow "filename.zfile" "shadowfile"

This will create the shadowmap in the file "shadowfile".  Then you just need  
to use a lightsource shader that incorporates shadowmaps.

I think that covers most of things that can go wrong with trying to get  
shadows.

wick

Peter Wickersham
wick@stone.com
Newsgroups: comp.sys.next.programmer
From: jacobsen@tpki.toppoint.de (Joerg Jacobsen)
Subject: Re: Lotus Improv API: have you used it?
Organization: Toppoint Mailbox e.V.
Date: Sun, 13 Dec 1992 12:59:38 GMT
Keywords: OakumPort Improv API

jpm@lanl.gov (Pat McGee) writes:
> I'm having a strange problem with writing an application that uses  
> Lotus Improv. We have two systems. On one, the application works  
> exactly the way I expected it to. On the other, I get a message in the  
> console window: 
> 	Workspace: Cannot launch program: 'OakumPort'
> and the application quits.
> 
> Since I can't find any differences in how the program is installed  
> between the two systems, I'm totally mystified.

A little late but this is what should help:

Improv is using the 'default database' for environment that every NeXT
machine keeps.  If you type

	dread -o Improv
	
in a shell window you will get all the settings that Improv uses in addition
to the model information.  One line in your database should read

	Improv enableOakumPort YES

which specifies that the usage of the API is enabled.  If you can't find it
or 'enableOakumPort' is set to 'NO' type

	dwrite -o Improv enableOakumPort YES

to set it accordingly.

Joerg Jacobsen.

-- 
Jacobsen Softwareentwicklung	jacobsen@tpki.toppoint.de (NeXTmail)
W-2300 Kiel			Voice:	(+49) 431 805467
Germany				Fax:	(+49) 431 553623
Newsgroups: comp.sys.next.programmer
From: finger@convex.com (Jay Finger)
Subject: Re: grepping, fgrepping, and egrepping
Organization: CONVEX Computer Corporation, Richardson, Tx., USA
Date: Tue, 15 Dec 1992 17:12:14 GMT
X-Disclaimer: This message was written by a user at CONVEX Computer
              Corp. The opinions expressed are those of the user and
              not necessarily those of CONVEX.

In article <Bz8AB5.7n3@research.canon.oz.au> andy@research.canon.oz.au (Andy Newman) writes:
>iguana@mik.uky.edu writes:
>>Is there anyway to get GREP to take a given string or character
>>and return the result of validating a string WITHOUT these?
>>
>>fgrep -v 'string'  <-- will return all LINES that don't have 'string'
>>in them. But I need a process that will read in a string and output
>>every character EXCEPT those in the string.
>>
>
>man sed

I don't think he wants sed.  What he asked for is to remove every
*character* except those in the string.  He's not looking to remove
strings, but to remove characters.  For this he should use tr(1) with a
"-d" option.

For example, to remove all characters a,b,c,d from a file, pipe it through
the following:

	tr -d abcd

Of course, depending on what's in the string, you may want to quote it.

jay
-- 
===============================================================================
Jay Finger - finger@convex.com        | Convex Computer Corp
CONVEX System Integration and Support | 3000 Waterview Parkway
Product Specialist                    | Richardson, TX 75080
Newsgroups: comp.sys.next.programmer,comp.sys.next.software
From: gerben@rna.indiv.nluug.nl
Subject: PGP as encryption for NeXTmail
Organization: G.R.O.S.S.
Date: Wed, 16 Dec 1992 19:24:54 GMT

Hi!

I'm currently making a hack to get pgp encryption easily available as a service  
through Terminal services in NeXTmail. But mail that is received is in an  
uneditable window. What is the easiest way to get something in a Window on your  
screen from unix?

	Giving it to Edit?
	Creating something that is an (RTF) window like the ShellPanel stuff?

Or is there a way to hack the Mail.app nib to make it editable (and make the rest  
of the app react to a change of content of the message).

Last item here: A window that contains an attachment will be a problem in this  
solution. Anybody any smart ideas?

Thanks,

-- 
Gerben Wierda                 Tel. (+31) 35 833539
  "If you don't know where you are going, any road will take you there."
  From the Talmud(?), rephrased in Lewis Carroll, "Alice in Wonderland".
From: rwb@alexander.VI.RI.CMU.EDU (Robert Berger)
Newsgroups: comp.sys.next.programmer
Subject: NextDimension video memory mapping
Date: 15 Dec 92 23:33:59 GMT
Article-I.D.: cs.BzBqst.JBK.2
Organization: School of Computer Science, Carnegie Mellon


Can the video memory of the Dimension be accessed directly, through
/dev/vid0?

If so, where can I find some example source that does this? Maybe
in some X implementation ?
Newsgroups: comp.sys.next.programmer
From: derek@slab.slip.uiuc.edu (Derek Taubert)
Subject: Re: 8 bits AND parity, please
Reply-To: derek@slab.slip.uiuc.edu (Derek Taubert)
Organization: Damage, inc.
Date: Sat, 19 Dec 1992 23:14:05 GMT

> Yup.  HAD I spoken to anybody at NeXT about this, they MIGHT just have said
> this as well (ahem).  Is there a 68040 disassembler shipped with NS, if not,
> where to get one?  I assume not, since no man page for 'dis'.

Boy, do I feel dumb.  How about otool -tV?  Sorry I wasted your time with my
ignorance...

Derek
Newsgroups: comp.sys.next.programmer
From: dave@nakiska.ucs.ualberta.ca (David Ross)
Subject: "Ghosted" icons in File Viewer shelf
Organization: University Of Alberta, Edmonton Canada
Date: Fri, 18 Dec 1992 21:53:25 GMT

Hi folks.
	I'm just trying to pretty up an application of mine that accepts  
icons dragged in from the File Viewer.  What I would like to do is ghost  
the icon image as it enters the Icon Well in the same way the the File  
Viewer shelf does.
	I have tried various combinations of compositing, with alpha,  
compositing gray boxes over top, etc., and I can't seem to duplicate the  
effect exactly right.  Can anyone tell me the secret???  Pretty please?
(NeXT??)
--
David A. Ross, Programmer Analyst  | dave@nakiska.ucs.ualberta.ca
Computing and Network Services     |  (NeXTmail welcome)
352 Gen Serv Bldg, Univ of Alberta | Phone: (403) 492-9339
Edmonton, Alberta, Canada  T6G 2H1 | Fax:   (403) 492-1729
Newsgroups: comp.sys.next.programmer
From: gcolello@biosphere.Stanford.EDU (Greg Colello)
Subject: Call For Telecommuting Next Consultants
Organization: DSO, Stanford University
Date: Wed, 16 Dec 92 21:02:48 GMT

I have been following the NextStep programmer shortage thread with great  
interest. I just posted an answer lamenting the lack of Next telecommuting  
consultant positions. I have a feeling there may be lots of Next  
programmers like myself prepared to do part-time consulting over the  
network. So...

If you fit into the following description, please send email to me on how  
you fit the description. I will compile a list of available telecommuting  
Next consultants and their capabilities and publish it (as a public  
service). Maybe there's power in numbers. Maybe I'm the only one. Maybe  
this is a crazy idea in this "on-site only" era. I'm curious.

1. You own a Next computer, or you work in a Next environment where your  
employer doesn't mind you using the machines for consulting purposes. I  
suppose this could include third party developers who do consulting on the  
side.

2. You have enough experience with the Next that you can write a NextStep  
application in a reasonable amount of time. This is a tricky point. I  
expect that this issue can best be handled as a productivity per $  
adjustment. If this idea gets going, I will try to generate some standard  
numbers for the next community. I expect that billing rates could range  
from $15/hr to $100/hr depending on your productivity rate.

3. You have other kinds of experience that could be useful on a part-time  
basis (e.g. quality assurance, documentation, system administration, etc).

4. You are attached to the net and can absorb network connect charges (if  
any) until billing reinbursement.

5. You are prepared to work at least 15-20 hours a week.

6. You can function legitimately as a consultant. This refers to income  
tax status, providing your own health care, covering miscellaneous  
reimbursable costs, doing billing, etc.

7. You can provide security at your site.

8. You are prepared to possibly make one plane or car trip to the  
employer's site as part of the contract.

Can you think of others?

I expect that the potential employers of these "telecommuting consultants"  
would include:

1. Third party developers who need some part-time help to get through a  
"crunch".

2. Large commercial Next sites developing custom Next apps. Here I assume  
the part-time projects would tend to be more long-term (less critical).  
Part-timers could fill in gaps in the project not covered by the on-site  
full-timers.

3. Individuals (like faculty) who don't want to fool with the programming  
but have an application need nonetheless. Again probably less time  
critical.

Can you think of others? Let's compile a potential list for distribution  
purposes.

-----------------------------------------------------------------
Greg Colello
Carnegie Institution, Department of Plant Biology
Stanford University
gcolello@biosphere.stanford.edu (NeXT mail OK)
Newsgroups: comp.sys.next.programmer
From: fozztexx%nvcc.uucp@groucho.sonoma.edu
Subject: NXImage and filters
Organization: Napa Valley College
Date: Mon, 14 Dec 92 20:44:53 GMT


So how do I go about getting the list of file types that are supported
by NXImage? Specifically, ones that are NXBitmapImageReps. I currently
have a filter installed that can handle gifs.

I want to do this so that when I open a file, all the supported
bitmaps will be in the OpenPanel. IconBuilder can do it, I want to
too.

I tried using [NXImage imageFileTypes], but it only returns the basic
ones (tiff, tif, eps) and not any of the installed filter types. Also,
I don't want the eps type anyway, just the bitmap types.

Thanks.

-- 
Chris Osborn, Network Administrator
Napa Valley College
fozztexx%nvcc.uucp@groucho.sonoma.edu <- Preferred
fozztexx@groucho.sonoma.edu              NeXTMail ok at both
From: paterson@gdss.commerce.ubc.ca (Toby Paterson)
Newsgroups: comp.sys.next.programmer
Subject: Re: Custom Palette for FormCell?
Date: 16 Dec 1992 20:40:52 GMT
Organization: The University of British Columbia
Reply-To: paterson@gdss.commerce.ubc.ca
NNTP-Posting-Host: gdss.commerce.ubc.ca

In article <1992Dec16.190747.23282@ornl.gov> woo@ornl.gov (John W. Wooten)  
writes:
> How do I create a custom palette for a subclass of TeXT or of Form  
> Cell?
> 
Text and FormCell are both subclasses of View.  Just follow the  
instructions for creating a CustomView palette.

> When I tried to convert EntryCheckForm, the file palette.table was  
> never created even though I got no errors when starting project builder  
> to build a custom palette.  Everything compiled, etc.  BUT when you try  
> to use it, the palette that was generated won't load into IB.
> 
When you create a new palette project, ProjectBuiler automatically creates  
an empty palette.table file for you; you still have to fill this file in  
with the pertinent information.  This file is needed only by IB in order  
to load the palette.

Since you are convertng a 2.0 IB project file, ProjectBuilder doesn't know  
to create this file for you.  The solution is to find an existing 3.0  
palette (or create a new one from ProjectBuilder) and copy its  
palette.table file into your new project.

The format for the palette.table file is given somewhere in the IB  
documentation and is pretty obvious.

X

--
\\  /    Who:   Toby Paterson
 \\/     How:   tpaterso@cs.ubc.ca, paterson@gdss.commerce.ubc.ca
 //\     What:  Grunt and NeXT hacker; GDSS Fellowship
//  \    Where: University of British Columbia
From: patrick@dabba.graphics.cornell.edu (Patrick Heynen)
Newsgroups: comp.sys.next.programmer
Subject: Re: Arrgh  - Renderman is crashing - HELP
Date: 12 Dec 1992 22:44:28 GMT
Organization: Cornell University Program of Computer Graphics
NNTP-Posting-Host: yabba.graphics.cornell.edu
Keywords: 3d,molecule,renderman,help

In article <Bz5rC9.1A9@rice.edu> steve@ion.rice.edu (Steve Ludtke) writes:
> 
> For the last few days I've been working on a molecule display app using  
> renderman. It's now working perfectly, with one exception. Whenever I try to  
> draw a large molecule (300-400 spheres), renderman chokes. I get a message on  
> the console about renderman losing it's connection to the window server or  
> something. After digging around the filesystem for a while, I located the place  
> where the renderman daemon writes ITS errors, and discovered a variety of  
> messages all boiling down to "out of memory", including some that explain why  
> it can't connect to the window server (memory problems again). Thinking back, I  
> remember similar problems when I tried to put too many spheres in when  
> debugging Plot3D.   Is there any way to increase the amount of memory the  
> renderman daemon has available to it???  NeXT's complete lack of documentation  
> doesn't help the situation at all!    Any advice at all would be greatly  
> appreciated!

This is a bug in the QRman server- A real pain.  You can't really play around  
with large data sets because all of a sudden, QRman can't handle it anymore and  
messes up the window server, and woops... there goes the window server!! Really  
annoying, and kinda makes you wonder how robust and useful QRman really is. I  
haven't been able to do anything 'real' on it yet!! 

BTW, Dave Springer @ NeXT is 'aware of this problem,' and has been trying to  
track it down for the last month or so. My bet is we're not gonna see any real  
fix before 3.1.

-----------------------------------------------------
Patrick Heynen 		Program of Computer Graphics
			Cornell University

patrick@yabba.graphics.cornell.edu
Newsgroups: comp.sys.next.programmer
From: jeffs@next-demo.acs.ohio-state.edu (Jeff Schluep)
Subject: multiple nib files w/dbkit
Organization: The Ohio State University
Date: Sun, 20 Dec 1992 01:20:38 GMT


	I am working on my first dbkit program and have decided that I want to  
use multiple documents.  In other words, I will have different windows  
displaying information from different records from the same database.  What I  
am trying to do is to make the document a separate nib file and then do a  
"loadNibFile" each time that I need a new document which will be loaded with  
data from a sybase database. I will have a DBModule in the nib file with  
connections to the document.  The question I have is:

	If I have a DBModule in the document nib, will I get a new  
instantiation of DBModule each time I perform a "loadNibFile" method (I suspect  
so)?  If so, does this mean that I also get another connection to our sybase  
server and quickly use up the 8 user licsense?

	Is there another way I could handle multiple documents?

Thanks,

---
Jeff Schluep                    Email: JEFF+@osu.edu
The Ohio State University
1971 Neil Avenue                Phone: (614) 292-4843
Columbus, Ohio 43210            Fax: (614) 292-1268
Newsgroups: comp.sys.next.programmer
From: dario@cns.nyu.edu (Dario Ringach, x3941)
Subject: Balanced Tree Class
Reply-To: dario@cns.nyu.edu
Organization: Center for Neural Science, New York University.
Date: Mon, 14 Dec 1992 23:11:41 GMT

Does anyone have a class for balanced trees (2-3 trees or AVL)?  Why
aren't more sofisticated data structure classes provided within the
Common classes on the NeXT?  Thank you.
--
Dario

---
Dario Ringach                           office: (212) 998-3941
Center for Neural Science               home:   (212) 727-9346
New York University                     e-mail: dario@cns.nyu.edu

Newsgroups: comp.sys.next.programmer
From: roettig@ifi.unizh.ch (Thomas Roettig)
Subject: Re: _very_ basic RenderMan question
Organization: University of Zurich, Department of Computer Science
Date: Mon, 14 Dec 1992 13:48:41 GMT

In article <92346.164214U54876@uicvm.uic.edu> <U54876@uicvm.uic.edu> writes:
> Hello -
> 
>   To all you experienced NeXT programmers out there, a very basic question  
abou
> t RenderMan from someone who has just started programming.
>   I have copied, verbatim, the "minimal program using RenderMan" from page 18
> of The RenderMan Companion, saved it as test.c, and tried to compile it using:
> cc -lMedia_s test.c -o test
> 
> I get:
> 
> /bin/ld: Undefined symbols:
> _RiBegin
> _RiWorldBegin
> _RiSurface
> _RI_P
> _RiPolygon
> _RiWorldEnd
> _RiEnd
> 
> Can anyone take a little time to e-mail some help to me?  It would be greatly
> appreciated.
> 
> -Tom
Try it that way:
-------------------------
#import <ri/ri.h>

RtPoint Square[4]={{.5,.5,.5}, {0.5,-.5,.5}, {-.5,-.5,.5}, {-.5,.5,.5}};

int main(void)
{
	char *archive = "archive";
	
	RiBegin(RI_NULL, "renderer", &archive, RI_NULL);	/*Start the renderer */
		RiWorldBegin();
			RiSurface("constant", RI_NULL);
			RiPolygon(4,						 
		/*Declare the square */
				RI_P, (RtPointer) Square, RI_NULL);
		RiWorldEnd();
	RiEnd();								 
			/* Clean up			 */
	return 0;
}
------------------------
To compile use a Makefile with something like this:

--------------------------
rib: 1.c 
	cc -g -O -Wall -o rib 1.c -lMedia_s  -lNeXT_s
--------------------------
This gets you going.

--

Gruss 
Tom
_____________________________________
Thomas Roettig
thomas@nice.usergroup.ethz.ch
Newsgroups: comp.sys.next.programmer