<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><rss xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
   <channel>
      <title>Good Math, Bad Math</title>
      <link>http://scienceblogs.com/goodmath/</link>
      <description>Finding the fun in good math; Shredding bad math and squashing the crackpots who espouse it.</description>
      <language>en</language>
      <copyright>Copyright 2008</copyright>
      <lastBuildDate>Mon, 01 Dec 2008 11:18:50 -0500</lastBuildDate>
      <generator>http://www.sixapart.com/movabletype/?v=3.35</generator>
      <docs>http://blogs.law.harvard.edu/tech/rss</docs> 

            <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/scienceblogs/CyKN" type="application/rss+xml" /><feedburner:emailServiceId>415949</feedburner:emailServiceId><feedburner:feedburnerHostname>http://www.feedburner.com</feedburner:feedburnerHostname><item>
         <title>If you measure the wrong thing, you get the wrong answer: Down's syndrome in Britain</title>
          <description>&lt;p&gt; One of the blogs I read regularly is Ben Goldacre's "Bad Science". I recommend
it highly. (Which reminds me that I &lt;em&gt;really&lt;/em&gt; need to find some time to update my blogroll!) In &lt;a href="http://www.badscience.net/2008/11/scientific-proof-that-we-live-in-a-warmer-and-more-caring-universe/"&gt;saturday's entry&lt;/a&gt;, he discussed a BBC Radio documentary that described how Britain is becoming a much more welcoming place for Down's syndrome babies.&lt;/p&gt;

&lt;p&gt; Ben did a good job of shredding it. But I also wanted to take a stab, focusing on
the mathematical problem that underlies it, because it's a great example of two very
common errors - first, the familiar confusing correlation and causation, and
second, using incorrect metrics.&lt;/p&gt;


 &lt;a href="http://scienceblogs.com/goodmath/2008/12/if_you_measure_the_wrong_thing.php"&gt;Read the rest of this post...&lt;/a&gt; | &lt;a href="http://scienceblogs.com/goodmath/2008/12/if_you_measure_the_wrong_thing.php#commentsArea"&gt;Read the comments on this post...&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/scienceblogs/CyKN/~4/471464626" height="1" width="1"/&gt;</description>
         <link>http://feeds.feedburner.com/~r/scienceblogs/CyKN/~3/471464626/if_you_measure_the_wrong_thing.php</link>
         <guid isPermaLink="false">http://scienceblogs.com/goodmath/2008/12/if_you_measure_the_wrong_thing.php</guid>
         <category>Bad Probability</category>
         
         <pubDate>Mon, 01 Dec 2008 11:18:50 -0500</pubDate>
      <feedburner:origLink>http://scienceblogs.com/goodmath/2008/12/if_you_measure_the_wrong_thing.php</feedburner:origLink></item>
            <item>
         <title>Public Key Cryptography using RSA</title>
          <description>&lt;span class="technoratitag"&gt;Technorati Tags: &lt;a href="http://www.technorati.com/tags/cryptography" rel="tag"&gt;cryptography&lt;/a&gt;, &lt;a href="http://www.technorati.com/tags/public-key" rel="tag"&gt;public-key&lt;/a&gt;, &lt;a href="http://www.technorati.com/tags/encryption" rel="tag"&gt;encryption&lt;/a&gt;, &lt;a href="http://www.technorati.com/tags/RSA" rel="tag"&gt;RSA&lt;/a&gt;, &lt;a href="http://www.technorati.com/tags/asymmetric-encryption" rel="tag"&gt;asymmetric encryption&lt;/a&gt;&lt;/span&gt;

&lt;p&gt; The most successful public key cryptosystem in use today is RSA - named for its inventors Rivest, Shamir, and Adleman. I first learned about RSA in grad school from one of my professors, &lt;a href="http://www.cis.udel.edu/~elloyd/"&gt;Errol Lloyd&lt;/a&gt;, who was one of Ron Rivest's students. Errol is without a doubt the best &lt;em&gt;teacher&lt;/em&gt; I've ever had (and also a thoroughly nice guy). If you want to go to grad school to study algorithms, you frankly couldn't do better than heading to Delaware to work with Errol. I have very fond memories of Errol's class where we talked about this. He's got a way of teaching where he doesn't come out and &lt;em&gt;tell&lt;/em&gt; you anything; what he does is ask questions that lead you through the process of figuring it out yourself. That's an incredibly effective way to teach &lt;em&gt;if&lt;/em&gt; you can carry it off. Personally, I &lt;em&gt;can't&lt;/em&gt;. And I've never known anyone except Errol who could do it for a topic like RSA encryption!&lt;/p&gt;

&lt;p&gt; Anyway, moving on... In general, public key cryptosystems are based on problems that are easy to solve computationally in one direction, but really hard to solve computationally in the  other. In the case of RSA, the basic underlying problem involves prime numbers: if you've got two really large prime numbers, then multiplying them together is easy; but if you've got a number that's the product of two really large primes, factoring it is &lt;em&gt;very&lt;/em&gt; hard.&lt;/p&gt;

 &lt;a href="http://scienceblogs.com/goodmath/2008/12/public_key_cryptography_using.php"&gt;Read the rest of this post...&lt;/a&gt; | &lt;a href="http://scienceblogs.com/goodmath/2008/12/public_key_cryptography_using.php#commentsArea"&gt;Read the comments on this post...&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/scienceblogs/CyKN/~4/471349299" height="1" width="1"/&gt;</description>
         <link>http://feeds.feedburner.com/~r/scienceblogs/CyKN/~3/471349299/public_key_cryptography_using.php</link>
         <guid isPermaLink="false">http://scienceblogs.com/goodmath/2008/12/public_key_cryptography_using.php</guid>
         <category>Encryption</category>
         
         <pubDate>Mon, 01 Dec 2008 09:29:57 -0500</pubDate>
      <feedburner:origLink>http://scienceblogs.com/goodmath/2008/12/public_key_cryptography_using.php</feedburner:origLink></item>
            <item>
         <title>Scale: How Large Quantities of Information Change Everything</title>
          <description>&lt;span class="technoratitag"&gt;Technorati Tags: &lt;a href="http://www.technorati.com/tags/scale" rel="tag"&gt;scale&lt;/a&gt;, &lt;a href="http://www.technorati.com/tags/computation" rel="tag"&gt;computation&lt;/a&gt;, &lt;a href="http://www.technorati.com/tags/information" rel="tag"&gt;information&lt;/a&gt;&lt;/span&gt;

&lt;p&gt; Since people know I work for Google, I get lots of mail from folks with odd questions, or with complaints about some Google policy, or questions about the way that Google does some particular thing.  Obviously, I can't answer questions about Google. And even if I could, I wouldn't. This isn't a Google blog; this is my blog, which I write as a hobby in my free time.&lt;/p&gt;

&lt;p&gt; But there are intersections between my work life and my hobby. And one of the ideas that underlies many of the questions that I receive, and which also
hits on my work, and my hobby. And that's the idea of &lt;em&gt;scale&lt;/em&gt;. Scale is computer-science talk for how things change as they get bigger. In particular, I'm talking about the scale of information; the amount of information that we use on a daily basis has increased dramatically, and the amount of dramatic, fundamental change that has resulted is both amazing, and amazingly unnoticed by most people.&lt;/p&gt;

 &lt;a href="http://scienceblogs.com/goodmath/2008/11/scale_how_large_quantities_of.php"&gt;Read the rest of this post...&lt;/a&gt; | &lt;a href="http://scienceblogs.com/goodmath/2008/11/scale_how_large_quantities_of.php#commentsArea"&gt;Read the comments on this post...&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/scienceblogs/CyKN/~4/464337642" height="1" width="1"/&gt;</description>
         <link>http://feeds.feedburner.com/~r/scienceblogs/CyKN/~3/464337642/scale_how_large_quantities_of.php</link>
         <guid isPermaLink="false">http://scienceblogs.com/goodmath/2008/11/scale_how_large_quantities_of.php</guid>
         <category>Computation</category>
         
         <pubDate>Mon, 24 Nov 2008 16:25:59 -0500</pubDate>
      <feedburner:origLink>http://scienceblogs.com/goodmath/2008/11/scale_how_large_quantities_of.php</feedburner:origLink></item>
            <item>
         <title>Asymmetric Cryptography: the Basic Idea of Public Key Cryptosystems</title>
          <description>&lt;p&gt; I've been trying for a couple of weeks to put together a couple of interesting
posts on the cryptographic modes of operation for confidentiality and integrity, and I
just can't do it. I'm finding it boring to write about, and if it bores me to write it, I know there's no way that it's going to be engaging to readers!&lt;/p&gt;

&lt;p&gt; So, I'm going to move on. I've explained the basic idea of the message
authentication code as an integrity check, and I've described one simple way of
integrating it into a common mode of operation. If you're really interested in
learning more, I recommend Bruce Schnier's book on cryptography, which has ton of
material on modes of operation and protocols, how they work, and how they can
fail.&lt;/p&gt;

&lt;p&gt; Meanwhile, I'm going to move on to something that doesn't bore me to write about,
and therefore hopefully won't bore &lt;em&gt;you&lt;/em&gt; to read about: asymmetric
cryptography, also commonly referred to (although not entirely accurately) as public
key cryptography.&lt;/p&gt;
 &lt;a href="http://scienceblogs.com/goodmath/2008/11/asymmetric_cryptography_the_ba.php"&gt;Read the rest of this post...&lt;/a&gt; | &lt;a href="http://scienceblogs.com/goodmath/2008/11/asymmetric_cryptography_the_ba.php#commentsArea"&gt;Read the comments on this post...&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/scienceblogs/CyKN/~4/459939315" height="1" width="1"/&gt;</description>
         <link>http://feeds.feedburner.com/~r/scienceblogs/CyKN/~3/459939315/asymmetric_cryptography_the_ba.php</link>
         <guid isPermaLink="false">http://scienceblogs.com/goodmath/2008/11/asymmetric_cryptography_the_ba.php</guid>
         <category>Encryption</category>
         
         <pubDate>Thu, 20 Nov 2008 14:36:25 -0500</pubDate>
      <feedburner:origLink>http://scienceblogs.com/goodmath/2008/11/asymmetric_cryptography_the_ba.php</feedburner:origLink></item>
            <item>
         <title>Friday Random 10, November 14</title>
          <description>&lt;ol&gt;
&lt;li&gt;&lt;b&gt;Hawkwind, "Masters of the Universe"&lt;/b&gt;: Great bit from the early days of psychadelic/progressive rock. I've got recordings of both the live and the studio versions, and I vastly prefer the studio.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Peter Gabriel, "The Family and the Fishing Net"&lt;/b&gt;: This is
just a magnificent piece of music. I love pretty much everything
that Gabriel has written, from his days in Genesis, to his solo work like this, to his movie soundtracks. But the "Security" album is
something special even for Gabriel, and this is one of the best tracks
on the album.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Michael McGoldrick, "The Fisherman in the Wardrobe"&lt;/b&gt;: 
  Ick. This is crap. Michael McGoldrick is an amazing Irish flute
  player; he was one of the original flutists in Lunasa. But he did this album, which consists of vastly overproduced and overly up-tempo Irish music played against an electronic drumbeat. It's just awful, and it's a shame because if you could get rid of the electronics and the ridiculously overdone reverb, there's some nice playing hidden in there. Still, I've never bought another of his albums after this. &lt;/li&gt;
&lt;li&gt;&lt;b&gt;Peter Schickele, "Listen Here, Tyrannosaurus Rex"&lt;/b&gt;: a silly little song which Schickele actually takes credit for in his own name. Probably because it's not quite awful enough to be credited to PDQ Bach.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Micho Russell, "Children's Song"&lt;/b&gt;: this is a great example of what traditional Irish can be. My tinwhistle/flute teacher travelled to Ireland, and spend time with a wonderful Irish whistler. The resulting recording is just Micho Russell, with no accompaniment, playing a 
two dollar tin-whistle. No fancy arrangements; he plays it slowly - a reel at only about 70 beats per minute; very sparse tasteful ornamentation - and when you listen to it, you'll understand &lt;em&gt;why&lt;/em&gt; these tunes have lasted so long.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Kansas, "Byzantium"&lt;/b&gt;: Quite a contrast from the last one. This is recent work by Kansas. It's beautiful; things like this make me glad that they got back together. It uses very middle-eastern chords and melodies, and if I'm not mistaken, some middle-eastern instrumentation. It's really quite lovely.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Jethro Tull, "Black Satin Dancer"&lt;/b&gt;: Mediocre Tull tune. Nothing special. The rest of the album is great, but this isn't a particular good song.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;The Tangent, "The Winning Game"&lt;/b&gt;: This is seriously amazing. It's a collaboration between Roine Stolt and Andy Tillson, along with various members of their respective bands. It's really stunning music,
beautifully written, and performed with incredible virtuosity by all involved.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Igor Stravinsky, "Three Pieces"&lt;/b&gt;: Stravinsky is one of the greatest composers of the 20th century, and probably of all time. This is a very delicate, intricate chamber piece.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Stuart Duncan, "Miles to Go"&lt;/b&gt;: Wonderful acoustic bluegrass
fiddling. I was fortunate enough to see Steward Duncan performing live once with Edgar Meyer, Sam Bush, and Joshua Bell. Joshua Bell (one of the worlds great classical violin soloists) actually talked about what he learned about rhythmic bowing from Stuart. As is typical of the greats, he doesn't feel any great need to constantly show off his
chops; and some of his most compelling playing is on leisurely tracks like this. &lt;/li&gt;
&lt;/ol&gt;
 &lt;a href="http://scienceblogs.com/goodmath/2008/11/friday_random_10_november_14.php#commentsArea"&gt;Read the comments on this post...&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/scienceblogs/CyKN/~4/453560399" height="1" width="1"/&gt;</description>
         <link>http://feeds.feedburner.com/~r/scienceblogs/CyKN/~3/453560399/friday_random_10_november_14.php</link>
         <guid isPermaLink="false">http://scienceblogs.com/goodmath/2008/11/friday_random_10_november_14.php</guid>
         <category>Music</category>
         
         <pubDate>Fri, 14 Nov 2008 19:12:25 -0500</pubDate>
      <feedburner:origLink>http://scienceblogs.com/goodmath/2008/11/friday_random_10_november_14.php</feedburner:origLink></item>
            <item>
         <title>Innumeracy and the U. S. Supreme Court</title>
          <description>&lt;p&gt; As long time readers of this blog know, one of the things that drive me crazy - in fact, one of the things that led me to start this blog - is the rampant innumeracy of our society. The vast majority of
Americans have no real knowledge or comprehension of numbers or mathematics, and what makes that even worse is that most really, truly, fundamentally &lt;em&gt;don't care&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt; A vivid example of that is demonstrated in a recent Supreme Court ruling in a case dealing with the use of sonar in submarine training
by the US navy in waters inhabited by whales.&lt;/p&gt;
 &lt;a href="http://scienceblogs.com/goodmath/2008/11/innumeracy_and_the_u_s_supreme.php"&gt;Read the rest of this post...&lt;/a&gt; | &lt;a href="http://scienceblogs.com/goodmath/2008/11/innumeracy_and_the_u_s_supreme.php#commentsArea"&gt;Read the comments on this post...&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/scienceblogs/CyKN/~4/452267353" height="1" width="1"/&gt;</description>
         <link>http://feeds.feedburner.com/~r/scienceblogs/CyKN/~3/452267353/innumeracy_and_the_u_s_supreme.php</link>
         <guid isPermaLink="false">http://scienceblogs.com/goodmath/2008/11/innumeracy_and_the_u_s_supreme.php</guid>
         <category>bad math</category>
         
         <pubDate>Thu, 13 Nov 2008 17:08:58 -0500</pubDate>
      <feedburner:origLink>http://scienceblogs.com/goodmath/2008/11/innumeracy_and_the_u_s_supreme.php</feedburner:origLink></item>
            <item>
         <title>Evolution Produces Better Antenna; Casey Luskin Very Upset</title>
          <description>&lt;p&gt; It's always amusing to wander over to the Discovery Institute's blogs, and see what kind of nonsense they're spouting today. So, today, as I'm feeling like steamed crap, I took a wander over. And what did I find? High grade, low-content rubbish from my old buddy, Casey Luskin. Luskin is, supposedly, a lawyer. He's not a scientist or a mathematician by any stretch of the imagination. There's nothing wrong with that in the abstract; the amount of time we have to learn during our lives is finite, and no one can possible know everything. For example, I don't know diddly-crap about law, American or otherwise; my knowledge of western history is mediocre at best; I don't really speak any language other than english. I know some physics, but my understanding of anything beyond the basics is very limited. Even when it comes to the topic of this blog, math, I'm at best an enthusiastic amateur.&lt;/p&gt;
&lt;img alt="antenna.png" src="http://scienceblogs.com/goodmath/antenna.png" width="216" height="181" class="inset right"/&gt;



&lt;p&gt; The problem with Casey, and people like him, is that they're ignorant of a topic where they &lt;em&gt;believe&lt;/em&gt; that they're experts. Growing up, I was taught to call that kind of behavior not just
ignorant, but pig-ignorant. It's a foolish kind of arrogance, where you believe that you know as much as people who've spent years studying something, even though you've never even read an elementary textbook. It's like the dozens of people who've emailed my "disproofs" of Cantor's theorem, when they don't actually know what "cardinality" actually &lt;em&gt;means&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt; In &lt;a href="http://www.evolutionnews.org/2008/11/biologic_explores_the_successe.html#more" nofollow="true"&gt;this instance&lt;/a&gt;, Casey is annoyed because a group of people at NASA used evolutionary algorithms to create a better antenna.&lt;/p&gt;
 &lt;a href="http://scienceblogs.com/goodmath/2008/11/evolution_produces_better_ante.php"&gt;Read the rest of this post...&lt;/a&gt; | &lt;a href="http://scienceblogs.com/goodmath/2008/11/evolution_produces_better_ante.php#commentsArea"&gt;Read the comments on this post...&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/scienceblogs/CyKN/~4/449896316" height="1" width="1"/&gt;</description>
         <link>http://feeds.feedburner.com/~r/scienceblogs/CyKN/~3/449896316/evolution_produces_better_ante.php</link>
         <guid isPermaLink="false">http://scienceblogs.com/goodmath/2008/11/evolution_produces_better_ante.php</guid>
         <category>intelligent design</category>
         
         <pubDate>Tue, 11 Nov 2008 14:44:31 -0500</pubDate>
      <feedburner:origLink>http://scienceblogs.com/goodmath/2008/11/evolution_produces_better_ante.php</feedburner:origLink></item>
            <item>
         <title>Friday Recipe: Shanghai Xu Chao Mien</title>
          <description>&lt;p&gt;&lt;em&gt;(Note: I've changed the transliteration of the name of the dish since the original version of the post. I think it's now the correct pinyin transliteration. Please correct me in the comments if you know, and it's still wrong.)&lt;/em&gt;&lt;/p&gt;

&lt;p&gt; Today you get the recipe for one of my very favorite dishes. Since I
married a Chinese woman 14 years ago, I've learned a lot of chinese
cooking, and of all of the things I've learned to make, this is probably
my favorite. It's called Shanghai Xu Chao Mien. It's a variant of
what's called Lo Mein in the US, except that it's actually authentic.
And as is typical of authentic dishes, it's &lt;em&gt;much&lt;/em&gt; better that
the crap you get at a typical chinese takeout in the US. (Chow mien is a
traditional chinese dish, but it's got nothing to do with what we call
Chow Mien in the US; "Chao" means "stir fried", and "mien" is noodles -
chow mien is stir-fried noodles.)&lt;/p&gt;

&lt;p&gt; This is the shanghai variant of the dish. It uses a different kind
of noodle, and a &lt;em&gt;very&lt;/em&gt; different sauce. You'll have to go to a chinese grocery store for the two key ingredients. Finding them can
be a bit of a problem, because they're typically not well-labelled in english, but they're well worth the trouble.&lt;/p&gt;

&lt;img alt="260px-Shacha_sauce.jpg" src="http://scienceblogs.com/goodmath/260px-Shacha_sauce.jpg" width="260" height="195" class="inset right"/&gt;
&lt;p&gt; First, you need a kind of shrimp paste which is the base of the sauce. It's called sha-cha, and it's made from a mixture of chilis,
garlic, fermented brill-shrimp, and oil. It's usually sold in small glass jars, labelled "barbeque sauce" in english. It's a dark paste, which has red chili oil floating on top of it. Thanks to a commentor, a picture of a jar of the brand I use appears to the right.
&lt;/p&gt;

&lt;img alt="chineseeggnoodles.jpg" src="http://scienceblogs.com/goodmath/chineseeggnoodles.jpg" width="341" height="267"  class="inset right"/&gt;
&lt;p&gt; The other is the noodles. The typical lo-mein noodle is a sort-of square-profile yellow egg noodle. Shanghai Shu Chow Mien uses a plain flour noodle, which is thicker and wider - the noodles are between 1/4 and 1/2 an inch wide, and they're a sort of pale-tan white. They're sold fresh in the refrigerator case, not dried. They're usually labelled "shanghai noodles". Thanks to Google, you can see a picture of the kind of noodles I use to the right.&lt;/p&gt;
 &lt;a href="http://scienceblogs.com/goodmath/2008/11/friday_recipe_shanghai_shou_ch.php"&gt;Read the rest of this post...&lt;/a&gt; | &lt;a href="http://scienceblogs.com/goodmath/2008/11/friday_recipe_shanghai_shou_ch.php#commentsArea"&gt;Read the comments on this post...&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/scienceblogs/CyKN/~4/445705331" height="1" width="1"/&gt;</description>
         <link>http://feeds.feedburner.com/~r/scienceblogs/CyKN/~3/445705331/friday_recipe_shanghai_shou_ch.php</link>
         <guid isPermaLink="false">http://scienceblogs.com/goodmath/2008/11/friday_recipe_shanghai_shou_ch.php</guid>
         <category>Recipes</category>
         
         <pubDate>Fri, 07 Nov 2008 12:20:14 -0500</pubDate>
      <feedburner:origLink>http://scienceblogs.com/goodmath/2008/11/friday_recipe_shanghai_shou_ch.php</feedburner:origLink></item>
            <item>
         <title>Miscellaneous Post-Election Tidbits</title>
          <description>&lt;p&gt; Sorry about the abrupt end to the liveblogging last night; Firefox crashed, and CoverItLive wouldn't let me log back in as the moderator.&lt;/p&gt;

&lt;p&gt; Anyway, it's a good day to be a liberal. As you all know by now, it was Obama in an absolute landslide. He won by a huge margin in the electoral vote, and by a good margin in the popular vote. &lt;/p&gt;

&lt;p&gt; The Democrats also kicked Elizabeth Dole and John Sununu out of the senate, which is wonderful. But they didn't take enough seats to get
past a filibuster in the Senate. This means that we can expect to see a really dramatic level of obstructionism from the remaining Republicans in the senate. And based on various comments that he made, I think we can count on Holy Joe Lieberman to join in with the right-wingers in blocking the Senate from getting anything done.&lt;/p&gt;

&lt;p&gt; There are a few interesting things that I wanted to comment on.&lt;/p&gt;
 &lt;a href="http://scienceblogs.com/goodmath/2008/11/miscellaneous_postelection_tid.php"&gt;Read the rest of this post...&lt;/a&gt; | &lt;a href="http://scienceblogs.com/goodmath/2008/11/miscellaneous_postelection_tid.php#commentsArea"&gt;Read the comments on this post...&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/scienceblogs/CyKN/~4/443480151" height="1" width="1"/&gt;</description>
         <link>http://feeds.feedburner.com/~r/scienceblogs/CyKN/~3/443480151/miscellaneous_postelection_tid.php</link>
         <guid isPermaLink="false">http://scienceblogs.com/goodmath/2008/11/miscellaneous_postelection_tid.php</guid>
         <category>politics</category>
         
         <pubDate>Wed, 05 Nov 2008 12:44:16 -0500</pubDate>
      <feedburner:origLink>http://scienceblogs.com/goodmath/2008/11/miscellaneous_postelection_tid.php</feedburner:origLink></item>
            <item>
         <title>LiveBlogging</title>
          <description>I'm going to be liveblogging the elections here starting at 7pm. I'll be doing my best to track the results as they come in, and what they mean. Feel free to come join in.

&lt;iframe src="http://www.coveritlive.com/index2.php/option=com_altcaster/task=viewaltcast/altcast_code=2fef67d893/height=550/width=470" scrolling="no" height="550px" width="470px" frameBorder ="0" &gt;&lt;/iframe&gt; &lt;a href="http://scienceblogs.com/goodmath/2008/11/liveblogging.php#commentsArea"&gt;Read the comments on this post...&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/scienceblogs/CyKN/~4/442642991" height="1" width="1"/&gt;</description>
         <link>http://feeds.feedburner.com/~r/scienceblogs/CyKN/~3/442642991/liveblogging.php</link>
         <guid isPermaLink="false">http://scienceblogs.com/goodmath/2008/11/liveblogging.php</guid>
         <category>Chatter</category>
         
         <pubDate>Tue, 04 Nov 2008 18:50:11 -0500</pubDate>
      <feedburner:origLink>http://scienceblogs.com/goodmath/2008/11/liveblogging.php</feedburner:origLink></item>
            <item>
         <title>Reviewing the TMobile G1 - aka the Google Android Phone</title>
          <description>&lt;p&gt; Once again, please don't forget about our DonorsChoose drive! Please click in the panel to you left, and go make a donation to help schools get the supplies they need to be able to teach math!&lt;/p&gt;

&lt;p&gt;&lt;img alt="IMG_0007.JPG" src="http://scienceblogs.com/goodmath/IMG_0007.JPG" width="300" height="400" class="inset right"/&gt;&lt;br /&gt;
&lt;p&gt; Most people must have heard by now that about a week ago, T-mobile&lt;br /&gt;
released the first Android based phone, with software by Google. I've been using an Android as a tester for about 6 weeks, and I'm now allowed  to talk about it, so I thought I'd post a review from the viewpoint of an extreme geek. Please excuse the low quality of the images; I took the pictures using my iPhone.&lt;/p&gt;&lt;/p&gt;

&lt;p&gt; Obviously, there's a bit of a conflict of interest here. Google is very proud of the Android software, and I'm very happy and proud to be a software engineer at Google. I think that my review of the phone is fair
and unbiased, but take that with a grain of salt, given my connections.&lt;/p&gt;

&lt;p&gt; So, as I said, I've had the phone for about six weeks now. For a little over a year before I got my Android, I was using one of the original iPhones (&lt;em&gt;not&lt;/em&gt; the 3g). So in a lot of things, I'm
going to compare my experiences with the Android to my experiences with the iPhone.&lt;/p&gt;

&lt;p&gt; Overall, I love the Android. It's not without its flaws, and some of them are fairly significant. I'll go into details below, but the short summary of my opinion is that the software is excellent, the hardware less so.&lt;/p&gt;

&lt;p&gt; To be honest, I think the software is really late-beta quality. It's lacking polish, and there are a few awkward points. But overall, it's
extremely well done. Details below the fold.&lt;/p&gt;
 &lt;a href="http://scienceblogs.com/goodmath/2008/10/reviewing_the_tmobile_g1_aka_t.php"&gt;Read the rest of this post...&lt;/a&gt; | &lt;a href="http://scienceblogs.com/goodmath/2008/10/reviewing_the_tmobile_g1_aka_t.php#commentsArea"&gt;Read the comments on this post...&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/scienceblogs/CyKN/~4/436006343" height="1" width="1"/&gt;</description>
         <link>http://feeds.feedburner.com/~r/scienceblogs/CyKN/~3/436006343/reviewing_the_tmobile_g1_aka_t.php</link>
         <guid isPermaLink="false">http://scienceblogs.com/goodmath/2008/10/reviewing_the_tmobile_g1_aka_t.php</guid>
         <category>Chatter</category>
         
         <pubDate>Wed, 29 Oct 2008 12:11:08 -0500</pubDate>
      <feedburner:origLink>http://scienceblogs.com/goodmath/2008/10/reviewing_the_tmobile_g1_aka_t.php</feedburner:origLink></item>
            <item>
         <title>Margin of Error and Election Polls</title>
          <description>&lt;p&gt; Before I get to the meat of the post, I want to remind you that our
	DonorsChoose drive is ending in just a couple of days! A small number of readers have made extremely generous contributions, which
	is very gratifying. (One person has even taken me up on my offer
	of letting donors choose topics.) But the number of contributions has been very small. Please, follow the link in my sidebar, go to DonorsChoose, and make a donation. Even a few dollars can make a
	big difference. And remember - if you donate one hundred dollars or more, email me a math topic that you'd like me to write about, and I'll
	write you a blog article on that topic.&lt;/p&gt;

&lt;p&gt; This post repeats a bunch of stuff that I mentioned in one of my &lt;a href="http://scienceblogs.com/goodmath/goodmath/basics/"&gt;basics&lt;/a&gt; posts last year on the &lt;a href="http://scienceblogs.com/goodmath/2007/01/basics_margin_of_error.php"&gt;margin of error&lt;/a&gt;. But given some of the awful rubbish I've heard in coverage of the coming election, I thought it was worth discussing a bit.&lt;/p&gt;

&lt;p&gt; As the election nears, it seems like every other minute, we
hear predictions of the outcome of the election, based on polling. The
thing is, pretty much &lt;em&gt;every&lt;/em&gt; one of those reports is 
utter rubbish.&lt;/p&gt;

 &lt;a href="http://scienceblogs.com/goodmath/2008/10/margin_of_error_and_election_p.php"&gt;Read the rest of this post...&lt;/a&gt; | &lt;a href="http://scienceblogs.com/goodmath/2008/10/margin_of_error_and_election_p.php#commentsArea"&gt;Read the comments on this post...&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/scienceblogs/CyKN/~4/435320822" height="1" width="1"/&gt;</description>
         <link>http://feeds.feedburner.com/~r/scienceblogs/CyKN/~3/435320822/margin_of_error_and_election_p.php</link>
         <guid isPermaLink="false">http://scienceblogs.com/goodmath/2008/10/margin_of_error_and_election_p.php</guid>
         <category>statistics</category>
         
         <pubDate>Tue, 28 Oct 2008 21:26:58 -0500</pubDate>
      <feedburner:origLink>http://scienceblogs.com/goodmath/2008/10/margin_of_error_and_election_p.php</feedburner:origLink></item>
            <item>
         <title>How Not to Do Message Integrity, featuring CBC-MAC</title>
          <description>&lt;p&gt; In my &lt;a href="http://scienceblogs.com/goodmath/2008/10/cryptographic_integrity_using.php"&gt;last cryptography post&lt;/a&gt;, I wrote about using message authentication codes
(MACs) as a way of guaranteeing message integrity. To review briefly, most ciphers
are designed to provide message confidentiality - which means that no one but the
sender and the intended receiver can see the plain-text of the message. But
ciphers that provide confidentiality don't necessarily make any guarantees that
the message received is exactly the message that was sent. There are a good number
of cryptographic attacks that work by altering the message in transit, and 
depending on the cipher, that can result in a variety of undesirable
results.&lt;/p&gt;

&lt;p&gt; For example, if you use DES encryption with the ECB mode of operation,
you can insert new blocks anywhere in a message that you want.  By using
a replay attack (where you take encrypted blocks from other messages using
the same encryption, and resend them), an attacker can alter your messages, and
you won't be able to detect it.&lt;/p&gt;

&lt;p&gt; So in addition to just confidentiality, we need to provide integrity. What does integrity really  mean? Basically, it expands the definition of the
decryption function. Written as a function signature, confidential message
decryption is a function &lt;code&gt;decrypt : ciphertext &amp;times; key &amp;rarr; plaintext&lt;/code&gt;. With message integrity, we add the
option that decrypt can return a result saying that the message is invalid: &lt;code&gt;decrypt&lt;sub&gt;integ&lt;/sub&gt; : ciphertext &amp;times; key &amp;rarr; (plaintext | REJECT)&lt;/code&gt;. &lt;/p&gt;

 &lt;a href="http://scienceblogs.com/goodmath/2008/10/how_not_to_do_message_integrit.php"&gt;Read the rest of this post...&lt;/a&gt; | &lt;a href="http://scienceblogs.com/goodmath/2008/10/how_not_to_do_message_integrit.php#commentsArea"&gt;Read the comments on this post...&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/scienceblogs/CyKN/~4/430999192" height="1" width="1"/&gt;</description>
         <link>http://feeds.feedburner.com/~r/scienceblogs/CyKN/~3/430999192/how_not_to_do_message_integrit.php</link>
         <guid isPermaLink="false">http://scienceblogs.com/goodmath/2008/10/how_not_to_do_message_integrit.php</guid>
         <category>Encryption</category>
         
         <pubDate>Fri, 24 Oct 2008 14:21:52 -0500</pubDate>
      <feedburner:origLink>http://scienceblogs.com/goodmath/2008/10/how_not_to_do_message_integrit.php</feedburner:origLink></item>
            <item>
         <title>Credit Default Swaps: Gambling as Insurance</title>
          <description>&lt;p&gt; So, the financial questions keep coming. I'm avoiding a lot of them, because
(A) they bore me, and (B) I'm really not the right person to ask. I try to stay
out of this stuff unless I have some clue of what I'm talking about. Rest assured, I'm not spending all of my blogging time on this; I've got a post on cryptographic modes of operation in progress, which I hope to have time to finish after work this evening.&lt;/p&gt;

&lt;p&gt; But there's one question that keeps coming in, involving the nature of things
like so-called "Credit Default Swaps", which I thought I'd explained, but
apparently my explanation wasn't particularly clear. So I thought I should fill
in that gap, and strengthen the main weakness in my earlier explanations.&lt;/p&gt;



&lt;p&gt; The basic question is: "What's a credit default swap?"; I think what people
really want to know is both what, specifically, a credit default swap is, and how
the system surrounding credit default swaps and related monstrosities work.&lt;/p&gt;

&lt;p&gt; Credit default swaps are interesting - in the same way that a Rube Goldberg
device is interesting. They are in a fundamental sense very simple, but the
structure that's built up around them is so bizarre, so ridiculous on the face of
it, that when you look at it in retrospect, it's hard to believe that anyone
actually thought that it was a good idea, or that it could ever work.&lt;/p&gt;


 &lt;a href="http://scienceblogs.com/goodmath/2008/10/credit_default_swaps_gambling.php"&gt;Read the rest of this post...&lt;/a&gt; | &lt;a href="http://scienceblogs.com/goodmath/2008/10/credit_default_swaps_gambling.php#commentsArea"&gt;Read the comments on this post...&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/scienceblogs/CyKN/~4/429955619" height="1" width="1"/&gt;</description>
         <link>http://feeds.feedburner.com/~r/scienceblogs/CyKN/~3/429955619/credit_default_swaps_gambling.php</link>
         <guid isPermaLink="false">http://scienceblogs.com/goodmath/2008/10/credit_default_swaps_gambling.php</guid>
         <category>Bad Economics</category>
         
         <pubDate>Thu, 23 Oct 2008 15:37:00 -0500</pubDate>
      <feedburner:origLink>http://scienceblogs.com/goodmath/2008/10/credit_default_swaps_gambling.php</feedburner:origLink></item>
            <item>
         <title>Stupid Economic Comparisons at the New York Times</title>
          <description>&lt;img alt="nyt-stocks.png" src="http://scienceblogs.com/goodmath/nyt-stocks.png" width="280" height="356" class="inset right"/&gt;

&lt;p&gt; This is just a short gripe at the NYT, and a &lt;a
href="http://www.nytimes.com/interactive/2008/10/14/opinion/20081014_OPCHART.html"&gt;feature
that they included in today's Op-Ed section.&lt;/a&gt; &lt;/p&gt;

&lt;p&gt; It purports to compare how the economy does under democratic versus
republican administrations. They claim that they're computing the returns
on a 10,000 dollar stock investment under 40 years of republican
administrations and 40 years of democratic administrations, in the 80 years
since 1929.&lt;/p&gt;

 &lt;a href="http://scienceblogs.com/goodmath/2008/10/stupid_economic_comparisons_at.php"&gt;Read the rest of this post...&lt;/a&gt; | &lt;a href="http://scienceblogs.com/goodmath/2008/10/stupid_economic_comparisons_at.php#commentsArea"&gt;Read the comments on this post...&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/scienceblogs/CyKN/~4/420878905" height="1" width="1"/&gt;</description>
         <link>http://feeds.feedburner.com/~r/scienceblogs/CyKN/~3/420878905/stupid_economic_comparisons_at.php</link>
         <guid isPermaLink="false">http://scienceblogs.com/goodmath/2008/10/stupid_economic_comparisons_at.php</guid>
         <category>Bad Economics</category>
         
         <pubDate>Tue, 14 Oct 2008 16:16:06 -0500</pubDate>
      <feedburner:origLink>http://scienceblogs.com/goodmath/2008/10/stupid_economic_comparisons_at.php</feedburner:origLink></item>
      
   </channel>
</rss>
