<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule">
<channel>
    <title>mysiteonline™ - Programming</title>
    <link>http://life.mysiteonline.org/</link>
    <description>Brendon Kozlowski's Home on the Web.</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.1.2 - http://www.s9y.org/</generator>
    <pubDate>Wed, 03 Dec 2008 21:30:16 GMT</pubDate>

    <image>
        <url>http://life.mysiteonline.org/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: mysiteonline™ - Programming - Brendon Kozlowski's Home on the Web.</title>
        <link>http://life.mysiteonline.org/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Be carefuly when using an unfamiliar coding language</title>
    <link>http://life.mysiteonline.org/archives/156-Be-carefuly-when-using-an-unfamiliar-coding-language.html</link>
            <category>Programming</category>
    
    <comments>http://life.mysiteonline.org/archives/156-Be-carefuly-when-using-an-unfamiliar-coding-language.html#comments</comments>
    <wfw:comment>http://life.mysiteonline.org/wfwcomment.php?cid=156</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://life.mysiteonline.org/rss.php?version=2.0&amp;type=comments&amp;cid=156</wfw:commentRss>
    

    <author>nospam@example.com (Brendon Kozlowski)</author>
    <content:encoded>
    So, I was learning a scripting language awhile back to help automate and secure some things with our public computers.  The scripting language is for use with an application called &quot;&lt;a href=&quot;http://www.autoitscript.com/&quot;&gt;AutoIT&lt;/a&gt;&quot;, which is, well, both a compiler and run-time for the scripts themselves.&lt;br /&gt;
&lt;br /&gt;
I needed to detect if an application window was present on the screen, and if it was, take appropriate action.  So, looking at the following code documentation:&lt;br /&gt;
&lt;blockquote&gt;WinExists&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
Checks to see if a specified window exists.&lt;br /&gt;
&lt;strong&gt;WinExists ( &quot;title&quot; [, &quot;text&quot;] )&lt;/strong&gt;&lt;/blockquote&gt;&lt;br /&gt;
I wanted to make sure that things were working as they should, so my test for this was as follows:&lt;br /&gt;
&lt;textarea name=&quot;code&quot; class=&quot;VB&quot;&gt;If 0 == WinExists(&quot;Please login.&quot;) Then
	MsgBox(4096, &quot;Shutdown&quot;, &quot;LOGIN FOUND! WinExists 1.&quot;);
Else
	MsgBox(4096, &quot;No Login&quot;, &quot;No login found: WinExists 1.&quot;);
EndIf&lt;/textarea&gt;&lt;br /&gt;
&lt;br /&gt;
The problem, which I was unaware of, is that I apparently can&#039;t make the test (value) comparison in the manner that I did.  The proper way to use this method was as follows:&lt;br /&gt;
&lt;textarea name=&quot;code&quot; class=&quot;VB&quot;&gt;If WinExists(&quot;Please login.&quot;) Then
; ...or... 
If Not WinExists(&quot;Please login.&quot;) Then&lt;/textarea&gt;&lt;br /&gt;
&lt;br /&gt;
What a bummer. 
    </content:encoded>

    <pubDate>Wed, 03 Dec 2008 16:30:16 -0500</pubDate>
    <guid isPermaLink="false">http://life.mysiteonline.org/archives/156-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/1.0/</creativeCommons:license>
</item>
<item>
    <title>VBA (Excel 2007) Hide empty columns</title>
    <link>http://life.mysiteonline.org/archives/148-VBA-Excel-2007-Hide-empty-columns.html</link>
            <category>Programming</category>
    
    <comments>http://life.mysiteonline.org/archives/148-VBA-Excel-2007-Hide-empty-columns.html#comments</comments>
    <wfw:comment>http://life.mysiteonline.org/wfwcomment.php?cid=148</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://life.mysiteonline.org/rss.php?version=2.0&amp;type=comments&amp;cid=148</wfw:commentRss>
    

    <author>nospam@example.com (Brendon Kozlowski)</author>
    <content:encoded>
    An online friend asked me for some help in hiding all empty columns for every sheet within an Excel workbook.  I figured I&#039;d share the code:&lt;br /&gt;
&lt;br /&gt;
(&lt;a href=&quot;http://pastebin.com/f56f8374a&quot;&gt;also on pastebin&lt;/a&gt;)&lt;br /&gt;
&lt;textarea name=&quot;code&quot; class=&quot;vb&quot;&gt;Sub HideEmptyCols()
    &#039; Deletes all empty columns on the active worksheet
    Dim iCol As Integer
    Dim wsSheet As Worksheet
 
    For Each wsSheet In Worksheets
        wsSheet.Select
        With wsSheet.UsedRange
            For iCol = .Column + .Columns.Count - 1 To 1 Step -1
                If IsEmpty(Cells(65536, iCol)) And IsEmpty(Cells(1, iCol)) Then
                    If Cells(65536, iCol).End(xlUp).Row = 1 Then Columns(iCol).Hidden = True
                End If
            Next iCol
        End With
    Next wsSheet
End Sub&lt;/textarea&gt;&lt;br /&gt;
&lt;br /&gt;
Perhaps someone else will find it useful for some odd reason. 
    </content:encoded>

    <pubDate>Wed, 08 Oct 2008 12:42:16 -0400</pubDate>
    <guid isPermaLink="false">http://life.mysiteonline.org/archives/148-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/1.0/</creativeCommons:license>
</item>
<item>
    <title>I18n and L10n in PHP</title>
    <link>http://life.mysiteonline.org/archives/142-I18n-and-L10n-in-PHP.html</link>
            <category>PHP</category>
    
    <comments>http://life.mysiteonline.org/archives/142-I18n-and-L10n-in-PHP.html#comments</comments>
    <wfw:comment>http://life.mysiteonline.org/wfwcomment.php?cid=142</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://life.mysiteonline.org/rss.php?version=2.0&amp;type=comments&amp;cid=142</wfw:commentRss>
    

    <author>nospam@example.com (Brendon Kozlowski)</author>
    <content:encoded>
    There was recently a nice posting from PHPDeveloper.org linking to an article by Florian Eibeck, where on his blog he discusses some solutions to these extremely fun situations.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://blog.thinkphp.de/archives/342-Multilingual-Websites-with-PHP.html&quot;&gt;http://blog.thinkphp.de/archives/342-Multilingual-Websites-with-PHP.html&lt;/a&gt; 
    </content:encoded>

    <pubDate>Tue, 15 Jul 2008 13:29:06 -0400</pubDate>
    <guid isPermaLink="false">http://life.mysiteonline.org/archives/142-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/1.0/</creativeCommons:license>
</item>
<item>
    <title>CakePHP Auth Component</title>
    <link>http://life.mysiteonline.org/archives/140-CakePHP-Auth-Component.html</link>
            <category>PHP</category>
    
    <comments>http://life.mysiteonline.org/archives/140-CakePHP-Auth-Component.html#comments</comments>
    <wfw:comment>http://life.mysiteonline.org/wfwcomment.php?cid=140</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://life.mysiteonline.org/rss.php?version=2.0&amp;type=comments&amp;cid=140</wfw:commentRss>
    

    <author>nospam@example.com (Brendon Kozlowski)</author>
    <content:encoded>
    Disclaimer: These are primarily notes for myself as I get accustomed to CakePHP&#039;s (v1.2) authentication and ACL.  I&#039;ve been building a website and wanted to finally make use of CakePHP before I start using it for the library&#039;s CMS.  A CMS is a large undertaking and I don&#039;t want to go into it &quot;cold-turkey&quot;, so I came up with some side-project to help me understand the framework a bit better.  All in all, it truly is an &lt;em&gt;extremely&lt;/em&gt; rapid development tool.&lt;br /&gt;
&lt;br /&gt;
I decided not to go with ExpressionEngine or Drupal simply because I&#039;d still have to take time to learn those systems and make modules or extensions within those languages - and there&#039;s no guarantee I&#039;d be able to do what I&#039;d need to do with them.  If I build it myself, it would take just about the same amount of time with Cake.  Anyway, to continue... &lt;br /&gt;&lt;a href=&quot;http://life.mysiteonline.org/archives/140-CakePHP-Auth-Component.html#extended&quot;&gt;Continue reading &quot;CakePHP Auth Component&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Fri, 09 May 2008 11:21:02 -0400</pubDate>
    <guid isPermaLink="false">http://life.mysiteonline.org/archives/140-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/1.0/</creativeCommons:license>
</item>
<item>
    <title>Adobe AIR</title>
    <link>http://life.mysiteonline.org/archives/136-Adobe-AIR.html</link>
            <category>Programming</category>
    
    <comments>http://life.mysiteonline.org/archives/136-Adobe-AIR.html#comments</comments>
    <wfw:comment>http://life.mysiteonline.org/wfwcomment.php?cid=136</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://life.mysiteonline.org/rss.php?version=2.0&amp;type=comments&amp;cid=136</wfw:commentRss>
    

    <author>nospam@example.com (Brendon Kozlowski)</author>
    <content:encoded>
    Those of you looking towards &quot;widgets&quot; and cross-platform application development, but are primarily web developers with some background (or none) of programming with a desktop application, perhaps you should take a look at Adobe AIR (formerly known as Apollo).  It allows you to create rich, cross-platform applications using just &lt;strong&gt;HTML, CSS, and JavaScript&lt;/strong&gt;!  ...and, technically, I suppose you could leave out the CSS and JS part of that and it would still run...but what&#039;s the fun in that?  It can be integrated into a Flash application, or a Flex application - but it &lt;strong&gt;does not have to be&lt;/strong&gt;.&lt;br /&gt;
&lt;br /&gt;
If you&#039;re seemingly interested in the technology, I went through and found some interesting links on the subject (read: tutorials) that will hopefully help to get you (me) started.  Okay...so I did it because I&#039;m interested and this blog can serve as an access point for me rather than using my Bookmarks as a temporary storage medium.  Whatever.  &lt;img src=&quot;http://life.mysiteonline.org/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;  I was looking for &lt;strong&gt;simple&lt;/strong&gt; tutorials, so I ignored anything with an &quot;adobe.com&quot; or &quot;ibm.com&quot; (developer works) domain, so if you&#039;d like more when you dive head first, you might want to look to &lt;em&gt;those&lt;/em&gt; resources instead of the ones I&#039;ve provided below.&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href=&quot;http://www.petefreitag.com/item/667.cfm&quot;&gt;Pete Freitag&lt;/a&gt; - newest one (by published date) that I could find&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.adobe.com/products/air/&quot;&gt;NOT A TUTORIAL - Get the AIR SDK here&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://24ways.org/2007/christmas-is-in-the-air&quot;&gt;Jonothan Snook on 2007&#039;s 24 Ways: Christmas is in the AIR&lt;/a&gt; - a simple to-do list tutorial&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://dev.aol.com/blog/bricemason/adobe-air-series-introduction&quot;&gt;AOL Developer Network - Part 1 of a Series&lt;/a&gt; - Simple &quot;Hello World&quot; type page with a self-signed certificate&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://snook.ca/archives/adobe_air/snoto_photo/&quot;&gt;Jonathan Snook (again) releases Snoto Foto source code to help you learn!&lt;/a&gt; - No tutorial, but I&#039;d imagine it&#039;s commented well&lt;/li&gt;
&lt;/ol&gt;&lt;br /&gt;
Enjoy!  I hope I will!&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Update: Make sure you&#039;ve updated to the latest Sun Java JRE package or you &lt;em&gt;might&lt;/em&gt; get some really, really odd and weird &lt;em&gt;undocumented&lt;/em&gt; errors when trying to compile!&lt;/strong&gt; 
    </content:encoded>

    <pubDate>Tue, 18 Mar 2008 20:03:18 -0400</pubDate>
    <guid isPermaLink="false">http://life.mysiteonline.org/archives/136-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/1.0/</creativeCommons:license>
</item>
<item>
    <title>SimpleXML and Reading CDATA Tags</title>
    <link>http://life.mysiteonline.org/archives/129-SimpleXML-and-Reading-CDATA-Tags.html</link>
            <category>Programming</category>
    
    <comments>http://life.mysiteonline.org/archives/129-SimpleXML-and-Reading-CDATA-Tags.html#comments</comments>
    <wfw:comment>http://life.mysiteonline.org/wfwcomment.php?cid=129</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://life.mysiteonline.org/rss.php?version=2.0&amp;type=comments&amp;cid=129</wfw:commentRss>
    

    <author>nospam@example.com (Brendon Kozlowski)</author>
    <content:encoded>
    While using PHP5, almost everyone knows that SimpleXML is the easiest class to utilize when absorbing data from an XML source (be it XML, Atom, RSS, etc...).  But, there are instances where things aren&#039;t as smooth as one would hope.  I was reading in some RSS feeds from WeatherBug the other day, and was all fine and dandy, until I came to an annoying little snippet of code within the feed.&lt;br /&gt;
&lt;textarea name=&quot;code&quot; class=&quot;xml&quot;&gt;&lt;![CDATA[ &lt;description&gt;&lt;img src=&quot;http://deskwx.weatherbug.com/images/Forecast/icons/cond077.gif&quot; align=&quot;left&quot; hspace=&quot;7&quot; vspace=&quot;2&quot; alt=&quot;&quot;  /&gt; Winter storm watch in effect from
late Thursday night through Friday evening. &lt;br /&gt;&lt;a href=&quot;
http://web.live.weatherbug.com/forecast/forecast.aspx?zcode=z4641&amp;amp;zip=12866&amp;amp;units=0&quot;&gt;
7 Day Forecast&lt;/a&gt; &lt;br /&gt;&lt;/description&gt; ]]&gt;&lt;/textarea&gt;&lt;br /&gt;
&lt;br /&gt;
When I got to that data, SimpleXML couldn&#039;t retrieve it.  When I did a dump of the entire feed, SimpleXML expressed the &lt;strong&gt;description&lt;/strong&gt; tags as being empty.  Ok...so how the heck can we get at it?&lt;br /&gt;
&lt;br /&gt;
It&#039;s much simpler than one would expect.  You forcibly convert the value of that field to a string.  That&#039;s it.&lt;br /&gt;
&lt;textarea name=&quot;code&quot; class=&quot;php&quot;&gt;$desc = (string) trim($feed-&gt;channel-&gt;item[0]-&gt;description);&lt;/textarea&gt;&lt;br /&gt;
&lt;br /&gt;
The annoyingly difficult thing about this, is that I knew I wouldn&#039;t be able to figure it out on my own, and the PHP docs didn&#039;t help with that one.  I went to Google, and that took a few tricky searches to find what I needed too!&lt;br /&gt;
&lt;br /&gt;
Source: &lt;a href=&quot;http://blog.stuartherbert.com/php/2007/01/07/using-simplexml-to-parse-rss-feeds/&quot;&gt;Using SimpleXML to Parse RSS Feeds&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Tip: That link also shows how to traverse different namespaces, just in case your RSS or XML sources use namespaces, which the last time that happened I used a DOMDocument object, which was a little more work than necessary.  I wish I knew this back then! 
    </content:encoded>

    <pubDate>Wed, 30 Jan 2008 21:41:38 -0500</pubDate>
    <guid isPermaLink="false">http://life.mysiteonline.org/archives/129-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/1.0/</creativeCommons:license>
</item>
<item>
    <title>Google's New API: Google Chart</title>
    <link>http://life.mysiteonline.org/archives/123-Googles-New-API-Google-Chart.html</link>
            <category>Programming</category>
    
    <comments>http://life.mysiteonline.org/archives/123-Googles-New-API-Google-Chart.html#comments</comments>
    <wfw:comment>http://life.mysiteonline.org/wfwcomment.php?cid=123</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://life.mysiteonline.org/rss.php?version=2.0&amp;type=comments&amp;cid=123</wfw:commentRss>
    

    <author>nospam@example.com (Brendon Kozlowski)</author>
    <content:encoded>
    Google Labs has not given up on their little endeavors, and one of the recent additions to the host of services is the Chart API.  By using a series of GET variables in a web request, one can have a dynamically generated chart returned for them.  The following chart is the &quot;Hello World&quot; example they give using the following code:&lt;br /&gt;
&lt;textarea name=&quot;code&quot; class=&quot;html&quot;&gt;&lt;img src=&quot;http://chart.apis.google.com/chart?cht=p3&amp;chd=s:hW&amp;chs=250x100&amp;chl=Hello|World&quot; 
alt=&quot;hello world chart&quot; /&gt;&lt;/textarea&gt;&lt;br /&gt;
&lt;img src=&quot;http://chart.apis.google.com/chart?cht=p3&amp;chd=s:hW&amp;chs=250x100&amp;chl=Hello|World&quot; alt=&quot;Hello World Chart&quot; /&gt;&lt;br /&gt;
 &lt;br /&gt;&lt;a href=&quot;http://life.mysiteonline.org/archives/123-Googles-New-API-Google-Chart.html#extended&quot;&gt;Continue reading &quot;Google&#039;s New API: Google Chart&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 03 Jan 2008 15:28:48 -0500</pubDate>
    <guid isPermaLink="false">http://life.mysiteonline.org/archives/123-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/1.0/</creativeCommons:license>
</item>
<item>
    <title>Extending the Wordpress Visual Editor</title>
    <link>http://life.mysiteonline.org/archives/96-Extending-the-Wordpress-Visual-Editor.html</link>
            <category>PHP</category>
    
    <comments>http://life.mysiteonline.org/archives/96-Extending-the-Wordpress-Visual-Editor.html#comments</comments>
    <wfw:comment>http://life.mysiteonline.org/wfwcomment.php?cid=96</wfw:comment>

    <slash:comments>7</slash:comments>
    <wfw:commentRss>http://life.mysiteonline.org/rss.php?version=2.0&amp;type=comments&amp;cid=96</wfw:commentRss>
    

    <author>nospam@example.com (Brendon Kozlowski)</author>
    <content:encoded>
    Although I personally detest Wordpress, it does have its uses and the user-interface is well-constructed, making it much easier for non-technical users to use it.  Regardless, when it doesn&#039;t do &lt;em&gt;quite&lt;/em&gt; what you want it to do, extending it can sometimes be really easy (due to the massive number of plugins), or extremely difficult.  Most of the time, in my case (recently), it&#039;s the latter and not the former.&lt;br /&gt;
&lt;br /&gt;
I was recently given the task to import an unmodified XML dataset into a web-based tool as tabular data, HTML&#039;ified, and allow for visual editing of the information, and they wanted to use Wordpress.  I thought, &quot;Okay, that should be easy enough.&quot;  Well, okay, do I create a plugin to handle the import?  I don&#039;t really want to learn Wordpress hooks and programming functionality considering I hate the thing...no, I&#039;ll just import it directly into the database.  I used a diff tool to discover that creating a new draft entry only modifies three database tables anyway, that&#039;s easy enough.  Got that working, 1-2-3, lickity-split!&lt;br /&gt;
&lt;br /&gt;
But now, we need to let staff have access to modify the tabular data. &lt;br /&gt;&lt;a href=&quot;http://life.mysiteonline.org/archives/96-Extending-the-Wordpress-Visual-Editor.html#extended&quot;&gt;Continue reading &quot;Extending the Wordpress Visual Editor&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Fri, 15 Jun 2007 17:06:49 -0400</pubDate>
    <guid isPermaLink="false">http://life.mysiteonline.org/archives/96-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/1.0/</creativeCommons:license>
</item>
<item>
    <title>The Next Best Language: LOLCODE!!1</title>
    <link>http://life.mysiteonline.org/archives/94-The-Next-Best-Language-LOLCODE!!1.html</link>
            <category>Programming</category>
    
    <comments>http://life.mysiteonline.org/archives/94-The-Next-Best-Language-LOLCODE!!1.html#comments</comments>
    <wfw:comment>http://life.mysiteonline.org/wfwcomment.php?cid=94</wfw:comment>

    <slash:comments>4</slash:comments>
    <wfw:commentRss>http://life.mysiteonline.org/rss.php?version=2.0&amp;type=comments&amp;cid=94</wfw:commentRss>
    

    <author>nospam@example.com (Brendon Kozlowski)</author>
    <content:encoded>
    I&#039;m amazed, stunned, and laughingly surprised that programmers have taken it amongst themselves to come up with a new language based on what we like to refer to as &quot;1334&quot; speak.  Granted, this isn&#039;t quite &quot;leet&quot; speak, but more like an amalgamation of statements poking fun at current illiterate IM conversationalists.  You have to check this out to believe it.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://lolcode.com/&quot;&gt;LOLCODE.com&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
If nothing else, the CafePress store should be cool.  &lt;img src=&quot;http://life.mysiteonline.org/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; 
    </content:encoded>

    <pubDate>Wed, 06 Jun 2007 20:15:37 -0400</pubDate>
    <guid isPermaLink="false">http://life.mysiteonline.org/archives/94-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/1.0/</creativeCommons:license>
</item>
<item>
    <title>Serendipity dp.SyntaxHighlighter Plugin Available</title>
    <link>http://life.mysiteonline.org/archives/92-Serendipity-dp.SyntaxHighlighter-Plugin-Available.html</link>
            <category>Programming</category>
    
    <comments>http://life.mysiteonline.org/archives/92-Serendipity-dp.SyntaxHighlighter-Plugin-Available.html#comments</comments>
    <wfw:comment>http://life.mysiteonline.org/wfwcomment.php?cid=92</wfw:comment>

    <slash:comments>4</slash:comments>
    <wfw:commentRss>http://life.mysiteonline.org/rss.php?version=2.0&amp;type=comments&amp;cid=92</wfw:commentRss>
    

    <author>nospam@example.com (Brendon Kozlowski)</author>
    <content:encoded>
    For information on exactly what dp.SyntaxHighlighter is, please see it&#039;s &lt;a href=&quot;http://code.google.com/p/syntaxhighlighter/&quot;&gt;code-site on Google Code&lt;/a&gt;.  Due to theme compatibility I&#039;ve had to make some moderate changes to the original CSS of the SyntaxHighlighter package (for better, not for worse), there are no actual visual differences from the examples given in the original package (well, there shouldn&#039;t be anyhow, that&#039;s what my modifications were for, but this is a first release / test version).&lt;br /&gt;
&lt;br /&gt;
I&#039;ve always preferred the markup that the &lt;a href=&quot;http://code.google.com/p/syntaxhighlighter/&quot;&gt;SyntaxHighlighter&lt;/a&gt; script from &lt;a href=&quot;http://www.dreamprojections.com/&quot;&gt;Dream Projections&lt;/a&gt; (now hosted on Google Code) created over GeSHi&#039;s output.  Although when using GeSHi the code itself is made &quot;pretty&quot;, it&#039;s not a necessity, so I feel that the use of JavaScript and CSS would be better served for this purpose than using server-side techniques as GeSHi does.  This is where dp.SyntaxHighlighter comes to the rescue, and it handles it wonderfully!&lt;br /&gt;
&lt;br /&gt;
What would the output look like using this script/plugin?&lt;br /&gt;
Example without JavaScript enabled:&lt;br /&gt;
Using a PRE tag:&lt;pre&gt;&amp;lt;?php
    //the infamous Hello World
    echo &quot;Hello World!&quot;;
?&amp;gt;&lt;/pre&gt;&lt;br /&gt;
Using a TEXTAREA tag:&lt;textarea cols=&quot;60&quot; rows=&quot;6&quot;&gt;&lt;?php
    //the infamous Hello World
    echo &quot;Hello World!&quot;;
?&gt;&lt;/textarea&gt;&lt;br /&gt;
&lt;br /&gt;
With JavaScript/plugin enabled (either PRE or TEXTAREA):&lt;br /&gt;
&lt;textarea name=&quot;code&quot; class=&quot;php&quot;&gt;&lt;?php
    //the infamous Hello World
    echo &quot;Hello World!&quot;;
?&gt;&lt;/textarea&gt;&lt;br /&gt;
&lt;br /&gt;
You&#039;ll have to read on to see supported languages and usage information. &lt;br /&gt;&lt;a href=&quot;http://life.mysiteonline.org/archives/92-Serendipity-dp.SyntaxHighlighter-Plugin-Available.html#extended&quot;&gt;Continue reading &quot;Serendipity dp.SyntaxHighlighter Plugin Available&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Mon, 28 May 2007 16:08:20 -0400</pubDate>
    <guid isPermaLink="false">http://life.mysiteonline.org/archives/92-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/1.0/</creativeCommons:license>
</item>
<item>
    <title>php|tek</title>
    <link>http://life.mysiteonline.org/archives/87-phptek.html</link>
            <category>PHP</category>
    
    <comments>http://life.mysiteonline.org/archives/87-phptek.html#comments</comments>
    <wfw:comment>http://life.mysiteonline.org/wfwcomment.php?cid=87</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://life.mysiteonline.org/rss.php?version=2.0&amp;type=comments&amp;cid=87</wfw:commentRss>
    

    <author>nospam@example.com (Brendon Kozlowski)</author>
    <content:encoded>
    I sent in a support ticket to php|arch a short while ago inquiring about something related to my purchases, and was expecting someone from sales to get back to me, instead it seems that anything regarding the specific question I had is sent to the person in charge of the training, unnecessarily so in my opinion, but still...  Regardless, I got an email back from the trainer, Paul Reinheimer (aka, the really cool PHP guy), telling me how he&#039;s currently at php|tek, apologized for the slow response (due to the &lt;a href=&quot;http://hades.phparch.com/ceres/public/tek/&quot;&gt;php|tek&lt;/a&gt; conference, sponsored by php|architect, and php|arch being pretty low on in-office staffers)...he also said I should be there.&lt;br /&gt;
&lt;br /&gt;
I somewhat agree, even if I did have presentations and meetings of my own to attend which were pretty important.  Alas, I&#039;m now jealous.  There are always blogs buzzing over how great the conference was by other PHP developers once it&#039;s over.  Dancing, eating, prizes, drinking, socializing, networking, brainstorming, and all around geekiness (save the best for last).  The trials and tribulations of being &quot;broke&quot; and just starting out in a professional career.  Oh well, I do what I love, and love what I do, so I&#039;m still rich.  I can at least read about all the cool stuff going on!  &lt;img src=&quot;http://life.mysiteonline.org/templates/default/img/emoticons/laugh.png&quot; alt=&quot;:-D&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; 
    </content:encoded>

    <pubDate>Fri, 18 May 2007 20:28:25 -0400</pubDate>
    <guid isPermaLink="false">http://life.mysiteonline.org/archives/87-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/1.0/</creativeCommons:license>
</item>
<item>
    <title>I had 5 minutes, and CakePHP.</title>
    <link>http://life.mysiteonline.org/archives/72-I-had-5-minutes,-and-CakePHP..html</link>
            <category>PHP</category>
    
    <comments>http://life.mysiteonline.org/archives/72-I-had-5-minutes,-and-CakePHP..html#comments</comments>
    <wfw:comment>http://life.mysiteonline.org/wfwcomment.php?cid=72</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://life.mysiteonline.org/rss.php?version=2.0&amp;type=comments&amp;cid=72</wfw:commentRss>
    

    <author>nospam@example.com (Brendon Kozlowski)</author>
    <content:encoded>
    I had five minutes to do something before I decided that I wanted to watch a movie...I&#039;m now putting that off simply to report back on what I got out of my time.&lt;br /&gt;
&lt;br /&gt;
For the background information...I just discovered that the person traditionally in charge of handling my high school&#039;s class reunions, is out of the country and could probably care less over handling everything...so we need something up quick and dirty. &lt;br /&gt;&lt;a href=&quot;http://life.mysiteonline.org/archives/72-I-had-5-minutes,-and-CakePHP..html#extended&quot;&gt;Continue reading &quot;I had 5 minutes, and CakePHP.&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sun, 01 Apr 2007 20:40:46 -0400</pubDate>
    <guid isPermaLink="false">http://life.mysiteonline.org/archives/72-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/1.0/</creativeCommons:license>
</item>
<item>
    <title>Reflections with GD in PHP</title>
    <link>http://life.mysiteonline.org/archives/65-Reflections-with-GD-in-PHP.html</link>
            <category>PHP</category>
    
    <comments>http://life.mysiteonline.org/archives/65-Reflections-with-GD-in-PHP.html#comments</comments>
    <wfw:comment>http://life.mysiteonline.org/wfwcomment.php?cid=65</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://life.mysiteonline.org/rss.php?version=2.0&amp;type=comments&amp;cid=65</wfw:commentRss>
    

    <author>nospam@example.com (Brendon Kozlowski)</author>
    <content:encoded>
    There are a ton of image libraries out there that do similar things, but if you simply need something to &lt;em&gt;only&lt;/em&gt; do image reflections with a small amount of extra features, Richard Davey&#039;s &lt;a href=&quot;http://reflection.corephp.co.uk/&quot;&gt;Easy Reflections&lt;/a&gt; fits the bill!  If you think you might need it, or simply want to read over other portions of &lt;a href=&quot;http://www.corephp.co.uk&quot;&gt;his blog&lt;/a&gt;, take a gander!  He may not post often, but when he does, the content is usually an interesting read.&lt;br /&gt;
&lt;br /&gt;
Update: I had the wrong URL to Richard&#039;s tool.  I&#039;ve just fixed that.  (Thanks for pointing that out, Richard!) 
    </content:encoded>

    <pubDate>Thu, 15 Mar 2007 10:17:14 -0400</pubDate>
    <guid isPermaLink="false">http://life.mysiteonline.org/archives/65-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/1.0/</creativeCommons:license>
</item>
<item>
    <title>Unidentified PHP Bug</title>
    <link>http://life.mysiteonline.org/archives/62-Unidentified-PHP-Bug.html</link>
            <category>PHP</category>
    
    <comments>http://life.mysiteonline.org/archives/62-Unidentified-PHP-Bug.html#comments</comments>
    <wfw:comment>http://life.mysiteonline.org/wfwcomment.php?cid=62</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://life.mysiteonline.org/rss.php?version=2.0&amp;type=comments&amp;cid=62</wfw:commentRss>
    

    <author>nospam@example.com (Brendon Kozlowski)</author>
    <content:encoded>
    Bug is known to be small, hides in corners and although is present everywhere, only makes itself known in odd circumstances.  It flitters about in the air just above you where you don&#039;t expect it during those circumstances.  At other times, it snuggles up in a corner, but is always present, waiting for the right opportunity.  Considered to be armed and dangerous, as well as mischievous.&lt;br /&gt;
&lt;br /&gt;
For the past year or so, I&#039;ve been either trying to figure out what&#039;s wrong with a script I wrote, or whether or not I should rewrite it from scratch, or if possible, how to save the thing with odd workarounds.  I thought, &quot;there&#039;s got to be something wrong with my code&quot;.  Every day after looking at it for hour after hour, not able to figure out what the cause of the problem was, I would think, &quot;There&#039;s got to be some sort of bug in PHP!!!&quot;...but when I&#039;d think that, I&#039;d try to do a search to find any other people who&#039;ve had similar circumstances.&lt;br /&gt;
&lt;br /&gt;
Well, poor coding practice (non-cached dynamic image) alongside some tricky $_SESSION management (and requirements) caused for some odd behavior.  Session data was getting dropped on certain pages for no good reason.  It worked fine up until a certain page and/or point.  I&#039;m not entirely sure what the error is caused by, but I do know that removing the dynamically created image stops the error and the session information continues to behave as would and should be expected.  If anyone&#039;s interested in tackling the identification of this bug, I&#039;d absolutely &lt;em&gt;&lt;strong&gt;love&lt;/strong&gt;&lt;/em&gt; some help, expert or otherwise.  Unfortunately, as of right now, I&#039;d have to share full code disclosure as I can&#039;t identify any smaller problem code than the full application with those certain settings turned on or off (as I &lt;em&gt;just&lt;/em&gt; found the error); so I&#039;ve really no idea what combination of code is required to recreate this error.  I also do not have any debugging software strong enough to show what the stack trace/dump would look like during execution of the problem page.&lt;br /&gt;
&lt;br /&gt;
...but man...  1+ year of being annoyed by this thing.  For a &lt;strong&gt;long&lt;/strong&gt; time, I thought it was the server configuration.  I was damned sure of it.  My test-bed development machine never rendered the dynamic image.  &lt;img src=&quot;http://life.mysiteonline.org/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; 
    </content:encoded>

    <pubDate>Mon, 26 Feb 2007 21:56:11 -0500</pubDate>
    <guid isPermaLink="false">http://life.mysiteonline.org/archives/62-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/1.0/</creativeCommons:license>
</item>
<item>
    <title>CakePHP Manual</title>
    <link>http://life.mysiteonline.org/archives/55-CakePHP-Manual.html</link>
            <category>PHP</category>
    
    <comments>http://life.mysiteonline.org/archives/55-CakePHP-Manual.html#comments</comments>
    <wfw:comment>http://life.mysiteonline.org/wfwcomment.php?cid=55</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://life.mysiteonline.org/rss.php?version=2.0&amp;type=comments&amp;cid=55</wfw:commentRss>
    

    <author>nospam@example.com (Brendon Kozlowski)</author>
    <content:encoded>
    So I started reading the CakePHP manual (after cheating and going through the example blog creation code, which is part of the manual).  I&#039;m learning it&#039;s much more powerful than I had originally thought.  Like I said, I &lt;em&gt;started&lt;/em&gt; reading the manual...then I realized just how long it was.&lt;br /&gt;
&lt;br /&gt;
I&#039;m now printing it out.  It&#039;s used up about 1/3 of a ream of paper...and this printer has a duplexer, so it&#039;s printing on the front and back of the pages.  The only complaint I have is that originally, the manual had chapter numbers, now the chapter sections use names only...unfortunately, the manual references chapters and chapter sections by the numerical association in some places.  I&#039;d also like a single PDF version of the whole thing (and that&#039;s saying a lot considering my hatred for PDFs).  Otherwise, the manual&#039;s written very well, and in an informal writing style.  Very easy to read.  Even though it says you won&#039;t need a knowledge of MVC - not having a short background education in it might get you pretty confused.&lt;br /&gt;
&lt;br /&gt;
Either way, it&#039;s my suggested reading for those of you looking for a framework.  If you don&#039;t decide on CakePHP, it might help you understand how the other frameworks (could possibly) work. 
    </content:encoded>

    <pubDate>Sat, 03 Feb 2007 14:08:22 -0500</pubDate>
    <guid isPermaLink="false">http://life.mysiteonline.org/archives/55-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/1.0/</creativeCommons:license>
</item>

</channel>
</rss>