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

Tokkun Studio unveils alpha trailer for...
We are back on the MMORPG news train, and this time it comes from the sort of international developers Tokkun Studio. They are based in France and Japan, so it counts. Anyway, semantics aside, they have released an alpha trailer for the upcoming... | Read more »
Win a host of exclusive in-game Honor of...
To celebrate its latest Jujutsu Kaisen crossover event, Honor of Kings is offering a bounty of login and achievement rewards kicking off the holiday season early. [Read more] | Read more »
Miraibo GO comes out swinging hard as it...
Having just launched what feels like yesterday, Dreamcube Studio is wasting no time adding events to their open-world survival Miraibo GO. Abyssal Souls arrives relatively in time for the spooky season and brings with it horrifying new partners to... | Read more »
Ditch the heavy binders and high price t...
As fun as the real-world equivalent and the very old Game Boy version are, the Pokemon Trading Card games have historically been received poorly on mobile. It is a very strange and confusing trend, but one that The Pokemon Company is determined to... | Read more »
Peace amongst mobile gamers is now shatt...
Some of the crazy folk tales from gaming have undoubtedly come from the EVE universe. Stories of spying, betrayal, and epic battles have entered history, and now the franchise expands as CCP Games launches EVE Galaxy Conquest, a free-to-play 4x... | Read more »
Lord of Nazarick, the turn-based RPG bas...
Crunchyroll and A PLUS JAPAN have just confirmed that Lord of Nazarick, their turn-based RPG based on the popular OVERLORD anime, is now available for iOS and Android. Starting today at 2PM CET, fans can download the game from Google Play and the... | Read more »
Digital Extremes' recent Devstream...
If you are anything like me you are impatiently waiting for Warframe: 1999 whilst simultaneously cursing the fact Excalibur Prime is permanently Vault locked. To keep us fed during our wait, Digital Extremes hosted a Double Devstream to dish out a... | Read more »
The Frozen Canvas adds a splash of colou...
It is time to grab your gloves and layer up, as Torchlight: Infinite is diving into the frozen tundra in its sixth season. The Frozen Canvas is a colourful new update that brings a stylish flair to the Netherrealm and puts creativity in the... | Read more »
Back When AOL WAS the Internet – The Tou...
In Episode 606 of The TouchArcade Show we kick things off talking about my plans for this weekend, which has resulted in this week’s show being a bit shorter than normal. We also go over some more updates on our Patreon situation, which has been... | Read more »
Creative Assembly's latest mobile p...
The Total War series has been slowly trickling onto mobile, which is a fantastic thing because most, if not all, of them are incredibly great fun. Creative Assembly's latest to get the Feral Interactive treatment into portable form is Total War:... | Read more »

Price Scanner via MacPrices.net

Early Black Friday Deal: Apple’s newly upgrad...
Amazon has Apple 13″ MacBook Airs with M2 CPUs and 16GB of RAM on early Black Friday sale for $200 off MSRP, only $799. Their prices are the lowest currently available for these newly upgraded 13″ M2... Read more
13-inch 8GB M2 MacBook Airs for $749, $250 of...
Best Buy has Apple 13″ MacBook Airs with M2 CPUs and 8GB of RAM in stock and on sale on their online store for $250 off MSRP. Prices start at $749. Their prices are the lowest currently available for... Read more
Amazon is offering an early Black Friday $100...
Amazon is offering early Black Friday discounts on Apple’s new 2024 WiFi iPad minis ranging up to $100 off MSRP, each with free shipping. These are the lowest prices available for new minis anywhere... Read more
Price Drop! Clearance 14-inch M3 MacBook Pros...
Best Buy is offering a $500 discount on clearance 14″ M3 MacBook Pros on their online store this week with prices available starting at only $1099. Prices valid for online orders only, in-store... Read more
Apple AirPods Pro with USB-C on early Black F...
A couple of Apple retailers are offering $70 (28%) discounts on Apple’s AirPods Pro with USB-C (and hearing aid capabilities) this weekend. These are early AirPods Black Friday discounts if you’re... Read more
Price drop! 13-inch M3 MacBook Airs now avail...
With yesterday’s across-the-board MacBook Air upgrade to 16GB of RAM standard, Apple has dropped prices on clearance 13″ 8GB M3 MacBook Airs, Certified Refurbished, to a new low starting at only $829... Read more
Price drop! Apple 15-inch M3 MacBook Airs now...
With yesterday’s release of 15-inch M3 MacBook Airs with 16GB of RAM standard, Apple has dropped prices on clearance Certified Refurbished 15″ 8GB M3 MacBook Airs to a new low starting at only $999.... Read more
Apple has clearance 15-inch M2 MacBook Airs a...
Apple has clearance, Certified Refurbished, 15″ M2 MacBook Airs now available starting at $929 and ranging up to $410 off original MSRP. These are the cheapest 15″ MacBook Airs for sale today at... Read more
Apple drops prices on 13-inch M2 MacBook Airs...
Apple has dropped prices on 13″ M2 MacBook Airs to a new low of only $749 in their Certified Refurbished store. These are the cheapest M2-powered MacBooks for sale at Apple. Apple’s one-year warranty... Read more
Clearance 13-inch M1 MacBook Airs available a...
Apple has clearance 13″ M1 MacBook Airs, Certified Refurbished, now available for $679 for 8-Core CPU/7-Core GPU/256GB models. Apple’s one-year warranty is included, shipping is free, and each... Read more

Jobs Board

Seasonal Cashier - *Apple* Blossom Mall - J...
Seasonal Cashier - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Apple Read more
Seasonal Fine Jewelry Commission Associate -...
…Fine Jewelry Commission Associate - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) Read more
Seasonal Operations Associate - *Apple* Blo...
Seasonal Operations Associate - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Read more
Hair Stylist - *Apple* Blossom Mall - JCPen...
Hair Stylist - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Apple Blossom Read more
Cashier - *Apple* Blossom Mall - JCPenney (...
Cashier - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Apple Blossom Mall Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.