elcond@garnet.berkeley.edu (Gregory Dow) (02/23/88)
The recent posting by Emphraim Vishniac regarding a custom WDEF whose source code he is sending to info-mac indicates that there are many (well, at least a few) people who want source code examples. However, the volume on comp.sources.mac is almost nil. Why aren't people posting source code? Is it that most good programmers have jobs which prohibit them from posting sources or that people want to keep their favorite programming techniques a secret? I have looked at the transskel stuff on sumex as well as the textedit application listed in volume 2 of "Macintosh Revealed" by Stephen Chernicoff. Both present a nice framework for a simple Mac application. MacTutor is a good source for more advanced programming. However, I am frequently disappointed with the quality of both the code and the documentation. I think that regular postings of sample code and subsequent discussion of the techniques used would be very helpful. Does anyone else feel this way? I'd by happy to coordinate this activity (and post a lot of my own source code) if there's enough interest. -- Greg Gregory Dow ARPA: elcond@garnet.berkeley.edu Chemical Engineering Dept. UUCP: {uwvax, decvax, ihnp4, ...}!ucbvax University of California !elcond%garnet.berkeley.edu Berkeley, CA 94720 BITNET: POLYDOW@UCBCMSA
jellinghaus-robert@CS.YALE.EDU (Rob Jellinghaus) (02/25/88)
In article <7136@agate.BERKELEY.EDU> elcond@garnet.berkeley.edu.UUCP (Gregory Dow) writes: >The recent posting by Emphraim Vishniac regarding a custom WDEF whose >source code he is sending to info-mac indicates that there are many >(well, at least a few) people who want source code examples. However, >the volume on comp.sources.mac is almost nil. ... >I think that regular postings of sample code and subsequent discussion of >the techniques used would be very helpful. Does anyone else feel this way? I very strongly agree. I have Chernicoff, TransSkel, and "Programming the Macintosh in C" (or whichever book it is that has the complete Mandelbrot set generator source in it), but I am always looking for more examples. I especially wonder when a new version of TransSkel will be coming out (RSN?). The current version is OK for doing very basic things, but it would be REALLY REALLY NICE if the author included a set or two of "handlers" that go on top of TransSkel to make it do different things. (For example, has anyone used TransSkel to write a basic TextEdit kind of application? If you have, could you post the sources?) The "handler" concept is not well documented in the source, and while I can get the general drift, it would be VERY nice to see exactly how handlers are used in real programs. >I'd by happy to coordinate this activity (and post a lot of my own source >code) if there's enough interest. I'm interested! Post away! (Who the %$@& moderates comp.sources.mac, anyway?!) > -- Greg > > > Gregory Dow ARPA: elcond@garnet.berkeley.edu > Chemical Engineering Dept. UUCP: {uwvax, decvax, ihnp4, ...}!ucbvax > University of California !elcond%garnet.berkeley.edu > Berkeley, CA 94720 BITNET: POLYDOW@UCBCMSA For those who care, I plan (when I next get a vacation) to write a super-duper Life program, using linked lists to store the board (see rec.games.programmer for a discussion of useful algorithms), and with an option to have multi-colored cells. I have heard that with 4 cell colors you can create gliders that have, and keep, all 4 colors as they move... This should be one HELL of a learning experience. My main problem is going to be creating some kind of cut-and-paste functionality for the program, when the underlying data structure of the board is so incredibly complex. Anyone interested in giving me some pointers? (Pun not intended...) Rob Jellinghaus | "They're cute, they're quick, and jellinghaus@yale.edu | they're small! Ha ha ha!!" ROBERTJ@{yalecs,yalevm}.BITNET | !..!ihnp4!hsi!yale!jellinghaus | -- _Good Morning Vietnam_
jra@jc3b21.UUCP (Jay R. Ashworth) (02/28/88)
From article <7136@agate.BERKELEY.EDU>, by elcond@garnet.berkeley.edu (Gregory Dow): > I think that regular postings of sample code and subsequent discussion of > the techniques used would be very helpful. Does anyone else feel this way? Yes. > I'd by happy to coordinate this activity (and post a lot of my own source > code) if there's enough interest. > > -- Greg Wonderful. I've wanted to get into Mac programming for several reasons, for several years now. But, I'm basically a lazy person. So, since I hate to program, I've been keeping my eyes open for good examples to follow. I really like the Mac interface, and I think I prefer it to X and SunTools, actually. Oh, yeah, Smaltalk, too. So I think this is a great idea. More power to you, sir. -- jra -- Jay R. Ashworth ---+-- The Great Ashworth & ------------+ ...!uunet!codas! 10974 111th St. N. | Petrillo Production Company | !usfvax2!jc3b21!jra Seminole FL 34648 +-- Gonna hafta face it, I'm addicted to news...-+--------- (813) 397-1859 ----+-- Tampa Bay's Smallest Video Production House -+ :-) !$
drc@dbase.UUCP (Dennis Cohen) (03/01/88)
Your request for a handler or pair of handlers was answered long ago (over a year) by Paul DuBois with TransDisplay and TransEdit. TransEdit even had a couple of very simplistic text editors as example programs. They are libraries to be used on top of TransSkel, as is another of his add-ons -- the BlobManager. BlobManager is a set of region and object manipulation routines, exemplified by his very nice demo called (strangely) BlobDemo. This also is over a year old. Dennis Cohen Ashton-Tate Macintosh Division dBASE Mac Development Team