TweetFollow Us on Twitter

Feb 89 Letters
Volume Number:5
Issue Number:2
Column Tag:Letters

Letters

By David E. Smith, Editor & Publisher, MacTutor

Invention Software Programmer’s Extender

The Resolution !!!

Dale C. Quantz

The following letter is the response to a letter published in the October 1988 issue of MacTutor. In this letter a Programmer’s Extender user (Warren Michelsen) listed a number of problems he was having with his Programmer’s Extender libraries as well as our response to his inquiries. Invention Software does acknowledge that there was a problem with the resizing of a TextEdit’s destination rectangle when using either the zoom or grow boxes. This bug ONLY occurs in the LSP version of the Extender Volume 1. The bug was inadvertently introduced when a user requested code that would resize a TextEdit’s destRect during a zoom or grow operation. Prior to this we had told other users to implement this feature in the UserHooks (named: UserGrow & UserZoom). After sending a piece of code to a user who was having trouble implementing the above mentioned functionality, the code was accidentally integrated into the LSP release versions. Up until Mr. Michelsen’s letter (he did not telephone us) we were unaware of the problem. We attempted to reproduce his reported bug and were unable to do so. We had not been aware of the problem and/or could not produce the desired affect. We then informed Mr. Michelson that we could not reproduce the bug. It was not until Mr. Michelsen’s second correspondence that we were able to reproduce the problem. The bug appears to have become more pronounced in the later system versions (most likely because of the numerous bug fixes to TextEdit).

In any case, we have completely rewritten the text editing in the Pascal Extender versions and have sent Mr. Michelsen a version of the Extender with the latest code. If any other users are encountering similar problems with the Extender’s implementation of TextEdit (apart from the 32,000 character limit which is inherent in TextEdit) please contact our technical support staff between the hours of 8:30am - 5:00pm EST.

Update to Event Simulator

Matthew Snyder

Fairfield, CA

Another weekend, another thought about Event Simulator. This thought is a minor one, though, and I’m not even sure if it’s significant enough to merit a change. [This letter refers to a program published in the January 1989 issue of MacTutor. -Ed]

The change would be a minor one, too. Right before the heading How the Demo Works and right after that long paragraph about memory, I would add this paragraph:

"I could have avoided the memory problem by using PPostEvent instead of Enqueue. PPostEvent takes an event type and message as arguments, and creates an event using current mouse position, modifier keys, etc., posts the event, and returns to you a pointer to the new queue element. You can then use that pointer to modify the event to your liking. However, I found this method unsatisfactory for a general library because the size of the Event Queue Buffer limits you to 20 consecutive events."

I was trying to imagine what type of critical letters I could expect from readers, and it occurred to me that anyone that’s done this kind of thing before has probably used PPostEvent. “Why didn’t you use PPostEvent? Don’t you have a copy of Inside Mac IV? It’s easy. Here’s how ” The disclaimer above explains why I didn’t use PPostEvent.

[Thank you, Matthew, for your update. Matthew is one of the more concientuous writers, always thinking about his article, even after it has been submitted. Unfortunately, this letter came to me just as I was proofing the final proofs of the journal. -KC]

MacFortran/020 Math Library

Tatsuhito Koya

Evanston, IL

Being a student, I have been on a tight budget lately. I had to terminate most of my magazine subscriptions, but I have decided to keep MacUser, Computer Shopper, and MacTutor. These three magazines have been the main sources of information about what is happening in the world of personal computing--the world of the Macintosh, specifically.

I am not a computer science major; hence, it is difficult for me to find time to develop my programming skill, yet I do have opportunities to use computers for engineering computations. I do most of my computations on the main frame, but I would really like to use my Mac as well. I have MacFortran/020, but the problem is that I cannot find a math library for it anywhere. Moreover, Edit text editor is not one of the best program editors around. I would really appreciate it if you could recommend me a good math library (modifiable preferred) and a program editor.

[ I called Absoft to check on the math library; unfortunately, they knew of none, but they seemed to like the idea; maybe our readers know of a library out there, or will create one. -KC]

[As for a text editor, I would suggest a new Fortran specific editor called FREDITOR 1.0 from Battelle Pacific Northwest Laboratories, PO Box 999, Richland, WA 99352. Our good friend Bill Rausch wrote the manual. The editor was written in Lishgtspeed C and used the LS CAPPS Editor construction kit. The product is distributed by TechAlliance. Look for it in MacTutor's Mail Order Store real soon now. -Ed]

IAC Driver

Lawrence D’Oliveiro

Hamilton, New Zealand

I read the articles on the IAC driver by Frank Alviani and Paul Snively with great interest. The Mac certainly needs a capability like this. However, a couple of questions.

First of all, why does the driver need to save multiple editions of a source extent? It only returns the latest one on any ReadData call anyway.

Secondly, it would be useful to allow desk accessories to take advantage of IAC. And of course, you don’t need MultiFinder to run desk accessories. The check for the presence of MultiFinder is neat, but is it really necessay?

As always, keep up the good work, and let’s have even more thought provoking articles in MacTutor! [We’ll do our best. -ed]

[This letter gave me the excuse to call and talk to Frank Alviani. Frank, if you ever get the chance, is one of the nicest people to talk to, and I enjoyed the opportunity to call and see how things were going on his new house (not done as of this writing).

Frank explained to me that although the main purpose of the driver is to give the most recent extent to the clients, there are a couple reasons to keep the old extents. The first is to give the client the ability to call older extents. This could be used for perhaps a “hot” undo feature.

The second reason is useful for database type applications where each extent may want to be saved for future use. Lengthy file operations may bring the client back in time to find himself several extent versions behind the current version.

Your second question was a good one, also. Desk accessories have the ability of file I/O. Also the driver itself makes ordinary calls. Therefore it is conceivable that the driver could be modified to work with desk accessories. The call to initialize the driver could say basically, “I don’t care if MultiFinder is around.” - KC]

Animated Watch Cursor Typo

Andy O’Brien

Keep up the great work on a fine magazine. Even the letters contain little tidbits of information. I especially enjoyed David Stoops’ letter in the December ’88 issue. After keying it in (and getting the proper LSP error message). I Realized that the InitWatch procedure in the WatchUtilities unit had a typo in it. GetCursor was being called as a procedure when we all know it is a function. Here is what the procedure should look like. Take care and continued success

porcedure InitWatch;
 var
 watchcount : integer;
begin
 WatchList := acurHandle(GetResource(‘acur’, 0));
 with WatchList^^ do
 begin
 for watchcount := 1 to 8 do
 Watch[watchcount] := GetCursor(HiWord(longint(Watch[watchcount])));
 whichWatch := 0;
 end;
end;

Bookstore Blues?

 

Community Search:
MacTech Search:

Software Updates via MacUpdate

SyncTwoFolders 2.0.9b1 - Syncs two user-...
SyncTwoFolders simply synchronizes two folders. It supports synchronization across mounted network drives and it is a possibility to run a simulation showing in a log what will be done. Please visit... Read more
VueScan 9.5.09 - Scanner software with a...
VueScan is a scanning program that works with most high-quality flatbed and film scanners to produce scans that have excellent color fidelity and color balance. VueScan is easy to use, and has... Read more
Airmail 2.1 - Powerful, minimal email cl...
Airmail 2 is a new mail client designed for OS X 10.10 Yosemite with fast performance and intuitive interaction. Support for iCloud, MS Exchange, Gmail, Google Apps, IMAP, POP3, Yahoo!, AOL, Outlook.... Read more
Logitech Control Center 3.9.2 - Keyboard...
Logitech Control Center (LCC) is designed to support OS X and allows you to take full advantage of your Logitech keyboard, mouse, or trackball. With the LCC you can: Browse the Internet using... Read more
Adobe Acrobat Pro 15.007.20033 - Powerfu...
Acrobat Pro DC is available only as a part of Adobe Creative Cloud, and can only be installed and/or updated through Adobe's Creative Cloud app. Adobe Acrobat Pro DC with Adobe Document Cloud... Read more
CleanMyMac 3.0.1 - Delete files that was...
CleanMyMac makes space for the things you love. Sporting a range of ingenious new features, CleanMyMac lets you safely and intelligently scan and clean your entire system, delete large, unused files... Read more
Evernote 6.0.10 - Create searchable note...
Evernote allows you to easily capture information in any environment using whatever device or platform you find most convenient, and makes this information accessible and searchable at anytime, from... Read more
CleanApp 5.0.1 - Application deinstaller...
CleanApp is an application deinstaller and archiver.... Your hard drive gets fuller day by day, but do you know why? CleanApp 5 provides you with insights how to reclaim disk space. There are... Read more
Quicken 2015 2.5.0 - Complete personal f...
Quicken 2015 helps you manage all your personal finances in one place, so you can see where you're spending and where you can save. Quicken automatically categorizes your financial transactions,... Read more
Tonality Pro 1.1.4 - Professional-grade...
Tonality Pro gives you the power to create stunning and dramatic black & white images. This is a complete monochrome image editor with more than 150 one-click style presets, totally unique... Read more

Grim Fandango Remastered (Games)
Grim Fandango Remastered 1.0.0 Device: iOS iPhone Category: Games Price: $9.99, Version: 1.0.0 (iTunes) Description: | Read more »
This Week at 148Apps: April 27-May 1, 20...
May Merriment at 148Apps How do you know what apps are worth your time and money? Just look to the review team at 148Apps. We sort through the chaos and find the apps you're looking for. The ones we love become Editor’s Choice, standing out above... | Read more »
The Ensign, Prequel to A Dark Room, is C...
Amirali Rajan's The Ensign is the prequel to the text-based adventure A Dark Room, and it's gone free for a couple of days. [Read more] | Read more »
Streamline - calendar (Productivity)
Streamline - calendar 1.0 Device: iOS iPhone Category: Productivity Price: $3.99, Version: 1.0 (iTunes) Description: Do you dare to break conventions? Streamline is the first real evolution from the paper diary. It is a patented and... | Read more »
Plants vs. Zombies Celebrates its Sixth...
It's pretty wild to think that the  Plants vs. Zombies  series has been around for six years already. To celebrate this mildly unconventional milestone, Popcap is giving players some free stuff in Plants vs. Zombies 2. Because they got the whole "... | Read more »
Dropbox Adds MS Office Documents and Mor...
Dropbox, the popular file storage solution, has announced an update that adds three new features for you to enjoy. [Read more] | Read more »
The All-Consuming Snake is Back and Hung...
Taneli Armanto, the designer of Nokia 6110 Snake, is back to work. Together with Rumilus Design, he's working on a new Snake game titled Snake Rewind. [Read more] | Read more »
WAVE Personal Calendar Now Connects You...
WAVE Calendar, by e-sites, has added an interesting new feature: real life personal assistants. The e-sites webpage has been redesigned so personal assistants can apply to work directly with WAVE. [Read more] | Read more »
Find Your Vacation Home With Dwellable
Dwellable is a new travel app that helps you to find rental homes for your vacation, allowing you to swipe your way through listings from over 15,000 destinations worldwide. [Read more] | Read more »
Play Endless Golf in Flick Golf Free...
Full Fat has released a new update for Flick Golf! Free. The ‘Eliminator’ update brings a whole new way to play with its endless round. [Read more] | Read more »

Price Scanner via MacPrices.net

Millennials’ Social Networking Habits Pose T...
Research indicates young people may be threat to corporate information-security, says tech expert Karl Volkmann, Chief Technical Officer of Chicago-based SRV Network, Inc. From Facebook to Twitter,... Read more
BuyVia Releases Apple Watch Shopping App
San Mateo, California-based BuyVia (http://www.buyvia.com), the first website and mobile app that combines in-store and online shopping across smart phones, tablets and laptops to help shoppers get... Read more
Apple Certified Refurbished iMacs available f...
The Apple Store has Apple Certified Refurbished iMacs available for up to $380 off the cost of new models. Apple’s one-year warranty is standard, and shipping is free: - 27″ 3.5GHz 5K iMac – $2119 $... Read more
13-inch 2.5GHz MacBook Pro (refurbished) avai...
The Apple Store has Apple 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.... Read more
New 2015 MacBook Airs on sale for up to $80 o...
Save up to $80 on the purchase of a new 2015 13″ or 11″ 1.6GHz MacBook Air at the following resellers. Shipping is free with each model: 11" 128GB MSRP $899 11" 256GB... Read more
College Student Deals: Additional $50 off Mac...
Take an additional $50 off all MacBooks and iMacs at Best Buy Online with their College Students Deals Savings, valid through May 9, 2015. Anyone with a valid .EDU email address can take advantage of... Read more
Save up to $300 on a new Mac, $30 on an iPad,...
Purchase a new Mac or iPad at The Apple Store for Education and take up to $300 off MSRP. All teachers, students, and staff of any educational institution qualify for the discount. Shipping is free,... Read more
iPad-Based iLynn Program Provides A Private U...
Lynn University of Boca Raton, Florida has announced that its innovative iPad-powered online bachelor’s degree program will be called iLynn. Beginning in fall 2015, Lynn U. says the new program will... Read more
iPad mini 4 Rumors Begin To Gel
First, I’ve been really hoping there will even be an iPad mini 4 at all. The smallest iPad has reportedly been hit pretty hard by iPhone 6 Plus cannibalization, along with getting caught in the... Read more
Mac Pros on sale for up to $260 off MSRP
B&H Photo has Mac Pros on sale for up to $260 off MSRP. Shipping is free, and B&H charges sales tax in NY only: - 3.7GHz 4-core Mac Pro: $2799, $200 off MSRP - 3.5GHz 6-core Mac Pro: $3719.99... Read more

Jobs Board

*Apple* Retail - Multiple Positions (US) - A...
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
*Apple* Retail - Multiple Positions (US) - A...
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
Senior Identity Architect - *Apple* Pay - A...
Changing the world is all in a day039s work at Apple . If you love innovation, here039s your chance to make a career of it. You039ll work hard. But the job comes with Read more
Hardware Systems Integration Engineer - *App...
Changing the world is all in a day039s work at Apple . If you love innovation, here039s your chance to make a career of it. You039ll work hard. But the job comes with Read more
Senior Identity Architect - *Apple* Pay - A...
Changing the world is all in a day039s work at Apple . If you love innovation, here039s your chance to make a career of it. You039ll work hard. But the job comes with Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.