<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>Zach Archer Blog &#187; open source</title> <atom:link href="http://blog.zacharcher.com/tag/open-source/feed/" rel="self" type="application/rss+xml" /><link>http://blog.zacharcher.com</link> <description>Friend to analog and digital alike</description> <lastBuildDate>Tue, 10 Jan 2012 06:24:29 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Fixin&#8217; for a Pixen</title><link>http://blog.zacharcher.com/2008/07/03/fixin-for-a-pixen/</link> <comments>http://blog.zacharcher.com/2008/07/03/fixin-for-a-pixen/#comments</comments> <pubDate>Thu, 03 Jul 2008 22:05:36 +0000</pubDate> <dc:creator>Zach</dc:creator> <category><![CDATA[Cocoa]]></category> <category><![CDATA[open source]]></category> <category><![CDATA[Pixen]]></category> <guid
isPermaLink="false">http://blog.zacharcher.com/?p=20</guid> <description><![CDATA[Pixen is poised to become the reigning champ of OS X pixel editors. It supports layers, tablet pressure, and animation. But Pixen has a bug that interrupts my creative flow -- if I tap a palette color using my Wacom tablet, it always highlights the color, but usually fails to apply the color. What the...?! [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://opensword.org/Pixen/">Pixen</a> is poised to become the reigning champ of OS X pixel editors. It supports layers, tablet pressure, and animation. But Pixen has a bug that interrupts my creative flow -- if I tap a palette color using my <a
href="http://www.wacom.com/intuos/index.cfm">Wacom tablet</a>, it always highlights the color, but usually fails to <em>apply</em> the color. What the...?!</p><p>Fortunately, the developers <a
href="http://opensword.org/Unstable/?p=./Pixen/">made the source code available</a>. I had almost zero Cocoa experience before opening the source, yet the code was well-organized, and I was able to fix the bug!</p><p><a
href="http://zacharcher.com/lab/20080703_pixen/Pixen_v3.1b_palette_fix.zip"><strong>Download Pixen v3.1b with the palette fix.</strong></a></p><p><span
id="more-20"></span>The issue involved mouse events. If the mouse moved even one pixel between mouseDown and mouseUp, Pixen would attempt to reorder the palette colors, and fail to activate the chosen color. As an input device, the tablet is fairly jittery, so the bug was only visible on the tablet.</p><p>Xcode "just works", as they say. The project compiled without any issues, and used incremental compilation. It was a snap to use the breakpoints. Friggin' great stuff. The Cocoa UI has a madness that is comparable with Actionscript 3 -- you must design bulletproof mouse events, and use keyDown and keyUp mindfully... You know the drill.</p><p>I wrote to the development team, and got a nice response thanking me for patching this hole. (I should be thanking them for all their hard work! I'm using Pixen daily.) They alluded that Pixen v4 is in the works... I might get a chance to test and/or help develop it. Sweeeeeeeeeeet.</p><div
class='bookmarkify'><a
name='bookmarkify'></a><div
class='linkbuttons'><a
href='http://www.facebook.com/share.php?u=http://blog.zacharcher.com/2008/07/03/fixin-for-a-pixen/' title='Save to Facebook' onclick='target="_blank";' rel='nofollow'><img
src='http://blog.zacharcher.com/wp-content/plugins/bookmarkify/facebook.png' style='width:16px; height:16px;' alt='[Facebook] ' /></a> <a
href='http://reddit.com/submit?url=http://blog.zacharcher.com/2008/07/03/fixin-for-a-pixen/&amp;title=Fixin&#8217; for a Pixen' title='Reddit' onclick='target="_blank";' rel='nofollow'><img
src='http://blog.zacharcher.com/wp-content/plugins/bookmarkify/reddit.png' style='width:16px; height:16px;' alt='[Reddit] ' /></a> <a
href='http://twitter.com/home/?status=Fixin&#8217; for a Pixen+http://blog.zacharcher.com/2008/07/03/fixin-for-a-pixen/' title='Save to Twitter' onclick='target="_blank";' rel='nofollow'><img
src='http://blog.zacharcher.com/wp-content/plugins/bookmarkify/twitter.png' style='width:16px; height:16px;' alt='[Twitter] ' /></a> <a
href='http://www.feedburner.com/fb/a/emailFlare?itemTitle=Fixin&#8217; for a Pixen&amp;uri=http://blog.zacharcher.com/2008/07/03/fixin-for-a-pixen/&amp;loc=en_US' title='Email this to a friend' onclick='target="_blank";' rel='nofollow'><img
src='http://blog.zacharcher.com/wp-content/plugins/bookmarkify/email.png' style='width:16px; height:16px;' alt='[Email] ' /></a> <a
title='See more bookmark and sharing options...' href='http://blog.zacharcher.com/2008/07/03/fixin-for-a-pixen/#bookmarkify' rel='nofollow'><small>More&nbsp;&raquo;</small></a></div></div>]]></content:encoded> <wfw:commentRss>http://blog.zacharcher.com/2008/07/03/fixin-for-a-pixen/feed/</wfw:commentRss> <slash:comments>11</slash:comments> </item> </channel> </rss>
