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

OS X Server 4.1.3 - For OS X 10.10 Yosem...
Designed for OS X and iOS devices, OS X Server makes it easy to share files, schedule meetings, synchronize contacts, develop software, host your own website, publish wikis, configure Mac, iPhone,... Read more
pwSafe 4.1 - Secure password management...
pwSafe provides simple and secure password management across devices and computers. pwSafe uses iCloud to keep your password databases backed-up and synced between Macs and iOS devices. It is... Read more
Kodi 15.0.rc1 - Powerful media center to...
Kodi (was XBMC) is an award-winning free and open-source (GPL) software media player and entertainment hub that can be installed on Linux, OS X, Windows, iOS, and Android, featuring a 10-foot user... Read more
Coda 2.5.11 - One-window Web development...
Coda is a powerful Web editor that puts everything in one place. An editor. Terminal. CSS. Files. With Coda 2, we went beyond expectations. With loads of new, much-requested features, a few surprises... Read more
Bookends 12.5.7 - Reference management a...
Bookends is a full-featured bibliography/reference and information-management system for students and professionals. Access the power of Bookends directly from Mellel, Nisus Writer Pro, or MS Word (... Read more
Maya 2016 - Professional 3D modeling and...
Maya is an award-winning software and powerful, integrated 3D modeling, animation, visual effects, and rendering solution. Because Maya is based on an open architecture, all your work can be scripted... Read more
RapidWeaver 6.2.3 - Create template-base...
RapidWeaver is a next-generation Web design application to help you easily create professional-looking Web sites in minutes. No knowledge of complex code is required, RapidWeaver will take care of... Read more
MacFamilyTree 7.5.2 - Create and explore...
MacFamilyTree gives genealogy a facelift: it's modern, interactive, incredibly fast, and easy to use. We're convinced that generations of chroniclers would have loved to trade in their genealogy... Read more
Paragraphs 1.0.1 - Writing tool just for...
Paragraphs is an app just for writers. It was built for one thing and one thing only: writing. It gives you everything you need to create brilliant prose and does away with the rest. Everything in... Read more
BlueStacks App Player 0.9.21 - Run Andro...
BlueStacks App Player lets you run your Android apps fast and fullscreen on your Mac. Version 0.9.21: Note: Now requires OS X 10.8 or later running on a 64-bit Intel processor. Initial stable... Read more

Rage of Bahamut is Giving Almost All of...
The App Store isn't what it used to be back in 2012, so it's not unexpected to see some games changing their structures with the times. Now we can add Rage of Bahamut to that list with the recent announcement that the game is severely cutting back... | Read more »
Adventures of Pip (Games)
Adventures of Pip 1.0 Device: iOS iPhone Category: Games Price: $4.99, Version: 1.0 (iTunes) Description: ** ONE WEEK ONLY — 66% OFF! *** “Adventures of Pip is a delightful little platformer full of charm, challenge and impeccable... | Read more »
Divide By Sheep - Tips, Tricks, and Stre...
Who would have thought splitting up sheep could be so involved? Anyone who’s played Divide by Sheep, that’s who! While we’re not about to give you complete solutions to everything (because that’s just cheating), we will happily give you some... | Read more »
NaturalMotion and Zynga Have Started Tea...
An official sequel to 2012's CSR Racing is officially on the way, with Zynga and NaturalMotion releasing a short teaser trailer to get everyone excited. Well, as excited as one can get from a trailer with no gameplay footage, anyway. [Read more] | Read more »
Grab a Friend and Pick up Overkill 3, Be...
Overkill 3 is a pretty enjoyable third-person shooter that was sort of begging for some online multiplayer. Fortunately the begging can stop, because its newest update has added an online co-op mode. [Read more] | Read more »
Scanner Pro's Newest Update Adds Au...
Scanner Pro is one of the most popular document scanning apps on iOS, thanks in no small part to its near-constant updates, I'm sure. Now we're up to update number six, and it adds some pretty handy new features. [Read more] | Read more »
Heroki (Games)
Heroki 1.0 Device: iOS Universal Category: Games Price: $7.99, Version: 1.0 (iTunes) Description: CLEAR THE SKIES FOR A NEW HERO!The peaceful sky village of Levantia is in danger! The dastardly Dr. N. Forchin and his accomplice,... | Read more »
Wars of the Roses (Games)
Wars of the Roses 1.0 Device: iOS Universal Category: Games Price: $4.99, Version: 1.0 (iTunes) Description: | Read more »
TapMon Battle (Games)
TapMon Battle 1.0 Device: iOS Universal Category: Games Price: $.99, Version: 1.0 (iTunes) Description: It's time to battle!Tap! Tap! Tap! Try tap a egg to hatch a Tapmon!Do a battle with another tapmons using your hatched tapmons! *... | Read more »
Alchemic Dungeons (Games)
Alchemic Dungeons 1.0 Device: iOS Universal Category: Games Price: $.99, Version: 1.0 (iTunes) Description: ### Release Event! ### 2.99$->0.99$ for limited time! ### Roguelike Role Playing Game! ### Alchemic Dungeons is roguelike... | Read more »

Price Scanner via MacPrices.net

Seagate Backup Plus Drives Feature 200GB of C...
Seagate Technology plc has announced that its Backup Plus family of external storage offerings will now include 200GB of OneDrive cloud storage, a major added value, and the addition of Lyve’s photo... Read more
Canon PIXMA MG3620 Wireless Inkjet All-in-One...
Canon U.S.A., Inc. has announced the PIXMA MG3620 Wireless (1) Inkjet All-in-One (AIO) printer for high-quality photo and document printing. Built with convenience in mind for the everyday home user... Read more
July 4th Holiday Weekend 13-inch MacBook Pro...
Save up to $150 on the purchase of a new 2015 13″ Retina MacBook Pro at the following resellers this weekend. Shipping is free with each model: 2.7GHz/128GB MSRP $1299 2.7GHz/... Read more
27-inch 3.5GHz 5K iMac on sale for $2149, sav...
Best Buy has the 27″ 3.5GHz 5K iMac on sale for $2149.99. Choose free shipping or free local store pickup (if available). Sale price for online orders only, in-store prices may vary. Their price is $... Read more
Apple now offering refurbished 2015 11-inch...
The Apple Store is now offering Apple Certified Refurbished 2015 11″ MacBook Airs as well as 13″ MacBook Airs (the latest models), available for up to $180 off the cost of new models. An Apple one-... Read more
15-inch 2.5GHz Retina MacBook Pro on sale for...
Amazon.com has the 15″ 2.5GHz Retina MacBook Pro on sale for $2274 including free shipping. Their price is $225 off MSRP, and it’s the lowest price available for this model. Read more
Finally Safe To Upgrade To Yosemite’?
The reason I’ve held back from upgrading my MacBook Air from OS X 10.9 Mavericks to 10.10 Yosemite for nearly a year isn’t just procrastination. Among other bugs reported, there have been persistent... Read more
Logo Pop Free Vector Logo Design App For OS X...
128bit Technologies has released of Logo Pop Free 1.2 for Mac OS X, a vector based, full-fledged, logo design app available exclusively on the Mac App Store for the agreeable price of absolutely free... Read more
21-inch 1.4GHz iMac on sale for $999, save $1...
B&H Photo has new 21″ 1.4GHz iMac on sale for $999 including free shipping plus NY sales tax only. Their price is $100 off MSRP. Best Buy has the 21″ 1.4GHz iMac on sale for $999.99 on their... Read more
16GB iPad mini 3 on sale for $339, save $60
B&H Photo has the 16GB iPad mini 3 WiFi on sale for $339 including free shipping plus NY tax only. Their price is $60 off MSRP. Read more

Jobs Board

Frameworks Engineer, *Apple* Watch - Apple...
**Job Summary** Join the team that is shaping the future of software development for Apple Watch! As a software engineer on the Apple Watch Frameworks team you will Read more
Mobile Payments Counsel, *Apple* Pay (digit...
**Job Summary** Apple is looking for an atto ey to join Apple 's Legal Department to support Apple Pay. **Key Qualifications** 4+ years of relevant experience Read more
*Apple* Solutions Consultant - Retail Sales...
**Job Summary** The ASC is an Apple employee who serves as the Apple business manager and influencer in a hyper-business critical Reseller's store which delivers Read more
Partner Marketing Manager, Merchant- *Apple*...
**Job Summary** The Apple Pay partner marketing team is looking for a marketing manager to develop and drive US marketing programs with our merchant partners. The right Read more
*Apple* Solutions Consultant - Retail Sales...
**Job Summary** As an Apple Solutions Consultant (ASC) you are the link between our customers and our products. Your role is to drive the Apple business in a retail Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.