<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet href="/blog/templates/default/atom.css" type="text/css" ?>

<feed 
   xmlns="http://www.w3.org/2005/Atom"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <link href="http://www.sapphirepaw.org/blog/index.php?/feeds/atom.xml" rel="self" title="Pawprints of the Mind" type="application/atom+xml" />
    <link href="http://www.sapphirepaw.org/blog/"                        rel="alternate"    title="Pawprints of the Mind" type="text/html" />
    <link href="http://www.sapphirepaw.org/blog/rss.php?version=2.0"     rel="alternate"    title="Pawprints of the Mind" type="application/rss+xml" />
    <title type="html">Pawprints of the Mind</title>
    <subtitle type="html">A journey through code, Linux, and the Web.  Mostly.</subtitle>
    <icon>http://www.sapphirepaw.org/blog/templates/air-2010/img/s9y_banner_small.png</icon>
    <id>http://www.sapphirepaw.org/blog/</id>
    <updated>2010-08-03T23:30:03Z</updated>
    <generator uri="http://www.s9y.org/" version="1.4.1">Serendipity 1.4.1 - http://www.s9y.org/</generator>
    <dc:language>en</dc:language>

    <entry>
        <link href="http://www.sapphirepaw.org/blog/index.php?/archives/418-Splitting-off-the-Tech-category.html" rel="alternate" title="Splitting off the Tech category" />
        <author>
            <name>Sapphire Cat</name>
                    </author>
    
        <published>2010-08-03T23:27:00Z</published>
        <updated>2010-08-03T23:30:03Z</updated>
        <wfw:comment>http://www.sapphirepaw.org/blog/wfwcomment.php?cid=418</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.sapphirepaw.org/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=418</wfw:commentRss>
    
            <category scheme="http://www.sapphirepaw.org/blog/index.php?/categories/1-News" label="News" term="News" />
    
        <id>http://www.sapphirepaw.org/blog/index.php?/archives/418-guid.html</id>
        <title type="html">Splitting off the Tech category</title>
        <content type="xhtml" xml:base="http://www.sapphirepaw.org/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                I have created a new blog called <strong style="font-family: Courier New, Courier, monospace; font-size: 125%;"><a href="http://sapphirepaw.blogspot.com/" title="Decoded Node">Decoded Node</a></strong> for future technical entries.  Effective immediately, no new entries will be written in the Tech category here on Pawprints of the Mind.<br />
<br />
This will seriously dent the posting rate here, but since only boring posts will remain, nobody will care. 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.sapphirepaw.org/blog/index.php?/archives/416-Doing-it-wrong.html" rel="alternate" title="Doing it 'wrong'" />
        <author>
            <name>Sapphire Cat</name>
                    </author>
    
        <published>2010-08-01T14:33:00Z</published>
        <updated>2010-07-18T00:42:43Z</updated>
        <wfw:comment>http://www.sapphirepaw.org/blog/wfwcomment.php?cid=416</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.sapphirepaw.org/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=416</wfw:commentRss>
    
            <category scheme="http://www.sapphirepaw.org/blog/index.php?/categories/9-Art" label="Art" term="Art" />
    
        <id>http://www.sapphirepaw.org/blog/index.php?/archives/416-guid.html</id>
        <title type="html">Doing it 'wrong'</title>
        <content type="xhtml" xml:base="http://www.sapphirepaw.org/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                I've been trying to improve my digital art skills lately, and it seems that the problem of the day is Gimp.  I've finally figured out how to describe what's wrong with it.<br />
<br />
<div class="serendipity_imageComment_center" style="width: 300px"><div class="serendipity_imageComment_img"><a class='serendipity_image_link' href='http://www.sapphirepaw.org/blog/uploads/gfx/gimp-airbrush-whining.png'><!-- s9ymdb:58 --><img class="serendipity_image_center" width="300" height="191"  src="http://www.sapphirepaw.org/blog/uploads/gfx/gimp-airbrush-whining.sThumb.png" alt="" /></a></div><div class="serendipity_imageComment_txt">Gimp's airbrush: a series of overlapping circles.</div></div><br />
I think the problem here is that GIMP followed the obvious implementation of their paint tools: every so often, another splat gets added to the canvas at that instant in time.  Opacity is applied, the brush head moves without coloring, and 20%* of the way across the brush width, <em>splat!</em> another stamping is fully rendered.  The quality problem arises because this series of splats interacts with itself, laying down ribs where the most overlay happens.  It's not tracing the path of the brush and filling in color along the way.<br />
<br />
Gimp's way is probably the fast way, but it's also getting in my way.  I can't get around this texturing problem with the paintbrush, because putting down two strokes next to each other can never really be done cleanly&mdash;once the first stroke is rendered, if it's not fully opaque, I'll end up with either a gap or a darker spot if the regions overlap.  The only thing to counteract this texturing seems to be to go over it with smudge or blur, which are too strong or not strong enough.  At the edge of a selection, both tools create artifacts, because they use the color from pixels outside the selection, instead of extending the selected color.  So, I get black or the neighboring colored area smudged into the selection instead.<br />
<br />
I think what I want is a painting tool that tracks the region covered, and smoothly fills it in with color.  Obviously this would take more CPU time, but realistically, it would have to get down to a quarter of the speed before it would be faster to clean up after the sloppy airbrushing with the smudge and blur tools.<br />
<br />
* The default spacing is 20%, anyway.  Smaller numbers yield finer ribs, until you get down to 1% which is pretty slow and moots the point of using a pressure-sensitive tablet. 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.sapphirepaw.org/blog/index.php?/archives/415-Termitheme-1.2-release-candidate-1.html" rel="alternate" title="Termitheme 1.2 release candidate 1" />
        <author>
            <name>Sapphire Cat</name>
                    </author>
    
        <published>2010-07-11T12:33:00Z</published>
        <updated>2010-07-11T12:19:52Z</updated>
        <wfw:comment>http://www.sapphirepaw.org/blog/wfwcomment.php?cid=415</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.sapphirepaw.org/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=415</wfw:commentRss>
    
            <category scheme="http://www.sapphirepaw.org/blog/index.php?/categories/11-Projects" label="Projects" term="Projects" />
    
        <id>http://www.sapphirepaw.org/blog/index.php?/archives/415-guid.html</id>
        <title type="html">Termitheme 1.2 release candidate 1</title>
        <content type="xhtml" xml:base="http://www.sapphirepaw.org/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Hot on the heels of <a href="http://www.sapphirepaw.org/blog/index.php?/archives/414-gnome-terminal-Chill-theme.html">yesterday's Chill theme</a> comes the first (ever!) release candidate of Termitheme: 1.2-rc1.<br />
<br />
Also, termitheme's repository is now public on github: <a href="http://github.com/sapphirecat/termitheme" title="Public GitHub source">sapphirecat / termitheme</a>.<br />
<br />
So <strong><a href="http://www.sapphirepaw.org/termitheme/dl/termitheme-1.2-rc1.zip">get your own copy of termitheme-1.2-rc1.zip</a></strong> or clone it from GitHub today! 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.sapphirepaw.org/blog/index.php?/archives/414-gnome-terminal-Chill-theme.html" rel="alternate" title="gnome-terminal: Chill theme" />
        <author>
            <name>Sapphire Cat</name>
                    </author>
    
        <published>2010-07-10T17:01:00Z</published>
        <updated>2010-07-11T12:34:15Z</updated>
        <wfw:comment>http://www.sapphirepaw.org/blog/wfwcomment.php?cid=414</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.sapphirepaw.org/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=414</wfw:commentRss>
    
            <category scheme="http://www.sapphirepaw.org/blog/index.php?/categories/9-Art" label="Art" term="Art" />
            <category scheme="http://www.sapphirepaw.org/blog/index.php?/categories/2-Tech" label="Tech" term="Tech" />
    
        <id>http://www.sapphirepaw.org/blog/index.php?/archives/414-guid.html</id>
        <title type="html">gnome-terminal: Chill theme</title>
        <content type="xhtml" xml:base="http://www.sapphirepaw.org/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Today, I present for your pleasure, my first light gnome-terminal theme, Chill:<br />
<br />
<div class="serendipity_imageComment_center" style="width: 300px"><div class="serendipity_imageComment_img"><a class='serendipity_image_link' href='http://www.sapphirepaw.org/blog/uploads/gfx/themes/chill-vim-perl.png'><!-- s9ymdb:57 --><img class="serendipity_image_center" width="300" height="206"  src="http://www.sapphirepaw.org/blog/uploads/gfx/themes/chill-vim-perl.sThumb.png" alt="" /></a></div><div class="serendipity_imageComment_txt">Perl code, vim default colorscheme (with background=light)</div></div><br />
More after the jump... <br /><a href="http://www.sapphirepaw.org/blog/index.php?/archives/414-gnome-terminal-Chill-theme.html#extended">Continue reading "gnome-terminal: Chill theme"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.sapphirepaw.org/blog/index.php?/archives/412-Termitheme-1.2-beta-2.html" rel="alternate" title="Termitheme 1.2 beta 2" />
        <author>
            <name>Sapphire Cat</name>
                    </author>
    
        <published>2010-07-03T02:39:00Z</published>
        <updated>2010-07-11T17:59:40Z</updated>
        <wfw:comment>http://www.sapphirepaw.org/blog/wfwcomment.php?cid=412</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.sapphirepaw.org/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=412</wfw:commentRss>
    
            <category scheme="http://www.sapphirepaw.org/blog/index.php?/categories/11-Projects" label="Projects" term="Projects" />
    
        <id>http://www.sapphirepaw.org/blog/index.php?/archives/412-guid.html</id>
        <title type="html">Termitheme 1.2 beta 2</title>
        <content type="xhtml" xml:base="http://www.sapphirepaw.org/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Today, termitheme 1.2-beta2 succeeds the previously unannounced first beta.  Termitheme now lives at <a href="http://www.sapphirepaw.org/termitheme/">www.sapphirepaw.org/termitheme</a> and the themes gallery has moved to <a href="http://www.sapphirepaw.org/termitheme/themes.php">www.sapphirepaw.org/termitheme/themes.php</a>.<br />
<br />
The web page has been expanded a bit, and the 1.2 series is distributed in a single zip file instead of separate 'built' and 'source' versions.  [Edited to remove download link; this version has been superceded. Please check the termitheme project page for the latest version.]<br />
<br />
1.2-beta2 brings the following new features compared to 1.1: <ul><li>Support for PuTTY on Windows.</li><li>Credits can be included in theme files.</li><li>Much improved support of non-ASCII characters in themes.</li></ul> This is still a beta, because the last item has yet to be tested on Windows (or any non-UTF-8 Unix, for that matter), and the actual charset support is undocumented.  There be dragons. 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.sapphirepaw.org/blog/index.php?/archives/410-Another-.bashrc-trick-change-prompt-by-shell-depth.html" rel="alternate" title="Another ~/.bashrc trick: change prompt by shell depth" />
        <author>
            <name>Sapphire Cat</name>
                    </author>
    
        <published>2010-06-30T16:05:08Z</published>
        <updated>2010-07-11T18:43:44Z</updated>
        <wfw:comment>http://www.sapphirepaw.org/blog/wfwcomment.php?cid=410</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.sapphirepaw.org/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=410</wfw:commentRss>
    
            <category scheme="http://www.sapphirepaw.org/blog/index.php?/categories/2-Tech" label="Tech" term="Tech" />
    
        <id>http://www.sapphirepaw.org/blog/index.php?/archives/410-guid.html</id>
        <title type="html">Another ~/.bashrc trick: change prompt by shell depth</title>
        <content type="xhtml" xml:base="http://www.sapphirepaw.org/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <pre>if [ "$SHLVL" -le 1 ]; then
  _ps1_code="0;7"
else
  _ps1_code="$(( ($SHLVL - 2) / 6 % 2));3$((6 - ($SHLVL - 2) % 6))"
fi
export PS1='\[\e[36m\]\@ \[\e[30;1m\]\h:\w \[\e['"$_ps1_code"'m\]\$\[\e[0m\] '
unset _ps1_code</pre> <div style="background-color:#0e0400; color:#bfb2ac; padding: 3px; font-family:monospace;"><code><span style="color:#a66728;">12:17 PM</span> <span style="color:#55443d;">foreigner:/etc</span> <span style="background-color:#bfb2ac; color:#0e0400;">$</span> bash<br />
<span style="color:#a66728;">12:17 PM</span> <span style="color:#55443d;">foreigner:~</span> <span style="color:#a66728;">$</span> bash<br />
<span style="color:#a66728;">12:18 PM</span> <span style="color:#55443d;">foreigner:~</span> <span style="color:#9c0046;">$</span> bash<br />
<span style="color:#a66728;">12:18 PM</span> <span style="color:#55443d;">foreigner:~</span> <span style="color:#4b5c63;">$</span> _
</code></div><br />
This uses the value of <code>$SHLVL</code> to color the '$' in the prompt.  A login shell will display with reverse video; deeper shells (e.g. when using <code>:sh</code> in vim) will get a color according to their depth.  In this case, it goes 'backwards' from cyan to red, then bold cyan to bold red, before repeating the colors.  Due to the special handling of level 1, reverse video is never repeated in the cycle.  Also, since the SHLVL is supposed to be constant in a given shell, the prompt color is calculated once, and the result is inserted into PS1.<br />
<br />
The deeper purpose of this code is to give me some sort of visual indication of whether I'm in the base level shell (reverse video) or a deeper one (color).  The difference in colors allows me to notice if I unintentionally ran vim again from inside another shell, instead of exiting the shell to return to vim.<br />
<br />
The preview is displayed in the <a href="http://www.sapphirepaw.org/blog/index.php?/archives/376-gnome-terminal-BlackRock.html">BlackRock</a> theme. 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.sapphirepaw.org/blog/index.php?/archives/408-The-Nuclear-Option.html" rel="alternate" title="The Nuclear Option" />
        <author>
            <name>Sapphire Cat</name>
                    </author>
    
        <published>2010-06-25T01:14:00Z</published>
        <updated>2010-06-25T00:37:55Z</updated>
        <wfw:comment>http://www.sapphirepaw.org/blog/wfwcomment.php?cid=408</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.sapphirepaw.org/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=408</wfw:commentRss>
    
            <category scheme="http://www.sapphirepaw.org/blog/index.php?/categories/2-Tech" label="Tech" term="Tech" />
    
        <id>http://www.sapphirepaw.org/blog/index.php?/archives/408-guid.html</id>
        <title type="html">The Nuclear Option</title>
        <content type="xhtml" xml:base="http://www.sapphirepaw.org/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Quoth the Delicious Firefox addon TOS:<br />
<blockquote cite="https://addons.mozilla.org/en-US/firefox/addon/3615/eula/67442">1.      Licensed Uses and Restrictions.<br />
b.  YOU MAY NOT: <br />
...<br />
<br />
(iv)  use the Delicious Software to operate nuclear facilities, life support, or other mission critical application where human life or property may be at stake. You understand that the Delicious Software is not designed for such purposes and that its failure in such cases could lead to death, personal injury, or severe property or environmental damage for which Delicious is not responsible.</blockquote><br />
It is quite unclear to me how one would use a bookmarking website addon for Firefox to operate much of anything, let alone anything like nuclear facilities or life support.  Especially considering the restrictions in 1.b.i and 1.b.ii, which prevent any modifications or embedding of the software into hardware or firmware.<br />
<br />
Considering the other provisions of this license&mdash;including their insistence on Santa Clara, California as the jurisdiction, regardless of any conflict of law provisions&mdash;I declined.  I am now safe to operate nukes with my Firefox, I think.  It's been a while since I read that EULA... 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.sapphirepaw.org/blog/index.php?/archives/407-Canonical-Forgetting-the-Present.html" rel="alternate" title="Canonical: Forgetting the Present" />
        <author>
            <name>Sapphire Cat</name>
                    </author>
    
        <published>2010-06-23T00:38:00Z</published>
        <updated>2010-07-11T14:02:32Z</updated>
        <wfw:comment>http://www.sapphirepaw.org/blog/wfwcomment.php?cid=407</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.sapphirepaw.org/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=407</wfw:commentRss>
    
            <category scheme="http://www.sapphirepaw.org/blog/index.php?/categories/2-Tech" label="Tech" term="Tech" />
    
        <id>http://www.sapphirepaw.org/blog/index.php?/archives/407-guid.html</id>
        <title type="html">Canonical: Forgetting the Present</title>
        <content type="xhtml" xml:base="http://www.sapphirepaw.org/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Looking at the Ambiance theme and the update manager tonight (as my administration is done by a separate user), I'm reminded of a few problems in both the latest Ubuntu release, and Ubuntu in general.<br />
<br />
First is the decision to move the window controls in an LTS release.  There are plenty of rants out there about the moving; my point tonight is that it was done, and replaced with nothing, in an LTS release.  Assuming that the windicators or Super Magic Gesture Button arrive in a future Ubuntu release, it leaves everyone on the LTS with a half-baked start of a project that doesn't bring any value to the platform by itself.  And if Canonical is thinking of supplying their next k3wl feature as an update for Lucid in 10.04.2+, that runs the risk of destabilizing Lucid&mdash;and making it less desirable for exactly the audience that the LTS releases are intended to address.<br />
<br />
Aside from that, the new theme itself has some problems.  The oranges in the palette for Ambiance and Radiance don't quite match the oranges in the icon theme, with the GTK theme being a bit more pink than the icons.  It clashes just enough to make me wonder how Canonical could seriously be putting this scheme forward as its new, "professional" look.  It also bugs me whenever I see a progress bar that hasn't gotten full enough for the fill to be at least circular; the overlapping end caps look entirely silly and occasionally pixellated.  Again, this is supposed to be good enough to look at for years?<br />
<br />
The update manager is lacking some fit and finish as well.  Whenever I check for updates, it starts out on something like "1 of 17 files", then stops in the 20s somewhere, maybe a couple of times, and finally gets up to 39 files before it is truly finished.  Each time it stops to download a big file, it's a file or two from the last one, and the bar almost fills up&mdash;only to drop down again when the next files are discovered.  I've been watching this happen for the past 3 years that I've been on Ubuntu.  Is it really that much effort to cache how many files/bytes there were last time for future estimates, or provide a complete manifest on the server?<br />
<br />
Another thing that hasn't changed in the past 3 years in Ubuntu is the lack of multiarch support.  You know, that <a href="http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/7/Fedora/i386/os/RELEASE-NOTES-en_US.html#sn-rpm-multiarch">Fedora 7</a> added to RPM about the time Feisty was released.  If you want to run 32-bit code on a 64-bit system, you can't just use 32-bit package files; you need package files for the 64-bit architecture that have been carefully compiled to contain 32-bit code for the 64-bit environment.  These are, of course, only produced for popular libraries, so if you have a package you want to install that depends on a library that's not available, you get to compile it yourself.  If you can.<br />
<br />
The missing multiarch support wouldn't be much of a problem, except that developers are generally producing 32-bit versions of packages before 64-bit ones.  Flash, NaCl, V8, LuaJIT, Amazon MP3 Downloader, and zsnes, for instance.<br />
<br />
Ubuntu rose to prominence based on its focus on the user, but lately&mdash;especially with the release of Lucid&mdash;it seems to be floundering.  It seems that Canonical is working on experimental innovations at the expense of producing a really great product, and expecting everyone to fix the questionable decisions in Lucid by upgrading to Maverick.  Thereby breaking their system and defeating the point of offering Lucid as an LTS release. 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.sapphirepaw.org/blog/index.php?/archives/403-Gas-mileage-and-engine-evolution.html" rel="alternate" title="Gas mileage and engine evolution" />
        <author>
            <name>Sapphire Cat</name>
                    </author>
    
        <published>2010-05-30T19:08:00Z</published>
        <updated>2010-05-30T19:10:41Z</updated>
        <wfw:comment>http://www.sapphirepaw.org/blog/wfwcomment.php?cid=403</wfw:comment>
    
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://www.sapphirepaw.org/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=403</wfw:commentRss>
    
            <category scheme="http://www.sapphirepaw.org/blog/index.php?/categories/7-Pure-Thought" label="Pure Thought" term="Pure Thought" />
    
        <id>http://www.sapphirepaw.org/blog/index.php?/archives/403-guid.html</id>
        <title type="html">Gas mileage and engine evolution</title>
        <content type="xhtml" xml:base="http://www.sapphirepaw.org/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Slashdot linked to Jalopnik's <a href="http://jalopnik.com/5549518/" title="Warning: Gawker &quot;WE BOUGHT A STOLEN IPHONE AND GOT IN LEGAL TROUBLE, O PITY US&quot; Media link">story on the RSV</a> on Friday. Among the comments is this gem from Kulprit442:<br />
<blockquote>I remember seeing car ads from the past (just because I am an automotive pop culture nut) and it wasn't uncommon for the small cars of the 80's, 70's and even 60's claiming 30-40mpg...so why with all the technology in 30 years can we not make alot more vehicles get alot more than they are now. I still say conspiracy!!!!</blockquote>The thing about those old cars is that they didn't have much horsepower. The RSV included the 1.7L engine from the mid-70's Honda Accord.  The sedan of today offers as its smallest engine a 2.4L 177 hp version, with a 3.5L 271 hp V6 available on the more premium trims. In 1988*, the Accord only offered 98 hp in the DX/LX and 120 hp in the LXi, both with 2.0L engines.<br />
<br />
Over time, manufacturers have offered more power, and buyers have accepted it. Today's 110 hp engines find their way into subcompacts ranging from the Toyota Yaris (106 hp) to the Honda Fit (117 hp), or end up as part of a hybrid system, as in the 2009 Toyota Prius.  (Ye olden subcompacts often made do with about 66 hp, but nobody truly liked them.)  I don't really blame manufacturers nor buyers for this, though.  Power is a lot more <em>fun</em> than economy, no conspiracy needed.<br />
<br />
Although weight could soak up the performance difference between modern and older cars, the trend appears to have been for power to increase faster than weight. That 1988 Accord is only 2482 lb. for the DX sedan, for 25.4 lb/hp.  The 2010 LX sedan weighs 3230 lb, for 18.2 lb/hp.<br />
<br />
<br />
* This being as far back as MSN autos provides data for it, and I'm not interested in doing heavy research on Memorial Day weekend. 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.sapphirepaw.org/blog/index.php?/archives/401-Old-media-iPad.html" rel="alternate" title="Old media ♥ iPad" />
        <author>
            <name>Sapphire Cat</name>
                    </author>
    
        <published>2010-05-20T00:50:00Z</published>
        <updated>2010-05-27T00:01:42Z</updated>
        <wfw:comment>http://www.sapphirepaw.org/blog/wfwcomment.php?cid=401</wfw:comment>
    
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://www.sapphirepaw.org/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=401</wfw:commentRss>
    
            <category scheme="http://www.sapphirepaw.org/blog/index.php?/categories/2-Tech" label="Tech" term="Tech" />
    
        <id>http://www.sapphirepaw.org/blog/index.php?/archives/401-guid.html</id>
        <title type="html">Old media ♥ iPad</title>
        <content type="xhtml" xml:base="http://www.sapphirepaw.org/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Watching the New York Times, CNN, and others (recently GQ in the ads on Ars Technica) embrace the iPad so wholeheartedly, I wondered why they were doing it.  What was so awesome about the device that publishers would embrace it in a way that they had never approached a tablet any time in the previous decade?  I think the answers are all “design” and “control.”<br />
<br />
The iPad is not a commodity.  There will be only one manufacturer, one overall design, and one software environment.  Although six models are being offered, they differ only in storage and network connection, neither of which have any bearing on the resources available to run actual apps.  Effectively, any iPad is <strong>the</strong> one and only iPad from an app’s point of view.<br />
<br />
The processor is always an Apple A4 at a single clock speed; the memory is always 256 MB; the screen is always 1024×768×32 and always driven by the A4’s integrated PowerVR chip; and your app is single-tasked, so the crapware a typical PC has will never slow it down and darken your good name.  The only real variable is whether the screen is portrait or landscape, and even that only alters your dimensions by 33%.  Unlike unrestricted PC hardware, which could be running anything from my venerable 5:4 monitor to a (comically short) 16:9 widescreen&mdash;to a 700×500 window stuffed in the corner of a much larger desktop.<br />
<br />
All this, combined with the fact that iPad apps are not mired in the matrix of browser capabilities and technologies of the Web, gives designers a tighter set of constraints to work with, which allows them to produce designs that much better suited for the target device.  It’s so much better to design in a framework of either-or than “anything from 800 to 2560 pixels wide, and whatever you do, IE will mess it up.”<br />
<br />
iPad publishers also gain a measure of control over their content when it’s not on the Web, vulnerable to deep linking and copypasta aggregators like Google News.  For additional control, I would bet Apple did the same for publisher’s apps as they did for iBooks, letting the publisher set the price rather than taking Amazon’s hardline “$9.99 or no Kindle sales for you!” stance.  Finally, on competing platforms, there is a common DRM scheme in use platform-wide, which makes the payoff associated with cracking it much higher.  A successful crack of a common system opens the entire platform.  Whereas an app for each publication may only compromise a single app/publisher when a weakness is discovered.<br />
<br />
So overall, the iPad is a much more attractive proposition for traditional publishers than the current crop of competitors.  This will most likely remain true over time, as Android/WebOS knockoffs will try to out-spec each other in a race for the nerdiest audience, totally neglecting the other benefits that the iPad offers to developers.  Both in traditional media, and in new development. 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.sapphirepaw.org/blog/index.php?/archives/396-Grumpy-Cat.html" rel="alternate" title="Grumpy Cat" />
        <author>
            <name>Sapphire Cat</name>
                    </author>
    
        <published>2010-04-24T19:57:00Z</published>
        <updated>2010-04-25T01:39:35Z</updated>
        <wfw:comment>http://www.sapphirepaw.org/blog/wfwcomment.php?cid=396</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.sapphirepaw.org/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=396</wfw:commentRss>
    
            <category scheme="http://www.sapphirepaw.org/blog/index.php?/categories/12-Music" label="Music" term="Music" />
    
        <id>http://www.sapphirepaw.org/blog/index.php?/archives/396-guid.html</id>
        <title type="html">Grumpy Cat</title>
        <content type="xhtml" xml:base="http://www.sapphirepaw.org/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                I’ve been putting together a podcast for running, using Audacity to record myself and mix in some tracks from my wife’s “Energy” playlist.  Unfortunately, this has not been the smoothest possible experience.  There’s no line in the time ruler to show where the mouse is in the track, nor in any other track.  So trying to edit in one track based on the events in another becomes pure guesswork.<br />
<br />
For its second trick, the UI for the “Auto Duck” effect suggests that it’s exactly what I want to fade the volume of a track down for a bit (to quiet the music while I’m talking), but <strike>the effect does not seem to change the track at all.</strike>  [Actually, I read the manual, and Auto Duck uses the level of the track below the selected track to do its ducking. It has nothing to do with the current selection, as I had been expecting it to work.]  So I’m stuck using the envelope tool instead to perform the effect by hand.<br />
<br />
Which wouldn’t be so bad, except that it’s rather light on feedback.  Just like there’s no vertical lines for timing, there’s no indication of what volume level you’re moving the envelope to, nor (as far as I can see) a way to set the handle to a specific value.  Either by using a reference handle, or by entering a specific dB value.<br />
<br />
So it’s all guesswork and trial-and-error, instead of having software that helps you do what needs to be done.  Professional audio on Linux has a lot more problems than what sound server a distro chooses.  Not that I’ve ever seen Sound Forge in action, but hey.  What good is an <em>informed</em> rant on the Internet?<br />
<br />
(OK, my transcoding of m4a files should be done now&mdash;the m4a’s were crashing Audacity on import…)<br />
<br />
[And as far as Auto Duck goes, it might be nice to just have a Duck effect that ducks the current selection. It could also be convenient to have Auto Duck work more like an adjustment layer in Photoshop, so that the audio below could be repositioned in time and the ducked section would move to follow, instead of the ducking being permanently recorded into the waveform of the upper track. But that's probably a ton of work to develop.] 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.sapphirepaw.org/blog/index.php?/archives/394-Surprising-Audio-Results.html" rel="alternate" title="Surprising Audio Results" />
        <author>
            <name>Sapphire Cat</name>
                    </author>
    
        <published>2010-04-15T00:56:00Z</published>
        <updated>2010-04-15T00:23:15Z</updated>
        <wfw:comment>http://www.sapphirepaw.org/blog/wfwcomment.php?cid=394</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.sapphirepaw.org/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=394</wfw:commentRss>
    
            <category scheme="http://www.sapphirepaw.org/blog/index.php?/categories/12-Music" label="Music" term="Music" />
    
        <id>http://www.sapphirepaw.org/blog/index.php?/archives/394-guid.html</id>
        <title type="html">Surprising Audio Results</title>
        <content type="xhtml" xml:base="http://www.sapphirepaw.org/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <ol><li>A vanilla <code>lame -V2</code> inserts 0.025s of silence at the beginning of its MP3s.</li><li>Encoding adds a lot of peak samples to a track.  For instance, there are none in Alone Tonight ripped from CD to FLAC, but half the track is covered in red (at the “view entire project” zoom level) for pretty much any lossily encoded version.</li><li>Assuming I'm reading all of the meters correctly, the noise is held to -12dB in the 192k MP3, which matches the actual dynamic range of the envelope.  So it’s no wonder that it's widely considered to be transparent.</li></ol>  I am less surprised that the differences between the rip and the encoding are concentrated in the higher frequencies, where there is the most to gain by discarding data.  Particularly since LAME runs a lowpass filter on the input, so anything above the cutoff band will appear as a difference.<br />
<br />
They say that familiarity with artifacts is a major predictor of how well one will do on an ABX test.  In that case, I think I'd rather stay unfamiliar and enjoy my 128k MP3s.  (I tested myself with abx-comparator and got 3 of 10 trials correct…)<br />
<br />
And yes, I am bad at this hiatus thing. 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.sapphirepaw.org/blog/index.php?/archives/393-Hiatus.html" rel="alternate" title="Hiatus" />
        <author>
            <name>Sapphire Cat</name>
                    </author>
    
        <published>2010-04-13T00:48:00Z</published>
        <updated>2010-04-13T00:19:57Z</updated>
        <wfw:comment>http://www.sapphirepaw.org/blog/wfwcomment.php?cid=393</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.sapphirepaw.org/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=393</wfw:commentRss>
    
            <category scheme="http://www.sapphirepaw.org/blog/index.php?/categories/1-News" label="News" term="News" />
    
        <id>http://www.sapphirepaw.org/blog/index.php?/archives/393-guid.html</id>
        <title type="html">Hiatus</title>
        <content type="xhtml" xml:base="http://www.sapphirepaw.org/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                The older I get, the more important it becomes to keep my hands and fingers in good shape.  Upon reflection, generally being at the computer so much is mutually incompatible with this goal.  Although I have ergonomic keyboards at work and home, it still feels like I'm typing too much.<br />
<br />
Something has to give, and so I've decided to stop blogging, and severely limit time spent on projects like termitheme.  (FWIW, I'm also going to try to quit the news again. I am so tired of the iPad and Section 3.3.1 right now.  It just never ends, and neither Reddit nor HN offer much in the way of bringing the really interesting stuff to the top instead of the 25 most popular Apple <strike>rageblogs</strike> articles.  Of course, the mainstream's fascination with Tiger Woods is not much more compelling, hence the desire to quit <em>all</em> news.)<br />
<br />
I picked up some handwriting recognition software, but it doesn't seem to be a real alternative just yet.  (CellWriter, for the curious.  I've written and edited this entire entry with it, in half an hour.) 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.sapphirepaw.org/blog/index.php?/archives/391-A-Curious-Coincidence.html" rel="alternate" title="A Curious Coincidence" />
        <author>
            <name>Sapphire Cat</name>
                    </author>
    
        <published>2010-04-09T00:53:00Z</published>
        <updated>2010-04-09T00:41:59Z</updated>
        <wfw:comment>http://www.sapphirepaw.org/blog/wfwcomment.php?cid=391</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.sapphirepaw.org/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=391</wfw:commentRss>
    
            <category scheme="http://www.sapphirepaw.org/blog/index.php?/categories/9-Art" label="Art" term="Art" />
    
        <id>http://www.sapphirepaw.org/blog/index.php?/archives/391-guid.html</id>
        <title type="html">A Curious Coincidence</title>
        <content type="xhtml" xml:base="http://www.sapphirepaw.org/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                The new Ubuntu branding for Lucid is "Light", which is not too different than "Aura" which accompanied Windows Vista. In fact, I was looking at the default wallpapers available on my Vista machine at work, and noticed this one:<br />
<br />
<div class="serendipity_imageComment_center" style="width: 400px"><div class="serendipity_imageComment_img"><!-- s9ymdb:50 --><img class="serendipity_image_center" width="400" height="300"  src="http://www.sapphirepaw.org/blog/uploads/gfx/MS_img25.jpg" alt="" /></div><div class="serendipity_imageComment_txt">One of the "Auras" wallpapers included with Windows Vista Home Basic. Reddish purples on the lower-left, fading through orange, to yellow in the upper-right. The top-left and bottom-right corners are darker.</div></div><br />
It particularly caught my eye because I've seen Canonical's choice for their default wallpaper in 10.04:<br />
<br />
<div class="serendipity_imageComment_center" style="width: 400px"><div class="serendipity_imageComment_img"><!-- s9ymdb:51 --><img class="serendipity_image_center" width="400" height="250"  src="http://www.sapphirepaw.org/blog/uploads/gfx/Canonical_Lucid.jpg" alt="" /></div><div class="serendipity_imageComment_txt">The default wallpaper for Ubuntu 10.04, Lucid Lynx. Dark at the left, fading to reddish purples, and then to yellowish/cream at the right, with some other warm spotlights and a lens flare.</div></div><br />
There are only so many ways to craft soft, glowy light themes, I suppose. 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.sapphirepaw.org/blog/index.php?/archives/387-Environmental-improvements.html" rel="alternate" title="Environmental improvements" />
        <author>
            <name>Sapphire Cat</name>
                    </author>
    
        <published>2010-04-02T20:30:00Z</published>
        <updated>2010-04-02T20:33:10Z</updated>
        <wfw:comment>http://www.sapphirepaw.org/blog/wfwcomment.php?cid=387</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.sapphirepaw.org/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=387</wfw:commentRss>
    
            <category scheme="http://www.sapphirepaw.org/blog/index.php?/categories/14-PHPTips" label="PHPTips" term="PHPTips" />
    
        <id>http://www.sapphirepaw.org/blog/index.php?/archives/387-guid.html</id>
        <title type="html">Environmental improvements</title>
        <content type="xhtml" xml:base="http://www.sapphirepaw.org/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                At work, I write PHP either directly in vim on the Linux test server (when debugging), or using gVim on Windows to edit files in my private tree. Today, I made a couple improvements to the setup, one to each environment.<br />
<br />
<strong>First:</strong> using the <code>keywordprg</code> on Windows gVim to look up PHP functions in the manual. I have Python 2.5 installed (batteries included!), so I whipped up this script to work as keywordprg:<br />
<blockquote><code><pre>import webbrowser
import sys

def main (argv=None, keyword=None):
    if len(argv) < 2 and keyword is None:
        print >>sys.stderr, "You need to send a keyword to look up."
        sys.exit(2)
    elif keyword is None:
        keyword = argv[1]

    webbrowser.open("http://us3.php.net/" + keyword, 2)

if __name__ == '__main__':
    main(sys.argv)</pre></code></blockquote>  I saved it as <code>C:\Users\sapphirecat\bin\phpsearch.py</code> and then edited C:\Users\sapphirecat\_vimrc to set <code>keywordprg</code> to the Python script. Now the K command in normal mode brings me to the PHP manual page for whatever function the cursor was on.<br />
<br />
<strong>Second:</strong> preventing vim on the server from highlighting HTML and SQL inside PHP strings. This was happening on the server in spite of having <code>let php_sql_query=0</code> and friends inside ~/.vimrc. It turns out that the default PHP syntax file checks for the existence of the variable, but not its value, so 0 is considered the same as 1. Adding <code>lockvar php_sql_query php_htmlInStrings php_show_preg</code> actually prevents all three of those from becoming defined, and now my PHP strings are really just strings. 
            </div>
        </content>
        
    </entry>

</feed>