﻿<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type='text/xsl' href='blogformat.xsl' version='1.0'?>
<!-- (c) 2011 by Charles Petzold (www.charlespetzold.com) -->
<blog>
  <item>
    <title>Complimentary Copies</title>
    <permalink>2012/01/Complimentary-Copies.html</permalink>
    <comments />
    <dateline>February 2, 2012<br />Posted Noon, EST<br />New York, N.Y.</dateline>
    <content><p>  When an author gets a book published, the publisher generally gives the author 10 complimentary copies of the book.  Usually the author signs these books and gives them to all his friends, but then he has 7 or 8 copies still left over, and these tend to gather dust on the bookshelves of the author's home.  </p></content>
    <datetime>Thu, 02 Feb 2012 17:00:00 GMT</datetime>
  </item>
  <item>
    <title>Windows 8 Touch Events Interactions</title>
    <permalink>2012/02/Windows-8-Touch-Events-Interactions.html</permalink>
    <comments>Comments (0)</comments>
    <dateline>February 1, 2012<br />New York, N.Y.</dateline>
    <content><p>  During the week in September that I was attending the Microsoft Build conference and learning all about Windows 8, only one topic made me gloomy: This was the Windows 8 implemention of the <i>Manipulation</i> events. These events provide a high-level application programming interface to touch input, so obviously they are very important.   </p></content>
    <datetime>Wed, 01 Feb 2012 12:00:00 GMT</datetime>
  </item>
  <item>
    <title>Happy 75th Birthday, Philip Glass!</title>
    <permalink>2012/01/Happy-75th-Birthday-Philip-Glass.html</permalink>
    <comments>Comments (2)</comments>
    <dateline>January 31, 2012<br />New York, N.Y.</dateline>
    <content><p>  About 14 months ago I saw the New York premiere of Philip Glass's <i>Concerto for Violin and Orchestra No.2</i> at Carnegie Hall performed by violinist Robert McDuffie and the Venice Baroque Orchestra. McDuffie had commissioned the Glass work (subtitled "The American Four Seasons") for a program that also included the four violin concertos collected by Antonio Vivaldi as <i>The Four Seasons</i> almost three centuries earlier, and McDuffie took the program on a tour of 30 American cities.  </p></content>
    <datetime>Tue, 31 Jan 2012 10:00:00 GMT</datetime>
  </item>
  <item>
    <title>The Last Catfish in the East Village?</title>
    <permalink>2012/01/The-Last-Catfish-in-the-East-Village.html</permalink>
    <comments>Comments (3)</comments>
    <dateline>January 30, 2012<br />New York, N.Y.</dateline>
    <content><p>  People who live in New York City often inhabit tiny apartments, and the only reason we tolerate them is that we've exchanged private spaces for public spaces. We can frequently be found not in our apartments but walking around outside, or in a store, or a theater, or a concert hall, or a museum.    </p></content>
    <datetime>Mon, 30 Jan 2012 18:40:41 GMT</datetime>
  </item>
  <item>
    <title>Your Welcome</title>
    <permalink>2012/01/Your-Welcome.html</permalink>
    <comments>Comments (10)</comments>
    <dateline>January 11, 2012<br />New York, N.Y.</dateline>
    <content><p>  Dear Spammer,  </p></content>
    <datetime>Wed, 11 Jan 2012 14:01:52 GMT</datetime>
  </item>
  <item>
    <title>Rick Santorum and Group Marriage</title>
    <permalink>2012/01/Rick-Santorum-and-Group-Marriage.html</permalink>
    <comments>Comments (10)</comments>
    <dateline>January 7, 2012<br />Roscoe, N.Y.</dateline>
    <content><p>  One of the most common arguments against same-sex marriage is that it would open the floodgates to all sorts of other types of marriage. For example, James Dobson in his book <i>Gay Marriage: Why We Must Win This Battle</i> (Multnomah, 2004) writes:  </p></content>
    <datetime>Sat, 07 Jan 2012 15:31:20 GMT</datetime>
  </item>
  <item>
    <title>Parsing CSS for EPUB</title>
    <permalink>2011/12/Parsing-CSS-for-EPUB.html</permalink>
    <comments>Comments (11)</comments>
    <dateline>December 26, 2011<br />New York, N.Y.</dateline>
    <content><p>  I've been trying to build an EPUB viewer for Windows 8, mostly because I want to read books on the Windows 8 tablet I got at the Build conference, and it's more fun writing one's own application rather than using someone else's. This will obviously <i>not</i> be a commercial product or I would have thought of a snappier and less wonky name for the program than The New Epublic!  [I've decided I don't want to distribute the code at this time. &#x2014; Jan. 5, 2012]  <!--   Here's the latest   <a href="http://www.charlespetzold.com/blog/2011/12/TheNewEpublic3.zip">Visual Studio solution</a> for the program.   -->  </p></content>
    <datetime>Mon, 26 Dec 2011 18:33:30 GMT</datetime>
  </item>
  <item>
    <title>Windows 8 Dependency Property Strangeness</title>
    <permalink>2011/12/Windows-8-Dependency-Property-Strangeness.html</permalink>
    <comments>Comments (6)</comments>
    <dateline>December 5, 2011<br />New York, N.Y.</dateline>
    <content><p>  If this blog entry popped up in a search engine because you're having problems with defining and/or animating dependency properties in the Windows 8 developer's pre-release, you might want to jump towards the end. The early paragraphs merely discuss some deadly boring Windows 8 program I've been developing.  </p></content>
    <datetime>Mon, 05 Dec 2011 12:00:00 GMT</datetime>
  </item>
  <item>
    <title>Very Bad Writing</title>
    <permalink>2011/11/Very-Bad-Writing.html</permalink>
    <comments>Comments (6)</comments>
    <dateline>November 25, 2011<br />New York, N.Y.</dateline>
    <content><p>  About 35 years ago I picked up a novel from the coffee table in my mother's house and started reading. This particular novel was a big bestseller at the time and I was curious what made it so popular. Sure enough, I discovered a story with the annoying addictiveness of potato chips, and I suspect I finished the whole puffy bag in one sitting.   </p></content>
    <datetime>Fri, 25 Nov 2011 12:00:00 GMT</datetime>
  </item>
  <item>
    <title>Hilary Hahn and the Ives Violin Sonatas</title>
    <permalink>2011/11/Hilary-Hahn-and-the-Ives-Violin-Sonatas.html</permalink>
    <comments>Comments (4)</comments>
    <dateline>November 21, 2011<br />New York, N.Y.</dateline>
    <content><p>  Three years ago I read that Hilary Hahn had recorded the Schoenberg Violin Concerto, and I was certain that must be a mistake. Surely the reference was to the violin concerto by Arnold Schoenberg's student Alban Berg. I wasn't even sure that Schoenberg had composed a violin concerto!  </p></content>
    <datetime>Mon, 21 Nov 2011 12:00:00 GMT</datetime>
  </item>
  <item>
    <title>.NET Streams and Windows 8 IStreams</title>
    <permalink>2011/11/080203.html</permalink>
    <comments>Comments (6)</comments>
    <dateline>November 8, 2011<br />New York, N.Y.</dateline>
    <content><p>  I am currently engaged in writing an EPUB viewer for Windows 8. EPUB is a popular format for electronic books. The standard is maintained by the <a href="http://idpf.org/">International Digital Publishing Forum (IDPF)</a>, and that's where you can find the documents that make up the EPUB specification. (I am basing my work on version 2.)  </p></content>
    <datetime>Tue, 08 Nov 2011 14:03:46 GMT</datetime>
  </item>
  <item>
    <title>Asynchronous Processing in Windows 8 </title>
    <permalink>2011/11/Asynchronous-Processing-in-Windows-8.html</permalink>
    <comments>Comments (6)</comments>
    <dateline>November 7, 2011<br />New York, N.Y.</dateline>
    <content><p>  A typical book about Windows 8 programming is likely to be rather oddly structured: It may start out like conventional programming tutorials with "hello world" but very early on the book will likely devote a chapter to a topic commonly relegated to the advanced techniques section: "Asynchronous Processing".  </p></content>
    <datetime>Mon, 07 Nov 2011 12:00:00 GMT</datetime>
  </item>
  <item>
    <title>TODO: An EPUB Viewer for Windows 8</title>
    <permalink>2011/10/TODO-An-EPUB-Viewer for-Windows-8.html</permalink>
    <comments>Comments (7)</comments>
    <dateline>November 1, 2011<br />New York, N.Y.</dateline>
    <content><p>  For a couple years now I've seriously considered participating in <a href="http://www.nanowrimo.org/">National Novel Writing Month</a> by joining hundreds of thousands of other crazy writers who spend the month of November writing a novel in 30 days. But not this year. This year I want to spend November in the somewhat related activity of coding an e-book reader for Windows 8.   </p></content>
    <datetime>Tue, 01 Nov 2011 12:00:00 GMT</datetime>
  </item>
  <item>
    <title>Phree Book Reader Now Available</title>
    <permalink>2011/10/Phree-Book-Reader-Now-Available.html</permalink>
    <comments>Comments (4)</comments>
    <dateline>October 31, 2011<br />New York, N.Y.</dateline>
    <content><p>  I don't know how many people still read <i>MSDN Magazine</i>, but over the past several months I've used my monthly column (called "UI Frontiers") to put together a rather substantial Windows Phone program that lets you search, download, and read free plain-text e-books from <a href="http://www.gutenberg.org/">Project Gutenberg</a>, the repository of over 30,000 public-domain books.  </p></content>
    <datetime>Mon, 31 Oct 2011 11:41:44 GMT</datetime>
  </item>
  <item>
    <title>Happy 80th Birthday, Sofia Gubaidulina!</title>
    <permalink>2011/10/Happy-80th-Birthday-Sofia-Gubaidulina.html</permalink>
    <comments>Comments (7)</comments>
    <dateline>October 24, 2011<br />New York, N.Y.</dateline>
    <content><p>  During much of his lifetime Dmitri Shostakovich (1906 &#x2013; 1975) was the dominant figure in music in the Soviet Union, yet he failed to provide a model that could be emulated by younger composers. Particularly during the Stalin years, his music would often incur the suspicion of the government; yet outside the Soviet Union, this same music was considered hopelessly reactionary. (Pierre Boulez called him "the second, or even third pressing of Mahler.") To Soviet authorities, Shostakovich's politics were often suspect, yet in the rest of the world he was widely perceived as a government lackey.  </p></content>
    <datetime>Mon, 24 Oct 2011 12:00:00 GMT</datetime>
  </item>
  <item>
    <title>Car Wellness</title>
    <permalink>2011/08/Car-Wellness.html</permalink>
    <comments>Comments (6)</comments>
    <dateline>October 20, 2011<br />New York, N.Y.</dateline>
    <content><p>  Soon after I started reading books on my own, I tried reading books in the car, and very quickly discovered this wasn't such a great idea. After a couple incidences of "Mom, I'm going to be sick <i>right away</i>," my mother banned me from reading in the car. Now when I think back about the long car trips we took when I was a kid, I can only picture myself staring out the passenger-side window, my chin on my hand, bored out of my mind and wishing I were reading a book.  </p></content>
    <datetime>Thu, 20 Oct 2011 12:00:00 GMT</datetime>
  </item>
  <item>
    <title>SpinPaint for Windows 8</title>
    <permalink>2011/10/SpinPaint-for-Windows-8.html</permalink>
    <comments>Comments (16)</comments>
    <dateline>October 1, 2011<br />Roscoe, N.Y.</dateline>
    <content><p>  Recently I've been trying to remember the last time I wrote a program that targetted the native Windows API. I think it was 2002, when I used C and the Win32 API to write the last of a series of programs for the <i>PC Magazine</i> Utilities column. But even at that time, I had already moved on. In the summer of 2000 I was introduced to the .NET Framework and the marvelous language C#.  I became a strong advocate of managed code, and I really haven't had any reason to return to the world of message loops and wayward memory pointers. I already paid my Windows API dues, and plenty of them.  </p></content>
    <datetime>Sat, 01 Oct 2011 13:20:05 GMT</datetime>
  </item>
  <item>
    <title>Adventures in Electronic Music</title>
    <permalink>2011/09/Adventures-in-Electronic-Music.html</permalink>
    <comments>Comments (9)</comments>
    <dateline>September 29, 2011<br />Roscoe, N.Y.</dateline>
    <content><p>  In the late 1970s and early 1980s, I designed and built several electronic music instruments, including a computer-controlled digital synthesizer capable of generating 80 simultaneous sine curves combined into 40 simple-FM voices.  </p></content>
    <datetime>Thu, 29 Sep 2011 22:27:58 GMT</datetime>
  </item>
  <item>
    <title>Reading “The Fatal Gift of Beauty”</title>
    <permalink>2011/09/Reading-The-Fatal-Gift-of-Beauty.html</permalink>
    <comments>Comments (4)</comments>
    <dateline>September 3, 2011<br />Roscoe and New York, N.Y.</dateline>
    <content><p>  Sometimes it seems a miracle that people can communicate at all. Our face-to-face conversations comprise a medley of phrases, half-words, grunts, hums, hesitations, grimaces, and gestures. Only slivers of visual imagery and sound are perceived by the senses, and the brain strives in fill in the blanks. Everything is then interpreted in accordance with &#x2014; and building upon &#x2014; our unique inner lives. How easy it is to mishear a word, misread a smile or wink, and completely invalidate what we thought we heard or saw. It's a wonder that we don't daily collapse in complete surrender to confusion and embarrassment.   </p></content>
    <datetime>Sat, 03 Sep 2011 02:30:41 GMT</datetime>
  </item>
  <item>
    <title>“The Trojan Women” at Franklin Stage</title>
    <permalink>2011/08/The-Trojan-Women-at-Franklin-Stage.html</permalink>
    <comments>Comments (3)</comments>
    <dateline>August 25, 2011<br />Roscoe, N.Y.</dateline>
    <content><p>  Even before the play begins, sentries in camouflage fatigues guard the refugee camp. Fenced off with wire, the area is littered with the detritus of a defeated nation after a devastating 10-year battle. What were once residences and industry are now piles of cinder blocks, plumbling, and unrecognizable machine parts. Two television sets have mysteriously survived this destruction only to play nothing but endless cycles of images of war.  </p></content>
    <datetime>Thu, 25 Aug 2011 14:54:37 GMT</datetime>
  </item>
  <item>
    <title>Sleazebags</title>
    <permalink>2011/08/Sleazebags.html</permalink>
    <comments />
    <dateline>August 24, 2011<br />Roscoe, N.Y.</dateline>
    <content><p>  I received the following email today:  </p></content>
    <datetime>Wed, 24 Aug 2011 19:16:10 GMT</datetime>
  </item>
  <item>
    <title>Two Recent Interviews</title>
    <permalink>2011/08/Two-Recent-Interviews.html</permalink>
    <comments>Comments (1)</comments>
    <dateline>August 19, 2011<br />Roscoe, N.Y.</dateline>
    <content><p>  I was interviewed a couple times in recent weeks. For <i>IT World</i>, Bob Reselman interviewed me via AIM:  </p></content>
    <datetime>Fri, 19 Aug 2011 18:53:18 GMT</datetime>
  </item>
  <item>
    <title>Rick Santorum Wants Into Your Bedroom</title>
    <permalink>2011/07/Rick-Santorum-Wants-Into-Your-Bedroom.html</permalink>
    <comments>Comments (15)</comments>
    <dateline>August 1, 2011<br />Roscoe, N.Y.</dateline>
    <content><p>  Just fifty years ago, birth control was illegal in the state of Connecticut. The law specifically prohibited "any drug, medicinal article, or instrument for the purpose of preventing conception," and also applied to someone who "assists, abets, counsels, causes, hires or commands anyone" to use these means of birth control. The punishment was a fine of at least $50, and a jail sentence of between 60 days and one year.   </p></content>
    <datetime>Mon, 01 Aug 2011 12:00:00 GMT</datetime>
  </item>
  <item>
    <title>Visit Ada's!</title>
    <permalink>2011/07/Visit-Adas.html</permalink>
    <comments>Comments (2)</comments>
    <dateline>July 22, 2011<br />Roscoe, N.Y.</dateline>
    <content><p>  I love bookstores, and it's thrilling to see a new bookstore as intelligently conceived and as well-stocked as   <a href="http://www.seattletechnicalbooks.com">Ada's Technical Books</a> at 713 Broadway East in Seattle.   </p></content>
    <datetime>Fri, 22 Jul 2011 14:30:51 GMT</datetime>
  </item>
  <item>
    <title>What is “Moral Relativism”?</title>
    <permalink>2011/07/What-is-Moral-Relativism.html</permalink>
    <comments>Comments (61)</comments>
    <dateline>July 21, 2011<br />Roscoe, N.Y.</dateline>
    <content><p>  Texas Governor Rick Perry is certainly one of America's more spiritually advanced politicians. He recently set up   <a href="http://theresponseusa.com/">a web site</a> asking people to help solve America's problems using the only solution with proven, guaranteed effectiveness: <i>prayer</i>.  </p></content>
    <datetime>Thu, 21 Jul 2011 16:38:36 GMT</datetime>
  </item>
  <item>
    <title>Freedom and Population</title>
    <permalink>2011/07/Freedom-and-Population.html</permalink>
    <comments>Comments (15)</comments>
    <dateline>July 20, 2011<br />Roscoe, N.Y.</dateline>
    <content><p>  "Hell is other people" says a character in Jean-Paul Sartre's play <i>No Exit</i>.  Well, maybe sometimes. But most of the time our lives are enriched by other people, whether it be in a friendship, or a romance, or a family, or a classroom, or a party.  Our lives are also enriched by people who we know only through the novels they've written, or the music they've composed, or the art they've created. In a very real sense, <i>life</i> is other people, and our relationship with them.  </p></content>
    <datetime>Wed, 20 Jul 2011 16:11:34 GMT</datetime>
  </item>
  <item>
    <title>My Idiotic Concept of Freedom</title>
    <permalink>2011/07/My-Idiotic-Concept-of-Freedom.html</permalink>
    <comments>Comments (38)</comments>
    <dateline>July 17, 2011<br />Roscoe, N.Y.</dateline>
    <content><p>  Recently I met someone who, upon learning that I lived in New York, promptly told me about a study that concluded that New York was the "least free state" in the country.  </p></content>
    <datetime>Sun, 17 Jul 2011 14:02:48 GMT</datetime>
  </item>
  <item>
    <title>Appearing at Ada's Technical Books</title>
    <permalink>2011/07/Appearing-at-Adas-Technical-Books.html</permalink>
    <comments>Comments (3)</comments>
    <dateline>July 11, 2011<br />New York, N.Y.</dateline>
    <content><p>  I am happy to announce that I am the   <a href="http://blog.seattletechnicalbooks.com/?p=340">Author of the Month at Ada's Technical Books in Seattle</a>, and I will be appearing there this Thursday, July 14th at 7:00 PM to speak a bit and (I hope) sign some books.  </p></content>
    <datetime>Mon, 11 Jul 2011 10:00:00 GMT</datetime>
  </item>
  <item>
    <title>Give us Feedback on my Windows Phone Book</title>
    <permalink>2011/07/Give-us-Feedback-on-my-Windows-Phone-Book.html</permalink>
    <comments>Comments (15)</comments>
    <dateline>July 9, 2011<br />Roscoe, N.Y.</dateline>
    <content><p>  Gosh, it seems like just last year I was working on my free ebook <i>Programming Windows Phone 7</i>, and now they tell me I have to revise the entire book because Windows Phone 7 is going to be superseded by Windows Phone 7.1.  </p></content>
    <datetime>Sat, 09 Jul 2011 18:31:20 GMT</datetime>
  </item>
  <item>
    <title>By the Time We Got to CodeStock...</title>
    <permalink>2011/06/By-the-Time-We-Got-to-CodeStock.html</permalink>
    <comments>Comments (1)</comments>
    <dateline>June 13, 2011<br />Roscoe, N.Y.</dateline>
    <content><p>  I want to publicly thank everyone involved in and attending   <a href="http://codestock.org/">CodeStock 2011</a>,  and particularly   <a href="http://www.vinull.com/">Michael Neel</a>, for making my trip to Knoxville, Tennessee, such a sheer pleasure earlier this month.  </p></content>
    <datetime>Mon, 13 Jun 2011 16:14:51 GMT</datetime>
  </item>
  <item>
    <title>Reading “The Better Angel: Walt Whitman in the Civil War”</title>
    <permalink>2011/05/Reading-The-Better-Angel-Walt-Whitman-in-the-Civil-War.html</permalink>
    <comments>Comments (4)</comments>
    <dateline>Memorial Day, 2011<br />Roscoe, N.Y.</dateline>
    <content><p>  The sesquicentennial anniversary of the American Civil War has certainly increased the number of books coming out on the subject, but this has always been a healthy area of book publishing. Perhaps the big difference now is that people seem to be reading more of them. Of the several books I used in researching my blog entry on <a href="http://www.charlespetzold.com/blog/2009/10/John-Brown-Raid-on-Harpers-Ferry.html">John Brown's raid on Harpers Ferry</a>, perhaps the one most fascinating to me was Elizabeth R. Varon's     <a href="http://www.uncpress.unc.edu/browse/book_detail?title_id=273"><i>Disunion! The Coming of the American Civil War, 1789-1859</i></a> (University of North Carolina Press, 2008) because it focused on the concept of the Union, which was originally somewhat amorphous until it became threatened by the conflict over slavery.  </p></content>
    <datetime>Mon, 30 May 2011 11:38:10 GMT</datetime>
  </item>
  <item>
    <title>The Lost Opportunity of the "Atlas Shrugged" Movie</title>
    <permalink>2011/05/The-Lost-Opportunity-of-the-Atlas-Shrugged-Movie.html</permalink>
    <comments>Comments (8)</comments>
    <dateline>May 27, 2011<br />Roscoe, N.Y.</dateline>
    <content><p>  I still have the $1.75 Signet paperback of <i>Atlas Shrugged</i> that I read sometime in the mid-1970s. Fortunately I was old enough to emerge from the experience without permanent scarring. By that time in my life I head read enough real literature to recognize the inferiority of Ayn Rand's cardboard characters and leaden prose. Regardless, there was no denying that in <i>Atlas Shrugged</i> she achieved a marvelous narrative drive with a skillful arrangement of toy soldiers in an epic battle between collectivist cretins and industrialist gods.  </p></content>
    <datetime>Fri, 27 May 2011 20:13:33 GMT</datetime>
  </item>
  <item>
    <title>Windows Phone Screen Shots</title>
    <permalink>2011/05/Windows-Phone-Screen-Shots.html</permalink>
    <comments>Comments (1)</comments>
    <dateline>May 27, 2011<br />Roscoe, NY</dateline>
    <content><p>  When I was at Tech Ed in Atlanta recently, someone asked me how to do screen shots of Windows Phone programs. You might need screen shots if you're writing a book, article, or blog entry about Windows Phone programming. Screen shots are also required when you submit a program to the Windows Phone Marketplace.  </p></content>
    <datetime>Fri, 27 May 2011 18:39:42 GMT</datetime>
  </item>
  <item>
    <title>We Got Mangos And Bananas You Can Pick Right Off The Tree</title>
    <permalink>2011/05/We-Got-Mangos-And-Bananas.html</permalink>
    <comments>Comments (12)</comments>
    <dateline>May 19, 2011<br />Atlanta, Georgia</dateline>
    <content><p>  I suffer from an affliction where certain words trigger songs to start playing in my head. The word "summertime," for example, triggers the George Gershwin song from <i>Porgy and Bess</i>. (I once told my mother than "Summertime" was my favorite song, and she said "That's funny. I used to sing that song to you when you were an infant and I was carrying you around the apartment.")  </p></content>
    <datetime>Fri, 20 May 2011 03:26:07 GMT</datetime>
  </item>
  <item>
    <title>Inspired by “Code”</title>
    <permalink>2011/05/Inspired-by-Code.html</permalink>
    <comments>Comments (8)</comments>
    <dateline>May 12, 2011<br />New York, N.Y.</dateline>
    <content><p>  I recently received two entirely unrelated emails from people who had posted videos on YouTube that were, in part, inspired by my book  <a href="http://www.charlespetzold.com/code"><i>Code: The Hidden Language of Computer Hardware and Software</i></a> (which is one of those rare computer books that doesn't become absurdly obsolete with the passage of time, and which, incidently, has recently become available in a   <a href="http://www.amazon.com/CODE-ebook/dp/B004OR1XLA">Kindle edition</a>).  </p></content>
    <datetime>Thu, 12 May 2011 16:44:11 GMT</datetime>
  </item>
</blog>
