<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jon Lebensold &#187; main</title>
	<atom:link href="http://lebensold.net/category/main/feed" rel="self" type="application/rss+xml" />
	<link>http://lebensold.net</link>
	<description>thoughts on web development, technology and media</description>
	<lastBuildDate>Tue, 22 Jun 2010 16:04:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Greensweepr: Greenwash like a marketing pro</title>
		<link>http://lebensold.net/main/greensweepr-greenwash-like-a-marketing-pro</link>
		<comments>http://lebensold.net/main/greensweepr-greenwash-like-a-marketing-pro#comments</comments>
		<pubDate>Fri, 13 Mar 2009 13:40:27 +0000</pubDate>
		<dc:creator>jon</dc:creator>
				<category><![CDATA[main]]></category>

		<guid isPermaLink="false">http://lebensold.net/?p=321</guid>
		<description><![CDATA[
While I like to poopoo flash sites for their lack of SEO, difficulty of updating and breaking typical UI conventions, I decided to take a crack at a game with AS3. I'll be posting an update with scores and a couple of levels in a month or so.
Enjoy Greensweepr!
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.greensweepr.com"><img class="aligncenter size-medium wp-image-324" src="http://lebensold.net/wp-content/uploads/2009/03/picture-8-300x201.png" alt="" width="300" height="201" /></a></p>
<p>While I like to poopoo flash sites for their lack of SEO, difficulty of updating and breaking typical UI conventions, I decided to take a crack at a game with AS3. I'll be posting an update with scores and a couple of levels in a month or so.</p>
<p><a href="http://www.greensweepr.com">Enjoy Greensweepr</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://lebensold.net/main/greensweepr-greenwash-like-a-marketing-pro/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>A listing of creative projects</title>
		<link>http://lebensold.net/main/a-listing-of-creative-projects</link>
		<comments>http://lebensold.net/main/a-listing-of-creative-projects#comments</comments>
		<pubDate>Sat, 21 Feb 2009 05:09:19 +0000</pubDate>
		<dc:creator>jon</dc:creator>
				<category><![CDATA[main]]></category>

		<guid isPermaLink="false">http://lebensold.net/?p=316</guid>
		<description><![CDATA[In an effort to keep track of the net art pieces, toys and my own creative blunders, I've put together a new page called creative projects.
]]></description>
			<content:encoded><![CDATA[<p>In an effort to keep track of the net art pieces, toys and my own creative blunders, I've put together a new page called <a href="http://lebensold.net/creative-projects">creative projects</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://lebensold.net/main/a-listing-of-creative-projects/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zend Server is Fast!</title>
		<link>http://lebensold.net/main/zend-server-is-fast</link>
		<comments>http://lebensold.net/main/zend-server-is-fast#comments</comments>
		<pubDate>Sat, 21 Feb 2009 01:22:22 +0000</pubDate>
		<dc:creator>jon</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[main]]></category>
		<category><![CDATA[Zend]]></category>
		<category><![CDATA[zend server]]></category>

		<guid isPermaLink="false">http://lebensold.net/?p=307</guid>
		<description><![CDATA[I started playing with Zend Server CE (Community Edition) today. It looks like a very promising product. My installation was less than simple, for one, I'm a fan of the PHP echo tags &#60;?= "hello" ?&#62;, which are off by default (not sure why since they're great for templates). I also had to change the [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-308 alignright" title="picture-11" src="http://lebensold.net/wp-content/uploads/2009/02/picture-11.png" alt="" width="214" height="201" />I started playing with <a href="http://devzone.zend.com/article/4272-Zend-announces-public-beta-of-a-new-product-Zend-Server">Zend Server CE (Community Edition)</a> today. It looks like a very promising product. My installation was less than simple, for one, I'm a fan of the PHP echo tags &lt;?= "hello" ?&gt;, which are off by default (not sure why since they're great for templates). I also had to change the MySQL configuration by symlinking my MAMP MySQL socket to /tmp/mysql.sock by running:</p>
<p>ln -s /Applications/MAMP/tmp/mysql/mysql.sock /tmp/mysql.sock</p>
<p>This is all probably because I (like most developers) have a broken system. I'm also running on a mac which means that disabled versions of PHP and MySQL are lurking around from the Leopard installation. I'd still like to see the folks at Zend start encouraging the Rails practice of symlinking the htdocs folder. The htdocs folder isn't well structured in the mac installation to accomodate an application folder sitting underneath it (e.g. /Applications/ZendServer/apache2/myapp/htdocs instead of  /Applications/ZendServer/apache2/htdocs).</p>
<p>I also had to create a symlink in the public folder of my Zend Framework application to Zend server:</p>
<p>ln -s /Applications/ZendServer/gui/UserServer ZendServer</p>
<p>And because I user mod_rewrite, I had to setup a special exclusion in my existing .htaccess file in order to make sure that Zend_Server didn't get angry:</p>
<p>RewriteEngine on<br />
<strong>RewriteCond %{REQUEST_URI} !^/ZendServer<br />
</strong>RewriteRule !\.(js|ico|gif|jpg|png|css|pdf|mov|mp3|swf)$ index.php</p>
<p>The payoff? Integrated debugging and speed! I'll probably put together a video tutorial of sorts. The only bummer is that Zend Server doesn't have integrated vhost support. I'm also looking forward to running some Java classes through Java bridge (<a href="http://www.hibernate.org/">Hibernate</a> perhaps?)</p>
]]></content:encoded>
			<wfw:commentRss>http://lebensold.net/main/zend-server-is-fast/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Oh Java&#8230;</title>
		<link>http://lebensold.net/main/oh-java</link>
		<comments>http://lebensold.net/main/oh-java#comments</comments>
		<pubDate>Sat, 14 Feb 2009 04:15:04 +0000</pubDate>
		<dc:creator>jon</dc:creator>
				<category><![CDATA[main]]></category>

		<guid isPermaLink="false">http://lebensold.net/?p=305</guid>
		<description><![CDATA[3 authors writing 5 lines of code... classic.
&#160;
/**
 * Runtime exception thrown when one tries to perform an access or
 * removal operation on an empty deque.
 *
 * @author Natasha Gelfand
 * @author Michael T. Goodrich
 * @author Roberto Tamassia
 */
&#160;
public class EmptyDequeException extends RuntimeException &#123;
  public EmptyDequeException&#40;String err&#41; &#123;
    [...]]]></description>
			<content:encoded><![CDATA[<p>3 authors writing 5 lines of code... classic.</p>
<pre class="java">&nbsp;
<span style="color: #808080; font-style: italic;">/**
 * Runtime exception thrown when one tries to perform an access or
 * removal operation on an empty deque.
 *
 * @author Natasha Gelfand
 * @author Michael T. Goodrich
 * @author Roberto Tamassia
 */</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> EmptyDequeException <span style="color: #000000; font-weight: bold;">extends</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3ARuntimeException+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">RuntimeException</span></a> <span style="color: #66cc66;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">public</span> EmptyDequeException<span style="color: #66cc66;">&#40;</span><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AString+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">String</span></a> err<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">super</span><span style="color: #66cc66;">&#40;</span>err<span style="color: #66cc66;">&#41;</span>;
  <span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span>
&nbsp;</pre>
]]></content:encoded>
			<wfw:commentRss>http://lebensold.net/main/oh-java/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moving to Lebensold.net</title>
		<link>http://lebensold.net/main/moving-to-lebensoldnet</link>
		<comments>http://lebensold.net/main/moving-to-lebensoldnet#comments</comments>
		<pubDate>Thu, 16 Oct 2008 13:01:40 +0000</pubDate>
		<dc:creator>jon</dc:creator>
				<category><![CDATA[main]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[lebensold]]></category>

		<guid isPermaLink="false">http://lebensold.net/?p=239</guid>
		<description><![CDATA[while the old .ca domain isn't going anywhere, I've decided to move my blog to a main domain. Email should follow as well, any old links will still work and my old email address is also still accessible.
]]></description>
			<content:encoded><![CDATA[<p>while the old .ca domain isn't going anywhere, I've decided to move my blog to a main domain. Email should follow as well, any old links will still work and my old email address is also still accessible.</p>
]]></content:encoded>
			<wfw:commentRss>http://lebensold.net/main/moving-to-lebensoldnet/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Learning to cook (week 2)</title>
		<link>http://lebensold.net/main/learning-to-cook-week-2</link>
		<comments>http://lebensold.net/main/learning-to-cook-week-2#comments</comments>
		<pubDate>Fri, 08 Aug 2008 02:00:44 +0000</pubDate>
		<dc:creator>jon</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[main]]></category>
		<category><![CDATA[cooking]]></category>

		<guid isPermaLink="false">http://jon.lebensold.ca/?p=129</guid>
		<description><![CDATA[This week, I decided to inflict my cooking attempt onto a friend of mine. We began by seasoning beef cubes with basil and garlic:

By making incisions in the raw beef and putting raw garlic and minced onions, the beef was rich in natural flavour. 
I added the beef into a mushroom and spinach stir fry. [...]]]></description>
			<content:encoded><![CDATA[<p>This week, I decided to inflict my cooking attempt onto a friend of mine. We began by seasoning beef cubes with basil and garlic:<br />
<a href="http://www.flickr.com/photos/jlebensold/2743180604/" title="beef with basil and spinach by Jon Lebensold, on Flickr"><img src="http://farm3.static.flickr.com/2103/2743180604_e7beb2ab16.jpg" width="500" height="312" alt="beef with basil and spinach" /></a></p>
<p>By making incisions in the raw beef and putting raw garlic and minced onions, the beef was rich in natural flavour. </p>
<p>I added the beef into a mushroom and spinach stir fry. Unfortunately the beef was overcooked (still edible) and the rice was too watery (I got distracted...):<br />
<a href="http://www.flickr.com/photos/jlebensold/2743181284/" title="beef with basil and spinach by Jon Lebensold, on Flickr"><img src="http://farm4.static.flickr.com/3063/2743181284_c0f8db986a.jpg" width="500" height="333" alt="beef with basil and spinach" /></a></p>
<p>meal 2 consisted of using merguez saussages (which already have plenty of flavor) and frying them up with a bit of dijon mustard before putting them into a tomato sauce with mushrooms, carrots and tomatoes. Adding the spinach and parmesan at the end really added to the presentation and texture:<br />
<a href="http://www.flickr.com/photos/jlebensold/2742442029/" title="pasta with spinach, parmesan and saussage by Jon Lebensold, on Flickr"><img src="http://farm4.static.flickr.com/3104/2742442029_963caf8132.jpg" width="500" height="283" alt="pasta with spinach, parmesan and saussage" /></a>   </p>
]]></content:encoded>
			<wfw:commentRss>http://lebensold.net/main/learning-to-cook-week-2/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Rails: How to smell an immature framework</title>
		<link>http://lebensold.net/main/rails-how-to-smell-an-immature-framework</link>
		<comments>http://lebensold.net/main/rails-how-to-smell-an-immature-framework#comments</comments>
		<pubDate>Fri, 20 Jun 2008 19:33:08 +0000</pubDate>
		<dc:creator>jon</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Commentary]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[main]]></category>
		<category><![CDATA[random]]></category>

		<guid isPermaLink="false">http://jon.lebensold.ca/uncategorized/rails-how-to-smell-an-immature-framework</guid>
		<description><![CDATA[This last week, I've been battling to get a Rails 1.x application moved to a hosting provider that has graciously upgraded to Rails 2.x. There is no migration documentation to be found aside from a scarce upgrade notes file.
Now this is where the clincher is: Rails is a Ruby FRAMEWORK and yet, the hosting provider [...]]]></description>
			<content:encoded><![CDATA[<p>This last week, I've been battling to get a Rails 1.x application moved to a hosting provider that has graciously upgraded to Rails 2.x. There is no migration documentation to be found aside from a scarce <a href='http://www.slashdotdash.net/articles/2007/12/03/rails-2-upgrade-notes'>upgrade notes file</a>.</p>
<p>Now this is where the clincher is: Rails is a Ruby FRAMEWORK and yet, the hosting provider gets to pick which version I'm running. Obviously, this leads to  a forced migration in a production environment. If they decided to upgrade the Ruby language processor it would be a different story. It seems like the Rails team didn't take a hint from the abomination that was PEAR / PECL due to hosting providers bearing the responsibility of versioning what were essentially early extensions of the PHP language. </p>
<p>Why can't I run my own Rails instance? Well hosting providers are being sold on <b>mod_ruby</b> which is really <b>mod_rails</b>. That's like your hosting provider installing <b>mod_zend_framework</b> and then getting to pick the version as it comes out. Let's not forget that four years ago, Zend didn't exist and Rails was a pet project by an young, but innovative group soon to be known to the world as 37Signals.</p>
<p>What bothers me is that this application is a little over a year old and due to the naming changes in the Rails tree (without graceful failures for deprecated functionality) I'm stuck hunting down why each controller is failing. Thankfully, if you're clever in ASP.NET, you can include a lib/ folder with any binaries required for compilation, and the codebase has matured to the point that migrations only occur at the *.5 release. You have to give Microsoft credit for not breaking backwards compatibility as well. As much as they get burned in the browser wars for this reason, it does mean that you're not forced to unravel the cobwebs on a deployed application and spend a week debugging it after 13 months!</p>
<p>While PHP 5.3 is offering some radical enhancements (like namespaces!) to the PHP language, they're at least waiting until 6.x before dropping some of the painful design decisions (like magic quotes etc...) that were made what is forever (more than 2 years!) by web development standards.</p>
<p>Ultimately, having an Apache module design to work with a specific version of a framework sounds like a mix of concerns. Why does the webserver module need to know the details of how Rails handles it's templating engine, or how it dispatches requests? Why is it so bloody complicated to get standardized rails hosting? Why do people develop in webrick, deploy using FastCGI and then have to deal with mod_ruby. </p>
<p>My suggestion is either buy your own machine, get virtual hosting environment, or wait until the dust settles and a unified development / testing / production environment presents itself.</p>
]]></content:encoded>
			<wfw:commentRss>http://lebensold.net/main/rails-how-to-smell-an-immature-framework/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Zend MVC Screencasts: Zend Layout, Controller, View and Db</title>
		<link>http://lebensold.net/main/zend-mvc-screencasts-zend-layout-controller-view-and-db</link>
		<comments>http://lebensold.net/main/zend-mvc-screencasts-zend-layout-controller-view-and-db#comments</comments>
		<pubDate>Tue, 25 Mar 2008 21:34:36 +0000</pubDate>
		<dc:creator>jon</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Screencasts]]></category>
		<category><![CDATA[Video Tutorials]]></category>
		<category><![CDATA[Zend]]></category>
		<category><![CDATA[main]]></category>

		<guid isPermaLink="false">http://jon.lebensold.ca/development/zend-mvc-screencasts-zend-layout-controller-view-and-db</guid>
		<description><![CDATA[I've put together a couple of Zend screencasts in an effort to explain some core concepts in Zend.  I've entitled the series of three videos Working With Zend MVC and it's available free on Idea22. I've also included a sample project to get you started which you can also download.
Topics Covered:

Zend Framework Folder Structure
Zend_View [...]]]></description>
			<content:encoded><![CDATA[<p>I've put together a couple of Zend screencasts in an effort to explain some core concepts in Zend.  I've entitled the series of three videos <a href="http://idea22.com/video/course/id/c200803256032246355/1">Working With Zend MVC</a> and it's available free on Idea22. I've also included <a href="http://idea22.com/public/attachments/c200803256032246355-StartArticleManager.zip">a sample project to get you started</a> which you can also download.</p>
<h3>Topics Covered:</h3>
<ul>
<li>Zend Framework Folder Structure</li>
<li>Zend_View and it's relationship to Zend_Controller</li>
<li>Zend_Controller and the management of form postbacks</li>
<li>Zend_Db Insert and Fetching rows</li>
<li>using Zend_Layout to build headers and footers using the Zend MVC model</li>
</ul>
<p>I've posted the first video here. Comments are much appreciated! <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="270" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="align" value="center" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /><param name="flashVars" value="allowfullscreen=true&amp;logo=http://www.idea22.com/public/swf/i22.png&amp;autostart=false&amp;file=http://www.idea22.com/public/pv/2008032310856324169.flv&amp;image=http://www.idea22.com/public/pv/2008032310856324169.jpg" /><param name="src" value="http://www.idea22.com/public/swf/i22_flv.swf?vv=pv:2008032310856324169:480:270:e" /><embed type="application/x-shockwave-flash" width="480" height="270" src="http://www.idea22.com/public/swf/i22_flv.swf?vv=pv:2008032310856324169:480:270:e" flashvars="allowfullscreen=true&amp;logo=http://www.idea22.com/public/swf/i22.png&amp;autostart=false&amp;file=http://www.idea22.com/public/pv/2008032310856324169.flv&amp;image=http://www.idea22.com/public/pv/2008032310856324169.jpg" allowfullscreen="true" allowscriptaccess="always" align="center"></embed></object><br />
<script type="text/javascript"><!--
google_ad_client = "pub-6788178234188425";
/* 336x280, created 12/12/08 */
google_ad_slot = "2192755389";
google_ad_width = 336;
google_ad_height = 280;
// --></script> <script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://lebensold.net/main/zend-mvc-screencasts-zend-layout-controller-view-and-db/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Yahoo Using Zend?</title>
		<link>http://lebensold.net/main/yahoo-using-zend</link>
		<comments>http://lebensold.net/main/yahoo-using-zend#comments</comments>
		<pubDate>Wed, 05 Mar 2008 06:17:08 +0000</pubDate>
		<dc:creator>jon</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Zend]]></category>
		<category><![CDATA[main]]></category>
		<category><![CDATA[random]]></category>

		<guid isPermaLink="false">http://jon.lebensold.ca/uncategorized/yahoo-using-zend</guid>
		<description><![CDATA[This morning, one of my friends emailed me this screen grab of Yahoo! Mail. Judging by the error, it looks like they're using Zend on IIS and they haven't properly setup their ErrorController so that it logs to something other than the page...

Here's the full error: 
Fatal error: Uncaught exception 'Zend_Controller_Dispatcher_Exception' with message 'Invalid controller [...]]]></description>
			<content:encoded><![CDATA[<p>This morning, <a href="http://www.flickr.com/photos/project_summit">one of my friends</a> emailed me this screen grab of Yahoo! Mail. Judging by the error, it looks like they're using Zend on IIS and they haven't properly setup their ErrorController so that it logs to something other than the page...<br />
<img src="http://jon.lebensold.ca/wp-content/uploads/2008/03/YahooUsingZend.gif" /></p>
<p>Here's the full error: </p>
<p><code>Fatal error: Uncaught exception 'Zend_Controller_Dispatcher_Exception' with message 'Invalid controller specified (st)' in C:\wwwroot\library\Zend\Controller\Dispatcher\Standard.php:193 Stack trace: #0 C:\wwwroot\library\Zend\Controller\Front.php(911): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #1 C:\wwwroot\index.php(34): Zend_Controller_Front->dispatch() #2 {main} thrown in C:\wwwroot\library\Zend\Controller\Dispatcher\Standard.php on line 193</code></p>
]]></content:encoded>
			<wfw:commentRss>http://lebensold.net/main/yahoo-using-zend/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Untitled Number Trains :: Collaboration with Navid Navab</title>
		<link>http://lebensold.net/main/untitled-number-trains-collaboration-with-navid-navab</link>
		<comments>http://lebensold.net/main/untitled-number-trains-collaboration-with-navid-navab#comments</comments>
		<pubDate>Fri, 13 Apr 2007 19:51:45 +0000</pubDate>
		<dc:creator>jon</dc:creator>
				<category><![CDATA[main]]></category>

		<guid isPermaLink="false">http://jon.artistsweatshop.com/?p=32</guid>
		<description><![CDATA[Here's a video collaboration I did with Navid Navab, titled Untitled Number Train. Enjoy.

]]></description>
			<content:encoded><![CDATA[<p>Here's a video collaboration I did with Navid Navab, titled Untitled Number Train. Enjoy.</p>
<p><img src="http://lebensold.net/wp-content/plugins/flash-video-player/default_video_player.gif" /></p>
]]></content:encoded>
			<wfw:commentRss>http://lebensold.net/main/untitled-number-trains-collaboration-with-navid-navab/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
