﻿<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type='text/xsl' href='blogformat.xsl' version='1.0'?>
<!-- (c) 2009 by Charles Petzold (www.charlespetzold.com) -->
<blog>
  <item>
    <title>Pants on the Ground: The Silverlight Application</title>
    <permalink>2010/01/Pants-on-the-Ground-The-Silverlight-Application.html</permalink>
    <comments>Comments (5)</comments>
    <dateline>January 23, 2010<br />New York, N.Y.</dateline>
    <content><p>  ...  </p></content>
    <datetime>Sat, 23 Jan 2010 17:24:51 GMT</datetime>
  </item>
  <item>
    <title>Dear EarthLink Customer Support</title>
    <permalink>2010/01/Dear-EarthLink-Customer-Support.html</permalink>
    <comments>Comments (2)</comments>
    <dateline>January 13, 2010<br />New York, N.Y.</dateline>
    <content><p>  Dear EarthLink Customer Support,  <br />  <br />  This blog entry may seem like an unusual way to get in touch with you, but I've run out of options. You don't accept postal mail or phone calls, and your   <a href="http://feedback.earthlink.net/mi.asp?route=email">Support Center Feedback page</a> generates an email to   <a href="mailto:external_feedback@lists.corp.earthlink.net">external_feedback@lists.corp.earthlink.net</a>, which your email system bounces!  I've considered visiting your office in Atlanta and demanding to see a corporate representative, but I suspect I'll only find myself in a crowd of many thousands of other crazed dissatisfied customers wailing in agony in your lobby.  </p></content>
    <datetime>Wed, 13 Jan 2010 12:37:09 GMT</datetime>
  </item>
  <item>
    <title>1859 Books: Harriet Beecher Stowe’s “The Minister’s Wooing”</title>
    <permalink>2009/12/Harriet-Beecher-Stowe-The-Ministers-Wooing.html</permalink>
    <comments>Comments (0)</comments>
    <dateline>December 31, 2009<br />Roscoe, N.Y.</dateline>
    <content><p>  The Fugitive Slave Act of 1850 was perhaps the most politically explosive piece of legislation ever passed by the United States Congress. As part of the Compromise of 1850, the Fugitive Slave Act ostensibly did little more than strengthen a concept that was imbedded in the Constitution: that a "Person held to Service or Labour in one State" upon "escaping into another, shall ... be delivered up on Claim of the Party to whom such Service or Labour may be due." (Article IV, Section 2)  </p></content>
    <datetime>Thu, 31 Dec 2009 18:26:54 GMT</datetime>
  </item>
  <item>
    <title>Silverlight Apps that Resize Themselves</title>
    <permalink>2009/12/Silverlight-Apps-that-Resize-Themselves.html</permalink>
    <comments>Comments (4)</comments>
    <dateline>December 17, 2009<br />New York, N.Y.</dateline>
    <content>    <p>          Yesterday I was working on a Silverlight application that adjusted its size within the browser page          when I began encountering erratic behavior. Turns out I hadn't taken account of the zooming feature          implemented in recent versions of Internet Explorer (and other browsers), and now I'm not sure I should need to.       </p></content>
    <datetime>Thu, 17 Dec 2009 18:01:08 GMT</datetime>
  </item>
  <item>
    <title>Experimental Embedding of Silverlight Apps in Blog Entries</title>
    <permalink>2009/12/Experimental-Embedding-of-Silverlight-Apps-in-Blog-Entries.html</permalink>
    <comments>Comments (7)</comments>
    <dateline>December 15, 2009<br />New York, N.Y.</dateline>
    <content><p>  Commonly, blog entries that discuss Silverlight programming contain a link to a separate HTML or ASPX file that contains the actual Silverlight application.  I want to start embedding Silverlight applications right in my blog entries. Since I wrote my own blogging software &#x2014; it's a Windows Forms application called BlogHack and it's as sloppy as the name suggests &#x2014; I figured it wouldn't be too difficult.  </p></content>
    <datetime>Tue, 15 Dec 2009 16:53:13 GMT</datetime>
  </item>
  <item>
    <title>Listening to Cecilia Bartoli’s “Sacrificium”</title>
    <permalink>2009/12/Listening-to-Cecilia-Bartoli-Sacrificium.html</permalink>
    <comments>Comments (3)</comments>
    <dateline>December 7, 2009<br />Roscoe, New York</dateline>
    <content><p>  Castration is not a pleasant topic.  Even manly men &#x2014; those who courageously  run into burning buildings or jump out of airplanes &#x2014; are known to whimper and cringe at the very thought of a sharpened knife hovering somewhat below belt level.  </p></content>
    <datetime>Mon, 07 Dec 2009 13:00:00 GMT</datetime>
  </item>
  <item>
    <title>Coding for Multi-Touch for Silverlight 3</title>
    <permalink>2009/12/Coding-for-Multi-Touch-for-Silverlight-3.html</permalink>
    <comments>Comments (2)</comments>
    <dateline>December 1, 2009<br />New York, N.Y.</dateline>
    <content><p>  Two weeks ago, at the second-day keynote at the Microsoft Professional Developers Conference (PDC), Windows and Windows Live Division President Steven Sinofsky told us that Microsoft would be giving everyone there a new Acer notebook computer.  He got a big round of applause.  Nothing quite excites a roomful of programmers more than free hardware.  </p></content>
    <datetime>Tue, 01 Dec 2009 18:41:22 GMT</datetime>
  </item>
  <item>
    <title>Text Deformation Based on Bézier Splines</title>
    <permalink>2009/11/Text-Deformation-Based-on-Bezier-Splines.html</permalink>
    <comments>Comments (0)</comments>
    <dateline>November 29, 2009<br />New York, N.Y.</dateline>
    <content><p>  In previous blog entries I showed how to use a WPF program (called TextOutlineGenerator and available from   <a href="http://www.charlespetzold.com/blog/2009/10/Manipulating-Character-Outlines-in-Silverlight.html">here</a>) to generate text outlines that you can then use in Silverlight programs for some interesting effects. This morning I woke up with an idea to deform a whole character string based on two Bézier curves.  </p></content>
    <datetime>Sun, 29 Nov 2009 18:44:04 GMT</datetime>
  </item>
  <item>
    <title>1859 Books: Charles Darwin’s “On the Origin of Species”</title>
    <permalink>2009/11/1859-Books-Charles-Darwin-On-the-Origin-of-Species.html</permalink>
    <comments>Comments (1)</comments>
    <dateline>November 24, 2009<br />New York, N.Y.</dateline>
    <content><p>  It had long been observed that animals and other living things are particularly well-adapted to the environments in which they live. Prior to November 24, 1859 &#x2014; 150 years ago today &#x2014; the best explanation for this amazing phenomenon was that they had been designed specifically for that purpose.  </p></content>
    <datetime>Tue, 24 Nov 2009 12:00:00 GMT</datetime>
  </item>
  <item>
    <title>Seeds Across the Oceans</title>
    <permalink>2009/11/Seeds-Across-the-Oceans.html</permalink>
    <comments>Comments (0)</comments>
    <dateline>November 23, 2009<br />New York, N.Y.</dateline>
    <content><p>  How do plants get from one land mass to another?  Here's one plausible answer from a man who actually performed the necessary experiments:  </p></content>
    <datetime>Mon, 23 Nov 2009 19:45:57 GMT</datetime>
  </item>
  <item>
    <title>1859 Books: Charles Dickens’ “A Tale of Two Cities”</title>
    <permalink>2009/11/1859-Books-Charles-Dickens-A-Tale-of-Two-Cities.html</permalink>
    <comments>Comments (0)</comments>
    <dateline>November 21, 2009<br />New York, N.Y.</dateline>
    <content><p>  In Oscar Wilde's <i>The Importance of Being Earnest</i> (1895) when the very proper and stuffy Lady Bracknell learns that     Jack was found as a baby in a hand-bag in the cloak-room at Victoria Station, she is understandably shocked:   “I confess I feel  somewhat bewildered by what you have just told me.  To be born, or at any  rate bred, in a hand-bag, whether it had handles or not, seems to me to  display a contempt for the ordinary decencies of family life that reminds  one of the worst excesses of the French Revolution.”  </p></content>
    <datetime>Sat, 21 Nov 2009 19:00:00 GMT</datetime>
  </item>
  <item>
    <title>Text Morphing but with Decomposed Outlines</title>
    <permalink>2009/11/Text-Morphing-but-with-Decomposed-Outlines.html</permalink>
    <comments>Comments (5)</comments>
    <dateline>November 13, 2009<br />New York, N.Y.</dateline>
    <content><p>  I'm not quite sure how to describe this Silverlight program. It contains two text strings of approximately equal linegth for which I've generated flattened <i>PathGeometry</i> objects using a WPF program I've described   <a href="http://www.charlespetzold.com/blog/2009/10/Manipulating-Character-Outlines-in-Silverlight.html">in a previous blog entry</a>. The character outlines of each text string thus consist of a series of tiny lines. By animating these little lines back and forth between the two outlines, the text strings seem to morph into each other, but in a rather unusual way.   </p></content>
    <datetime>Fri, 13 Nov 2009 12:44:43 GMT</datetime>
  </item>
  <item>
    <title>Displaying Text at Angles</title>
    <permalink>2009/11/Displaying-Text-at-Angles.html</permalink>
    <comments>Comments (0)</comments>
    <dateline>November 12, 2009<br />New York, N.Y.</dateline>
    <content><p>  I'm not sure if this TV trend is for real, or whether I'm just noticing it more, but I think there's been an increase in the past year or so of text displayed with perspective effects &#x2014; not necessarily 3D text had has depth and body, but regular flat 2D text that appears to occupy a 3D space.  One example is the titles on <i>Fringe</i> that seem to be attached to the sides of buildings, but I've also seen text in TV commercials where the words seem to meet at angles.  </p></content>
    <datetime>Thu, 12 Nov 2009 18:55:06 GMT</datetime>
  </item>
  <item>
    <title>Random Globules This Time</title>
    <permalink>2009/11/Random-Globules-This-Time.html</permalink>
    <comments>Comments (2)</comments>
    <dateline>November 2, 2009<br />New York, N.Y.</dateline>
    <content><p>  After I posted   <a href="http://www.charlespetzold.com/blog/2009/10/Random-Rectangles-in-Silverlight-using-WriteableBitmap.html">a blog entry on writing a random-rectangle program for Silverlight</a>, I added a comment with links to Win16 and Win32 random-rectangle programs. It's really amazing to see how fast those old programs run on modern machines!  </p></content>
    <datetime>Mon, 02 Nov 2009 23:59:20 GMT</datetime>
  </item>
  <item>
    <title>Random Rectangles in Silverlight (using WriteableBitmap)</title>
    <permalink>2009/10/Random-Rectangles-in-Silverlight-using-WriteableBitmap.html</permalink>
    <comments>Comments (9)</comments>
    <dateline>October 30, 2009<br />New York, N.Y.</dateline>
    <content><p>  I remember going to COMDEX in Las Vegas sometime in the early 90s when Microsoft Windows had just reached some kind of tipping point (at least among manufacturers if not users) and the floor of the Convention Center was ablaze with Windows machines, most of them running random-rectangle programs.  </p></content>
    <datetime>Fri, 30 Oct 2009 14:37:41 GMT</datetime>
  </item>
  <item>
    <title>Book Royalties, Advances, and "Retainers"</title>
    <permalink>2009/10/Book-Royalties-Advances-and-Retainers.html</permalink>
    <comments>Comments (47)</comments>
    <dateline>October 29, 2009<br />New York, N.Y.</dateline>
    <content><p>  Like many authors, I had to be briefly hospitalized upon learning that Sarah Palin was paid a $1.25 million advance for her memoir "Going Rogue." But what really puzzled me was the description in the press of this amount as a "retainer."  </p></content>
    <datetime>Thu, 29 Oct 2009 18:19:16 GMT</datetime>
  </item>
  <item>
    <title>Reading “Grace Hopper and the Invention of the Information Age”</title>
    <permalink>2009/10/Reading-Grace-Hopper-and-the-Invention-of-the-Information-Age.html</permalink>
    <comments>Comments (4)</comments>
    <dateline>October 19, 2009<br />New York, N.Y.</dateline>
    <content><p>  The photograph on the book's cover shows an elegant Grace Hopper in a black dress rather than a Navy uniform, with a sleek flip to her hair, stylish earrings, and &#x2014; Yikes! Is that a cigarette???  </p></content>
    <datetime>Mon, 19 Oct 2009 11:35:47 GMT</datetime>
  </item>
  <item>
    <title>Reality</title>
    <permalink>2009/10/Reality.html</permalink>
    <comments>Comments (9)</comments>
    <dateline>October 18, 2009<br />New York, N.Y.</dateline>
    <content><p>  Richard Heene has been featured on two Reality TV programs.  The first was called <i>Wife Swap</i>.  The second was <i>Runaway Weather Balloon</i>.  <i>Wife Swap</i> is what we might call "real" Reality TV, in that it was created by a production company and purchased by a television network, and the world was alerted to its broadcast. <i>Runaway Weather Balloon</i>, however, was "fake" Reality TV, in that it wasn't unauthorized by anyone actually connected with TV. Richard Heene thought it up all by himself, and then it was sprung on us suddenly and without warning.  </p></content>
    <datetime>Sun, 18 Oct 2009 20:58:10 GMT</datetime>
  </item>
  <item>
    <title>1859 Crusades: John Brown’s Raid on Harpers Ferry</title>
    <permalink>2009/10/John-Brown-Raid-on-Harpers-Ferry.html</permalink>
    <comments>Comments (2)</comments>
    <dateline>October 16, 2009<br />New York, N.Y.</dateline>
    <content><p>  It was raining lightly on the evening of Sunday, October 16, 1859 — 150 years ago today — when 19 men (including five African-Americans) left a small Maryland farmhouse armed with carbines and pikes, and headed towards a railroad bridge that crossed the Potomac into Virginia. Their leader was John Brown, 59 years old but looking much older, with a stark lined face, fierce blazing eyes, a white beard, and a countenance and aura like that of an Old Testament prophet.  </p></content>
    <datetime>Fri, 16 Oct 2009 12:00:00 GMT</datetime>
  </item>
  <item>
    <title>WQXR, Fading Away</title>
    <permalink>2009/10/WQXR-Fading-Away.html</permalink>
    <comments>Comments (13)</comments>
    <dateline>October 14, 2009<br />New York, N.Y.</dateline>
    <content><p>  I grew up in an area of New Jersey where it was simply unacceptable to listen to classical music. There were no concert opportunities, of course, and anyone caught buying a classical LP was subjected to ridicule and ostracism. Fortunately, we were within range of three radio stations in New York City that played classical music &#x2014; WNCN, WQXR, and WNYC-FM &#x2014; plus college stations that frequently indulged, such as WKCR ("King's Crown Radio"), the radio station of Columbia University.  </p></content>
    <datetime>Wed, 14 Oct 2009 14:32:48 GMT</datetime>
  </item>
  <item>
    <title>Manipulating Character Outlines in Silverlight</title>
    <permalink>2009/10/Manipulating-Character-Outlines-in-Silverlight.html</permalink>
    <comments>Comments (2)</comments>
    <dateline>October 11, 2009<br />New York, N.Y.</dateline>
    <content><p>  In the blog entry   <a href="http://www.charlespetzold.com/blog/2009/10/Using-Text-Outlines-in-Silverlight.html">Using Text Outlines in Silverlight</a> I described a WPF program called TextOutlineGenerator that converts the outlines of a particular text string in a particular font to XAML, which can then be copied into a Silverlight program. I have a   <a href="http://www.charlespetzold.com/blog/2009/10/TextOutlineGenerator.zip">new version of TextOutlineGenerator</a> with a few more features: It can now separate the text into letters, format the XAML, and strip the XAML of references to the <i>IsStroked</i> and <i>IsSmoothJoin</i> properties, which aren't supported in Silverlight. In addition, the program displays the size of the <i>FormattedText</i> object (or objects, if letters are separated).  </p></content>
    <datetime>Sun, 11 Oct 2009 22:13:35 GMT</datetime>
  </item>
  <item>
    <title>Reading “Logicomix: An Epic Search for Truth”</title>
    <permalink>2009/10/Reading-Logicomix-An-Epic-Search-for-Truth.html</permalink>
    <comments>Comments (5)</comments>
    <dateline>October 8, 2009<br />New York, N.Y.</dateline>
    <content><p>  In 1957, a group of mathematicians programmed a "Logic Theory Machine" to prove theorems from Alfred North Whitehead and Bertrand Russell's massive <i>Principia Mathematica</i>, published over 40 years earlier. On learning of this feat, Bertrand Russell reputedly wrote "I am delighted to know that 'Principia Mathematica' can now be done by machinery. I wish Whitehead and I had known of this possibility before we wasted 10 years doing it by hand."  </p></content>
    <datetime>Thu, 08 Oct 2009 14:52:14 GMT</datetime>
  </item>
  <item>
    <title>Adapting the Calendar Control for Week Numbers</title>
    <permalink>2009/10/Adapting-the-Calendar-Control-for-Week-Numbers.html</permalink>
    <comments>Comments (2)</comments>
    <dateline>October 7, 2009<br />New York, N.Y.</dateline>
    <content><p>  I always like getting email describing a programming problem that (1) is generalized enough to be of interest to others, (2) I can figure out in a few hours and, (3) I can then describe in a blog entry.  Meeting those requirements exactly was an email I received this morning asking if I knew how to include week numbers in the standard WPF <i>Calendar</i> control from the WPF Toolkit, so it looks something like this:  </p></content>
    <datetime>Wed, 07 Oct 2009 16:24:42 GMT</datetime>
  </item>
  <item>
    <title>Animated Dotted Text Outlines: Getting the Flicker Out</title>
    <permalink>2009/10/Animated-Dotted-Text-Outlines-Getting-the-Flicker-Out.html</permalink>
    <comments>Comments (2)</comments>
    <dateline>October 6, 2009<br />New York, N.Y.</dateline>
    <content><p>  <a href="http://www.charlespetzold.com/blog/2009/10/Using-Text-Outlines-in-Silverlight.html">Yesterday's blog entry</a> presented a Silverlight program that made animated dots run around the outlines of text characters. The program itself was fairly simple &#x2014; everything was done in XAML &#x2014; but it also has a flaw in the form of an annoying visual flicker. If you look closely, you can see extra dots popping into and out of existence. My goal today: Get rid of that flicker.  </p></content>
    <datetime>Tue, 06 Oct 2009 16:17:29 GMT</datetime>
  </item>
  <item>
    <title>Using Text Outlines in Silverlight</title>
    <permalink>2009/10/Using-Text-Outlines-in-Silverlight.html</permalink>
    <comments>Comments (1)</comments>
    <dateline>October 5, 2009<br />New York, N.Y.</dateline>
    <content><p>  Check this out: It's a little Silverlight app that displays some text (in this case the word "Silverlight") in a 144-point font, but the text characters are outlined, which is not something you normally see in a Silverlight app. Moreover, the characters are outlined with a <i>dotted</i> line, and not only that, but the dots are animated so they move around the outlines of the letters.  </p></content>
    <datetime>Mon, 05 Oct 2009 16:16:34 GMT</datetime>
  </item>
</blog>