TweetFollow Us on Twitter

June 96 - Letters

LETTERS

TOOLFRONTEND FIXES
Thanks to Tim Maroney for his excellent column on ToolServer and CodeWarrior (develop Issue 25). But there's a bug in ToolFrontEnd that causes CodeWarrior IDE 1.5b2 to throw away the preferences every time I use it. In case you're interested, I have the solution to the problem. In addition, I've fixed a dialog for the CodeWarrior 8 API and cleaned up the code for the new API.

This bug aside, this excellent little utility has helped me a lot in my development.
-- Andreas Magnusson

Thank you for the bug report. I've created a new version of ToolFrontEnd that contains your bug fixes and others; it can be found on this issue's CD. The plug-in API was in a state of flux when I wrote ToolFrontEnd -- the new API documentation arrived on the day of my deadline for the CD, so there was no opportunity to adapt my first release for it.

I'm glad to have helped in your development; that's the real reason I write these things.
-- Tim Maroney

FONTTOPICT SNAFU
Regarding this code in FontToPict in Issue 25's Print Hints column:

MakePSHandle(qdFont, qdStyle,myEncoding, &picCommentHdl);
PicComment(kPostScriptHandle,GetHandleSize(picCommentHdl),
    piccommentHdl);

I recall that the second ar gument to PicComment is a word, which means you can't have a picture comment bigger than 32767 bytes. I think Type 1 fonts are usually quite close to this size. Should people be worried about this?
-- Lawrence D'Oliveiro

Color me stupid. You're right, people should be worried about this when they're sending the whole font. Hopefully you'll be sending only the portion of the font that you'll actually need, so the data requirements will be less. But if you're not, you need to break up the font data or use another mechanism to send it to the printer. Sorry about that.
-- Dave Polaschek

SCRIPTABLE DATABASE UPDATE
When I try to use CodeWarrior 7 to compile Greg Anderson's Scriptable Database 1.0a11 (from his article on whose clause resolution in develop Issue 24), I get the following link error:

: mpwexit.c: '__cleanupandexit__'
referenced from '_exit' is undefined

How can I fix this?
-- Jean Jourdain

You can't fix it; that version of the Scriptable Database won't compile with CodeWarrior 7, only with CodeWarrior 6 (I'll spare you the gory details). But the new version on this issue' s CD (1.0a15) has been updated so that it works fine with CodeWarrior 7 and later. Sorry for any inconvenience.
-- Dave Johnson


GOOD TIMING
Thanks to Martin Minow for his "Timing on the Macintosh" article on develop's CD. It saved me from having to hunt down and strangle whoever wrote "you must write an application-defined routine that calculates the elapsed time" in Inside Macintosh: OS Utilities and then didn't supply one.
-- Isidore Ducasse

Inside Macintosh can't supply code for everything; I'm glad develop could help fill the gap. Note that the Timing article has been updated on the CD.
-- Caroline Rose

OODL(E)S OF SPEED IN LISP
Dave Johnson's excellent column on OODLs in Issue 24 is informative and straight to the point. When he's talking about the overhead associated with dynamic languages, however, he's not quite up to date. Dynamic languages need not be slower than static languages. They can be, if the programmer isn't interested in speed. But on the other hand, numerical code in a modern LISP is every bit as fast as FORTRAN or C code, if the programmer cares to add a few declarations. There's no need to add external modules for speed nowadays.

True, some dynamic languages have a lot of runtime overhead, but LISP isn't one of them. This fact needs to be emphasized to programmers, not the obsolete idea that LISP is a slow and memory-hungry dinosaur. Interpreted LISP might have been slow 15 years ago, but so was BASIC. Unfortunately, many programmers still think LISP is interpreted, and the comparison between a compiled language such as modern C or Pascal with an ancient interpreted LISP implementation is simply not fair, nor is it correct. With Common LISP, lexical scoping, and modern compiler technology, LISP can be just as fast as any static language. So, your example of a QuickDraw 3D renderer in LISP is in fact an excellent idea.
-- Peter Bengtson

You're right, of course. Writing time-critical, number-crunching code in LISP is eminently practical now. Among dynamic languages, LISP in particular has matured in a big way and is now almost a hybrid language: full dynamism if you want it (with some accompanying overhead) or, with appropriate declarations and "explicitness of purpose" by the programmer, the speed (and brittleness!) of a static language. In a sense, it's the best of both worlds, letting the programmer decide what best fits the situation. So yes, my example was flawed, though I hope the spirit of it came through despite this.
-- Dave Johnson

TOOTING OWN OUR HORN: develop WINS BIG IN COMPETITION

We're happy to announce that develop has won top honors in the STC' s 1995 Northern California Technical Communications competition. STC is the Society for Technical Communication, an international organization of more than 18,000 writers, editors, and other technical communicators. In its category of Monthly or Quarterly Magazines, develop won not only the highest-level award, Distinguished Technical Communication, but also Best of Category. It then went on to win a Merit award in the STC's International Technical Publications Competition.

We're going to indulge ourselves here and list some of the judges' comments that we're particularly fond of.

  • The writing was very focused and stuck to the article's point. All articles seemed very informative.

  • Very well organized and well laid out.

  • The voice is very personable without being overly familiar.

  • The articles use humor appropriately. The material is very readable.

  • develop is a very polished, engaging publication from beginning to end.

It's nice to get feedback like this from the competition judges, but you, our readers, are the judges who count the most. You're the ones we want to be sure are happy with develop. We'd like to take this opportunity to thank you for the valuable input you've given us over the six and a half years of develop' s existence, and to ask you to please keep it coming. Without your support and encouragement -- and your critical feedback -- we wouldn't be what we are today.

ALL OPINIONS ARE INVITED We welcome your letters to the editor, especially regarding articles published in develop. Write to Caroline Rose (crose@apple.com or AppleLink CROSE) or, if technical develop-related questions, to Dave Johnson (dkj@apple.com or AppleLink JOHNSON.DK). All letters should include your name and company name as well as your address and phone number. Letters may be excerpted or edited for clarity (or to make them say what we wish they did). Address subscription-related queries to order.adc@applelink.apple.com or AppleLink ORDER.ADC. *

 

Community Search:
MacTech Search:

Software Updates via MacUpdate

Tomb of the Mask guide - How to increase...
Tomb of the Mask is a great endless arcade game from Happymagenta in which quick reflexes and a persistent attitude can go a long way toward earning a top score. Check out these tips to see if you can give yourself an edge on the leaderboards. [... | Read more »
Smooth Operator! (Games)
Smooth Operator! 1.0 Device: iOS Universal Category: Games Price: $2.99, Version: 1.0 (iTunes) Description: Smooth Operator is a weird, weird two-player kissing game. Squeeze in for 2 player fun on a single iPad, creating awkward... | Read more »
Sinless: Remastered (Games)
Sinless: Remastered 1.0 Device: iOS Universal Category: Games Price: $1.99, Version: 1.0 (iTunes) Description: | Read more »
_PRISM Guide - How to solve those puzzle...
_PRISM is a rather delightful puzzle game that’s been tailor made for touch screens. While part of the fun is figuring things out as you go along, we thought we’d offer you a helping hand at getting in the right mindset. Don’t worry about messing... | Read more »
Set off on an adventure through the Cand...
Like match three puzzlers? If so, Jelly Blast, the innovative iOS and Android game which launched last year, is worth a look. Jelly Blast sees you head off on an epic adventure through the Candy Kingdom with your friends Lily, Mr. Hare, and Mr.... | Read more »
Ellipsis - Touch. Explore. Survive. (...
Ellipsis - Touch. Explore. Survive. 1.0 Device: iOS Universal Category: Games Price: $2.99, Version: 1.0 (iTunes) Description: | Read more »
Ys Chronicles II (Games)
Ys Chronicles II 1.0.0 Device: iOS Universal Category: Games Price: $4.99, Version: 1.0.0 (iTunes) Description: After a hard fight to recover the six sacred books in Ys Chronicles I, Adol is back for a sequel! | Read more »
FINAL FANTASY Ⅸ (Games)
FINAL FANTASY Ⅸ 1.0.4 Device: iOS Universal Category: Games Price: $16.99, Version: 1.0.4 (iTunes) Description: ==========●Special sale price for the FINAL FANTASY IX release! ●20% off from February 10 to February 21, 2016... | Read more »
Tennis Club Story (Games)
Tennis Club Story 1.03 Device: iOS Universal Category: Games Price: $4.99, Version: 1.03 (iTunes) Description: Aim for the ace position of tennis club prestige in this simulation! Your leadership decides if players make it to the big... | Read more »
Juggernaut Wars guide - How to use skill...
Juggernaut Warsis a brand new auto-RPG on iOS and Android that challenges you to build a team of heroes, send them out into various different missions to defeat waves of heroes, and level them up to increase their power. The actual combat itself... | Read more »

Price Scanner via MacPrices.net

Sale! B&H Photo offers 12-inch Retina Mac...
B&H Photo has 12″ Retina MacBooks on sale for $300 off MSRP for a limited time. Shipping is free, and B&H charges NY tax only: - 12″ 1.1GHz Gray Retina MacBook: $999 $300 off MSRP - 12″ 1.... Read more
App Annie Reveals Future of the App Economy:...
App Annie, a San Francisco based mobile app data and insights platform, has launched its first comprehensive app economy forecast. This new offering will provide brands, agencies, investors and app... Read more
Apple restocks Certified Refurbished Mac mini...
Apple has restocked Certified Refurbished 2014 Mac minis, with models available starting at $419. Apple’s one-year warranty is included with each mini, and shipping is free: - 1.4GHz Mac mini: $419 $... Read more
What iPad Pro Still Needs To Make It Truly Pr...
I love my iPad Air 2. So much that I’m grudgingly willing to put up with its compromises and limitations as a production tool in order to take advantage of its virtues. However, since a computer for... Read more
21-inch 3.1GHz 4K on sale for $1399, $100 off...
B&H Photo has the 21″ 3.1GHz 4K iMac on sale $1399 for a limited time. Shipping is free, and B&H charges NY sales tax only. Their price is $100 off MSRP: - 21″ 3.1GHz 4K iMac (MK452LL/A): $... Read more
Apple price trackers, updated continuously
Scan our Apple Price Trackers for the latest information on sales, bundles, and availability on systems from Apple’s authorized internet/catalog resellers. We update the trackers continuously: - 15″... Read more
Save up to $240 with Apple Certified Refurbis...
Apple is now offering Certified Refurbished 12″ Retina MacBooks for up to $240 off the cost of new models. Apple will include a standard one-year warranty with each MacBook, and shipping is free. The... Read more
Apple refurbished 13-inch Retina MacBook Pros...
Apple has Certified Refurbished 13″ Retina MacBook Pros available for up to $270 off the cost of new models. An Apple one-year warranty is included with each model, and shipping is free: - 13″ 2.7GHz... Read more
Apple refurbished Time Capsules available for...
Apple has certified refurbished Time Capsules available for $120 off MSRP. Apple’s one-year warranty is included with each Time Capsule, and shipping is free: - 2TB Time Capsule: $179, $120 off - 3TB... Read more
13-inch 2.5GHz MacBook Pro (refurbished) avai...
Apple has Certified Refurbished 13″ 2.5GHz MacBook Pros available for $829, or $270 off the cost of new models. Apple’s one-year warranty is standard, and shipping is free: - 13″ 2.5GHz MacBook Pros... Read more

Jobs Board

Infrastructure Engineer - *Apple* /Mac - Rem...
…part of a team Requires proven problem solving skills Preferred Additional: Apple Certified System Administrator (ACSA) Apple Certified Technical Coordinator (ACTC) Read more
Lead Engineer - *Apple* OSX & Hardware...
Lead Engineer - Apple OSX & Hardware **Job ID:** 3125919 **Full/Part\-Time:** Full\-time **Regular/Temporary:** Regular **Listed:** 2016\-02\-10 **Location:** Cary, Read more
Simply Mac *Apple* Specialist- Service Repa...
Simply Mac is the largest premier retailer of Apple products in the nation. In order to support our growing customer base, we are currently looking for a driven Read more
Infrastructure Engineer - *Apple* /Mac - Rem...
…part of a team Requires proven problem solving skills Preferred Additional: Apple Certified System Administrator (ACSA) Apple Certified Technical Coordinator (ACTC) Read more
Lead Engineer - *Apple* OSX & Hardware...
Lead Engineer - Apple OSX & Hardware **Job ID:** 3125919 **Full/Part\-Time:** Full\-time **Regular/Temporary:** Regular **Listed:** 2016\-02\-10 **Location:** Cary, Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.