kellegous.com

 

Article

Stuffit … exactly

January 10th 2005 in the afternoon

Over the weekend, something in my Stuffit Expander installation on my Mac at home went wonky. Usually, when I download a zipped file and open it directly with SE, there is a brief moment of bouncing icon spectacle before a new folder conveniently lands on my Desktop, uncompressed and ready to go. This weekend, though, the brief moment of icon bouncing bliss expanded to like three or four minutes followed by a similar period of non-response followed finally by the new folder landing on my desktop. I killed my preferences and reinstalled SE a few times with no luck. This gave me a severe case of swearing annoyance, an ailment from which I have suffered little since I stopped using Windows fulltime, and I couldn’t get over the fact that I was doomed from here out to unzip everything from the command line.

At some point, though, I realized that the problem seemed to be occurring at startup. The immediate solution, though not graceful, was to just leave the damn thing open all the time. That bugged me too, but at least it would work. After accidentally closing the application about three times, I finally decided something had to be done. Just as I was getting prepped for my search for a replacement, something occurred to me. In the past, SE had been kind enough to notify me when a new version is available. That meant that it was doing some sort of network version checking and while it seemed unlikely that they would be stupid enough not to setup a separate thread to look for the update, it was worth a try. I jumped over into the preferences, clicked off the check as seen below and restarted the application. Zing! I was treated with the same brief moment of bounce to which I had become so accustom.

Stuffit Expander preferences window

And now for the rant: Why is version checking being done in the primary thread in this application? This, of course, means that the time it takes to unzip a file is now partially determined by my network performance. It also means that if the site to which the application is attempting to connect is down, you have to endure the full timeout before even starting the unzip process. And a timeout of like three minutes? Come on. Try this instead, check for a new version after you are done doing what you are supposed to do. Unzip my file, and then when you are in the process of shutting down, take as much time as you need to check with your broken update site.

This type of bug is an important one to think about in the larger context. Since this is certainly relavent to the efforts of the Simplicity Consortium at the Media Lab, I’ll talk more about this in more general terms in the next posting.

trackbacks / pings

Pings are currently disabled; they will be accepted very soon.

comments

#1
Martin Gomez
Hi Kelly. Should there be then, a compress / decompress tool just like Windows XP's compressed folders, that's portable and runnable on any OS? Actually, since this does not just deal with SE, but the error of placing everything (and in bad order) in the main thread, should there be a new OS that's simple enough yet intelligent enough at the same time? Thanks. Best, Martin.
#2
kellegous

Personally, I absolutely hate the compressed folder tool in Windows XP. It commits the same design foul that Stuffit did but on a system level. The compressed folder bit is an Explorer extension, which means that when it has trouble it can actually bring down your entire desktop environment. This, of course, is an order of magnitude worse than having to wait six or seven minutes to decompress a file. On top of it, it's implemented poorly too. Try dropping a huge zip file into a directory and browsing into that directory. Explorer will take significant time to show you the files in that directory, because it uses the main thread to examine the zip file.

I think the trick is designing systems that are isolated, yet still have a good sense of their context. That's a balancing act, because in a lot of ways isolation means removing as much context as possible.

#3
martin
I agree. What about a tar + gzip combo, that's implemented on a GUI? Simple. Elegant. Fast. Portable.
#4
kellegous
Stuffit will definitely do tar+gzip, but I can't remember if the explorer extension will. I remember winzip used to have problems with .tgz. It could do both gzip and tar, just not at the same time.
#5
martin
Indeed, StuffIt and WinZip both do .tgz's. Was thinking along the lines of having something that uses tar+gz as its core without all the bells and whistles. :) What do you think?
#6
kellegous
Not sure I understand.

Post a Comment: To leave a new comment, simply type your message below. Markup is also allowed as long as it conforms to XHTML Strict. A list of allowable tags is available in the Comment Guidelines. Obviously, if the words “XHTML Strict” mean nothing to you, you should stick with just typing your message below.

about kellegous.com

kellegous.com is the personal site of kelly norton, a designer and engineer living in Atlanta, Georgia. Kelly used to be a graduate student at the MIT Media Lab but graduated in the summer of 2006. Before that, he was the Senior VP of Technology Development for Connexxia, a small technology company in Atlanta. He now works as a Software Engineer for Google. (more…)

now reading



syndicated feeds


 physical language workshop attribution-sharealike license / / xhtml / css