<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>distinctPixel.org</title>
    <link>http://distinctpixel.org/</link>
    <pubDate>Sat, 09 Feb 2008 21:44:00 GMT</pubDate>
    <description>distinctPixel.org: ramblings of barclay</description>
    <item>
      <title>2006 Clos de los Siete</title>
      <link>http://distinctpixel.org/entries/view/2008/02/2006_clos_de_los_siete</link>
      <description>&lt;div align="center"&gt;&lt;img src="/images/userImages/2006_clos_de_los_siete.jpg" id="leadPhoto" alt="Clos de los Siete, 2006" /&gt;&lt;/div&gt;&lt;p&gt;I also really liked this. It's a 45% Malbec, 35% Merlot, 10% Cabernet Sauvignon, and 10% Syrah blend. I was expecting something quite a bit different, crazy and new world&amp;#8212;but it's actually pretty subdued. A lot of lush cherry up front (though, not sugary which is nice). Some notes of dark chocolate, and a real surprising amount of structure. The finish is spicy and dry&amp;#8230; maybe a little oak heavy, but not too overdone. Very nice&amp;#8212;I'd totally buy it again. Paired it with a roasted pork with green peppercorn sauce, rough mashed fingerling potatoes, and saut&amp;#233;ed asparagus.&lt;/p&gt;

&lt;p&gt;It's also worth noting: the label, I thought was really nicely done.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://corkd.com/wine/view/43602-2006_Clos_De_Los_Siete" target="_blank"&gt;(Cork'd Review: 91.0/100)&lt;/a&gt;&lt;/p&gt;
</description>
      <pubDate>Sat, 09 Feb 2008 21:44:00 GMT</pubDate>
      <guid>http://distinctpixel.org/entries/view/2008/02/2006_clos_de_los_siete</guid>
      <author>blog@distinctPixel.com (barclay loftus)</author>
    </item>
    <item>
      <title>Working with PHP</title>
      <link>http://distinctpixel.org/entries/view/2008/02/working_with_php</link>
      <description>&lt;p&gt;Recently, I've come across &lt;a href="http://pooteeweet.org/blog/0/973#m973" target="_blank"&gt;a&lt;/a&gt; &lt;a href="http://www.tonybibbs.com/article.php/PHPProblemPHPItself" target="_blank"&gt;number&lt;/a&gt; of &lt;a href="http://mysqldatabaseadministration.blogspot.com/2008/01/mysql-dumped-oracle-loaded-whose-fault.html" target="_blank"&gt;articles&lt;/a&gt; talking about problems with the LAMP talent pool, and some of the future predicaments of PHP. Since I recently started a new job that works entirely in PHP, I thought I might add my 2&amp;#162;.&lt;/p&gt;

&lt;p&gt;Many of these articles talk seem to point to academia as part of the problem. That the CS courses are all teaching Java/C++/C# (and not PHP), and they correlate that to a lack of genuine talented PHP devs out there. But I don't think that's entirely it.&lt;/p&gt;

&lt;p&gt;A commenter on one of these posts says:&lt;/p&gt;

&lt;p&gt;&lt;blockquote style="font-style: italic; background: #525C59; padding: 4px;"&gt;PHP has a good learning curve. I think most Java people can do PHP within 3 weeks. PHP people can't do JAVA in 3 weeks (most of them). &lt;/blockquote&gt;&lt;/p&gt;

&lt;p&gt;Which I think comes closer to it. Most Java, or traditional CS trained devs &lt;em&gt;should&lt;/em&gt; be able to pick up PHP pretty quickly. The language and constructs in PHP aren't anything different or new; it's just a matter of remembering the names and signatures of the methods, and keeping track of the syntax subtleties. As an average C# guy, I was able to whip together a small web application over a weekend (before interviewing with the new gig).&lt;/p&gt;

&lt;p&gt;But here's the thing&amp;#8230; and I think this is the bit that the above comment almost hit: as a C# developer, there would be no reason for me to ever &lt;em&gt;want&lt;/em&gt; to build anything in PHP&amp;#8212;when given the choice. For me, there's no itch that it would scratch. To kill a metaphor: &lt;em&gt;the grass doesn't even appear greener on that side of the fence&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;If, left up to my own devices, I decided I wanted to work with something open source (and not pay the dreaded microsoft tax), I'd be much more apt to look into Python, or another language that's different, interesting, or had a lot to offer (Ruby, Smalltalk, etc). PHP, while light weight and absolutely functional, comes across as downright sloppy. And, since I'm just a developer (not an architect, CTO, or ops guy), writing good, clean, or interesting code is what really gets me off, not arguments of TCO, or scalability (all of which may be where PHP wins the most).&lt;/p&gt;

&lt;p&gt;And I think that's the crux of it. There are plenty of talented devs out there that could work just fine in PHP (I am)&amp;#8230; but PHP's biggest obstacle is the language, itself.&lt;/p&gt;
</description>
      <pubDate>Wed, 06 Feb 2008 19:18:00 GMT</pubDate>
      <guid>http://distinctpixel.org/entries/view/2008/02/working_with_php</guid>
      <author>blog@distinctPixel.com (barclay loftus)</author>
    </item>
    <item>
      <title>Domino Montenegro</title>
      <link>http://distinctpixel.org/entries/view/2007/12/Domino_Montenegro</link>
      <description>&lt;div align="center"&gt;&lt;img src="/images/userImages/dom.jpg" id="leadPhoto" alt="Welcome, Domino. Get off the damned couch." /&gt;&lt;/div&gt;&lt;p&gt;World, meet Domino Montenegro.&lt;/p&gt;
</description>
      <pubDate>Tue, 04 Dec 2007 21:29:00 GMT</pubDate>
      <guid>http://distinctpixel.org/entries/view/2007/12/Domino_Montenegro</guid>
      <author>blog@distinctPixel.com (barclay loftus)</author>
    </item>
    <item>
      <title>Bonny Doon 2006 Vin Gris de Cigare</title>
      <link>http://distinctpixel.org/entries/view/2007/08/bonny_doon_2006_vin_gris_de_cigare</link>
      <description>&lt;div align="center"&gt;&lt;img src="/images/userImages/bonny_doon_2006_vin_de_cigare.jpg" id="leadPhoto" alt="mmm. pink wine!" /&gt;&lt;/div&gt;&lt;p&gt;Wait&amp;#8230; Pink wine? Barclay? &lt;em&gt;For real?&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Yup.&lt;/p&gt;
&lt;p&gt;And you know what&amp;#8230; it was damned tasty, too. Real fruity and sweet on the nose, but the sweetness stays &lt;em&gt;off&lt;/em&gt; the palate. It's very dry, with just a bit of acidity, and the smallest expression of strawberry. At $10, this is a great summer patio wine. Different, interesting and fun.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://corkd.com/wine/view/25953-Vin_Gris_de_Cigare" target="_blank"&gt;(Cork'd Review: 89.0/100)&lt;/a&gt;&lt;/p&gt;
</description>
      <pubDate>Sat, 18 Aug 2007 06:56:00 GMT</pubDate>
      <guid>http://distinctpixel.org/entries/view/2007/08/bonny_doon_2006_vin_gris_de_cigare</guid>
      <author>blog@distinctPixel.com (barclay loftus)</author>
    </item>
    <item>
      <title>chester tracy loftus</title>
      <link>http://distinctpixel.org/entries/view/2007/07/chester_dog</link>
      <description>&lt;div align="center"&gt;&lt;img src="/images/userImages/chester.jpg" id="leadPhoto" alt="i miss you, bud." /&gt;&lt;/div&gt;&lt;p&gt;My boy Chesterdog left us today. He had been quietly battling systemic histiocytosis, and it finally got the better of him.&lt;/p&gt;
&lt;p&gt;There's so much to say. How can you express when your very best friend in the world passes? The void that's formed when his amazingly pure unconditional love is gone?&lt;/p&gt;
&lt;p&gt;He really was the "best dog ever", and I reckon, I'm gonna miss him for the rest of my life.&lt;/p&gt;
</description>
      <pubDate>Fri, 27 Jul 2007 01:26:00 GMT</pubDate>
      <guid>http://distinctpixel.org/entries/view/2007/07/chester_dog</guid>
      <author>blog@distinctPixel.com (barclay loftus)</author>
    </item>
    <item>
      <title>Kim Crawford 2006 Malborough Sauvignon Blanc</title>
      <link>http://distinctpixel.org/entries/view/2007/07/kim_crawford_2006_sauvignon_blanc</link>
      <description>&lt;div align="center"&gt;&lt;img src="/images/userImages/kim_crawford_2006_sauvignon_blanc.jpg" id="leadPhoto" alt="they got me with the tag." /&gt;&lt;/div&gt;
&lt;p&gt;Ah, the power of merchandising.&lt;/p&gt;

&lt;p&gt;I had another bottle of sauvignon blanc in hand, and was walking out of the wine aisle in &lt;a href="http://www.draegers.com/" target="_blank"&gt;Draeger&amp;#8217;s&lt;/a&gt; when the little tag hanging from the Kim Crawford bottle (expertly placed at the end of the aisle cap) screamed out &lt;strong&gt;&amp;#8220;92 Points WS!&amp;#8221;&lt;/strong&gt;. And (I hate to admit) it totally worked. I put the other bottle down, and without even thinking twice grabbed this up. That, ladies and gentlemen, is what we call a &lt;em&gt;sucker&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;So, first of all&amp;#8230; 92 points? Boy, I sure had a hard time figuring that one out. Don&amp;#8217;t get me wrong&amp;#8230; it&amp;#8217;s a fine bottle of wine&amp;#8230; but 92? Yikes, I sure couldn&amp;#8217;t get there.&lt;/p&gt;

&lt;p&gt;There are some nice flavors of grapefruit and just a bit of peach at the very front, with a little butter, a little minerality, and a good bit of grass that round it out. Good enough, and at $14, it sure doesn&amp;#8217;t hurt to try it&amp;#8230; but 92? Nah.&lt;/p&gt;

&lt;p&gt;One other interesting thing about this wine (one of the other reviews on cork&amp;#8217;d mention this, and I completely agree) is that this is a hard wine to have in 750ml. The first glass was lovely great and fun, but by the end of the bottle my palate really felt  worked over and tired. So, either bring it to a dinner where every one can enjoy just a glass, or just seek it out in a restaurant.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://corkd.com/wine/view/16774-Kim_Crawford_2006_Malborough_Sauvignon_Blanc" target="_blank"&gt;(Cork'd Review: 89.0/100)&lt;/a&gt;&lt;/p&gt;
</description>
      <pubDate>Mon, 02 Jul 2007 14:33:00 GMT</pubDate>
      <guid>http://distinctpixel.org/entries/view/2007/07/kim_crawford_2006_sauvignon_blanc</guid>
      <author>blog@distinctPixel.com (barclay loftus)</author>
    </item>
    <item>
      <title>Puerco Pibil</title>
      <link>http://distinctpixel.org/entries/view/2007/06/puerco_pibil</link>
      <description>&lt;div align="center"&gt;&lt;img src="/images/userImages/puerco_pibil.jpg" id="leadPhoto" alt="mmm. porkbutt&amp;#8230;" /&gt;&lt;/div&gt;&lt;p&gt;So, last week I ran across a &lt;a href="http://www.youtube.com/watch?v=gO8EiScBEjA&amp;v3" &gt;video&lt;/a&gt; on digg from Robert Rodriguez that I apparently was on the &lt;em&gt;Once Upon a Time in Mexico&lt;/em&gt; DVD. It basically consists of Rodriguez showing how to cook Puerco Pibil (pork butt in Red Achiote Paste). How&amp;#8217;s that for being viral: something actually useful!&lt;/p&gt;
&lt;p&gt;I like Rodriguez, I like cooking, and mostly, I like pork. I could never, &lt;em&gt;ever&lt;/em&gt; be kosher.&lt;/p&gt;
&lt;p&gt;As the weekend rolled around and I was getting ready to go shopping, I had this recipe floating around in my head. So, I figured I&amp;#8217;d give it a try (and let's be honest here&amp;#8230; who doesn&amp;#8217;t love cooking pig in banana leaves?).&lt;/p&gt;
&lt;p&gt;I slightly altered the recipe he uses&amp;#8230; I toasted all the spices before grinding them (I&amp;#8217;ve actually been doing this a lot more lately), and also using  a fresh orange rather than juice.&lt;/p&gt;
&lt;p&gt;Given that I&amp;#8217;ve never actually had Pibil before, it&amp;#8217;s hard to say if I did it any justice&amp;#8230; but whatever I made, it was goddamned tasty.&lt;/p&gt;
</description>
      <pubDate>Mon, 18 Jun 2007 00:14:00 GMT</pubDate>
      <guid>http://distinctpixel.org/entries/view/2007/06/puerco_pibil</guid>
      <author>blog@distinctPixel.com (barclay loftus)</author>
    </item>
    <item>
      <title>2004 DEWN Cigare Alternative C</title>
      <link>http://distinctpixel.org/entries/view/2007/06/2004_DEWN_Cigare_Alternative_C</link>
      <description>&lt;div align="center"&gt;&lt;img src="/images/userImages/DEWNCigareAltC.jpg" id="leadPhoto" alt="Cigare Alt. C&amp;#8212;it kicks ass&amp;#8230;" /&gt;&lt;/div&gt;&lt;p&gt;Wow.&lt;/p&gt;
&lt;p&gt;I reckon I should start by admitting that I wasn&amp;#8217;t too hot on &lt;a href="http://www.bonnydoonvineyard.com" target="_blank"&gt;Bonny Doon&lt;/a&gt;. I think I had tried a couple of their lower-end &lt;a href="http://www.bevmo.com/productinfo.asp?sku=00000003907&amp;" target="_blank"&gt;Ca&amp;#8217;del Solo&lt;/a&gt; house wines &lt;em&gt;(which I wasn&amp;#8217;t a fan of)&lt;/em&gt;, and their &lt;a href="http://corkd.com/wine/view/4639-Cardinal_Zin_2004_Old_Vine_Zinfandel" target="_blank"&gt;Cardinal Zin&lt;/a&gt; &lt;em&gt;(which also didn&amp;#8217;t work for me at all)&lt;/em&gt;, and I had got the impression from one of my more knowledgeable wine friends, that Bonny Doon was a lot more marketing than wine.&lt;/p&gt;
&lt;p&gt;And, while we&amp;#8217;re being honest, I&amp;#8217;ll freely admit it: I&amp;#8217;m a complete snob about the screw-cap thing. Sure, corks can spoil a wine&amp;#8212;but I just love the ritual of uncorking a bottle&amp;#8230; And no matter how you do it, cracking that screw-top is not the same.&lt;/p&gt;
&lt;p&gt;Anyway, on our way down to the Hearst Castle the other weekend, I saw a sign for Bonny Doon along Highway 1, and figured: &lt;em&gt;&amp;#8220;It&amp;#8217;s our vacation, It&amp;#8217;s almost noon&amp;#8230; let&amp;#8217;s do some wine tasting!&amp;#8221;&lt;/em&gt;. So we stopped in and gave it a go.&lt;/p&gt;
&lt;p&gt;The flight that we had was a nice mix of reds and whites. There were some stinkers (I wasn&amp;#8217;t a big fan of their 2006 Albari&amp;#241;o or their flagship red &lt;a href="http://www.corkd.com/wine/view/25390-2003_Le_Cigare_Volant 2003" target="_blank"&gt;Le Cigare Volant&lt;/a&gt;), but there were also a couple of real winners, in particular the 2004 DEWN Cigare Alternative C.&lt;/p&gt;
&lt;p&gt;This wine just completely rocked the flight&amp;#8212;it is fantastic. Lush flavors of plum and cherry, some nice tannins, and a good long finish of pepper, tobacco, and Asian spice. Wrap it all in a really nicely done label, and I&amp;#8217;m sold. This is a &lt;strong&gt;great&lt;/strong&gt; wine.&lt;/p&gt;
&lt;p&gt;In fact, it was good enough for me to actually decide to become a member of their wine club (more on that later), especially since they were having a &lt;em&gt;&amp;#8220;join the club, and get a bottle of the Alt. C for $5&amp;#8221;&lt;/em&gt; deal.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://corkd.com/wine/view/25935-Bonny_Doon_2004_DEWN_Cigare_Alternative_C" target="_blank"&gt;(Cork'd Review: 92.0/100)&lt;/a&gt;&lt;/p&gt;
</description>
      <pubDate>Wed, 06 Jun 2007 19:31:00 GMT</pubDate>
      <guid>http://distinctpixel.org/entries/view/2007/06/2004_DEWN_Cigare_Alternative_C</guid>
      <author>blog@distinctPixel.com (barclay loftus)</author>
    </item>
    <item>
      <title>Rails: paying for convenience. </title>
      <link>http://distinctpixel.org/entries/view/2007/06/rails_paying_for_convenience</link>
      <description>&lt;div align="center"&gt;&lt;img src="/images/userImages/rails_is_sql_crazy.gif" id="leadPhoto" alt="eek. that's a whole lot of SELECT *" /&gt;&lt;/div&gt;&lt;p&gt;So I&amp;#8217;ve been tinkering for the last couple of days with adding a commenting feature to this blog. One of the things that I&amp;#8217;m really starting to notice with rails (and perhaps this is terribly obvious) is that while a lot of stuff is really great, you sure do pay for convenience.&lt;/p&gt;

&lt;p&gt;Having gone through the &lt;a href="http://www.pragmaticprogrammer.com/titles/rails/index.html" target="_blank"&gt;Agile Web Development with Rails&lt;/a&gt; book as an intro to rails, I had been working based on some of the patterns discussed there. It&amp;#8217;s quite possible that &lt;em&gt;I&amp;#8217;m the idiot&lt;/em&gt; in this situation, but all the same, it&amp;#8217;s a bit frustrating. For example in building comments, there are &lt;em&gt;comments&lt;/em&gt;, which belong to &lt;em&gt;entries&lt;/em&gt;. There&amp;#8217;s also a &lt;em&gt;commenter&lt;/em&gt;, which belongs to each &lt;em&gt;comment&lt;/em&gt;&amp;#8212;a simple enough set of relationships.&lt;/p&gt;

&lt;p&gt;However as I&amp;#8217;m building this, it appears that rails is going &lt;em&gt;SQL crazy&lt;/em&gt;. First, it&amp;#8217;s making the initial &lt;code&gt;SELECT&lt;/code&gt; query to get the entry&amp;#8230; that&amp;#8217;s fine. And then another query to get the comments for that entry&amp;#8230; also fine. But after that, rails decides to make an additional &lt;code&gt;SELECT *&lt;/code&gt; query for each comment&amp;#8217;s commenter (that's a mouthful).&lt;/p&gt;
&lt;p&gt;I sure would have hoped that by using the &lt;code&gt;has_many&lt;/code&gt; and &lt;code&gt;belongs_to&lt;/code&gt; statements in the models, rails would have been smart enough to have seen this should be a join. Being the rails newbie that I am, I don&amp;#8217;t seem to see any real way of making rails do that (outside of writing my own SQL&amp;#8212;which isn&amp;#8217;t not writing the point of using rails?).&lt;/p&gt;

&lt;p&gt;I&amp;#8217;ve finally decided to wrap a little of my own logic around it and specifically work with the commenter_id field in the comments table to avoid the extra SELECT statements which (frankly) seems like a bit of a hack.&lt;/p&gt;

&lt;p&gt;Let me say flat out: I am no DBA or rails guru. So, maybe none of this really matters since the queries are small &lt;em&gt;(I&amp;#8217;ve always played by the rule of thumb to make your DB queries as efficient as possible, and count for as much as possible)&lt;/em&gt;&amp;#8230;&lt;/p&gt;
&lt;p&gt;Maybe the answer is that you can solve all of this by caching, so don&amp;#8217;t worry about what kind of SQL rails is using&amp;#8230;&lt;/p&gt;
&lt;p&gt;And, then again, maybe I&amp;#8217;m the idiot who&amp;#8217;s missing something really obvious.&lt;/p&gt;
</description>
      <pubDate>Wed, 06 Jun 2007 17:39:00 GMT</pubDate>
      <guid>http://distinctpixel.org/entries/view/2007/06/rails_paying_for_convenience</guid>
      <author>blog@distinctPixel.com (barclay loftus)</author>
    </item>
    <item>
      <title>Ray&#8217;s Station 2004 Cabernet Sauvignon</title>
      <link>http://distinctpixel.org/entries/view/2007/05/rays_station_2004_cabernet_sauvignon</link>
      <description>&lt;div align="center"&gt;&lt;img src="/images/userImages/sea_captain.jpg" id="leadPhoto" alt="real captain." /&gt;&lt;/div&gt;&lt;p&gt;So, if you read the little bit on the back of the bottle it talks about a sea captain who opened a &amp;#8220;rough around the edges&amp;#8221; tavern in the late 1800&amp;#8217;s, and how this &amp;#8220;broad shouldered&amp;#8221; wine is named after him.&lt;/p&gt;
&lt;p&gt;Now, not to be mean here, but I&amp;#8217;ve got to say that this is the most pansy-assed wine I&amp;#8217;ve had in a long time. Don&amp;#8217;t get me wrong, it&amp;#8217;s not bad&amp;#8230; but, seriously, this wine is about as machismo as a kitten napping in a flowerbed filled with pink flowers. &amp;#8220;Rough&amp;#8221; is not a term I would ever use when describing this wine.&lt;/p&gt;
&lt;p&gt;At any rate, it&amp;#8217;s a total &amp;#8220;new world&amp;#8221; wine, so up front there&amp;#8217;s tons of super ripe jammy-berry flavors (&lt;em&gt;this is a cabernet?&lt;/em&gt;), a bit of a flabby mid-palate, a hint of green pepper, and a heavy oaked finish. Given that bleak description it sounds like I should be totally panning the wine&amp;#8230; but there&amp;#8217;s something that&amp;#8217;s &amp;#8220;just enough&amp;#8221; working for it&amp;#8212;&lt;em&gt;something&lt;/em&gt; in it is right, and made it quite drinkable.&lt;/p&gt;
&lt;p&gt;I paired it with a nice grilled tri-tip, some roasted new red potatoes, and fresh steamed broccoli.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.corkd.com/wine/view/25482-Ray_s_Station_2004_Cabernet_Sauvignon" target="_blank"&gt;(Cork'd Review: 86.0/100)&lt;/a&gt;&lt;/p&gt;
</description>
      <pubDate>Tue, 22 May 2007 16:51:00 GMT</pubDate>
      <guid>http://distinctpixel.org/entries/view/2007/05/rays_station_2004_cabernet_sauvignon</guid>
      <author>blog@distinctPixel.com (barclay loftus)</author>
    </item>
  </channel>
</rss>
