<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
 <channel>
  <title>Bernie Zimmermann</title>
  <link>http://www.bernzilla.com/</link>
  <description>Bernie Zimmermann's Blog</description>
  <generator>PHP 4.2.3</generator>
  <copyright>Copyright &#169; 2008 Bernie Zimmermann</copyright>
  <item>
   <title>Iterating on a Set of Files from the Windows Command Line</title>
   <link>http://www.bernzilla.com/2008/05/08/iterating-on-a-set-of-files-from-the-windows-command-line/</link>
   <guid isPermaLink="true">http://www.bernzilla.com/2008/05/08/iterating-on-a-set-of-files-from-the-windows-command-line/</guid>
   <comments>http://www.bernzilla.com/2008/05/08/iterating-on-a-set-of-files-from-the-windows-command-line/#comments</comments>
   <pubDate>Fri, 09 May 2008 01:04:40 GMT</pubDate>
   <description>
    <![CDATA[<p>I'm not a big fan of <a href="http://en.wikipedia.org/wiki/Batch_file" title="Batch file - Wikipedia">batch files</a>, most likely because I was exposed to <a href="http://en.wikipedia.org/wiki/Bash" title="Bash - Wikipedia">bash scripts</a> well before I ever started to delve into the former.  Anyway, I didn't feel like switching to a bash prompt or writing a bash script today when faced with the challenge of iterating on all files of a certain type to perform the same operation on multiple files.
</p>
<p>
Therefore, I decided I wanted to do something directly from the Windows command line if possible, and shortly thereafter discovered a poorly designed yet inversely informative <a href="http://www.aumha.org/a/batches.php" title="Batch File Commands">page on batch file commands</a> that included the following information on the <code>FOR</code> command:
</p>
<blockquote>
<p>
The syntax for this command is: <code>FOR <i>variable</i>  in (<i>set list</i>) DO <i>command</i>
</p>
<p>
The variable must be in the form of one alphabetic character preceeded [sic] by <code>%%</code>; e.g., <code>%%v</code>.
</p>
<p>
However, if you run the <code>FOR</code> command outside of a batch file, simply from the system prompt, just use a single <code>%</code> in the variable name.
</p>
</blockquote>
<p>
I gave it a shot, and it did what I needed.  Here's an example for completion's sake:
</p>
<blockquote class="code">
<p>
FOR %Z IN (*.pl) DO perl %Z
</p>
</blockquote>
<p>
I figured I'd jot it down here at my blog in case the need presents itself in the future (or someone else finds it useful).</p>]]>
   </description>
  </item>
  <item>
   <title>The Notorious B.I.G. and Dr. Dre Mashup</title>
   <link>http://www.bernzilla.com/2008/05/07/the-notorious-big-and-dr-dre-mashup/</link>
   <guid isPermaLink="true">http://www.bernzilla.com/2008/05/07/the-notorious-big-and-dr-dre-mashup/</guid>
   <comments>http://www.bernzilla.com/2008/05/07/the-notorious-big-and-dr-dre-mashup/#comments</comments>
   <pubDate>Thu, 08 May 2008 06:18:14 GMT</pubDate>
   <description>
    <![CDATA[<p>It's going on a year since I <a href="http://www.bernzilla.com/item.php?id=883" title="Jay-Z and Nine Inch Nails Mashup">released my first mashup</a>, so I figured I'm due for another.  My <a href="http://www.bernzilla.com/item.php?id=883" title="Jay-Z and Nine Inch Nails Mashup">Jay-Z and Nine Inch Nails mashup</a> garnered some <a href="http://www.bernzilla.com/item.php?id=883#comments" title="Comments on 'Jay-Z and Nine Inch Nails Mashup'">fairly positive feedback</a>, so I'm hoping my latest mashup will turn an ear or two as well.
</p>
<p>
This time around, rather than crossing genres like I did last time, I've stuck with the rap genre and have paired one of the greatest rappers of all time, <a href="http://en.wikipedia.org/wiki/The_Notorious_B.I.G." title="The Notorious B.I.G. - Wikipedia">The Notorious B.I.G.</a>, with the greatest rap producer of all time, <a href="http://en.wikipedia.org/wiki/Dr._Dre" title="Dr. Dre - Wikipedia">Dr. Dre</a>.  The result is:
</p>
<p>
<a href="http://www.finalstar.com/music/bernzilla_mashup_notorious_big_dr.dre.mp3" title="Dead Wrong (Bernzilla Mashup)">Dead Wrong (Bernzilla Mashup)</a>
</p>
<p>
If you're a fan of rap music, and especially if you're a fan of those two artists, I'd recommend giving it a listen and letting me know what you think.  If you're not into rap or you're not a big fan of <abbr title="Not Safe For Work">NSFW</abbr> lyrics, it's probably not a bad idea to pass this time around.
</p>
<p>
For more information on where the lyrics and music come from, respectively, head on over to <a href="http://www.youtube.com/watch?v=C_lRfQCNCCk" title="The Notorious B.I.G. - Dead Wrong">YouTube</a> or check out <a href="http://en.wikipedia.org/wiki/2001_(album)#Track_listing" title="2001 (album) - Wikipedia">the track listing of 2001</a>.</p>]]>
   </description>
  </item>
  <item>
   <title>The Slip</title>
   <link>http://www.bernzilla.com/2008/05/05/the-slip/</link>
   <guid isPermaLink="true">http://www.bernzilla.com/2008/05/05/the-slip/</guid>
   <comments>http://www.bernzilla.com/2008/05/05/the-slip/#comments</comments>
   <pubDate>Mon, 05 May 2008 17:12:53 GMT</pubDate>
   <description>
    <![CDATA[<p>If you're trying to get your hands on <a href="http://theslip.nin.com/" title="nine inch nails: the slip">The Slip</a>, the album that <a href="http://www.nin.com/" title="Nine Inch Nails">Nine Inch Nails</a> is giving away for free today, I'd highly recommend going around the whole email/download link approach and heading directly to <a href="http://thepiratebay.org/tor/4173258/Nine_Inch_Nails_-_The_Slip_-_Flac" title="Nine Inch Nails - The Slip - Flac">The Pirate Bay</a>.  I was downloading at rates between 500Kb/s and 1MB/s and it took about five minutes to get the whole album, in <a href="http://thepiratebay.org/tor/4173258/Nine_Inch_Nails_-_The_Slip_-_Flac" title="Nine Inch Nails - The Slip - Flac">FLAC format</a> mind you, on to my computer.
</p>
<p>
If you're only interested in the MP3 version of the album, it's <a href="http://thepiratebay.org/tor/4173117/Nine_Inch_Nails_-_The_Slip" title="Nine Inch Nails - The Slip">available there, too</a>, and at a smaller size and with more <a href="http://en.wikipedia.org/wiki/BitTorrent_(protocol)#Creating_and_publishing_torrents" title="BitTorrent (protocol) - Wikipedia">seeders</a>, downloading that version should be a breeze.
</p>
<p>
Happy listening, and long live <abbr title="Nine Inch Nails">NIN</abbr>!</p>]]>
   </description>
  </item>
  <item>
   <title>America is a Layover</title>
   <link>http://www.bernzilla.com/2008/04/29/america-is-a-layover/</link>
   <guid isPermaLink="true">http://www.bernzilla.com/2008/04/29/america-is-a-layover/</guid>
   <comments>http://www.bernzilla.com/2008/04/29/america-is-a-layover/#comments</comments>
   <pubDate>Tue, 29 Apr 2008 17:04:02 GMT</pubDate>
   <description>
    <![CDATA[<p>America is not the final destination.
</p>
<p>
America is a layover.
</p>
<p>
I, your neighbor, am likely on a different course than you.  Neither of us cares.
</p>
<p>
I'll talk over the announcements you care about, you'll talk over mine.  We'll take turns glancing at the clock in anticipation.
</p>
<p>
Your other neighbor may be on the same path as you, but guaranteed she'll fight tooth-and-nail to get where she's heading if it comes down to her or you.
</p>
<p>
We'll turn to junk food, magazines, mobile phones and laptops to find anything that can take us, at least temporarily, away from this place.
</p>
<p>
And all the while, we'll complain about how we're not yet where we want to be.</p>]]>
   </description>
  </item>
  <item>
   <title>Why Jason Kottke's Feed Messes with My Head</title>
   <link>http://www.bernzilla.com/2008/04/29/why-jason-kottkes-feed-messes-with-my-head/</link>
   <guid isPermaLink="true">http://www.bernzilla.com/2008/04/29/why-jason-kottkes-feed-messes-with-my-head/</guid>
   <comments>http://www.bernzilla.com/2008/04/29/why-jason-kottkes-feed-messes-with-my-head/#comments</comments>
   <pubDate>Tue, 29 Apr 2008 07:19:13 GMT</pubDate>
   <description>
    <![CDATA[<p>Almost every feed I subscribe to contains meaningful or at least marginally meaningful post titles associated with every post.  <a href="http://kottke.org/" title="kottke.org">Jason Kottke's</a> feed, on the other hand, contains post titles that are, in the majority of cases, substrings of the post content's text.  Because of this, my inner monologue while reading his feed goes something like this:
</p>
<blockquote>
<p>
Some great photos of Americans commuting by Vincent Laforet using...
</p>
<p>
Some great photos of Americans commuting by Vincent Laforet using a tilt shift lens.
</p>
<p>
Ten ideas for making NYC streets a more friendly place...
</p>
<p>
(Oh, crap.  I'm doing it again).
</p>
<p>
Ten ideas for making NYC streets a more friendly place for those not in automobiles, including the woonerf, bicycle boulevards, and the green grid...
</p>
<p>
I feel like I've posted this one before but the Google...
</p>
<p>
(Oh, crap.  I'm doing it <i>yet again</i>!  Remember, Bernie, skip the post titles when reading <a href="http://www.kottke.org/" title="kottke.org">Jason Kottke's</a> feed!).
</p>
<p>
I feel like I've posted this one before but the Google says no so....LUNCH is a blog written by a couple of NYC architects who believe in the sanctity, sanity, and satiety of the lunch break...
</p>
</blockquote>
<p>
Frustrating?  I'd say so.  But I love his blog, so what's a guy to do?</p>]]>
   </description>
  </item>
  <item>
   <title>Reverse Ordered Lists in HTML 5</title>
   <link>http://www.bernzilla.com/2008/04/29/reverse-ordered-lists-in-html-5/</link>
   <guid isPermaLink="true">http://www.bernzilla.com/2008/04/29/reverse-ordered-lists-in-html-5/</guid>
   <comments>http://www.bernzilla.com/2008/04/29/reverse-ordered-lists-in-html-5/#comments</comments>
   <pubDate>Tue, 29 Apr 2008 07:06:12 GMT</pubDate>
   <description>
    <![CDATA[<p>I've always kinda wondered why you couldn't reverse ordered lists in <abbr title="HyperText Markup Language">HTML</abbr>, especially given people's propensity for counting down in "top ten" lists.  Via <a href="http://blog.whatwg.org/reverse-ordered-lists" title="Reverse Ordered Lists">The WHATWG Blog</a>, <a href="http://lachy.id.au/" title="Lachlan Hunt">Lachlan Hunt</a> shares the news that ordered lists <i>can</i> be reversed in <a href="http://www.w3.org/html/wg/html5/" title="HTML 5">HTML 5</a>:
</p>
<blockquote>
<p>
These are the same as ordered lists, but instead of counting up from 1, they instead count down towards 1. This can be used, for example, to count down the top 10 movies, music, or LOLCats, or anything else you want to present as a countdown list.
</p>
</blockquote>
<p>
Through the use of a <code>reversed</code> and an optional <code>start</code> attribute on the <code>ol</code> tag, one can reverse an ordered list and even dictate what number the list starts counting down from.  A key thing to remember is that in <abbr title="eXtensible HyperText Markup Language">XHTML</abbr>, the attribute has to be used somewhat redundantly, by specifying <code>reversed="reversed"</code>.
</p>
<p>
Head on over to <a href="http://blog.whatwg.org/reverse-ordered-lists" title="Reverse Ordered Lists">The WHATWG Blog</a> for all the details, including some examples of the new feature put into use in various ways.</p>]]>
   </description>
  </item>
  <item>
   <title>Consolation in the Eyes of Dell</title>
   <link>http://www.bernzilla.com/2008/04/28/consolation-in-the-eyes-of-dell/</link>
   <guid isPermaLink="true">http://www.bernzilla.com/2008/04/28/consolation-in-the-eyes-of-dell/</guid>
   <comments>http://www.bernzilla.com/2008/04/28/consolation-in-the-eyes-of-dell/#comments</comments>
   <pubDate>Tue, 29 Apr 2008 03:30:29 GMT</pubDate>
   <description>
    <![CDATA[<p>I ordered a non-<abbr title="Personal Computer">PC</abbr> electronics product from <a href="http://www.dell.com/" title="Dell">Dell</a> on April 2nd.  I received a pretty good deal on it, so I was pretty excited about the purchase.  The boilerplate order confirmation I received via email noted that my estimated ship date would be April 17th.  I hoped that that was simply boilerplate and nothing more, since I wasn't buying a custom <abbr title="Personal Computer">PC</abbr>, but rather an electronics product that is manufactured by someone other than <a href="http://www.dell.com/" title="Dell">Dell</a>.
</p>
<p>
However, April 17th arrived and my order had not yet shipped.  In fact, at that time I received an email from <a href="http://www.dell.com/" title="Dell">Dell</a> informing me that the shipment of my order had been delayed due to product availability issues.  I was told shipment would be delayed by a week, and was therefore estimated for April 24th.
</p>
<p>
When April 24th arrived, I had no email from <a href="http://www.dell.com/" title="Dell">Dell</a>.  I received nothing to confirm shipment and nothing to explain why the shipment hadn't yet happened.  Out of curiosity, I clicked on the order status link I had received in my original order confirmation, and I was taken to a page explaining that my order had been canceled due to the product I ordered having been discontinued by the manufacturer.  Keep in mind, I received <i>no</i> email from <a href="http://www.dell.com/" title="Dell">Dell</a> explaining the cancellation.  If I hadn't checked that link, I probably still wouldn't know to this day what the status of my order was.
</p>
<p>
In exchange for the three weeks of my time that were wasted waiting for my order, I received what I perceived to be a consolation email today, offering 10% off any purchase toward electronics, software and accessories.  The kicker?
</p>
<blockquote>
<p>
Expires 05/02/08.
</p>
</blockquote>
<p>
Oh, so you can waste <i>my</i> time, but I can't waste yours, huh <a href="http://www.dell.com/" title="Dell">Dell</a>?
</p>
<p>
You just gave one <a href="http://www.bernzilla.com/item.php?id=790" title="Giving Props to Gateway">loyal Gateway customer</a> even more reason to remain loyal.</p>]]>
   </description>
  </item>
  <item>
   <title>Still Waiting...</title>
   <link>http://www.bernzilla.com/2008/04/27/still-waiting/</link>
   <guid isPermaLink="true">http://www.bernzilla.com/2008/04/27/still-waiting/</guid>
   <comments>http://www.bernzilla.com/2008/04/27/still-waiting/#comments</comments>
   <pubDate>Mon, 28 Apr 2008 05:15:31 GMT</pubDate>
   <description>
    <![CDATA[<p>I subscribe to <a href="http://www.glazman.org/weblog/dotclear/index.php?" title="&lt;Glazblog/>">Daniel Glazman's</a> feed, and if I had an <a href="http://www.bernzilla.com/item.php?id=891" title="Still No Adaptive Aggregators">adaptive feed reader</a>, it would most certainly know I don't understand French, and therefore would significantly reduce the number of posts from David's blog that end up in front of my eyes.  But alas...</p>]]>
   </description>
  </item>
  <item>
   <title>Seahawks Sign Two Local Wide Receivers</title>
   <link>http://www.bernzilla.com/2008/04/27/seahawks-sign-two-local-wide-receivers/</link>
   <guid isPermaLink="true">http://www.bernzilla.com/2008/04/27/seahawks-sign-two-local-wide-receivers/</guid>
   <comments>http://www.bernzilla.com/2008/04/27/seahawks-sign-two-local-wide-receivers/#comments</comments>
   <pubDate>Mon, 28 Apr 2008 04:45:33 GMT</pubDate>
   <description>
    <![CDATA[<p>I read at <a href="http://blogs.thenewstribune.com/seahawks/2008/04/27/college_free_agents_signed_by_the_seahaw" title="College free agents the Seahawks are bringing in">Seahawks Insider</a> (where else?) tonight that the <a href="http://www.seahawks.com/" title="Seattle Seahawks">Seattle Seahawks</a> agreed to terms with both <a href="http://gohuskies.cstv.com/sports/m-footbl/mtt/russo_anthony00.html" title="Anthony Russo">Anthony Russo</a> from the <a href="http://gohuskies.cstv.com/sports/m-footbl/wash-m-footbl-body.html" title="University of Washington Huskies Football">Washington Huskies</a> and <a href="http://wsucougars.cstv.com/sports/m-footbl/mtt/bumpus_michael00.html" title="Michael Bumpus">Michael Bumpus</a> of the <a href="http://wsucougars.cstv.com/sports/m-footbl/wast-m-footbl-body.html" title="Washington State University Cougars Football">Washington State Cougars</a> as undrafted free agents recently.
</p>
<p>
As was the case with <a href="http://en.wikipedia.org/wiki/Marcus_Trufant" title="Marcus Trufant - Wikipedia">Marcus Trufant</a>, <a href="http://wsucougars.cstv.com/sports/m-footbl/mtt/bumpus_michael00.html" title="Michael Bumpus">Michael Bumpus</a> will be granted a one-year window in which to make up for the fact that he was a <a href="http://wsucougars.cstv.com/sports/m-footbl/wast-m-footbl-body.html" title="Washington State University Cougars Football">Cougar</a>.
</p>
<p>
Go <a href="http://www.seahawks.com/" title="Seattle Seahawks">Seahawks</a>!</p>]]>
   </description>
  </item>
  <item>
   <title>Up-keep</title>
   <link>http://www.bernzilla.com/2008/04/27/up-keep/</link>
   <guid isPermaLink="true">http://www.bernzilla.com/2008/04/27/up-keep/</guid>
   <comments>http://www.bernzilla.com/2008/04/27/up-keep/#comments</comments>
   <pubDate>Sun, 27 Apr 2008 21:13:59 GMT</pubDate>
   <description>
    <![CDATA[<p>In the past week, I've invested a little over $1,000 into my <a href="http://en.wikipedia.org/wiki/Honda_Integra" title="Honda Integra - Wikipedia">Acura Integra</a>, including a complete tune-up, replacement parts and brand new tires, in the hopes that at some point around the year 2033, I can report back here about how I've doubled my <a href="http://www.bernzilla.com/item.php?id=1005" title="150,000">most recent milestone</a>.</p>]]>
   </description>
  </item>
 </channel>
</rss>