TweetFollow Us on Twitter

September 95 - Letters

LETTERS

FLOATING WINDOWS AGAIN
I'd like to use the library of functions for floating windows described in develop Issue 15 by Dean Yu (updated on Issue 21's CD). I'm using CodeWarrior 5.5, and when I try to compile the sample project (or any other project that includes the WindowExtensions.h file) I get a "WindowRef redeclared" error. There seems to be a conflict with the universal headers. Before I try to get rid of this error myself (and probably make everything wrong), I thought I'd ask if you could suggest a simple and clean solution.
-- Fred Klein

On this issue's CD is a new version of the floating windows library that fixes this problem, and others. The problem was that Apple finally "caught up" with Dean and defined things in the universal headers that he had defined, in his forward-looking way, back when he first wrote the article. Also on the CD you'll find an even newer version of the library that compiles with STRICT_WINDOWS defined. This necessitated a complete rewrite of some portions of the code, so consider it risky. Please try it and send me any bugs you find!
-- Dave Johnson

POWERPC ASSEMBLY NITS
Great article on PowerPCTM assembly language in develop Issue 21! It was clear, and I learned a lot reading it. But I have two nitpicks. On page 27 you show glue code for a cross-TOC call. The second instruction should be

stw	RTOC, 20(SP)
And the third instruction has a typo in it. It should be
lwz	r0, 0(r12)
-- David Shayer

Thanks for catching these. The interesting thing is that the second instruction appears that (wrong) way in the PPCAsm manual. Whoops!
-- Dave Evans

UP ON THE DOWNSIDE
I just wanted to tell you that I really liked the Veteran Neophyte column in Issue 21, about the downside of programming. It struck a nerve with me. The thing that goes through my mind whenever I sit down to write some code is "There has to be a better way!" Alas, by the time there is a better way, I will probably have moved on to some other profession.
-- Jamie Osborne

Your Veteran Neophyte column on the pains of programming really struck a nerve (and not just because I have carpal tunnel syndrome). I often spend a while putting things on paper, only to abandon the project once I become convinced that I've figured out the solution and its implementation would just be hours and hours of typing. Sort of meta-programming.
-- Tom Busey

I just finished reading the Veteran Neophyte columns in Issue 17 and Issue 21, "Why We Do It" and "The Downside." They were given to me by a friend who is an avid programmer. The type of things you described sounded just like my friend; I think he showed the columns to me to explain why every time I see him he's sitting in front of the computer, and why he stays up till all hours of the morning working on programs that end up frustrating him.

I thought I should let you know that your columns were appreciated not only by those who program, but by those who are close to programmers and wonder sometimes what unseen force has gotten hold of them and sucked them into their work.
-- Greta Meussling

The "Downside" column seems to have hit home with many people; I got a lot of comments about it. It's nice to be assured that I'm not the only reluctant programmer in the world, and that I'm not the only one who thinks there ought to be a better way.
-- Dave Johnson

ACROBAT: PRETTY DARN FINE
This probably isn't the first time you've heard this, but how about off ering develop in Acrobat (PDF format) as well? For me, Acrobat is more convenient than Apple DocViewer as an application and, most important, its files are a lot smaller. I routinely convert develop to PDF and then add PDF hyperlinks and bookmarks. For one issue I converted, for instance, the DocViewer version (without the index) is 2.9 meg, while the PDF version is only 770K. It's even smaller than the StuffIt version of the DocViewer document (1.2 meg). And the onscreen appearance is identical. I still like the HTML versions for their immediacy, but for true WYSIWYG, low conversion effort, and small file size, you can't beat PDF.
-- Shannon Spires

We agree with you. You'll notice that on this issue's CD, every issue of develop has been converted to Acrobat -- along with all the other files on the CD that used to be in Apple DocViewer format. Enjoy!
-- Caroline Rose

UP ON THE WEB
Thanks for making both develop and Apple Directions available on the World Wide Web. We're on a very tight budget and can't afford a subscription at this time. The online versions allow us to access the infor - mation and still come out with a product on budget.
-- Mattias Fornander

I'm a student who reads develop online via the Internet through UCLA's (UNIX ® ) workstations. Your putting develop on the World Wide Web is great! Even though the comfort of reading (and printing) develop online will never equal the ease of the regular version, I don't have to fight with ftp and MS-DOS floppy disks to read your magazine. So please continue to publish develop in HTML.

IMHO, your magazine is a service to the Mac developer community, and you would help Apple by letting every possible programmer access it without hassle. Thanks for this effort.
-- Eric Gouriou

We've got articles from some issues of develop on the World Wide Web now (at http://www.apple.com, in the Developer Services area) and are working on putting more up there. This kind of feedback helps make it happen -- so thanks for writing. Readers of the online version: Don't confuse printed develop with the monthly Apple Developer Mailing; a subscription to the monthly mailing (which includes a CD that has develop on it) is rather costly, but it costs only $30 for four quarterly printed issues of develop (with Bookmark CD). See the inside front cover of this issue for ordering information. (Sorry, I couldn't resist this opportunity for a plug!)
-- Caroline Rose

KEEP US ON OUR TOES! We welcome your nitpicking letters to the editors, especially regarding articles published in develop. Letters should be addressed to Caroline Rose -- or, if technical develop-related questions, to Dave Johnson -- at AppleLink CROSE or JOHNSON.DK. Or you can write to Caroline or Dave at Apple Computer, Inc., 1 Infinite Loop, M/S 303-4DP, Cupertino, CA 95014. 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). *

 

Community Search:
MacTech Search:

Software Updates via MacUpdate

The beginner's guide to Warbits
Warbits is a turn-based strategy that's clearly inspired by Nintendo's Advance Wars series. Since turn-based strategy games can be kind of tricky to dive into, see below for a few tips to help you in the beginning. Positioning is crucial [Read... | Read more »
How to upgrade your character in Spellsp...
So you’ve mastered the basics of Spellspire. By which I mean you’ve realised it’s all about spelling things in a spire. What next? Well you’re going to need to figure out how to toughen up your character. It’s all well and good being able to spell... | Read more »
5 slither.io mash-ups we'd love to...
If there's one thing that slither.io has proved, it's that the addictive gameplay of Agar.io can be transplanted onto basically anything and it will still be good fun. It wouldn't be surprising if we saw other developers jumping on the bandwagon,... | Read more »
How to navigate the terrain in Sky Charm...
Sky Charms is a whimsical match-'em up adventure that uses creative level design to really ramp up the difficulty. [Read more] | Read more »
Victorious Knight (Games)
Victorious Knight 1.3 Device: iOS Universal Category: Games Price: $1.99, Version: 1.3 (iTunes) Description: New challenges awaits you! Experience fresh RPG experience with a unique combat mechanic, packed with high quality 3D... | Read more »
Agent Gumball - Roguelike Spy Game (Gam...
Agent Gumball - Roguelike Spy Game 1.0 Device: iOS Universal Category: Games Price: $2.99, Version: 1.0 (iTunes) Description: Someone’s been spying on Gumball. What the what?! Two can play at that game! GO UNDERCOVERSneak past enemy... | Read more »
Runaway Toad (Games)
Runaway Toad 1.0 Device: iOS Universal Category: Games Price: $2.99, Version: 1.0 (iTunes) Description: It ain’t easy bein’ green! Tap, hold, and swipe to help Toad hop to safety in this gorgeous new action game from the creators of... | Read more »
PsyCard (Games)
PsyCard 1.0 Device: iOS Universal Category: Games Price: $1.99, Version: 1.0 (iTunes) Description: From the makers och Card City Nights, Progress To 100 and Ittle Dew PSYCARD is a minesweeper-like game set in a cozy cyberpunk... | Read more »
Sago Mini Robot Party (Education)
Sago Mini Robot Party 1.0 Device: iOS Universal Category: Education Price: $2.99, Version: 1.0 (iTunes) Description: -- Children's Technology Review Editor's Choice -- | Read more »
Egz – The Origin of the Universe (Games...
Egz – The Origin of the Universe 1.0.2 Device: iOS Universal Category: Games Price: $3.99, Version: 1.0.2 (iTunes) Description: ►►► Special offer until 2nd may : get the game at 2.99€ instead of 3.99€ ! ◄◄◄ Egz is a mesmerizing mix... | Read more »

Price Scanner via MacPrices.net

15-inch Retina MacBook Pros available for $20...
B&H Photo has 15″ Retina MacBook Pros on sale for up to $210 off MSRP. Shipping is free, and B&H charges NY tax only: - 15″ 2.2GHz Retina MacBook Pro: $1799 $200 off MSRP - 15″ 2.5GHz Retina... Read more
Target offers Apple Watch Sport for $50 off M...
Target has Apple Watch Sports on sale for $50 off MSRP for a limited time. Choose free shipping or free local store pickup (if available). Sale prices for online orders only, in-store prices may vary... 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
15-inch 2.2GHz Retina MacBook Pro on sale for...
Amazon.com has the 15″ 2.2GHz Retina MacBook Pro on sale for $1699.99 including free shipping. Their price is $300 off MSRP, and it’s the lowest price available for this model from any reseller (and... Read more
Apple Beats Microsoft at Own Game; Amazon Pri...
First quarter seasonality combined with an overall disinterested customer base led to an annual decline of 14.7% in worldwide tablet shipments during the first quarter of 2016 (1Q16). Worldwide... Read more
Tablets Had Worst Quarter Since 2012, says St...
The global tablet market began 2016 just as 2015 left off, down. Tablet shipments fell 10% to 46.5 million units during the Q1 2016, according to the new “Preliminary Global Tablet Shipments and... Read more
Clearance 13-inch MacBook Airs, Apple refurbi...
Apple recently dropped prices on certified refurbished 2015 13″ MacBook Airs with 4GB of RAM with models now available starting at $759. An Apple one-year warranty is included with each MacBook, and... Read more
Clearance 12-inch Retina MacBooks, Apple refu...
Apple has dropped prices on Certified Refurbished 2015 12″ Retina MacBooks with models now available starting at $929. Apple will include a standard one-year warranty with each MacBook, and shipping... Read more
Aleratec Releases Mac Software Upgrade for 1...
California based Aleratec Inc., designer, developer and manufacturer of Portable Device Management (PDM) charge/sync products for mobile devices and professional-grade duplicators for hard disk... Read more
Sale! Amazon offers 27-inch iMac, 13-inch 2.9...
Amazon has the 27″ 3.2GHz 5K iMac and the 13″ 3.9GHz Retina MacBook Pro on sale for $300 off MSRP, each including free shipping, for a limited time: - 27″ 3.2GHz/1TB HD 5K iMac (model MK462LL/A): $... Read more

Jobs Board

*Apple* Retail - Multiple Positions - Apple,...
Sales Specialist - Retail Customer Service and Sales Transform Apple Store visitors into loyal Apple customers. When customers enter the store, you're also the Read more
Restaurant Manager (Neighborhood Captain) - A...
…in every aspect of daily operation. WHY YOU'LL LIKE IT: You'll be the Big Apple . You'll solve problems. You'll get to show your ability to handle the stress and Read more
Automotive Sales Consultant - Apple Ford Linc...
…you. The best candidates are smart, technologically savvy and are customer focused. Apple Ford Lincoln Apple Valley is different, because: $30,000 annual salary Read more
*Apple* Retail - Multiple Positions - Apple,...
Job Description: Sales Specialist - Retail Customer Service and Sales Transform Apple Store visitors into loyal Apple customers. When customers enter the store, Read more
*Apple* Solutions Consultant - Apple (United...
# Apple Solutions Consultant Job Number: 48260200 Phoenix, Arizona, United States Posted: Apr. 22, 2016 Weekly Hours: 40.00 **Job Summary** As an Apple Solutions Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.