Kevin's random thoughts - Hometag:kbullock.ringworld.org,2008:mephisto/Mephisto Drax2008-08-21T20:02:57Zkbullocktag:kbullock.ringworld.org,2008-08-21:8072008-08-21T19:36:00Z2008-08-21T20:02:57ZDoing the math, cont'd
<p>Not sure if <a href="http://daringfireball.net/" title="Daring Fireball">John Gruber</a> noted <a href="http://arstechnica.com/journals/hardware.ars/2008/08/07/apple-asps-2x-higher-than-rest-of-market">this jackassery</a> or not. Writing on ars technica, Joel Hruska manages to stop just short of a Jackass-of-the-Week award, but nonetheless veers deep into irrational anti-<a href="http://www.crazyapplerumors.com/?p=664">Artie-MacStrawman</a>-ism.</p>
<p>Hruska's analysis of the fact that Apple's average selling prices are higher than the rest of the market starts off well enough:</p>
<blockquote>
<p>Desktop PC average selling prices (ASPs) have scarcely changed in the past two years, while laptop ASPs have fallen 21 percent, probably in part thanks to rising demand and steeper competition among vendors. Mac desktop ASPs, on the other hand, have actually gone up by 7.7 percent, while laptop ASPs have dropped by just 3.8 percent. Apple, in other words, is bucking conventional wisdom, and selling computers that are significantly more expensive than the average unit shipped by the likes of Dell, HP, or Lenovo.</p>
</blockquote>
<p>...and turns back from the brink for a moment of insight...</p>
<blockquote>
<p>This would normally be the point at which any Mac vs. PC discussion veers off into a heated debate over hardware specs, manufacturer build quality, and acerbic commentary on the more dubious characters in one's family history. I'm rather explicitly not going there. Instead, I'd like to draw attention to a different facet of the situation. ... Apple is clearly picking up steam without significantly reducing its ASPs. It's even happening while PC ASPs, particularly notebook ASPs, are dropping.</p>
<p>The current situation implies that Apple may be drawing high-end notebook sales that would have otherwise gone to Dell, HP, Lenovo, or the other major players in this space.</p>
</blockquote>
<p>...before veering off into warrantless-conclusion-land:</p>
<blockquote>
<p>Apple has clearly created a value proposition that customers are willing to <em>pay a substantial premium</em> in order to possess. <em>[emphasis added]</em></p>
</blockquote>
<p>I think he's right that Apple is drawing high<em>er</em>-end (not just top-end, but mid-range too) notebook sales away from other makers, which makes his conclusion all the more senseless. As has been <a href="http://kbullock.ringworld.org/2008/8/18/doing-the-math">demonstrated already</a>, <em>comparably equipped</em> Macs sell in the same price range as their Windows-preinstalled counterparts. If it's true that Apple's sales are coming from customers who would have otherwise bought $1000+ Dell or hp laptops, those buying Macs <strong><em>are not paying a premium.</strong></em></p>
kbullocktag:kbullock.ringworld.org,2008-08-21:8062008-08-21T17:47:00Z2008-08-21T17:50:10ZHow many Episcopalians...
<p>How many Episcopalians does it take to change a light bulb? <em>[grin]</em></p>
<blockquote>
<p>Sixty of 95 congregations have exchanged their incandescent light bulbs for compact fluorescents (CFLs) so far this summer in the <a href="http://www.dohio.org/">Diocese of Ohio’s</a> “How Many Light Bulbs Does it Take to Change an Episcopalian?” campaign to reduce its carbon footprint.</p>
<p>“That’s 5,431 bulbs,” reports intern Andy Barnett.</p>
</blockquote>
<p>So extrapolating from the average number of bulbs per congregation, and dividing the number of Episcopalians (<a href="http://www.episcopalchurch.org/documents/2005_Red_Book_Table_of_Statistics_by_Prov_Diocese.pdf">active baptized members</a>) in Ohio by the total number of bulbs, that's...</p>
<p>29,400 members ÷ 8600 bulbs = <strong>3 members per bulb</strong></p>
<blockquote>
<p>3: One to call the electrician, one to mix the drinks, and one to talk about how much better the old one was. (from <a href="http://www.beliefnet.com/dailyjoke/DailyJoke.aspx?QID=9966">BeliefNet</a>)</p>
</blockquote>
<p>Dibs on shaking martinis!</p>
kbullocktag:kbullock.ringworld.org,2008-08-19:8032008-08-19T22:58:00Z2008-08-19T23:03:03ZDoing the MPG math
<blockquote>
<p>Suppose you had a household with two cars, and each car needs to be driven 10,000 miles per year. One car consumes 34 MPG, and the other car consumes 18 MPG. Since gas is expensive, you want to replace one car. Because of utility constraints, you have two choices:</p>
<ul>
<li>Replace the 34 MPG car with a 50 MPG car — a 16 MPG improvement</li>
<li>Replace the 18 MPG car with a 28 MPG car — a 10 MPG improvement</li>
</ul>
<p>Which car replacement would save you the most gas?</p>
<p>... When you run the numbers, replacing the 34 MPG car with a 50 MPG (a 16 MPG improvement) car saves you 94.1 gallons per 10,000 miles, whereas replacing the 18 MPG car with a 28 MPG (a 10 MPG improvement) car saves you 198.4 gallons per 10,000 miles — more than double the savings.</p>
<p>... a textbook case for how common wisdom can fail the common person.</p>
</blockquote>
<p>From <a href="http://www.bunniestudios.com/blog/?p=257">this blog post</a> (h/t <a href="http://blog.makezine.com/archive/2008/07/the_miles_per_gallon_illu.html">MAKE blog</a>).</p>
<p>It's an interesting point, and a problem that's avoided by the metric measurement of gas mileage in L/100km (volume over distance). What we really care about is either (a) how much gas we're really using for the distance we need to drive, and thus how much money we're spending on it; or (b) how much particulate matter and noxious gas we're putting in the air. Both of these are related to the volume of gas used.</p>
<p>Even so, the example above presents something of a false choice. Utility constraints, yes, but replacing an 18 MPG car with a 34 MPG car is still better than replacing an 18 MPG car with a 28 MPG car. Using the right grade gasoline and <a href="http://www.edmunds.com/advice/fueleconomy/articles/106842/article.html" title="We Test the Tips - edmunds.com">driving for better mileage</a> also help, no matter what vehicle you drive.</p>
kbullocktag:kbullock.ringworld.org,2008-08-19:8022008-08-19T22:26:00Z2008-08-20T12:55:46ZNo, really, everything is an expression
<p>I just had a realization about Ruby that others coming from C, Perl, Javascript, PHP, etc. may not have quite grasped yet: In Ruby, since everything is an expression, <strong>semicolons are allowed within parentheses.</strong> That means parentheses effectively create a <a href="http://en.wikipedia.org/wiki/Statement_block" title="Statement block - Wikipedia, the free encyclopedia">statement block</a> (though not a new <a href="http://en.wikipedia.org/wiki/Scope_%28programming%29" title="Scope (programming) - Wikipedia, the free encyclopedia">scope</a>, and not a block in the Ruby sense of a first-class procedure object).</p>
<pre><code>>> ("foo"; 42; :coolness)
=> :coolness
</code></pre>
<p>The above evaluates the values <code>"foo"</code> (a String), <code>42</code> (a Fixnum), and <code>:final</code> (a Symbol) in that order, and returns the last one. In Lisp, this would be a <code>progn</code> (Common Lisp) or <code>begin</code> (Scheme).</p>
<p>I've made use of this behavior before, I think, without really realizing the implications of it. In Perl, for example, you can use a bare block to group statements together. But you can't even apply a <a href="http://www.rubycentral.com/book/intro.html#S4" title="Control Structures - Programming Ruby: The Pragmatic Programmer's Guide">statement modifier</a> to such a grouping. The following is a syntax error:</p>
<pre><code>{
print "foo\n";
exit(254);
} unless open(FOO, "foo.txt";
</code></pre>
<p>...leading to such idioms as:</p>
<pre><code>print "foo\n" && exit(254) unless open(FOO, "foo.txt");
</code></pre>
<p>In Ruby, since everything is an expression, you can use statement modifiers on a parenthesized expression, like so:</p>
<pre><code>>> (f = open("hello.c"); f.read) if File.exist? "hello.c"
=> # contents of hello.c
</code></pre>
<p>You could even use a compound expression as a conditional test (in a statement modifier!):</p>
<pre><code>>> "non-empty file" if (f = open("hello.c"); !f.eof?)
=> "non-empty file"
</code></pre>
kbullocktag:kbullock.ringworld.org,2008-08-18:8012008-08-18T18:13:00Z2008-08-18T18:14:15ZDoing the math
<p>Someone out there did <a href="http://technologizer.com/2008/08/14/are-macs-more-expensive-lets-do-the-math-once-and-for-all/">an extensive price comparison</a> between the MacBook and comparably-equipped laptops from Dell, hp, and Sony (h/t <a href="http://daringfireball.net/linked/2008/08/16/mccracken">daring fireball</a>). I thought I'd post here a similar comparison I did between comparably-equipped desktop machines from Apple and Dell back in 2002 (originally <a href="http://slashdot.org/comments.pl?sid=26185&amp;cid=2846173">posted to a slashdot comment</a>). These numbers were drawn directly from the respective companies' online stores at the time.</p>
<p><strong>Dell Dimension 8200</strong></p>
<ul>
<li>Pentium 4 1.7GHz</li>
<li>256MB RAM</li>
<li>40GB HD (no 60GB available)</li>
<li>3yr ltd warranty/service plan</li>
<li>Windows XP Home</li>
<li>15in flat panel LCD (analog connector)</li>
<li>64MB Geforce2 MX</li>
<li>DVD-R/CD-RW drive</li>
<li>Dell Jukebox, Image Expert 2000, Standard Dell Movie Studio bundle</li>
<li>Microsoft Works 2002</li>
<li><strong>Price: $2,209</strong></li>
</ul>
<p><strong>Apple iMac SuperDrive</strong></p>
<ul>
<li>G4 800MHz</li>
<li>256MB RAM</li>
<li>60GB HD (no 40GB available)</li>
<li>3yr AppleCare Protection Plan [apple.com]</li>
<li>Mac OS X and OS 9</li>
<li>15in flat panel LCD (digitally connected)</li>
<li>32MB Geforce2 MX</li>
<li>DVD-R/CD-RW SuperDrive</li>
<li>iTunes, iPhoto, iMovie, iDVD</li>
<li>AppleWorks 6.2
<strong>Price: $1,948</strong></li>
</ul>
<p><strong>Difference: $261</strong></p>
kbullocktag:kbullock.ringworld.org,2008-06-10:7982008-06-10T20:26:00Z2008-06-10T21:42:40ZThe Media's fault<p>I've mostly refrained from comment, even in my face-to-face life, about <a href="http://www.amazon.com/What-Happened-Washingtons-Culture-Deception/dp/1586485563/" title="amazon.com">Scott McClellan's book</a>, because <a href="http://twitter.com/matthewbaldwin/statuses/821824102" title="twitter.com">the only necessary summary</a> was tweeted (twit? twitted?) so wonderfully when the book came out at the end of last month (thanks <a href="http://daringfireball.net/linked/2008/may#wed-28-mcclellan" title="daringfireball.net">daringfireball</a>). But the maddening stream of <a href="http://www.msnbc.msn.com/id/21134540/vp/24854188#24854188" title="msnbc.msn.com">defensive</a> <a href="http://kristof.blogs.nytimes.com/2008/06/09/the-presss-mistakes/" title="blogs.nytimes.com">self-congratulation</a> by members of the media can't stand unchallenged.</p>
<p>Well, <a href="http://www.salon.com/opinion/greenwald/2008/05/28/gibson/" title="salon.com">actually</a>, it <a href="http://krugman.blogs.nytimes.com/2008/06/09/what-do-you-mean-we-white-man/" title="blogs.nytimes.com">hasn't</a>. While I have no truck with Scott McClellan blaming the media for letting the administration start a war about which my views have been clear since before it started, neither should the media be so quick to congratulate themselves for their coverage:</p>
<p>I've mostly refrained from comment, even in my face-to-face life, about <a href="http://www.amazon.com/What-Happened-Washingtons-Culture-Deception/dp/1586485563/" title="amazon.com">Scott McClellan's book</a>, because <a href="http://twitter.com/matthewbaldwin/statuses/821824102" title="twitter.com">the only necessary summary</a> was tweeted (twit? twitted?) so wonderfully when the book came out at the end of last month (thanks <a href="http://daringfireball.net/linked/2008/may#wed-28-mcclellan" title="daringfireball.net">daringfireball</a>). But the maddening stream of <a href="http://www.msnbc.msn.com/id/21134540/vp/24854188#24854188" title="msnbc.msn.com">defensive</a> <a href="http://kristof.blogs.nytimes.com/2008/06/09/the-presss-mistakes/" title="blogs.nytimes.com">self-congratulation</a> by members of the media can't stand unchallenged.</p>
<p>Well, <a href="http://www.salon.com/opinion/greenwald/2008/05/28/gibson/" title="salon.com">actually</a>, it <a href="http://krugman.blogs.nytimes.com/2008/06/09/what-do-you-mean-we-white-man/" title="blogs.nytimes.com">hasn't</a>. While I have no truck with Scott McClellan blaming the media for letting the administration start a war about which my views have been clear since before it started, neither should the media be so quick to congratulate themselves for their coverage:</p>
<blockquote>
<p>A majority of Democrats in the House voted against the authorization of force... There were also huge antiwar demonstrations, which received stunningly little coverage.</p>
</blockquote>
<p>Some of which I helped organize in my admittedly tiny little college town. It's not ultimately the media's fault we invaded Iraq—rarely is the media fully to blame for anything we try to push off on them—but as usual, they bear the responsibility for giving a louder voice to those in power and ignoring all others.</p>
kbullocktag:kbullock.ringworld.org,2008-06-09:7972008-06-09T18:38:00Z2008-06-09T19:32:07ZFood security<p>For the second year, my lovely partner and I have signed up for a <a href="http://en.wikipedia.org/wiki/Community-supported_agriculture" title="Community-supported agriculture - Wikipedia"><abbr title="Community Supported Agriculture ">CSA</abbr></a> share. We were mostly happy with last year's, but they seemed to pick everything just a little too late; the produce we got was often a little too large and a bit bitter. This year we've signed up with the <a href="http://www.localharvest.org/farms/M19979" title="Turtle Creek CSA">Turtle Creek Farm</a>, and our first box came on Friday for pick-up at <a href="http://www.hampdenparkcoop.com/" title="Hampden Park Co-op">our favorite co-op</a>. So far, as expected, there's a lot of spring greens, including some tasty-looking spinach we'll be having tonight (probably as a salad). All of it looks really good, and the family running it seem really friendly.</p>
<p><em>Below the fold: our garden, companion planting, locavores and kitchen gardeners</em></p>
<p>For the second year, my lovely partner and I have signed up for a <a href="http://en.wikipedia.org/wiki/Community-supported_agriculture" title="Community-supported agriculture - Wikipedia"><abbr title="Community Supported Agriculture ">CSA</abbr></a> share. We were mostly happy with last year's, but they seemed to pick everything just a little too late; the produce we got was often a little too large and a bit bitter. This year we've signed up with the <a href="http://www.localharvest.org/farms/M19979" title="Turtle Creek CSA">Turtle Creek Farm</a>, and our first box came on Friday for pick-up at <a href="http://www.hampdenparkcoop.com/" title="Hampden Park Co-op">our favorite co-op</a>. So far, as expected, there's a lot of spring greens, including some tasty-looking spinach we'll be having tonight (probably as a salad). All of it looks really good, and the family running it seem really friendly.</p>
<p><em>Below the fold: our garden, companion planting, locavores and kitchen gardeners</em></p>
<p>We also have our own garden going, a 5 x 20 ft. plot that I started a couple years ago. This year is the first time we've managed to get the thing planted in time to have some real success with it. The long, cold spring helped us in that regard—it gave us more time to buy seeds and plants and get them into the ground. Currently planted:</p>
<ul>
<li>Three <a href="http://en.wikipedia.org/wiki/Three_Sisters_%28agriculture%29" title="Three Sisters (agriculture) - Wikipedia">mounds</a> with corn, to be joined by beans and squash</li>
<li>Six tomato plants, <a href="http://en.wikipedia.org/wiki/Companion_planting" title="Companion planting - Wikipedia">companion-planted</a> with two Thai basil plants</li>
<li>One half-row each of butterhead lettuce and spinach</li>
<li>One row of onions (though I'm pretty sure these won't work)</li>
</ul>
<p>This evening I'll be planting the other half-row each of spinach and lettuce, so that I can harvest them incrementally. I'll also be planting the beans and squash to join the corn.</p>
<p>Meanwhile, I'm following the pursuits of similar-minded folks around the country via the <a href="http://splendidtable.publicradio.org/locavore_nation/" title="Locavore Nation">Locavore Nation</a> blogs. I've also been regularly reading the <a href="http://www.kitchengardeners.org/" title="Kitchen Gardeners International">Kitchen Gardeners International</a> site for tips, and by the end of the summer we'd like to be able to can our extra produce.</p>
kbullocktag:kbullock.ringworld.org,2008-06-04:7962008-06-04T20:34:00Z2008-06-04T20:37:15ZHaitian hospitality<p><em>[This is the piece I wrote for our monthly parish newsletter about the trip. There will be more to come about Haiti.]</em></p>
<p>In the United States, the only things we hear about Haiti are that they're either starving or rioting. Certainly Haiti is deeply in need of our help, especially as the worsening worldwide food crisis affects the people there most strongly, but the wholeness of Haiti cannot be reduced to such a simple description. From the moment we arrived, we were shown overwhelming hospitality. At the guest house in Leogane, we were greeted by a beautiful and tasty dinner of rice, beans, fish, and vegetables, the work of Fenide Deravil and her helpers at the guest house.</p>
<p><em>[This is the piece I wrote for our monthly parish newsletter about the trip. There will be more to come about Haiti.]</em></p>
<p>In the United States, the only things we hear about Haiti are that they're either starving or rioting. Certainly Haiti is deeply in need of our help, especially as the worsening worldwide food crisis affects the people there most strongly, but the wholeness of Haiti cannot be reduced to such a simple description. From the moment we arrived, we were shown overwhelming hospitality. At the guest house in Leogane, we were greeted by a beautiful and tasty dinner of rice, beans, fish, and vegetables, the work of Fenide Deravil and her helpers at the guest house.</p>
<p>After the service on Sunday, we were again shown the utmost hospitality by Joseph Laborde, the lay leader and school administrator at St Philippe et St Jacques, and his wife, who invited us to their home for lunch. We sat on their front porch and chatted about his hopes for his son Jonas, who is currently a teacher at the school but also attending university in Port-au-Prince.</p>
<p>And finally, Fr. Kerwin Delicat and his family were the most gracious of hosts throughout our stay in Leogane. They translated for us, had us visit them at their home repeatedly, and even took us to the beach at Jacmel one fine afternoon. The culmination of their hospitality, though, was the evening we spent with Kerwin+, his wife Rholcie and daughter Kercie, his brothers Carlo and Roosnel, and his aunt Celecia. Rholcie and Celecia prepared a wonderful meal for us, and Carlo even gave us a little musical entertainment (with vocal help from his brothers).</p>
<p>This is how we build a true partnership, and I'm looking forward to the opportunity to show Kerwin+ and Rholcie the same hospitality when they come to visit us.</p>
kbullocktag:kbullock.ringworld.org,2008-04-17:7932008-04-17T16:07:00Z2008-04-17T16:23:08ZNou pralé en Ayiti
<p>We heard from our hosts in both Port-au-Prince and Leogane on Tuesday that it's safe again, so we're leaving on Saturday as planned. I've created a <a href="/haiti">new section</a> in case you want to follow just my posts on Haiti. It's likely all I'll be posting from now until we get back.</p>
<p>Meanwhile:</p>
<blockquote>
<p>"The grain required to fill a 25-gallon SUV tank with ethanol will feed one person for a year," [<em>Plan B 3.0: Mobilizing to Save Civilization</em> author Lester] Brown says. "And what we are seeing now is the emergence of direct competition between the 860 million people in the world who own automobiles and who want to maintain their mobility while the 2 billion poorest people in the world simply want to survive."</p>
</blockquote>
<p>(via <a href="http://www.npr.org/templates/story/story.php?storyId=89612926&amp;sc=emaf">NPR</a>)</p>
<p>Also, the <a href="http://www.aidg.org/">AIDG</a> out of Boston has collected a good set of <a href="http://www.aidg.org/component/option,com_jd-wp/Itemid,34/p,1043/">eyewitness accounts</a> from the protests last week.</p>
kbullocktag:kbullock.ringworld.org,2008-04-14:7922008-04-14T13:30:00Z2008-04-17T16:02:23ZHaiti is starving (updated)<p><strong>Update:</strong> if you read only one thing about Haiti, read this: <a href="http://www.jonesbahamas.com/?c=128&amp;a=16665">Haiti, Reaping the Whirlwind</a></p>
<p>For the past several months, my lovely partner and I have been planning a trip to Haiti. Our parish has a partnership with a parish there, and we're part of the group that works on the partnership. We're meant to leave on Saturday, but as you might have (but probably haven't) heard in the news last week, people are in the streets protesting and, in some instances, rioting.</p>
<p>Funny thing, what happens when people are starving. Eighty percent—four-fifths—of the people in Haiti live on less than US$2 per day, and many of those are in so-called abject poverty, living on less than US$1 per day. The cost of food in developing countries worldwide has as much as doubled in the past year, and in Haiti, many people are literally subsisting on cookies made of dirt.</p>
<p><strong>Update:</strong> if you read only one thing about Haiti, read this: <a href="http://www.jonesbahamas.com/?c=128&amp;a=16665">Haiti, Reaping the Whirlwind</a></p>
<p>For the past several months, my lovely partner and I have been planning a trip to Haiti. Our parish has a partnership with a parish there, and we're part of the group that works on the partnership. We're meant to leave on Saturday, but as you might have (but probably haven't) heard in the news last week, people are in the streets protesting and, in some instances, rioting.</p>
<p>Funny thing, what happens when people are starving. Eighty percent—four-fifths—of the people in Haiti live on less than US$2 per day, and many of those are in so-called abject poverty, living on less than US$1 per day. The cost of food in developing countries worldwide has as much as doubled in the past year, and in Haiti, many people are literally subsisting on cookies made of dirt.</p>
<p>If you're a praying sort, please include the people of Haiti in your prayers. If you're an activist type, call your congresspeople at the state and national levels. Here's some further reading to help you raise awareness:</p>
<p><a href="http://news.google.com/news?q=Haiti">Google News search for Haiti</a><br />
<a href="http://www.theheraldbulletin.com/peopleandplaces/local_story_096165946.html">HAITI: Economy forces poor to eat dirt</a><br />
<a href="http://www.independent.co.uk/news/world/politics/imf-warns-rising-food-prices-may-spark-more-riots-like-haiti-808649.html">IMF warns rising food prices may spark more riots like Haiti</a><br />
<a href="http://www.energynews.co.za/web_main/article.php?story=20080414021920559">Biofuels a factor as global food riots spread to Haiti</a></p>
<p>If you're a charitable sort, consider donating to the <a href="http://www.wfp.org/english/">UN World Food Programme</a> mission in Haiti. It would take US$96 million to fully fund the WFP in Haiti, of which they have only received 13 percent.</p>
<p>That's all for now. If we go, I'll blog from the island if possible (there is at least e-mail access there).</p>
kbullocktag:kbullock.ringworld.org,2008-04-09:7912008-04-09T19:52:00Z2008-04-10T00:59:18ZApache's trailing slash and proxying to RESTful apps
<p>I have a somewhat odd case with the Web app I just deployed today (no, not <a href="http://www.rubyonrails.com/">Rails</a>, it's <a href="http://www.merbivore.com/">Merb</a>!). I have a RESTful Documents controller which needs to receive POST requests on /documents. I also have a documents directory in the public document root. The whole thing is hosted behind Apache with mod_proxy_balancer, and mod_rewrite to let Apache serve static files (all as <a href="http://mongrel.rubyforge.org/wiki/Apache">described</a> on the <a href="http://mongrel.rubyforge.org/">Mongrel</a> site).</p>
<p>So when I would POST to /documents, Apache in its (normally quite useful) wisdom decided to rewrite it to /documents/ and (worse) to change the request to a GET. This is because of <a href="http://httpd.apache.org/docs/2.2/mod/mod_dir.html">mod_dir</a>, which provides the <code>DirectoryIndex</code> directive and the (less well-known) <code>DirectorySlash</code> directive, which defaults to <code>On</code>. So to fix it, I just set <code>DirectorySlash</code> to <code>Off</code> for the documents directory, and bingo, it works.</p>
<p>Now, if I needed directory indexes on the subdirectories of the public/documents/ directory, I'd have to work around, but this is fine for my current setup.</p>
kbullocktag:kbullock.ringworld.org,2008-02-18:7892008-02-18T17:34:00Z2008-02-18T17:35:05ZIt's its!
<p><em>It's</em> a shame that the English language has had <em>its</em> writers in the current generation so poorly trained as to confuse the usage of "its" and "it's". Since I recently had to retrain my well-educated partner, via much repetition, to use them properly, and since I've seen such misuse this morning in <a href="http://katidev.com/blog/?p=20">two</a> <a href="http://cocoadex.com/2008/02/nsevent-modifications-swipe-ro.html">articles</a> written by otherwise intelligent people: <strong>here is the proper usage of "its" and "it's".</strong></p>
<p>
"its" is a possessive pronoun.<br />
"it's" is a contraction of "it is".
</p>
<p>See the first sentence of this post for an example of correct usage. Anywhere you see "it's" (<em>with</em> apostrophe), mentally replace it with "it is". Do that several times and you'll start to cringe when you see the wrong usage, just like I do.</p>
kbullocktag:kbullock.ringworld.org,2008-02-12:7882008-02-12T22:15:00Z2008-02-13T16:51:57ZLearning humility from science and religion<p><a href="http://www.episcopalcafe.com/daily/science/galileo_darwin_and_lent.php" title="Galileo, Darwin, and Lent">From the Episcopal Café</a>:</p>
<blockquote>
<p>…in essence, both Galileo and Darwin were using science to claim that humankind is not at the center of everything. Our earth is not at the center of God's creation, and our species is not at the center of God's creation.</p>
<p>Isn't this what Lent is supposed to teach us? "Remember that you are dust, and to dust you shall return," many of us heard on Ash Wednesday. Lent is supposed to remind us of humility. The opposite of humility is hubris, to be so self-obsessed as to think we are at the center of everything.</p>
</blockquote>
<p><a href="http://www.episcopalcafe.com/daily/science/galileo_darwin_and_lent.php" title="Galileo, Darwin, and Lent">From the Episcopal Café</a>:</p>
<blockquote>
<p>…in essence, both Galileo and Darwin were using science to claim that humankind is not at the center of everything. Our earth is not at the center of God's creation, and our species is not at the center of God's creation.</p>
<p>Isn't this what Lent is supposed to teach us? "Remember that you are dust, and to dust you shall return," many of us heard on Ash Wednesday. Lent is supposed to remind us of humility. The opposite of humility is hubris, to be so self-obsessed as to think we are at the center of everything.</p>
</blockquote>
<p>So good. Both Galileo and Darwin were confronted with a church power structure that took Scripture literally, thereby missing the point: <a href="http://bible.oremus.org/?ql=69854495">"The earth is the Lord's and all that is in it."</a> Not ours to do with as we wish. Not the property of the power structures that oppress.</p>
<p>If I claim to act by God's will, I think I need to go and learn humility better.</p>
kbullocktag:kbullock.ringworld.org,2008-01-15:5242008-01-15T21:23:00Z2008-01-15T21:39:21Ztextutil: OS X command-line tool of the week<pre><code>$ textutil -convert rtf 'Business Plan.doc'
$ ls
Business Plan.doc Business Plan.rtf
</code></pre>
<p>omg d00d! Command-line conversion between proprietary and open-source formats!</p>
<pre><code>$ textutil -convert rtf 'Business Plan.doc'
$ ls
Business Plan.doc Business Plan.rtf
</code></pre>
<p>omg d00d! Command-line conversion between proprietary and open-source formats!</p>
<pre><code>$ textutil -convert doc 'Live Free Or Die.odt'
$ ls
Live Free Or Die.doc Live Free Or Die.odt
$ file Live\ Free\ Or\ Die.doc
Live Free Or Die.doc: Microsoft Office Document
</code></pre>
<p><code>man textutil</code> for more details. Other supported formats (besides the demonstrated RTF, MS Word, and OpenOffice) include plain text and HTML. It can also display document metadata (including of Word documents) and convert documents from one text encoding (UTF-8, ASCII, KOI-8, ...) to another. Whee!</p>
kbullocktag:kbullock.ringworld.org,2007-11-21:2242007-11-21T20:55:00Z2007-11-23T15:48:50ZI hated DRM before it was cool<p><a href="http://blogs.zdnet.com/Berlind/?p=897&amp;tag=nl.e622">From some random ZDNet-employed tech pundit</a>:</p>
<blockquote>
<p>Apple goes to great lengths — usually through its digital rights management technologies (what I
call C.R.A.P.) — to tightly control the relationship between its software, its hardware, and, in the
case of the iPhone, the relationship of both to carriers and the Internet (God forbid you should
attempt to acquire new audio online for your iPhone — music, ringtones, etc — through anything
but the iTunes Music Store).</p>
</blockquote>
<p>Just the latest in a <a href="http://www.informationweek.com/shared/printableArticle.jhtml?articleID=191000408">long</a> <a href="http://www.engadget.com/2007/04/02/apple-and-emi-ditching-drm-is-good-but-its-not-good-enough/">string</a> of Apple hatred (and now <a href="http://www.windowsitpro.com/Article/ArticleID/94761/94761.html?Ad=1">litigation</a>) based on their "<a href="http://en.wikipedia.org/wiki/FairPlay">FairPlay</a>" DRM system. Apple can't be exonerated of their complicity in the foisting of DRM on us consumers, but let's review the facts.</p>
<p><a href="http://blogs.zdnet.com/Berlind/?p=897&amp;tag=nl.e622">From some random ZDNet-employed tech pundit</a>:</p>
<blockquote>
<p>Apple goes to great lengths — usually through its digital rights management technologies (what I
call C.R.A.P.) — to tightly control the relationship between its software, its hardware, and, in the
case of the iPhone, the relationship of both to carriers and the Internet (God forbid you should
attempt to acquire new audio online for your iPhone — music, ringtones, etc — through anything
but the iTunes Music Store).</p>
</blockquote>
<p>Just the latest in a <a href="http://www.informationweek.com/shared/printableArticle.jhtml?articleID=191000408">long</a> <a href="http://www.engadget.com/2007/04/02/apple-and-emi-ditching-drm-is-good-but-its-not-good-enough/">string</a> of Apple hatred (and now <a href="http://www.windowsitpro.com/Article/ArticleID/94761/94761.html?Ad=1">litigation</a>) based on their "<a href="http://en.wikipedia.org/wiki/FairPlay">FairPlay</a>" DRM system. Apple can't be exonerated of their complicity in the foisting of DRM on us consumers, but let's review the facts.</p>
<ol>
<li><p>Apple <strong><em>does not force you</strong></em> to use DRM-crippled music either in iTunes or on the iPod. In fact <em>both</em> products were capable of using the de facto industry standard (though unfortunately patent-encumbered) MP3 format <strong><em>before FairPlay existed</strong></em> in the market—i.e., before the opening of the iTunes Music Store.</p></li>
<li><p>Apple themselves sell non-DRM-crippled tracks through their own music store.</p></li>
<li><p>Apple is neither the only, nor the <a href="http://en.wikipedia.org/wiki/Sony_rootkit">worst</a> company to use DRM.</p></li>
</ol>
<p>I happily use an iPod and iTunes (and a Mac). I have never paid money for a single DRM-encumbered track from the iTunes Store (though I do own a few such tracks via gift cards and Pepsi caps). I've been an <a href="http://www.emusic.com/">eMusic</a> subscriber since their plans included unlimited downloads. I find it unconscionable that the RIAA could <a href="http://blog.wired.com/27bstroke6/2007/10/riaa-jury-finds.html">sue a family into oblivion</a> for simply depriving them of <em>potential</em> (that means <em>neither real nor certain</em>) revenue to which they (and the courts) think they have a right.</p>
<p>But why is it suddenly cool to hate Apple for using DRM (based on utter fabrications), and not actually support <a href="http://defectivebydesign.org/">ditching it entirely</a>?</p>
<p>And if you hated <em>Bush</em> before it was cool, <a href="http://www.onehorseshy.com/political/i_hated_bush_before_it_was_cool/">see here</a>.</p>