<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Article RSS Feed</title>
    <link>http://mbauman.net/rss/</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>The main blog feed for my Web site.</description>
    
    
        <item>
          <title>iPhone Geolocation Bookmarklets</title>
          <description>&lt;p style=&quot;float:left;&quot;&gt;&lt;a href=&quot;http://s3.amazonaws.com/static.mbauman.net/page_attachments/156/IMG_0010.PNG&quot;&gt;&lt;img src=&quot;http://s3.amazonaws.com/static.mbauman.net/page_attachments/158/IMG_0010_240.png&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Very few websites have implemented the new javascript &lt;span class=&quot;caps&quot;&gt;GPS&lt;/span&gt; geolocation features that were intruduced with &lt;span class=&quot;caps&quot;&gt;HTML&lt;/span&gt; 5.  However, there are a few sites that use latitude and longitude directly in their URLs.&lt;/p&gt;
&lt;p&gt;I first wanted a quick way to get my current latitude and longitude while looking at &lt;a href=&quot;http://heavens-above.com&quot;&gt;Heavens Above&lt;/a&gt;.  It&amp;#8217;s a great site that allows you to find visible satellites based upon your current location.  Here&amp;#8217;s the bookmarklet that I created:&lt;/p&gt;
&lt;pre&gt;
&lt;span style=&quot;word-wrap:break-word&quot;&gt;&lt;code&gt;javascript:navigator.geolocation.getCurrentPosition(function(g){c=g.coords;z=c.altitude;z=z?z:0;d=new Date(2009,0,1,0,0,0,0).toLocaleString().substr(-3,3);window.location=&quot;http://www.heavens-above.com/?lat=&quot;+c.latitude+&quot;&amp;amp;lng=&quot;+c.longitude+&quot;&amp;amp;alt=&quot;+z+&quot;&amp;amp;loc=iPhone&amp;amp;tz=&quot;+d;},function(){alert(&quot;Permission denied.&quot;)});&lt;/code&gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;p&gt;Copy this to your bookmarks, and then when accessed on an iPhone, it will directly load the site with your current location entered!&lt;/p&gt;
&lt;p&gt;I had to jump through several hoops here.  When the altitude is not available (when only using cell-tower triangulation), the javascript code returns &lt;code&gt;null&lt;/code&gt;.  The website only supports numeric values, so &lt;code&gt;z=z?z:0&lt;/code&gt; replaces the &lt;code&gt;null&lt;/code&gt; with a &lt;code&gt;0&lt;/code&gt;. Secondly, the website needs the local timezone, but unfortunately it only accepts a small subset of the three letter codes (and not the numeric offset from &lt;span class=&quot;caps&quot;&gt;UTC&lt;/span&gt;).  Even worse, the daylight savings version of the code (&lt;span class=&quot;caps&quot;&gt;EDT&lt;/span&gt;/&lt;span class=&quot;caps&quot;&gt;CDT&lt;/span&gt;/&lt;span class=&quot;caps&quot;&gt;MDT&lt;/span&gt;/&lt;span class=&quot;caps&quot;&gt;PDT&lt;/span&gt;) are unsupported &amp;#8211; the site just assumes that you follow the trend (sorry Arizona).  So I grab the code from January 1, 2009 (when daylight savings is not in effect), and parse the three letter code from that string.&lt;/p&gt;
&lt;p&gt;For most sites, you&amp;#8217;d only need something of the form (The NOAA&amp;#8217;s weather forecast, for example):&lt;/p&gt;
&lt;pre&gt;
&lt;span style=&quot;word-wrap:break-word&quot;&gt;&lt;code&gt;javascript:navigator.geolocation.getCurrentPosition(function(g){c=g.coords;window.location=&quot;http://forecast.weather.gov/MapClick.php?lat=&quot;+c.latitude+&quot;&amp;amp;lon=&quot;+c.longitude;},function(){alert(&quot;Permission denied.&quot;)});&lt;/code&gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;p&gt;Now if only I could find a way to save the javascript bookmark to the Home Screen, I&amp;#8217;d be set!&lt;/p&gt;</description>
          <pubDate>Thu, 06 Aug 2009 01:33:15 GMT</pubDate>
          <guid>http://mbauman.net/geek/2009/08/06/iphone-geolocation-bookmarklets/</guid>
          <link>http://mbauman.net/geek/2009/08/06/iphone-geolocation-bookmarklets/</link>
        </item>
    
        <item>
          <title>Minor Truetype Font Editing on a Mac</title>
          <description>&lt;p style=&quot;float:left;&quot;&gt;&lt;img src=&quot;http://s3.amazonaws.com/static.mbauman.net/page_attachments/150/cfonts.png&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;With the release of Windows Vista, Microsoft included six new fonts that they commissioned for the occasion.  They are the new defaults for Vista and Office.  They&amp;#8217;ve also made them available for Mac through Office as well as a handful of free (as in beer) utilities.  I got them by following &lt;a href=&quot;http://www.wezm.net/2009/03/03/install-consolas-mac-osx/&quot;&gt;these instructions&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;These new modern fonts are explicitly designed for display on computer screens with ClearType.  Although Apple has a &lt;a href=&quot;http://www.codinghorror.com/blog/archives/000884.html&quot;&gt;different philosophy on font rendering&lt;/a&gt;, the same basic premise is used in OS X.  Besides all that (or, rather, because of it) these fonts are very pretty.&lt;/p&gt;
&lt;p&gt;But there&amp;#8217;s a problem, and you can see it in the image above.  When packaging these fonts up for the Mac, Microsoft goofed on the baseline for Consolas.  The icon previews below show it much more obviously.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://s3.amazonaws.com/static.mbauman.net/page_attachments/154/icons.png&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;In short: it&amp;#8217;s annoying.  And wrong.  And the fix is after the break.&lt;/p&gt;</description>
          <pubDate>Sun, 15 Mar 2009 21:36:03 GMT</pubDate>
          <guid>http://mbauman.net/geek/2009/03/15/minor-truetype-font-editing-on-a-mac/</guid>
          <link>http://mbauman.net/geek/2009/03/15/minor-truetype-font-editing-on-a-mac/</link>
        </item>
    
        <item>
          <title>…Worth a million campaign promises</title>
          <description>&lt;p&gt;Every once and a while, someone figures out a creative and astute way to represent the data behind some of those &lt;em&gt;talking points&lt;/em&gt;.  Here are a few I&amp;#8217;ve run across over the past few months:&lt;/p&gt;
&lt;h3&gt;Whose taxes?&lt;/h3&gt;
&lt;p&gt;&lt;a href=&quot;http://s3.amazonaws.com/static.mbauman.net/page_attachments/129/taxplans.gif&quot;&gt;&lt;img src=&quot;http://s3.amazonaws.com/static.mbauman.net/page_attachments/129/taxplans.gif&quot; width=&quot;440&quot; alt=&quot;Source: Originally a Washington Post graphic; re-proportioned by chartjunk: http://chartjunk.karmanaut.com/taxplans/&quot; title=&quot;Source: Originally a Washington Post graphic; re-proportioned by chartjunk: http://chartjunk.karmanaut.com/taxplans/&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Drill, Baby, Drill.&lt;/h3&gt;
&lt;p&gt;&lt;img src=&quot;http://s3.amazonaws.com/static.mbauman.net/page_attachments/127/drill.jpg&quot; title=&quot;Source: http://norvig.com/election-faq.html&quot; alt=&quot;Source: http://norvig.com/election-faq.html&quot; /&gt;&lt;/p&gt;
&lt;h3&gt;All those overpriced &amp;ldquo;overhead&amp;rdquo; projectors&lt;/h3&gt;
&lt;p&gt;&lt;img src=&quot;http://s3.amazonaws.com/static.mbauman.net/page_attachments/131/earmarks.gif&quot; title=&quot;Source: http://norvig.com/election-faq.html&quot; alt=&quot;Source: http://norvig.com/election-faq.html&quot; /&gt;&lt;/p&gt;</description>
          <pubDate>Mon, 20 Oct 2008 21:54:14 GMT</pubDate>
          <guid>http://mbauman.net/life/2008/10/20/worth-a-million-campaign-promises/</guid>
          <link>http://mbauman.net/life/2008/10/20/worth-a-million-campaign-promises/</link>
        </item>
    
        <item>
          <title>The Blues</title>
          <description>&lt;p style=&quot;float:left;&quot;&gt;&lt;a href=&quot;http://faculty.kutztown.edu/bauman/chicagoblues.html&quot;&gt;&lt;img src=&quot;http://s3.amazonaws.com/static.mbauman.net/page_attachments/125/chi16_160.jpg&quot; title=&quot;The Chicago Skyline, with the BCBS building lit up for the occasion. Now if only they&amp;#39;d play nice with my dental bills...&quot; alt=&quot;The Chicago Skyline, with the BCBS building lit up for the occasion. Now if only they&amp;#39;d play nice with my dental bills...&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Dad and Ben came down to Chicago for the Blues Festival.  It was quite a blast, and dad put up some of the pictures on &lt;a href=&quot;http://faculty.kutztown.edu/bauman/chicagoblues.html&quot;&gt;his website&lt;/a&gt;.  Boy, did they wear me out!  I tell ya&amp;#8217;&amp;nbsp;—&amp;nbsp;it&amp;#8217;s a lot of work bouncing around the city every day!&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;</description>
          <pubDate>Sun, 10 Jun 2007 00:30:11 GMT</pubDate>
          <guid>http://mbauman.net/life/2007/06/10/the-blues/</guid>
          <link>http://mbauman.net/life/2007/06/10/the-blues/</link>
        </item>
    
        <item>
          <title>On the LSD</title>
          <description>&lt;p style=&quot;float:left;&quot;&gt;&lt;a href=&quot;http://s3.amazonaws.com/static.mbauman.net/page_attachments/119/Picture021.jpg&quot;&gt;&lt;img src=&quot;http://s3.amazonaws.com/static.mbauman.net/page_attachments/121/Picture021_160.jpg&quot; title=&quot;On my bike again.  Click for bigger.&quot; alt=&quot;On my bike again.  Click for bigger.&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Well, not quite.  This picture is on my way home from biking the Lake Shore Drive.  It was wet and rainy until they kicked us off the road, at which point the sun immediately emerged and the clouds completely cleared from the sky.  I got two flats, as well.  (The first was from a shard of glass, which I fixed with the spare I brought along. I went to the bike-fixing-station to get it pumped up, and the guy there promptly broke the valve.)  Even so, it was great to get back on the bike and just cruise without interruption.&lt;/p&gt;
&lt;p&gt;And yes, I am missing a tooth.&lt;/p&gt;</description>
          <pubDate>Tue, 29 May 2007 00:33:27 GMT</pubDate>
          <guid>http://mbauman.net/life/2007/05/29/on-the-lsd/</guid>
          <link>http://mbauman.net/life/2007/05/29/on-the-lsd/</link>
        </item>
    
        <item>
          <title>Adding an OptiBay to my MacBook Pro</title>
          <description>&lt;p&gt;Well, I finally decided to risk voiding my warranty for the luxury of double the disk space.  I have a 160GB hard drive installed in my MacBook, but I&amp;#8217;m constantly squeezed for space.  I never use my internal CD drive (the last time was over two months ago&amp;#8230; and it was actually my house-mate that needed it), so the thought of occasionally using an external CD drive is much more pleasant than lugging an external HD around all the time.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.mcetech.com/&quot;&gt;&lt;span class=&quot;caps&quot;&gt;MCE&lt;/span&gt; Technologies&lt;/a&gt; sells a decent-looking package called &lt;a href=&quot;http://www.mcetech.com/optibay/&quot;&gt;OptiBay&lt;/a&gt; for a little too much money that takes the internal optical drive and replaces it with a Hard Drive.  You can do it on most any Mac laptop.  I searched around online quite a bit for reviews and experiences, but it seems as though nobody has done a formal review.  So, I figured I&amp;#8217;d photograph and document my experience as I went.&lt;/p&gt;</description>
          <pubDate>Sat, 26 May 2007 21:14:43 GMT</pubDate>
          <guid>http://mbauman.net/geek/2007/05/26/adding-an-optibay-to-my-macbook-pro/</guid>
          <link>http://mbauman.net/geek/2007/05/26/adding-an-optibay-to-my-macbook-pro/</link>
        </item>
    
        <item>
          <title>Lies, Lies!</title>
          <description>&lt;p style=&quot;float:left;&quot;&gt;&lt;a href=&quot;http://s3.amazonaws.com/static.mbauman.net/page_attachments/77/Arcade_Fire_800.jpg&quot;&gt;&lt;img src=&quot;http://s3.amazonaws.com/static.mbauman.net/page_attachments/75/Arcade_Fire_300.jpg&quot; title=&quot;The Chicago Theatre Marquee: Arcade Fire&quot; alt=&quot;The Chicago Theatre Marquee: Arcade Fire&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;What a blast.  A few months ago, Jesse and I managed to grab some of the last tickets for the &lt;a href=&quot;http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewArtist?id=23203991&quot;&gt;Arcade Fire&lt;/a&gt; shows in Chicago.  Not kidding&amp;nbsp;—&amp;nbsp;I searched for singles immediately after we got our pair (others were interested in going, too), but none were to be had.  The concert was last night, and what a show it was.  I am continually impressed by their musicianship; I can&amp;#8217;t count the number of instruments they bounced between.  Even a &lt;em&gt;Bass&lt;/em&gt; Saxophone made an appearance.&lt;/p&gt;
&lt;p&gt;It&amp;#8217;s always refreshing to get out and be reminded how live music is &lt;em&gt;supposed&lt;/em&gt; to sound.  And the Chicago Theatre is gorgeous (we even had fancy box seats).&lt;/p&gt;</description>
          <pubDate>Mon, 21 May 2007 02:04:01 GMT</pubDate>
          <guid>http://mbauman.net/life/2007/05/21/lies-lies/</guid>
          <link>http://mbauman.net/life/2007/05/21/lies-lies/</link>
        </item>
    
        <item>
          <title>The Temporary Crowns</title>
          <description>&lt;p&gt;Here&amp;#8217;s the after photo.  The dentist on Thursday fitted me with temporary crowns, so I really haven&amp;#8217;t been walking around with a big hole in my mouth.  For a temporary quick fix, I&amp;#8217;m pretty impressed.  They don&amp;#8217;t quite match, and boy do they feel weird.  My nerves from the old teeth were removed, so they really don&amp;#8217;t hurt at all.&lt;/p&gt;
&lt;p&gt;That said, I certainly am not going to be eating any caramel apples anytime soon.  Or anything that I have to bite off with my front teeth, for that matter.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://s3.amazonaws.com/static.mbauman.net/page_attachments/69/Crowns_440.jpg&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Yesterday at work someone mentioned that I should just screw the replacement implants and just go for a grill.  I think it&amp;#8217;s a &lt;a href=&quot;http://s3.amazonaws.com/static.mbauman.net/page_attachments/71/grillz.png&quot;&gt;marvelous idea&lt;/a&gt; (thanks for lending them to me, Nelly).  Insurance will cover that, right?&lt;/p&gt;</description>
          <pubDate>Sat, 19 May 2007 12:41:26 GMT</pubDate>
          <guid>http://mbauman.net/life/2007/05/19/the-temporary-crowns/</guid>
          <link>http://mbauman.net/life/2007/05/19/the-temporary-crowns/</link>
        </item>
    
        <item>
          <title>Ouch.</title>
          <description>&lt;p style=&quot;float:left;&quot;&gt;&lt;a href=&quot;http://s3.amazonaws.com/static.mbauman.net/page_attachments/47/dentist.jpg&quot;&gt;&lt;img src=&quot;http://s3.amazonaws.com/static.mbauman.net/page_attachments/45/dentist_160.jpg&quot; title=&quot;In the chair at the dentist&amp;#39;s office&quot; alt=&quot;In the chair at the dentist&amp;#39;s office&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Well, I wiped out.  &lt;em&gt;&lt;strong&gt;Hard&lt;/strong&gt;&lt;/em&gt; (see pic). &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;</description>
          <pubDate>Thu, 17 May 2007 23:29:20 GMT</pubDate>
          <guid>http://mbauman.net/life/2007/05/17/ouch-/</guid>
          <link>http://mbauman.net/life/2007/05/17/ouch-/</link>
        </item>
    
        <item>
          <title>A Brighter Shade of Fuchsia: 2,000 Miles!</title>
          <description>&lt;p style=&quot;float:left;&quot;&gt;&lt;img src=&quot;http://s3.amazonaws.com/static.mbauman.net/page_attachments/25/bike_160.jpg&quot; title=&quot;That&amp;#39;s as clean as she gets. Click for bigger.&quot; alt=&quot;That&amp;#39;s as clean as she gets. Click for bigger.&quot; /&gt;:&lt;div&gt;&lt;strong&gt;undefined method `public_filename&amp;#8217; for nil:NilClass&lt;/strong&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;Yesterday afternoon I took the time to take apart my bicycle and clean it thoroughly.  It had probably been over a year since I had given it a complete overhaul, and it was definitely showing.  The grime was plastered on thick; the rims were dirty and the chain was noisy and the wheels were out of true.  It&amp;#8217;s absolutely ridiculous how much of Chicago ends up on my bicycle.&lt;/p&gt;
&lt;p&gt;The proof is in the pudding — today I took it out to go to work, and I just about flew over my handlebars when I hit the brakes for the first time.  What a difference it made getting that grime off the rims.  And, for the first time I can remember, I averaged over 17 miles per hour on my way to work &lt;em&gt;without a tailwind&lt;/em&gt;.&lt;/p&gt;
&lt;p style=&quot;float:right;&quot;&gt;&lt;a href=&quot;http://s3.amazonaws.com/static.mbauman.net/page_attachments/31/odo_800.jpg&quot;&gt;&lt;img src=&quot;http://s3.amazonaws.com/static.mbauman.net/page_attachments/29/odo_160.jpg&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It was good timing, too.  I&amp;#8217;ve been trying to hit 2000 miles in one year (That&amp;#8217;s averaging 40 miles a week for all seasons of the year, including winter!).  I arrived in Chicago last year just in time for &lt;a href=&quot;http://www.bikethedrive.org&quot;&gt;Bike the Drive&lt;/a&gt;, and I started my odometer at the beginning of the ride, so this year&amp;#8217;s event (I just registered — I can&amp;#8217;t wait!) was my deadline.&lt;/p&gt;</description>
          <pubDate>Mon, 14 May 2007 23:20:08 GMT</pubDate>
          <guid>http://mbauman.net/life/2007/05/14/a-brighter-shade-of-fuchsia-2000-miles/</guid>
          <link>http://mbauman.net/life/2007/05/14/a-brighter-shade-of-fuchsia-2000-miles/</link>
        </item>
    
    
  </channel>
</rss>

