<?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>stylus</title> <atom:link href="http://www.stylus.co.za/feed/" rel="self" type="application/rss+xml" /><link>http://www.stylus.co.za</link> <description>productivity through technology</description> <lastBuildDate>Wed, 02 May 2012 14:44:06 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>WordpPress WP-Cache</title><link>http://www.stylus.co.za/wordppress-wp-cache/</link> <comments>http://www.stylus.co.za/wordppress-wp-cache/#comments</comments> <pubDate>Wed, 02 May 2012 14:42:54 +0000</pubDate> <dc:creator>Fox</dc:creator> <category><![CDATA[WordPress]]></category><guid
isPermaLink="false">http://www.stylus.co.za/blog/?p=45</guid> <description><![CDATA[My colleague Shaun pointed me in the direction of this article dealing with CPU usage and [...]]]></description> <content:encoded><![CDATA[<blockquote><p>My colleague Shaun pointed me in the direction of this article dealing with CPU usage and WordPress.</p></blockquote><p><a
title="link to article" href="http://www.codinghorror.com/blog/archives/001105.html" target="_blank">http://www.codinghorror.com/blog/archives/001105.html</a></p><p><a
title="link to WP-Cache site" href="http://mnm.uib.es/gallir/wp-cache-2/" target="_blank">http://mnm.uib.es/gallir/wp-cache-2/</a></p> ]]></content:encoded> <wfw:commentRss>http://www.stylus.co.za/wordppress-wp-cache/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Free email server</title><link>http://www.stylus.co.za/free-email-server/</link> <comments>http://www.stylus.co.za/free-email-server/#comments</comments> <pubDate>Wed, 02 May 2012 14:36:32 +0000</pubDate> <dc:creator>Fox</dc:creator> <category><![CDATA[software]]></category> <category><![CDATA[mail server]]></category> <category><![CDATA[open source]]></category><guid
isPermaLink="false">http://www.stylus.co.za/blog/?p=253</guid> <description><![CDATA[<p>After having set up my work machine as a Dev Box, I needed a mail server to test the email functionality of the applications I am working on.</p><p>My colleague pointed me in the direction of hMailServer</p><p>It was an absolute cinch to set-up.</p> ]]></description> <content:encoded><![CDATA[<blockquote><p>After having set up my work machine as a Dev Box, I needed a mail server to test the email functionality of the applications I am working on.</p></blockquote><p>My colleague pointed me in the direction of <a
title="link to hMailServer site" href="http://www.hmailserver.com/" target="_self">hMailServer</a></p><p>It was an absolute cinch to set-up.</p> ]]></content:encoded> <wfw:commentRss>http://www.stylus.co.za/free-email-server/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>A great post on improving the performance of your jQuery</title><link>http://www.stylus.co.za/a-great-post-on-improving-the-performance-of-your-jquery/</link> <comments>http://www.stylus.co.za/a-great-post-on-improving-the-performance-of-your-jquery/#comments</comments> <pubDate>Wed, 02 May 2012 14:30:16 +0000</pubDate> <dc:creator>Fox</dc:creator> <category><![CDATA[coding]]></category> <category><![CDATA[jQuery]]></category><guid
isPermaLink="false">http://www.stylus.co.za/?p=954</guid> <description><![CDATA["The unfortunate downside to jQuery is that while it makes it easy to write JavaScript, it makes it easy to write really really f*&#ing bad JavaScript. Scripts that slow down page load, unresponsive user interfaces, and spaghetti code knotted so deep that it should come with a bottle of whiskey for the next sucker developer that has to work on it." — Scott [...]]]></description> <content:encoded><![CDATA[<p><a
title="link to jQuery site" href="http://jquery.com/" target="_blank"><img
class="size-full wp-image-883 alignright" title="jQuery logo" src="http://www.stylus.co.za/wp-content/uploads/2009/04/jQuery_logo_color_onwhite.png" alt="jQuery logo" width="420" height="104" /></a></p><blockquote><p><em>The unfortunate downside to jQuery is that while it makes it easy to write JavaScript, it makes it easy to write really really f*&amp;#ing bad JavaScript. Scripts that slow down page load, unresponsive user interfaces, and spaghetti code knotted so deep that it should come with a bottle of whiskey for the next sucker developer that has to work on it.</em> — Scott Kosman</p></blockquote><p><a
title="link to post on 24 ways site" href="http://24ways.org/2011/your-jquery-now-with-less-suck" target="_blank">http://24ways.org/2011/your-jquery-now-with-less-suck</a></p> ]]></content:encoded> <wfw:commentRss>http://www.stylus.co.za/a-great-post-on-improving-the-performance-of-your-jquery/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Checking the value of a drop-down with Selenium</title><link>http://www.stylus.co.za/checking-the-value-of-a-drop-down-with-selenium/</link> <comments>http://www.stylus.co.za/checking-the-value-of-a-drop-down-with-selenium/#comments</comments> <pubDate>Tue, 24 Apr 2012 12:59:37 +0000</pubDate> <dc:creator>Fox</dc:creator> <category><![CDATA[Selenium]]></category><guid
isPermaLink="false">http://www.stylus.co.za/?p=923</guid> <description><![CDATA[Whilst doing some maintenance on some Selenium test cases I found some erroneous checks being made to ascertain the value of a drop-down [...]]]></description> <content:encoded><![CDATA[<blockquote><p>Whilst doing some maintenance on some Selenium test cases I found some erroneous checks being made to ascertain the value of a drop-down control.</p></blockquote><p>Where your control is something like this, where the two values are Boom and Kazaam, with Kazaam being the second value, and currently selected:</p> <select><option>Boom</option><option
selected="selected">Kazaam</option> </select><pre class="brush: html">&lt;select id="my_select_control"&gt;
&lt;option&gt;Boom&lt;/option&gt;
&lt;option selected="selected"&gt;Kazaam&lt;/option&gt;
&lt;/select&gt;</pre><p>The solution is as easy as:</p><pre class="brush: html">&lt;tr&gt;
&lt;td&gt;verifySelectedValue&lt;/td&gt;
&lt;td&gt;my_select_control&lt;/td&gt;
&lt;td&gt;Kazaam&lt;/td&gt;
&lt;/tr&gt;</pre>]]></content:encoded> <wfw:commentRss>http://www.stylus.co.za/checking-the-value-of-a-drop-down-with-selenium/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Selecting a button in Selenium IDE</title><link>http://www.stylus.co.za/selecting-a-button-in-selenium-ide/</link> <comments>http://www.stylus.co.za/selecting-a-button-in-selenium-ide/#comments</comments> <pubDate>Tue, 24 Apr 2012 12:53:11 +0000</pubDate> <dc:creator>Fox</dc:creator> <category><![CDATA[Selenium]]></category><guid
isPermaLink="false">http://www.stylus.co.za/?p=931</guid> <description><![CDATA[<p>I was recording a Selenium test case where I needed to record a click on a specific button on a page which had multiple buttons almost identical in code: normally this could be done quite easily through the use of the ID of the element — unfortunately our programmers had not been that kind! The only [...]]]></description> <content:encoded><![CDATA[<blockquote><p>I was recording a Selenium test case where I needed to record a click on a specific button on a page which had multiple buttons almost identical in code: normally this could be done quite easily through the use of the ID of the element — unfortunately our programmers had not been that kind! The only actual difference between the buttons was in the Javascript <code>onclick</code> event attached to the button.</p></blockquote><p>The solution is quite simple:</p><pre class="brush: html">&lt;tr&gt;
    &lt;td&gt;clickAndWait&lt;/td&gt;
    &lt;td&gt;//input[contains(@onclick,'part_of')]&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;</pre>]]></content:encoded> <wfw:commentRss>http://www.stylus.co.za/selecting-a-button-in-selenium-ide/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>WordpPress 3.3 upgrade a breeze</title><link>http://www.stylus.co.za/wordppress-3-3-upgrade-a-breeze/</link> <comments>http://www.stylus.co.za/wordppress-3-3-upgrade-a-breeze/#comments</comments> <pubDate>Thu, 15 Dec 2011 08:27:02 +0000</pubDate> <dc:creator>Fox</dc:creator> <category><![CDATA[WordPress]]></category><guid
isPermaLink="false">http://www.stylus.co.za/?p=959</guid> <description><![CDATA[Yep: WordPress 3.3 is available, and I upgraded my blogs with ease using the native update feature. I have not had too much opportunity to use the new version yet, but can report that the new Media Uploader sports drag-and-drop functionality, and is activated from one “Add Media” button, not separate Image and Video buttons. It's awesome, and you can drag multiple files into the loader at [...]]]></description> <content:encoded><![CDATA[<blockquote><p>Yep: WordPress 3.3 is available, and I upgraded my blogs with ease using the native update feature.</p></blockquote><p>Some updates were instantly available for some of the themes and plug-ins I have installed, and these ran with no hitches, too.</p><p>I have not had too much opportunity to use the new version yet, but can report that the new Media Uploader sports drag-and-drop functionality, and is activated from one “Add Media” button, not separate Image and Video buttons. It&#8217;s awesome, and you can drag multiple files into the loader at once.</p><div
id="attachment_961" class="wp-caption aligncenter" style="width: 739px"><img
class="size-full wp-image-961  " title="The new WordPress Media uploader, introduced in version 3.3" src="http://www.stylus.co.za/wp-content/uploads/2011/12/wordpress-new-media-uploader.png" alt="The new WordPress Media uploader, introduced in version 3.3" width="729" height="922" /><p
class="wp-caption-text">WordPress Media Uploader</p></div> ]]></content:encoded> <wfw:commentRss>http://www.stylus.co.za/wordppress-3-3-upgrade-a-breeze/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>.net Magazine: The top 25 books for web designers and developers</title><link>http://www.stylus.co.za/net-magazine-the-top-25-books-for-web-designers-and-developers/</link> <comments>http://www.stylus.co.za/net-magazine-the-top-25-books-for-web-designers-and-developers/#comments</comments> <pubDate>Tue, 13 Dec 2011 08:24:29 +0000</pubDate> <dc:creator>Fox</dc:creator> <category><![CDATA[books]]></category><guid
isPermaLink="false">http://www.stylus.co.za/?p=950</guid> <description><![CDATA[<p>.net Magazine recommends their top 25 books for webbies.</p><p>http://www.netmagazine.com/features/top-25-books-web-designers-and-developers</p> ]]></description> <content:encoded><![CDATA[<blockquote><p>.net Magazine recommends their top 25 books for webbies.</p></blockquote><p><a
href="http://www.netmagazine.com/features/top-25-books-web-designers-and-developers" target="_blank">http://www.netmagazine.com/features/top-25-books-web-designers-and-developers</a></p> ]]></content:encoded> <wfw:commentRss>http://www.stylus.co.za/net-magazine-the-top-25-books-for-web-designers-and-developers/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>WordPress: Increasing memory allocated to PHP</title><link>http://www.stylus.co.za/wordpress-increasing-memory-allocated-to-php/</link> <comments>http://www.stylus.co.za/wordpress-increasing-memory-allocated-to-php/#comments</comments> <pubDate>Thu, 25 Aug 2011 21:28:24 +0000</pubDate> <dc:creator>Fox</dc:creator> <category><![CDATA[how-to's]]></category> <category><![CDATA[error]]></category> <category><![CDATA[memory]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[WordPress]]></category><guid
isPermaLink="false">http://www.stylus.co.za/?p=656</guid> <description><![CDATA[<p>If on your WordPress Dashboard you are seeing an error something like this:</p><p>Fatal error: Allowed memory size…</p><p>try adding the following to the wp-config.php file in the root directory of your blog:</p> define('WP_MEMORY_LIMIT', '64M');
]]></description> <content:encoded><![CDATA[<p>If on your WordPress Dashboard you are seeing an error something like this:</p><p><code>Fatal error: Allowed memory size…</code></p><p>try adding the following to the <code>wp-config.php</code> file in the root directory of your blog:</p><pre class="brush: php">define('WP_MEMORY_LIMIT', '64M');</pre>]]></content:encoded> <wfw:commentRss>http://www.stylus.co.za/wordpress-increasing-memory-allocated-to-php/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>WordPress and the “Add to foursquare” button</title><link>http://www.stylus.co.za/wordpress-and-the-%e2%80%9cadd-to-foursquare%e2%80%9d-button/</link> <comments>http://www.stylus.co.za/wordpress-and-the-%e2%80%9cadd-to-foursquare%e2%80%9d-button/#comments</comments> <pubDate>Thu, 25 Aug 2011 17:55:08 +0000</pubDate> <dc:creator>Fox</dc:creator> <category><![CDATA[coding]]></category> <category><![CDATA[how-to's]]></category> <category><![CDATA[foursquare]]></category> <category><![CDATA[social media]]></category> <category><![CDATA[WordPress]]></category><guid
isPermaLink="false">http://www.stylus.co.za/?p=828</guid> <description><![CDATA[I have been enjoying playing with foursquare lately, and wanted to add the “Add to foursquare” button to my Cape-hike.co.za [...]]]></description> <content:encoded><![CDATA[<blockquote><p>I have been enjoying playing with <strong>foursquare</strong> lately, and wanted to add the “Add to <em><strong>foursquare</strong></em>” button to my <a
title="link to Cape-hike.co.za" href="www.cape-hike.co.za" target="_blank">Cape-hike.co.za</a> blog.</p></blockquote><p>I found this accurate, easy to follow post on <a
title="link to post on About foursquare" href="http://aboutfoursquare.com/how-to-make-wordpress-and-the-add-to-foursquare-button-play-nice-together/" target="_blank">about foursquare</a></p><p>Below is the result: a button which will add my workplace to your <em><strong>foursquare</strong></em> to-do list!<br
/> <iframe
style="width: 165px; height: 25px;" frameborder="0" height="240" scrolling="no" src="http://foursquare.com/button.html?vid=23189934&amp;color=dark" width="320"></iframe></p> ]]></content:encoded> <wfw:commentRss>http://www.stylus.co.za/wordpress-and-the-%e2%80%9cadd-to-foursquare%e2%80%9d-button/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>HTML label syntax</title><link>http://www.stylus.co.za/html-label-syntax/</link> <comments>http://www.stylus.co.za/html-label-syntax/#comments</comments> <pubDate>Sat, 12 Feb 2011 19:11:15 +0000</pubDate> <dc:creator>Fox</dc:creator> <category><![CDATA[coding]]></category> <category><![CDATA[HMTL]]></category><guid
isPermaLink="false">http://www.stylus.co.za/blog/?p=398</guid> <description><![CDATA[Semantically correct coding pays off in so many ways. Here we see some advantages of correctly coding label controls in conjunction with input [...]]]></description> <content:encoded><![CDATA[<blockquote><p>I have long been in the habit of using syntactically correct HTML when labeling form elements. That&#8217;s just how I roll.</p></blockquote><p>I think I picked the habit up when I was busy swatting up on accessibility stuff, and it stuck. Not only is it simply “the right thing to do”, but there are some additional advantages, too!</p><p>So:</p><pre class="brush: html">&lt;label for="myinput"&gt;Textbox:&lt;/label&gt;&lt;input id="myinput"  type="text" /&gt;
</pre><p>will give you:</p><p><label
for="”myinput”">Textbox:</label></p> <input
id="”myinput”" name="””" type="”text”" /><p>So check it out yourself…</p><p>Doing this correctly means that:</p><ul><li>clicking on the label of the control selects that control</li><li>if the control is a text input, and it contains content of any kind, the content will be selected</li></ul><p>Cool!</p> ]]></content:encoded> <wfw:commentRss>http://www.stylus.co.za/html-label-syntax/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)

Served from: www.stylus.co.za @ 2012-05-19 13:22:09 -->
