Skip to main content

bugs

Pukka 1.6.6 is out!

Posted in

Just a note that Pukka 1.6.6 final is out! Grab it here. For more details on the changes involved, see the last post. This release should iron out any remaining crash problems that users have been seeing on Leopard.

Pukka beta: Leopard reliability

Posted in

I've been hard at work trying to tackle some lingering Leopard stability issues with Pukka and believe that I have a solution. I'm releasing this fix as a prerelease (i.e. not advertised in the auto-update mechanism and not posted to the download sites -- please do not post it for me!) since the problems don't affect everyone and I'd like to have some feedback from those who are affected before making this version live.

Cut to the chase: download the prerelease version 1.6.6-pre2 for Tiger or Leopard. If you have any questions or concerns with this build, please contact me here.

(You may note that I'm using the same link for both OS versions -- I'm just trying to get some rudimentary usage stats by separating out the download URLs ;-)

If you're interested in some more technical info, read on.

It seems that Leopard has some lingering crash issues when using NSURLConnection, particularly when behind a proxy and/or using HTTPS and/or using authentication. Of particular concern are the last two conditions, as all Pukka traffic through del.icio.us, Ma.gnolia, and most alternative sites is over HTTPS with authentication. I have rarely been able to reproduce these crashes myself (which is the main reason I did not catch them in prerelease versions of Leopard), but I have received crash logs from issues with severity ranging from occasional problems to repeated crashing, including crashing on launch. Needless to say, this has been very frustrating.

Any other Cocoa programmers who use NSURLConnection will note that it is pretty much the way to do asynchronous downloads to memory (i.e. not to a file as NSURLDownload does) while easily working with requirements such as the ability to cancel, authentication, transparent proxy support, and cache management. I've been in a bit of a bind for a workaround, but after some discussions with (extremely helpful!) fellow Mac developers such as Daniel Jalkut, Jon Wight, and Fraser Speirs, I've settled on the solution of using CURLHandle routines in a dynamically loaded bundle when on Leopard for the time being, linking them against a Leopard-targeted CURLHandle framework to bypass cross-development issues with the framework. This required a fair amount of re-architecting since CURLHandle is not intended to be a drop-in replacement for NSURLConnection (in fact, it's a subclass of the Tiger-deprecated NSURLHandle class). It's a stable and reliable fix for Leopard until this bug is resolved, if not super-ideal for me as a developer. But them's the breaks!

For the reference of the Cocoa developers reading this, you can check out some bookmarks I've gathered (and will continue to gather) about issues with NSURLConnection over the years here and I've reported the Apple Radar bug and it resolves to the original at rdar://problem/5575834.

Update: I just released 1.6.6-pre2 to fix an issue that a couple people have noticed with double encoding of text when posting. The links have been updated above.

Performance release: Pukka 1.6.5

Posted in

I've just released Pukka 1.6.5 with a slew (or, as the changelog refers to it, a metric slew) of performance updates, bug fixes, and usability improvements. You can read on for (much) more detail or just head over and get Pukka now.

The bulk of the changes deal with Spotlight performance and strain on and responding to capacity issues with the del.icio.us (or other service) API. Hopefully this should make Pukka perform faster, be more responsive, and be a better network citizen.

Here are the changes in depth:

  • Removed a check on the local Spotlight cache that would run 30 seconds after launch and could cause unresponsiveness in the application. The Spotlight caching mechanism has been updated to perform in a more incremental fashion to avoid the need for this.
  • Pukka now waits at least five minutes between API requests of all bookmarks, preferring requests of the latest 15 bookmarks in the meantime, to ease strain on the API and to avoid getting throttled.
  • Added CFBundleShortVersionString to app bundle, which will make Pukka's version number show up in Finder's Version column.
  • Upgraded Spotlight metadata format to store bookmark data in folders organized by username instead of one big folder. This improves performance during local cache updating.
  • Resolved a Core Data issue that may have caused a delay between when bookmarks were cached and when they appeared in the application.
  • Changed the interval used to check for bookmark updates online from one minute to three minutes. Although this was a very slight hit on the API, it was reduced in the interest of scaling back a bit because we can.
  • A Growl notification is now shown when the bookmark cache on disk is updated. This occurs whether all bookmarks were re-parsed or just the latest 15, and for each account.
  • The successful post Growl notification was updated to include the page title and the account posted to.
  • A specific error message is shown if a post fails due to API capacity issues or throttling, as opposed to a general error when posting (network, internal server error, etc.)
  • Any kind of posting error shows a panel with a "critical" alert style to indicate that data was not saved and may be lost if the application is quit.
  • Fixed two small memory leaks related to tag sorting in the bookmark menus.
  • On first run, a modal panel is shown as the bookmarks are cached for the first time. When this panel was hidden, the animation would continue. For cleanliness, this has been stopped.
  • Trivial about box updates: Two issues were tweaked with the icon animations. The randomness of the selected animation was made better and a PNG representation of the app icon is passed to the animation instead of the .icns file directly. Lessons learned from Ironcoder ;-)
  • The HTTP timeout for sending posts was reduced from the default of 60 seconds to 10 seconds to avoid making the app unusable for up to a full minute in the event that the link can't be posted.
  • A bug was fixed in the debugging console which prevented it from always scrolling all the way to the bottom on appending new content.
  • During posting problems, we now report exactly the message that was received from the API to the debugging console.

That's it! Enjoy and please contact me with any problems or questions.

Another bug fix release: Pukka 1.6.4

Posted in

leopard_disc.png

I've just posted another maintenance release of Pukka that squashes a few more Leopard bugs. Besides fixing a couple occasional hangs and crashes, it is now more robust in how it handles issues with the del.icio.us API, particularly if you are setting up Pukka for the first time and there are network or capacity issues with del.icio.us, but also for seasoned users under the same conditions. I've also fixed a couple of very small issues under the hood. You can go grab Pukka now or upgrade right in the application.

I've found that it can be very tricky to write an application that takes its primary value from an online service that can occasionally have reliability issues. When I set out to write Pukka, it was primarily as a del.icio.us client, not as a bookmark manager on the desktop, and I plan on keeping it that way. So when the conditions are less than ideal, it's very important to inform the user as to what's happening and what to do next, doubly so if they are running the application for the first time and can't use all of the functionality right away as a result. I think I've done better with this in 1.6.4 and am better keeping it in mind going forward in order to provide the best possible user experience.

Also, the transition to Leopard has been an important education for me about major operating system upgrades from a developer point of view. I camped out in line for Panther, Tiger, and Leopard at Apple Stores and have assisted many people in upgrading their computers and networks, but I've never bridged an OS transition with an active desktop software product. Although I've had access to Leopard since 2006, as a small shop there is a big difference between my testing and my user base upgrading and putting Pukka through its paces. It's definitely been an education and I'm doubly appreciative for a patient and loyal user base. Thanks, everyone!

Pukka bug fix release

Posted in

I've just released Pukka 1.6.3, which fixes several issues on Tiger and Leopard, including a hang and a potential crash.

As usual, you can update right in Pukka itself by choosing Pukka -> Check For Updates... while the application is running, or you can download Pukka from its page.

Enjoy!

Bonjour, Leopard!

I've been alerted by a number of users that there seem to be some odd issues with Bonjour support in Pukka on Leopard, particularly a slow startup time and/or a delay after launch. I'm working on this issue, but in the meantime, you can work around these issues by disabling Bonjour in Pukka's preferences.

Thanks for your patience and stay tuned for an update!

Syndicate content