TweetFollow Us on Twitter

Winter 91 - Letters

LETTERS

Thanks for the excellent article in the October 1990 issue of develop dealing with polymorphism in C++ stand-alone code resources. I have one question about the code that accompanied it on the disc; it concerns the file WindowDef_main.cp: why are the overloaded "new" and "delete" operator definitions bracketed by the #ifdef NEEDED and #endif statements? Is NEEDED defined somewhere else? (I couldn't find it in any of the other files on the CD.) Are there circumstances in which you wouldn't want to overload the storage operators for a window definition function? I'm confused.
--Carlos Weber, M.D.

Yahoo, a technical buck to stop! Lemme at it!

The code in question (#ifdef NEEDED... #endif) shouldn't be there at all, and as a matter of fact is ignored by the compiler, since NEEDED isn't defined. It is left over from when Patrick was developing the code and still experimenting.

In the final version he is basing his WindowDefinition class on the Relocatable class, which is in turn based on HandleObject, an Apple® extension to C++ which uses handles instead of pointers when allocating space for new objects. No overloading of the storage operators is necessary.

Sorry about the confusion. I should have spotted that code and yanked it out before we published.
--Dave Johnson

In develop, Issue 4, you advocate installing DRVR resources at startup time by changing their resource ID to an empty slot in the Unit Table and then calling OpenDriver rather than use _DrvrInstall due to its bug.

The problem with this method is that it actually modifies the DRVR resource, which has two consequences: 1. According to Apple you are not supposed to modify yourself; and 2. it sets the last date modified field on the file. This latter problem causes backup programs to think the file has really changed and it worries users that perhaps some virus has modified that file when they know they didn't.

Thus, in my opinion, it is much better to use _DrvrInstall and, until Apple fixes the bug, stuff the DCE yourself. This method does not suffer the side effects of the OpenDriver method.
--Jeff Shulman

You're right, it's easier to use the method outlined in my article, but it's "better"to use _DrvrInstall and manually put the pointer to the driver into the appropriate field in the DCE.
--Tim Enwall

I have a question about the article on the 8*24 GC card in develop, Issue 3, which, incidentally, was excellent. On pages 338 and 339 you mention the files that must be present to use the card. Is the GC file a transparent patching upgrade or is it a supplemental code block that duplicates all of the 32-Bit QD file functionality?

Good luck with Dogcow breeding,
--David

The 8*24 GC file contains more (and less) than just the 29000 equivalent of 32-Bit QuickDraw TM; it also contains the IPC software that steals QD calls and transfers them to the card, the shell (GC OS) that receives the commands and dispatches them as well as doing the Memory Management chores and such, and finally the 'drawing' parts of 32 QD. Note that calls that do not cause any drawing to take place, such as NewGWorld, are not part of GC QD but are executed by the main processor even when acceleration is on.

All these functions are not part of 32 QD and therefore make it necessary to have the 8*24 GC file present when you want to have acceleration. So when running 6.0.x you need both files, 32 QuickDraw and 8*24 GC; under 7.0 you will need to have the 8*24 GC file present.
--Guillermo Ortiz

Have you guys considered adding perfume to the CD envelope, to try to raise a little capital from advertising to offset your costs? "C perfume, for the programmer in every man," "L'Air du Comp, as fresh as a new CPU."
--Jason Rusoff

My copy of develop arrived in my P.O. box this morning and therein lies the problem. In its original shape develop will not fit into my P.O. box so its shape was altered to make it fit. The CD is warped, and try as it might, the Finder TM cannot make the "minor repairs" it says are needed. Unfortunately, we out here on the frontier don't have someone to bring our mail to us each day; we have to go fetch it--and pay for the privilege. So I'm stuck with the U.S. Postal Service and an unusable CD.

Perhaps a large "DO NOT BEND" on the outside of subsequent issues will avert deformation. Then again, maybe not. Would you kindly use your considerable influence to get me a flat CD?

And if the printed warning doesn't work, how about a steel plate in each issue? Make that a really stiff steel plate. You know how those Postal Service people are--neither rain nor snow nor CD. . .
--Warren Michelsen

Sorry about that mangled CD--pushing the limits on information distribution sometimes we run into hassles like how to actually get the information into the hands (and drives) of the folks that need it. Hopefully our "DO NOT BEND" notice will help because I'd sure hate to have to resort to a steel plate.

f in fact, the warning doesn't help, you can contact the fulfillment house (see the subscription order form at the back of the issue for contact information) and tell them that your CD was mauled; they'll be happy to send you a new copy.
--Louella

In response to recent concern regarding the ecological soundness of your page layout, I have the following comments:

CD-ROM and electronic magazines are examples of technologies that--provided they are adopted-- are ecologically superior to more traditional media, such as paper.

develop is encouraging the adoption of these new media, and thus can easily defend its spacious page layout. It is one of the few publications that can have a positive environmental impact--provided that developers absorb and act upon its contents.

Incorporating these new technologies into useful products is the first step toward their eventual widespread adoption. By keepingdevelopeasy-to-read, you are encouraging this trend.

P.S. Providing an e-mail address for comments would also decrease paper usage!
--Bryn Dyment

Thanks for your words of encouragement. Pushing CD distribution is one way we're trying to get away from killing forests; using recycled paper is another. Our production manager, Hartley Lesser, found a paper that meets our quality standards, that doesn't use toxic chemicals for de-inking, and that's available in the quantities we require. This issue is the first one printed on the new paper--let us know what you think.

Also, we are now even more available electronically (although Dave's much more connected than I am), so if you'd rather send e-mail, feel free to use the addresses we provide.
--Louella

May it be known by you and your wonderfully talented crew how very much I appreciate your efforts on behalf of creating the wonderful, informative, interesting, entertaining, and otherwise "slick" magazine, develop. The opportunity to see what others are doing, who those others are, and perhaps to learn more than you would from MacWeek , but less than from Inside Macintosh, is indeed welcome. Add to this the fact that you include a CD-ROM and I am hard-pressed to even IMAGINE a more valuable offering. Great job. Thanks a zillion!!
--Lance Drake

I noticed that Apple is looking for a new editor-in-chief for the major publications. You're not going anywhere, are you?
--A concerned reader

First of all, believe it or not, I did not make up this letter (or even the signature). Our group (Developer Technical Communications) recently reorganized and now my grouplet is responsible for not only develop, but also technical updates (like the Q & A stack), Technical Notes, Sample Code, and reporting compatibility bugs to developers. Since I need to spend my time doing the things that managers do, I'm looking for someone to do all the real work. If this sounds fun and you think you'd be qualified, let me know.
--Louella


COMMENTS We welcome timely letters to the editors, especially from readers wishing to react to articles that we publish in develop. Letters should be addressed to Dave Johnson or Louella Pizzuti at Apple Computer, Inc., Developer Programs, 20525 Mariani Ave., M/S 75-3B, Cupertino, CA 95014 (AppleLink: Johnson.DK or Pizzuti1).

All letters should include name and company name as well as address and phone number. Letters may be excerpted or edited for clarity (or to make them look like they say what we wish they did).*

 

Community Search:
MacTech Search:

Software Updates via MacUpdate

Latest Forum Discussions

See All

Netflix Games expands its catalogue with...
It is a good time to be a Netflix subscriber this month. I presume there's a good show or two, but we are, of course, talking about their gaming service that seems to be picking up steam lately. May is adding five new titles, and there are some... | Read more »
Seven Knights Idle Adventure drafts in a...
Seven Knights Idle Adventure is opening up more stages, passing the 15k mark, and players may find themselves in need of more help to clear these higher stages. Well, the cavalry has arrived with the introduction of the Legendary Hero Iris, as... | Read more »
AFK Arena celebrates five years of 100 m...
Lilith Games is quite the behemoth when it comes to mobile games, with Rise of Kingdom and Dislyte firmly planting them as a bit name. Also up there is AFK Arena, which is celebrating a double whammy of its 5th anniversary, as well as blazing past... | Read more »
Fallout Shelter pulls in ten times its u...
When the Fallout TV series was announced I, like I assume many others, assumed it was going to be an utter pile of garbage. Well, as we now know that couldn't be further from the truth. It was a smash hit, and this success has of course given the... | Read more »
Recruit two powerful-sounding students t...
I am a fan of anime, and I hear about a lot that comes through, but one that escaped my attention until now is A Certain Scientific Railgun T, and that name is very enticing. If it's new to you too, then players of Blue Archive can get a hands-on... | Read more »
Top Hat Studios unveils a new gameplay t...
There are a lot of big games coming that you might be excited about, but one of those I am most interested in is Athenian Rhapsody because it looks delightfully silly. The developers behind this project, the rather fancy-sounding Top Hat Studios,... | Read more »
Bound through time on the hunt for sneak...
Have you ever sat down and wondered what would happen if Dr Who and Sherlock Holmes went on an adventure? Well, besides probably being the best mash-up of English fiction, you'd get the Hidden Through Time series, and now Rogueside has announced... | Read more »
The secrets of Penacony might soon come...
Version 2.2 of Honkai: Star Rail is on the horizon and brings the culmination of the Penacony adventure after quite the escalation in the latest story quests. To help you through this new expansion is the introduction of two powerful new... | Read more »
The Legend of Heroes: Trails of Cold Ste...
I adore game series that have connecting lore and stories, which of course means the Legend of Heroes is very dear to me, Trails lore has been building for two decades. Excitedly, the next stage is upon us as Userjoy has announced the upcoming... | Read more »
Go from lowly lizard to wicked Wyvern in...
Do you like questing, and do you like dragons? If not then boy is this not the announcement for you, as Loongcheer Game has unveiled Quest Dragon: Idle Mobile Game. Yes, it is amazing Square Enix hasn’t sued them for copyright infringement, but... | Read more »

Price Scanner via MacPrices.net

Apple introduces the new M4-powered 11-inch a...
Today, Apple revealed the new 2024 M4 iPad Pro series, boasting a surprisingly thin and light design that pushes the boundaries of portability and performance. Offered in silver and space black... Read more
Apple introduces the new 2024 11-inch and 13-...
Apple has unveiled the revamped 11-inch and brand-new 13-inch iPad Air models, upgraded with the M2 chip. Marking the first time it’s offered in two sizes, the 11-inch iPad Air retains its super-... Read more
Apple discontinues 9th-gen iPad, drops prices...
With today’s introduction of the new 2024 iPad Airs and iPad Pros, Apple has (finally) discontinued the older 9th-generation iPad with a home button. In response, they also dropped prices on 10th-... Read more
Apple AirPods on sale for record-low prices t...
Best Buy has Apple AirPods on sale for record-low prices today starting at only $79. Buy online and choose free shipping or free local store pickup (if available). Sale price for online orders only,... Read more
13-inch M3 MacBook Airs on sale for $100 off...
Best Buy has Apple 13″ MacBook Airs with M3 CPUs in stock and on sale today for $100 off MSRP. Prices start at $999. Their prices, along with Amazon’s, are the lowest currently available for new 13″... Read more
Amazon is offering a $100 discount on every 1...
Amazon has every configuration and color of Apple’s 13″ M3 MacBook Air on sale for $100 off MSRP, now starting at $999 shipped. Shipping is free: – 13″ MacBook Air (8GB RAM/256GB SSD): $999 $100 off... Read more
Sunday Sale: Take $150 off every 15-inch M3 M...
Amazon is now offering a $150 discount on every configuration and color of Apple’s M3-powered 15″ MacBook Airs. Prices start at $1149 for models with 8GB of RAM and 256GB of storage: – 15″ M3 MacBook... Read more
Apple’s 24-inch M3 iMacs are on sale for $150...
Amazon is offering a $150 discount on Apple’s new M3-powered 24″ iMacs. Prices start at $1149 for models with 8GB of RAM and 256GB of storage: – 24″ M3 iMac/8-core GPU/8GB/256GB: $1149.99, $150 off... Read more
Verizon has Apple AirPods on sale this weeken...
Verizon has Apple AirPods on sale for up to 31% off MSRP on their online store this weekend. Their prices are the lowest price available for AirPods from any Apple retailer. Verizon service is not... Read more
Apple has 15-inch M2 MacBook Airs available s...
Apple has clearance, Certified Refurbished, 15″ M2 MacBook Airs available starting at $1019 and ranging up to $300 off original MSRP. These are the cheapest 15″ MacBook Airs for sale today at Apple.... Read more

Jobs Board

IN6728 Optometrist- *Apple* Valley, CA- Tar...
Date: May 8, 2024 Brand: Target Optical Location: Apple Valley, CA, US, 92308 **Requisition ID:** 824398 At Target Optical, we help people see and look great - and Read more
Nurse Anesthetist - *Apple* Hill Surgery Ce...
Nurse Anesthetist - Apple Hill Surgery Center Location: WellSpan Medical Group, York, PA Schedule: Full Time Sign-On Bonus Eligible Remote/Hybrid Regular Apply Now Read more
LPN-Physician Office Nurse - Orthopedics- *Ap...
LPN-Physician Office Nurse - Orthopedics- Apple Hill Location: WellSpan Medical Group, York, PA Schedule: Full Time Sign-On Bonus Eligible Remote/Hybrid Regular Apply Read more
Supervisor/Therapist Rehabilitation Medicine...
Supervisor/Therapist Rehabilitation Medicine - Apple Hill (Outpatient Clinic) - Day Location: York Hospital, York, PA Schedule: Full Time Sign-On Bonus Eligible Read more
BBW Sales Support- *Apple* Blossom Mall - Ba...
BBW Sales Support- APPLE BLOSSOM MALL Brand: Bath & Body Works Location: Winchester, VA, US Location Type: On-site Job ID: 04388 Job Area: Store: Sales and Support Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.