<?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>Digital Formula - Technical &#187; Software</title>
	<atom:link href="http://digitalformula.net/technical/category/software/feed/" rel="self" type="application/rss+xml" />
	<link>http://digitalformula.net/technical</link>
	<description>Chris Rasmussen · Photographer · Infrastructure Guy · Code Dabbler · Traveller</description>
	<lastBuildDate>Thu, 17 Jun 2010 00:36:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>What tools, software &amp; applications do I use?  v3.0</title>
		<link>http://digitalformula.net/technical/what-tools-software-applications-do-i-use-v3-0/</link>
		<comments>http://digitalformula.net/technical/what-tools-software-applications-do-i-use-v3-0/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 08:00:32 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Featured Articles]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Mac & OS X]]></category>
		<category><![CDATA[Opinion]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[operating system]]></category>
		<category><![CDATA[operating systems]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[programs]]></category>

		<guid isPermaLink="false">http://digitalformula.net/technical/?p=1218</guid>
		<description><![CDATA[This post is intended as a couple of things. Firstly, it&#8217;s the 2nd rewrite of a post I wrote a while ago that covered the same thing as this one covers but from when I was running Windows. I&#8217;ve actually had a couple of people ask me what tools I use for various tasks so [...]]]></description>
			<content:encoded><![CDATA[<p>This post is intended as a couple of things.  Firstly, it&#8217;s the 2nd rewrite of a post I wrote a while ago that covered the same thing as this one covers but from when I was running Windows.</p>
<p>I&#8217;ve actually had a couple of people ask me what tools I use for various tasks so I&#8217;m going to compile a list of the various applications I use &#8216;every day&#8217;.   That&#8217;s in quotes as obviously I don&#8217;t use all of these tools EVERY day but I consider them part of the list of tools I couldn&#8217;t do without.  I don&#8217;t use anything particularly special but I&#8217;ll make this list for those that&#8217;ve asked anyway.  Secondly, I keep meaning to make a list of tools I use for my own reference so it&#8217;ll double as that, too.</p>
<p>I&#8217;m not going to go into a whole load of detail about what the benefits of each one are &#8211; I&#8217;ll let you work that out for yourself if you want to try them (feel free to contact me if you want to discuss any of these though).  I will include a couple of things which aren&#8217;t strictly applications too, e.g. hosting services.  So, here we go &#8211; these details are correct as at June 15th, 2010.</p>
<p>Operating system :: OS X 10.6.4 (Snow Leopard) on 27&#8243; iMac.  I made the switch from Windows towards the end of 2009 and am wishing I&#8217;d done it years ago (strictly based on what I use my machines for).  Please keep comments about Mac vs PC to yourself as I&#8217;m not interested in comparing the two &#8211; they&#8217;re both great for different reasons.<br />
Office Suite :: Microsoft Office 2008 for Mac &#8230; unfortunately I have to say that compared to the Window version this really is quite crap.<br />
Email client :: Thunderbird 3<br />
App dev environment :: Xcode 3.2.1 when writing for OS X, Visual Studio Express (C#) when writing for Windows (Parallels Desktop)<br />
Web dev environment :: Coda by Panic<br />
FTP client :: Transmit by Panic<br />
MySQL administrator :: Navicat Lite<br />
Text editor :: TextEdit, built into OS X<br />
Primary browser :: Opera 10.53.8343<br />
Twitter client :: Nambu<br />
Password storage :: KeePassX &#8211; *highly* recommended on both OS X and Windows (the Windows version is called KeePass).<br />
iPod manager :: iTunes &#8211; on OS X it&#8217;s actually really good and seems 100x more stable than the Windows version.<br />
CD/DVD burner :: None, built into OS X<br />
Photo processing :: Adobe Photoshop Lightroom 3 &#8211; I used to use Capture One 4.8 from Phase One but it started to fall WAY behind Lightroom in terms of post-processing options &#8230; a real shame.<br />
Fitness management :: Rubitrack for Mac (my training device is a Garmin 310xt)<br />
Instant messaging :: Windows Live Messenger<br />
Movie player :: VLC (everyone should use this although it struggles with the TSCC codec unfortunately)<br />
Audio player :: iTunes<br />
Archiving utility :: Built into OS X</p>
<p>One thing you might notice is they&#8217;re pretty much all free tools with the exception of Lightroom, Rubitrack, Coda and Transmit, all of which I own licenses for (no they&#8217;re not pirated!).</p>
<p>Website host :: ICDSoft &#8211; these guys are AMAZING.  I wouldn&#8217;t use anyone else for Linux hosting.<br />
Email service :: Gmail<br />
Blogging engine :: WordPress 3 RC3 (final version due soon) and ExpressionEngine Core 1.6<br />
Online photo sharing :: Flickr (I own a &#8216;Pro&#8217; account)<br />
RSS feed management :: FeedBurner<br />
Website statistics :: Google Analytics<br />
Search engine :: Altavista &#8230; haha yeah right.  <img src='http://digitalformula.net/technical/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /><br />
Bookmarks :: Delicious &#8211; I stopped using browser-based bookmarks many years ago.  Ok, so bookmarks are considered a bit backward now but I&#8217;ve got stuff on Delicious that I refer back to all the time.</p>
<p>That&#8217;s about it really.  As I said earlier I&#8217;m happy to discuss any of these if you like &#8211; just post a comment or use the Contact Me link at the top of the page.</p>
<p>Thanks!</p>
]]></content:encoded>
			<wfw:commentRss>http://digitalformula.net/technical/what-tools-software-applications-do-i-use-v3-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Excel &#8211; Count coloured cells</title>
		<link>http://digitalformula.net/technical/microsoft-excel-count-coloured-cells/</link>
		<comments>http://digitalformula.net/technical/microsoft-excel-count-coloured-cells/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 01:09:25 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[delete row]]></category>
		<category><![CDATA[delete rows]]></category>
		<category><![CDATA[excel]]></category>
		<category><![CDATA[report]]></category>
		<category><![CDATA[reporting]]></category>
		<category><![CDATA[reports]]></category>
		<category><![CDATA[vba]]></category>

		<guid isPermaLink="false">http://digitalformula.net/?p=1158</guid>
		<description><![CDATA[Most companies have some sort of backup strategy in place and that strategy often involves documenting the success &#38; failure rate of the backups on a daily basis. For obvious reasons all the companies I&#8217;ve worked with in the past have documented this using a variation of the well-known &#8220;backup matrix&#8221;, created using Microsoft Excel. [...]]]></description>
			<content:encoded><![CDATA[<p>Most companies have some sort of backup strategy in place and that strategy often involves documenting the success &amp; failure rate of the backups on a daily basis.  For obvious reasons all the companies I&#8217;ve worked with in the past have documented this using a variation of the well-known &#8220;backup matrix&#8221;, created using Microsoft Excel.</p>
<p>I choose to create my backup matrix documents so that backup results are colour-coded.  That way they&#8217;re easily visible and it&#8217;s easy to see what happened when and to get an overall idea of how good your backups have been.  Green coloured cells are successful backups, red cells are failed backups etc.</p>
<p>The first thing I need to do when I create these documents is to make some &#8216;reference cells&#8217;.  These cells are coloured with the various colours that will be used in the matrix, e.g. green for successful etc, as listed above.  So they don&#8217;t look like reference cells I also use them as the key for the matrix so people know what the various colours mean.</p>
<p>How, then, do you work out how good the backups have been if there&#8217;s no text in the cells to look for?  You need a VBA function that looks for the cell&#8217;s colour instead of its contents &#8211; easy.  Below is the function I wrote for that purpose &#8211; you&#8217;ll need to make sure you are using .XLSM documents if you are using Excel 2007 for Windows as .XLS files are, by default, secured so that macros won&#8217;t run.</p>
<pre>
Function countColours(colourReferenceCell As Range, cellRange As Range)
    ' countColours
    ' Chris Rasmussen, April 2010
    '
    ' Count occurences of cells that are a certain background colour
    ' E.g. for use in a backup matrix

    Dim currentCell As Range
    Dim colourReference As Long
    Dim vResult

    colourReference = colourReferenceCell.Interior.ColorIndex

    ' reset the total count back to zero to prevent errors
    vResult = 0

    ' go through all the cells in the specified range and look at the background colour
    For Each currentCell In cellRange
        If currentCell.Interior.ColorIndex = colourReference Then
            vResult = vResult + 1
    End If
    Next currentCell

    countColours = vResult

End Function
</pre>
<p>Once you&#8217;ve got this function in place, all you need to do is choose the cell that will show the total of successful backups (for example) and enter the following formula.  We&#8217;ll assume that cell A1 is the cell that is coloured green for reference.  We&#8217;ll also assume that the Excel cell range C1:C5 contains the results.</p>
<p><em>=countColours(A1,C1:C5)</em></p>
<p>If you have 5 successful backups in your range and they&#8217;re all coloured green, the cell containing that formula with contain the number 5.  Easy.  <img src='http://digitalformula.net/technical/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://digitalformula.net/technical/microsoft-excel-count-coloured-cells/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WordPress &#8216;How-To&#8217; Guide added to &#8216;Downloads&#8217;</title>
		<link>http://digitalformula.net/technical/wordpress-how-to-guide-added-to-downloads/</link>
		<comments>http://digitalformula.net/technical/wordpress-how-to-guide-added-to-downloads/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 06:24:02 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Opinion]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress best practice]]></category>
		<category><![CDATA[wordpress best practices]]></category>
		<category><![CDATA[wordpress installation]]></category>
		<category><![CDATA[wordpress tip]]></category>

		<guid isPermaLink="false">http://digitalformula.net/?p=1134</guid>
		<description><![CDATA[Earlier this year I wrote an article about how to configure WordPress to what I consider to be best-practice standards. I&#8217;ve been asked a number of times if I have this information as a document that can be downloaded so I&#8217;ve made it available as a downloaded PDF. You&#8217;ll need Adobe Acrobat Reader to read [...]]]></description>
			<content:encoded><![CDATA[<p>Earlier this year I wrote an article about how to configure WordPress to what I consider to be best-practice standards.</p>
<p>I&#8217;ve been asked a number of times if I have this information as a document that can be downloaded so I&#8217;ve made it available as a downloaded PDF.  You&#8217;ll need <a href="http://www.adobe.com/" class="custom" target="_blank">Adobe Acrobat Reader</a> to read it if your operating system doesn&#8217;t know how to open PDF documents natively.</p>
<p>The guide can be downloaded on the <a href="http://digitalformula.net/downloads/">Digital Formula Downloads</a> page or by clicking <a href="http://digitalformula.net/download/df_wordpress_how_to_guide.pdf" class="custom">this direct link</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://digitalformula.net/technical/wordpress-how-to-guide-added-to-downloads/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress &#8216;How To&#8217; Guide</title>
		<link>http://digitalformula.net/technical/wordpress-how-to-guide/</link>
		<comments>http://digitalformula.net/technical/wordpress-how-to-guide/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 10:04:07 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Opinion]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress best practice]]></category>
		<category><![CDATA[wordpress best practices]]></category>
		<category><![CDATA[wordpress installation]]></category>
		<category><![CDATA[wordpress tips]]></category>

		<guid isPermaLink="false">http://digitalformula.net/?p=1030</guid>
		<description><![CDATA[So, as I usually ask near the start of my posts, what&#8217;s this post about? I&#8217;ve setup a whole bunch of WordPress blogs in my time. Some have been for personal use, some for friends that need help getting started, some I&#8217;ve helped friends with and some have leaned more towards being commercial in nature. [...]]]></description>
			<content:encoded><![CDATA[<p>So, as I usually ask near the start of my posts, what&#8217;s this post about?  I&#8217;ve setup a whole bunch of WordPress blogs in my time.  Some have been for <a href="http://digitalformula.net/" target="_blank" class="custom">personal</a> <a href="http://photography.digitalformula.net/" target="_blank" class="custom">use</a>, some for <a href="http://flaviuscristea.com/" target="_blank" class="custom">friends</a> that need help getting started, some I&#8217;ve <a href="http://neatolabs.com/" target="_blank" class="custom">helped</a> <a href="http://geo.geek.nz" target="_blank" class="custom">friends</a> with and some have leaned more towards being <a href="http://erinking.co.nz/Blog/" target="_blank" class="custom">commercial</a> in nature.  All of them, though, have followed a pretty similar process when it comes to the installation and configuration steps required for WordPress best-practice (in my opinion anyway).  This article is going to cover the process I follow when I&#8217;m setting a self-hosted WordPress blog.  <span style="text-decoration: underline;">These steps do not apply to blogs hosted on wordpress.com.</span></p>
<p>Please feel free to contact me through my <a href="http://digitalformula.net/contact/">contact page</a> if you need clarification on or want to discuss any of the information in this post.</p>
<p>I apologise in advance for the length of this post &#8230; I tend to go into a lot of detail when writing posts like this.  I hope it all helps someone though.  <img src='http://digitalformula.net/technical/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="special-thin">Assumptions &#038; requirements</div>
<p>To begin with, you&#8217;ll need a few things before you even get started.  Here&#8217;s a brief, but not exhaustive, list of things you&#8217;ll need.</p>
<ol>
<li>A domain name.  The domain registrar you choose is up to you &#8211; it would be irresponsible of me to say that any particular registrar is better than any other.</li>
<li>A web hosting account.  I use <a href="http://icdsoft.com/" target="_blank" class="custom">ICDSoft</a> &#8211; this is one situation where I&#8217;m happy to say they&#8217;re better than any other Linux host I&#8217;ve ever used.</li>
<li>A copy of the latest version of WordPress.  As of today, January 16th 2010, this is version 2.9.1 and can be downloaded from <a href="http://wordpress.org/" target="_blank" class="custom">http://wordpress.org/</a>.</li>
<li>A theme.  WordPress has possibly the best theme support around so this is quite important.  Personally I use theme from <a href="http://elegantthemes.com/" target="_blank" class="custom">Elegant Themes</a>.  Pick one, download/purchase it and have the files ready for later steps.</li>
<li>FTP credentials.  You&#8217;ll need to know the DNS address or IP address of the FTP site that supports the final, published URL, as well as the username and password to login there.  I use the free FTP client, <a href="http://filezilla-project.org/" target="_blank" class="custom">FileZilla</a> &#8211; it&#8217;s free and works on OS X (Mac), Linux and Windows.</li>
<li>MySQL credentials.  You&#8217;ll need to know the connection address or IP address of the MySQL server that will support your WordPress installation, as well as the username and password used to connect.</li>
<li>An empty database ready for your WordPress installation.  You don&#8217;t need to put anything in it &#8211; the WordPress installation scripts will do that for you.</li>
</ol>
<p>Once you&#8217;ve got these things sorted you can start on the actual installation &#038; configuration.  Here goes.</p>
<div class="special-thin">Installation &amp; basic configuration</div>
<ol>
<li>Follow &#8216;The Famous 5-Minute Installation&#8217; written by the WordPress guys.  There&#8217;s no point reproducing or rewriting this here &#8211; these instructions are as good as they come.  This will get WordPress running.  During this step I <strong>highly</strong> recommend editing wp-config.php and changing the $table_prefix to something other than wp_ &#8211; if you don&#8217;t the security scan plugin coming up will say you should&#8217;ve changed it &#8230; by then it&#8217;s too late without causing yourself some pain.</li>
<li>Make sure your WordPress site works &#8211; all you should see at this point is the default &#8216;Hello World&#8217; post and a single comment on that post.</li>
<li>Delete the single existing comment and the &#8216;Hello World&#8217; post &#8211; you don&#8217;t need them.</li>
<li>Under Settings > Users setup a user account for yourself.  Note that this username, depending on your theme choice, will be the author of any posts you write while logged in (assuming you don&#8217;t force the author name to be something else).  For this reason you should decide now if you want it to be capitalised or not (mine is as my username is my name).</li>
<li>Optional but recommended: If you know how to, use phpMyAdmin to change the login name for the default WordPress &#8216;admin&#8217; account.  This is a recommended action for increased security only.  The table you&#8217;re looking for in your database is the $table_prefix setting mentioned above plus _users.  E.g. if your $table_prefix is the default &#8216;wp_&#8217; the table would be called &#8216;wp_users&#8217;.</li>
<li>Extract the theme you downloaded earlier and upload it to /wp-content/themes/.  Alternatively you can use the &#8216;Add New Themes&#8217; link in the WordPress Dashboard but I&#8217;ve had issues once or twice with this.  For that reason I always install themes via FTP.</li>
<li>If your theme requires additional plugins upload them to /wp-content/plugins/.  The Elegant Themes themes, in most cases, requires accompanying plugins.  Make sure you upload and enable them <strong>before</strong> you enable the theme.</li>
<li>If you haven&#8217;t already you can enable your selected theme now.</li>
</ol>
<div class="special-thin">Recommended plugins</div>
<p>The list below is a list of the plugins I currently use on <a href="http://digitalformula.net">Digital Formula</a> and that I think most blogs should have.  It doesn&#8217;t contain plugins that I use specifically for this blog.  Your list may be different &#8211; that part is up to you.  Note that I&#8217;m not linking to any plugins as plugin authors sometimes change the location of their plugins.  To find them you only need to use the &#8216;Add New&#8217; link under &#8216;Plugins&#8217; in the WordPress dashboard.</p>
<ol>
<li>Akismet.  This plugin comes with WordPress and is basically the world-standard for WordPress comment spam protection.  For it to work properly you&#8217;ll need to register a user account on <a href="http://en.wordpress.com/signup/" target="_blank" class="custom">WordPress.com</a> and get an API key &#8211; choose the &#8216;Just a username, please.&#8217; radio button near the bottom of the sign-up form otherwise you&#8217;ll be creating an entire blog, too.  Once you&#8217;ve registered you can go to <a href="http://dashboard.wordpress.com/wp-admin/profile.php" target="_blank" class="custom">http://dashboard.wordpress.com/wp-admin/profile.php</a> to get your API key &#8211; it&#8217;s near the top of the profile screen.</li>
<li>cforms II by delicious:days.  This is the best plugin I&#8217;ve found for creating custom contact/feedback/whatever forms I’ve seen yet..</li>
<li>FeedBurner.  This ties into the RSS feed links for your blog and allows you to manage all your feeds from one place as well as see how many subcribers you&#8217;ve got.</li>
<li>Google Analyticator.  Who doesn&#8217;t want to know how many visitors they get?  Go to http://analytics.google.com, follow the easy-to-use sign-up instructions and note down the UA code.  Install the Google Analyticator plugin and, in the settings page, paste the UA code you noted down a few minutes ago.  Simple.</li>
<li>Google XML Sitemaps.  Again, pretty much the standard for making sure search engines can crawl your site effectively.</li>
<li>Platinum SEO Pack.  Maximises SEO (Search Engine Optimisation, sorry for my non-US spelling) and makes sure your site is as &#8220;find-able&#8221; as possible.</li>
<li>SI CAPTCHA Anti-Spam.  Another excellent plugin by Mike Challis.  This one adds CAPTCHA functionality, by default, to your comment forms to try and minimise web bots sending you comment spam.</li>
<li>WordPress Database Backup.  Excellent backup plugin by Austin Matzko that allows you to carry out scheduled database backups and save them to your server or have them emailed to an email address of your choice.</li>
<li>WP Security Scan.  This one&#8217;s for scanning your WordPress installation to make sure it conforms to recommended security settings.  If you didn&#8217;t change the $table_prefix in wp-config.php and rename the default &#8216;admin&#8217; account as recommended earlier in this article, the WP Security Scan plugin will let you know in no uncertain terms that you SHOULD HAVE.  It will also say that you should have an .htaccess in /wp-admin &#8211; go ahead and make one then upload it.  There may also be some recommendations about setting file permissions on the various directories within your WordPress installation &#8211; I always change these but that sort of change is up to you.</li>
<li>Yet Another Related Posts Plugin (YARPP).  Does what it says &#8211; displays related posts when you view any post on the site.</li>
</ol>
<div class="special-thin">Optional (but cool) plugins</div>
<ol>
<li>Add to Any.  This small plugin allows you to add links to popular bookmarking/social networking sites.  Simple in its simplicity it&#8217;s a great way of helping your readers link back to your site (and therefore help your page rank in Google if YOU link to them).</li>
<li>Breadcrumb NavXT.  Gives the option of adding breadcrumb links to the any point in your pages/posts.  Personally I&#8217;m a big fan of breadcrumbs as they give readers the option of back-tracking back through the path they came in on, depending on your configuration of course.</li>
<li>Lightbox 2.  Used properly this widely-known and popular technique can give your image links some power.  Instead of linking to a relatively boring image they can be made to popup in a much cooler way &#8211; you&#8217;ve seen this before but maybe not known it&#8217;s called Lightbox.</li>
<li>WP-CodeBox.  This plugin is aimed exclusively at people with code on their sites.  Code snippets can be displayed with syntax-colouring/highlighting to make code reading much more effective.</li>
<li>WP-PageNavi.  As the plugin&#8217;s own description says, &#8220;Adds a more advanced paging navigation to your WordPress blog.&#8221;</li>
</ol>
<div class="special-thin">Advanced WordPress configuration</div>
<p>Some of the steps below are recommended, some are completely optional but still things I do on each WordPress site I create.  I&#8217;ll leave it up to you as to whether or not you do them on your own site.  They can, amongst other things, inform social networking sites when you add content and therefore drive more traffic to your site.  All these options are under the &#8216;Settings&#8217; section on the left of the WordPress dashboard.</p>
<ol>
<li>General > Tagline.  The appearance and location of this is theme-dependent but will inform readers, at a glance, what your site is about.</li>
<li>General > Timezone.  For obvious reasons you should set to the appropriate time zone for your site.</li>
<li>Writing > Remote Publishing.  If you want to use a desktop client to publish your articles (e.g. Microsoft Live Writer) you&#8217;ll need to enable these options.</li>
<li>Writing > Update Services.  My list of update services can be downloaded from the <a href="http://digitalformula.net/downloads/">Digital Formula Downloads</a> page.</li>
<li>Reading > Front page displays.  Change this to be a static page if you don&#8217;t want your site&#8217;s entry page to be a list of your latest articles.  If you&#8217;re using a theme from Elegant Themes some of the will override this setting &#8211; please take this into account before asking &#8220;Hey, why won&#8217;t my static page show up?&#8221;</li>
<li>Discussion > Other comment settings > Enable threaded (nested) comments &#8216;X&#8217; levels deep.  This is disabled by default &#8211; I always set it to 5.  Discussions look better that way.</li>
<li>Discussion > Before a comment appears > An administrator must always approve the comment.  If you install the &#8216;SI CAPTCHA Anti-Spam&#8217; plugin mentioned above it&#8217;s pretty safe to disable this.  Only web bots (and people) clever enough to figure out the CAPTCHA images can submit comments anyway.</li>
<li>Permalinks > Common Settings.  I always the custom structure &#8216;/%category%/%postname%/&#8217;.  It looks far better than the default and is also SEO-friendly.</li>
<li>Miscellaneous > Uploading Files.  Worth mentioning but I always leave these at the default settings.  If you want to organise your uploads a different way you can change the settings here.</li>
</ol>
<p>I hope this article helps someone.  These settings, plugins and recommendations have helped my blog&#8217;s traffic, according to Google Analytics, from increasing by 15-20% each week to over 60% each week.  They work for me and, provided you add decent content to your blog, they&#8217;ll work for you, too.  <img src='http://digitalformula.net/technical/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://digitalformula.net/technical/wordpress-how-to-guide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adobe Lightroom &#8211; Transferring DNG files to another computer</title>
		<link>http://digitalformula.net/technical/adobe-lightroom-transferring-dng-files-to-another-computer/</link>
		<comments>http://digitalformula.net/technical/adobe-lightroom-transferring-dng-files-to-another-computer/#comments</comments>
		<pubDate>Sat, 19 Dec 2009 04:54:40 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Photography]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[acr]]></category>
		<category><![CDATA[adobe lightroom]]></category>
		<category><![CDATA[dng]]></category>
		<category><![CDATA[lightroom]]></category>
		<category><![CDATA[xmp]]></category>

		<guid isPermaLink="false">http://digitalformula.net/?p=929</guid>
		<description><![CDATA[This post assumes you are shooting RAW and using Lightroom 2 Both iMac machines at my place are used with Adobe Lightroom for photographic processing. Today I needed to transfer some photos from one machine to the other but Lightroom wouldn&#8217;t transfer the develop settings, only the files themselves. Here&#8217;s how to transfer the develop [...]]]></description>
			<content:encoded><![CDATA[<p><span class="special" style="text-align: center; font-weight: bold;">This post assumes you are shooting RAW and using Lightroom 2</span></p>
<p>Both iMac machines at my place are used with Adobe Lightroom for photographic processing.  Today I needed to transfer some photos from one machine to the other but Lightroom wouldn&#8217;t transfer the develop settings, only the files themselves.  Here&#8217;s how to transfer the develop settings too.</p>
<p>By default <a href="http://www.adobe.com/products/photoshoplightroom/" target="_blank">Adobe Lightroom</a> is configured to only store photo development information in the Lightroom catalog.  This is fine if you only ever plan to develop photos using Lightroom using a single computer.  However, if you want to transfer photos to another computer *and* keep the develop settings you&#8217;ve applied, the file will be transferred without the develop information.  There are a couple of ways of getting around &#8211; here are the main ones.</p>
<ul>
<li>Transfer the original file to the other computer with a sidecar XMP file (XMP stands for eXtensible Media Platform).  The XMP file is a companion file that can go with the original RAW file to retain develop changes.</li>
<li>Use the increasingly popular DNG file format (DNG stands for Digital NeGative) and ensure the develop info has been saved into the XMP space within that file.</li>
</ul>
<p>The XMP sidecar method is simple.  If you use Adobe Camera Raw (ACR) to modify your original RAW files (e.g. CR2 for Canon, NEF for Nikon) just make sure the XMP file with the same name as the original image is transferred with the original image.  ACR will recognise this file and load it accordingly.  The XMP file be automatically created as soon as you make a modification to the original image.</p>
<p>The second method is what I choose to use as it combines the original image and the XMP data into a single file.</p>
<p>If you want to use DNG files within Lightroom, something I think is good practice, you need to do a couple of things.  Please note that I&#8217;m using Lightroom for Mac on OS X Snow Leopard &#8211; the dialog boxes will look slightly different if you&#8217;re using Windows.</p>
<ul>
<li>When you import your images into Lightroom import them as DNG files immediately, as shown in the screenshot below.  To bring up the import files dialog click the File menu and select the option that suits you, e.g. &#8216;Import Photos from Disk&#8230;&#8217;)</li>
</ul>
<p><a href="http://digitalformula.net/wp-content/uploads/2009/12/dng-import.png" rel="lightbox[929]"><img src="http://digitalformula.net/wp-content/uploads/2009/12/dng-import-300x151.png" alt="" title="Lightroom - DNG Import" width="300" height="151" class="alignnone size-medium wp-image-933" /></a></p>
<ul>
<li>Convert your existing images to DNG after they&#8217;re in your Lightroom catalog.  This can be a time consuming process, depending on the speed of your computer and/or the number of images already in your catalog.  To do this select the images you want to convert and click the Library menu then the option labelled &#8216;Convert Photos to DNG&#8217; (or &#8216;Convert Photo to DNG&#8217; if you have only 1 selected).  The import window looks like the image below (these are the settings I use &#8211; be aware of the option that says to delete originals after successful conversion).</li>
</ul>
<p><a href="http://digitalformula.net/wp-content/uploads/2009/12/dng-convert.png" rel="lightbox[929]"><img src="http://digitalformula.net/wp-content/uploads/2009/12/dng-convert-300x175.png" alt="" title="DNG - Convert" width="300" height="175" class="alignnone size-medium wp-image-935" /></a></p>
<p>Ok so that&#8217;s your catalog nicely full of DNG files.  Where to next?</p>
<p>The next step is to ensure that the DNG files also contain the XMP develop data &#8211; this is NOT the default setting in Lightroom 2.  To do this select the Lightroom menu on OS X and select Catalog Settings or press Option+Command+, (on Windows select Edit then select Catalog Settings or press Ctrl+Alt+,).  The following dialog will appear (select the Metadata section if it&#8217;s not already selected).</p>
<p><a href="http://digitalformula.net/wp-content/uploads/2009/12/catalog-no-xmp.png" rel="lightbox[929]"><img src="http://digitalformula.net/wp-content/uploads/2009/12/catalog-no-xmp-300x242.png" alt="" title="Catalog - No XMP" width="300" height="242" class="alignnone size-medium wp-image-938" /></a></p>
<p>As you can see the box labelled &#8216;Automatically write changes into XMP&#8217; isn&#8217;t checked &#8211; this is the Lightroom default setting.  This means that any changes you make to the DNG file will be saved into the Lightroom catalog *only*; the italic text directly below option confirms this for you.  To change Lightroom so that it saves develop information into the XMP space within the DNG file, enable this option and close the catalog settings window (on Windows change the setting and click OK).  From now on the DNG files you use will contain the original image and any develop changes you make.</p>
<div class="special" style="font-style: italic; text-align: center;">Hang on, my existing files won&#8217;t contain the develop info, will they?  What do I do?</div>
<p>Good question!  The answer is no, they won&#8217;t contain the develop info yet &#8211; luckily the solution is easy.  If you want to make it so that your existing images contain the XMP develop data (assuming they&#8217;re DNG) firstly make sure you&#8217;re in the Lightroom Library module (the first link in the 5 links near the top-right of the Lightroom main window).  Then you simply need to select the images you want to modify, click the Metadata menu and choose &#8216;Save Metadata to Files&#8217; (or &#8216;Save Metadata to File&#8217; if you&#8217;ve only got 1 file selected).  On OS X you can also press Command-S or Ctrl-S if you&#8217;re using Windows.  This will write the changes you&#8217;ve made, if any, to the XMP space within the DNG file.</p>
<p>From now on the DNG files are fully portable!  You can take them in their current form &#8211; the DNG files &#8211; and copy them to a new PC or send to someone else without fear that your develop changes won&#8217;t go with them.</p>
<div class="special" style="font-style: italic; text-align: center;">Whoa, is this safe?  Can this break anything?</div>
<p>My disclaimer for this post is that you should be doing regular backups of your important data.  If you&#8217;re already doing regular backups you have nothing to worry about; in the unlikely event that something does go wrong, you can restore your files from backup (if you&#8217;re not backing up your data PLEASE start doing it now, for your own sake).  The above steps are non-destructive and safe for your images &#8211; I use this option and have never had a single problem with any of my images.</p>
]]></content:encoded>
			<wfw:commentRss>http://digitalformula.net/technical/adobe-lightroom-transferring-dng-files-to-another-computer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>27&#8243; of shiny glass fruit?</title>
		<link>http://digitalformula.net/technical/27-of-shiny-glass-fruit/</link>
		<comments>http://digitalformula.net/technical/27-of-shiny-glass-fruit/#comments</comments>
		<pubDate>Sat, 28 Nov 2009 01:41:14 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Mac & OS X]]></category>
		<category><![CDATA[Opinion]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[imac]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://digitalformula.net/?p=917</guid>
		<description><![CDATA[Well, I&#8217;ve finally done it. I&#8217;ve switched from Windows to Mac. WHOA hold on there &#8230; my site says I dabble in .NET Development, right? How does THAT work on Mac? Ahh well, Parallels Desktop 5 for Mac, which I&#8217;m trialling at the moment, is the answer there. Version 5, the newest version, has a [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I&#8217;ve finally done it.  I&#8217;ve switched from Windows to Mac.  WHOA hold on there &#8230; my site says I dabble in .NET Development, right?  How does THAT work on Mac?  Ahh well, <a href="http://www.parallels.com/products/desktop/" target="_blank">Parallels Desktop 5 for Mac</a>, which I&#8217;m trialling at the moment, is the answer there.  Version 5, the newest version, has a cool mode called Coherence that means apps running in the Windows virtual environment aren&#8217;t &#8220;windowed&#8221; and look like they&#8217;re running natively within OS X.</p>
<p>For a long time I&#8217;ve been doing a lot of work with WordPress, PHP and generally non-Microsoft things while at home which means that being tied to the Microsoft platform isn&#8217;t something that worries me anymore.  Initially it&#8217;s a pretty steep learning curve as I&#8217;ve been using Windows for so long that I&#8217;m pretty quick with the keyboard shortcuts and rarely, if ever, use a mouse in Windows (yes there are exceptions, obviously).  That learning curve becomes pretty flat very quickly though.  For example Ctrl-C and Ctrl-V, 2 of the most commonly used shortcuts in Windows, are now Command-C and Command-V.  The mini wireless keyboard that comes with the new iMacs has no arrow keys or number pad but that&#8217;s cool because I&#8217;ve had an Apple keyboard for a while now and that has all the keys that are missing from the new one.  Although the new <a href="http://www.apple.com/magicmouse/" target="_blank">Apple Magic Mouse</a> seems like a weird idea at first, it&#8217;s actually surprisingly usable (although the gestures suck if they&#8217;re in any direction other than vertical &#8230; and your mouse isn&#8217;t glued to the desk).  I use a wireless Microsoft Explorer mouse anyway which is 100% compatible with OS X.</p>
<p>I&#8217;ve been supporting Windows and related bits for a VERY long time now and making the switch wasn&#8217;t something I could have realistically done before.  Those Windows-specific days are in the past though and I&#8217;m REALLY enjoying the slick feel of OS X and apps that, while they work on Windows, were originally designed for Mac anyway.  Especially iTunes, which is a complete pig on Windows &#8230; it runs lightning-fast on OS X.  With 3 iPods, iTunes is pretty much a necessity, especially with the iPod Touch being unsupported by many other iPod management packages out there (if any).</p>
<p>Literally *all* the apps I use on Windows for the work I&#8217;m doing now are available for OS X.  Some of them include:</p>
<p>- <a href="http://www.apple.com/itunes/" target="_blank">iTunes</a> (iPod management as mentioned above)<br />
- <a href="http://filezilla-project.org/" target="_blank">FileZilla</a> (FTP client &#8211; the new tabbed version ROCKS)<br />
- <a href="http://www.aptana.org/studio/" target="_blank">Aptana Studio</a> (PHP development, although I&#8217;ve gone back to using version 1.5 &#8211; see <a href="http://digitalformula.net/development/aptana-studio-drops-native-php-support/">this post</a>)<br />
- <a href="http://www.mozilla.com/firefox/" target="_blank">Mozilla Firefox</a> (web browser)<br />
- <a href="http://www.mozillamessaging.com/thunderbird/" target="_blank">Mozilla Thunderbird</a> (email client &#8211; v3 RC1 seems really good so far)<br />
- <a href="http://www.microsoft.com/mac/products/Office2008/default.mspx" target="_blank">Microsoft Office including MSN</a></p>
<p>The only application I can&#8217;t use natively with OS X and that I am praying will be supported one day is Polar Pro Trainer 5, the software that comes with my Polar RS800CX heart rate monitor (I do a lot of cycling).  Parallels&#8217; Coherence mode solves this one too though.  Sweet!</p>
<p>I was a big fan of Windows Media Center while using Windows 7 but OS X Snow Leopard&#8217;s Front Row kicks ass!  [Edit: Front Row has a nice interface but from a usability point of view it SUCKS!]</p>
<p>Toni &#8230; if you&#8217;re reading this, yes I miss Google Chrome but it&#8217;s coming soon for OS X.  <img src='http://digitalformula.net/technical/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>To be fair, Windows 7, as I mentioned above, is seriously awesome and it&#8217;s still my OS of choice at work, even in a strictly-controlled corporate environment.</p>
<p>So that&#8217;s that really.  Personal preference plays a big part here and I&#8217;m not saying OS X Snow Leopard is better than Windows 7 &#8230; that&#8217;s been covered by people better qualified to comment than me.</p>
<p>P.S.  No I don&#8217;t have a <a href="http://www.sfgate.com/blogs/images/sfgate/techchron/2007/01/09/mn_macworld_caps104.jpg" target="_blank" rel="lightbox[917]">black high-neck sweater</a> &#8230; yet.  <img src='http://digitalformula.net/technical/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://digitalformula.net/technical/27-of-shiny-glass-fruit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Excel &#8211; Delete matching rows</title>
		<link>http://digitalformula.net/technical/microsoft-excel-delete-matching-rows/</link>
		<comments>http://digitalformula.net/technical/microsoft-excel-delete-matching-rows/#comments</comments>
		<pubDate>Sat, 28 Nov 2009 00:44:06 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[delete row]]></category>
		<category><![CDATA[delete rows]]></category>
		<category><![CDATA[excel]]></category>
		<category><![CDATA[report]]></category>
		<category><![CDATA[reporting]]></category>
		<category><![CDATA[reports]]></category>
		<category><![CDATA[vba]]></category>

		<guid isPermaLink="false">http://digitalformula.net/?p=906</guid>
		<description><![CDATA[As part of my new role at Fujitsu here in Wellington I&#8217;ve been running a whole load of reports from the SAN I&#8217;ve been assigned to. I&#8217;m not going to go into any detail about the SAN itself other than to say it&#8217;s from HP (for obvious reasons) but the reports I get from the [...]]]></description>
			<content:encoded><![CDATA[<p>As part of my new role at Fujitsu here in Wellington I&#8217;ve been running a whole load of reports from the SAN I&#8217;ve been assigned to.  I&#8217;m not going to go into any detail about the SAN itself other than to say it&#8217;s from HP (for obvious reasons) but the reports I get from the reporting tools aren&#8217;t that useful in themselves.  Many tens of thousands of lines of reporting data is hard to read as it is and unfortunately these particular reports aren&#8217;t uniformly arranged i.e. there is a header at the top of the file, a set of performance data, a blank line and then another set of headers followed by more performance data.  This pattern repeats for the entire file.<span id="more-906"></span></p>
<p>Microsoft Excel is ok at importing data from CSV files but can&#8217;t handle these files too well as there&#8217;s no uniform pattern that it seems to be able to match (it matches to the human eye but I guess not to Excel&#8217;s internal algorithms or something).</p>
<p>Anyway, to import these files into Excel I needed to do 2 things which seem pretty simple but that you really don&#8217;t want to do when the files are as big as these ones &#8211; 40MB+ of text.  Yuck.  Please note that the first step below works in both Excel for Windows and Excel for Mac but the second part, because it contains VBA script does not work in Excel for Mac (VBA isn&#8217;t supported in Excel 2008 for Mac).  See the <a href="http://en.wikipedia.org/wiki/Microsoft_Office_2008_for_Mac#Criticism" target="_blank">criticism section of this Wikipedia page</a> for information on that.</p>
<p>Job 1: Delete all the empty rows.  Thankfully this one&#8217;s easy.  Select the entire worksheet or range of cells you&#8217;re working with, hit F5, select Special, check the box labelled Blanks and hit OK.  This will select all the blank cells in the selection.  From here select Edit, Delete and when prompted, select Entire Row.  Alt-E then D will work in Excel 2007 as it doesn&#8217;t have an Edit menu as such.  This will do exactly what it says and delete the entire row containing the selected blank cells.  Be careful doing this with non-tabular data.</p>
<p>Job 2: Delete all the headers except the top row.  Unfortunately I haven&#8217;t made this work without deleting the top row too but if you copy the top headers to a new sheet first you can easily paste them back later.  In Excel 2007 hit the Developer tab (it can be enabled in Excel options if it&#8217;s not showing), click Visual Basic and add a new Module by right-clicking the top pane on the left.  Paste the following code into the module that gets created:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p906code2'); return false;">View Code</a> VB</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p9062"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
</pre></td><td class="code" id="p906code2"><pre class="vb" style="font-family:monospace;"><span style="color: #000080;">Sub</span> DeleteRows()
    <span style="color: #000080;">Dim</span> Rg <span style="color: #000080;">As</span> Range
    <span style="color: #000080;">On</span> <span style="color: #000080;">Error</span> <span style="color: #000080;">Resume</span> <span style="color: #000080;">Next</span>
    <span style="color: #000080;">For</span> i = ActiveSheet.UsedRange.Rows.Count <span style="color: #000080;">To</span> 1 <span style="color: #000080;">Step</span> -1
        <span style="color: #000080;">Set</span> Rg = <span style="color: #000080;">Nothing</span>
        <span style="color: #000080;">Set</span> Rg = Rows(i).Find(<span style="color: #800000;">&quot;Time&quot;</span>)
        <span style="color: #000080;">If</span> <span style="color: #000080;">Not</span> Rg <span style="color: #000080;">Is</span> <span style="color: #000080;">Nothing</span> <span style="color: #000080;">Then</span> Rows(i).Delete
    <span style="color: #000080;">Next</span>
<span style="color: #000080;">End</span> <span style="color: #000080;">Sub</span></pre></td></tr></table></div>

<p>Change &#8220;Time&#8221; to a text pattern that will match the rows you want to delete.  In the data I&#8217;m working on all the header rows have a &#8220;Time&#8221; column so this works for me.</p>
<p>From here it&#8217;s just a case of hitting the Run button and all the rows containing the word &#8220;Time&#8221; will be removed.  Please note that in Excel 2007 you&#8217;ll need to save the file as an Excel Macro-Enabled Workbook once a file contains macros or VBA code.</p>
<p>Handy and much faster than deleting them manually.</p>
]]></content:encoded>
			<wfw:commentRss>http://digitalformula.net/technical/microsoft-excel-delete-matching-rows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Aptana Studio drops native PHP support</title>
		<link>http://digitalformula.net/technical/aptana-studio-drops-native-php-support/</link>
		<comments>http://digitalformula.net/technical/aptana-studio-drops-native-php-support/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 09:51:24 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Opinion]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[aptana]]></category>
		<category><![CDATA[Development (Non-MS) - PHP]]></category>

		<guid isPermaLink="false">http://digitalformula.net/?p=901</guid>
		<description><![CDATA[Gutted! Aptana Studio, the editor I use for PHP development, has released the latest version, 2.0, and removed support for native PHP editing at the same time. They&#8217;re now carrying on with PHP support by way of PDT but the features don&#8217;t seem to be anywhere near as good. It doesn&#8217;t take much looking around [...]]]></description>
			<content:encoded><![CDATA[<p>Gutted!  <a href="http://www.aptana.com/" target="_blank">Aptana Studio</a>, the editor I use for PHP development, has released the latest version, 2.0, and removed support for native PHP editing at the same time.  <img src='http://digitalformula.net/technical/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> <span id="more-901"></span></p>
<p>They&#8217;re now carrying on with PHP support by way of PDT but the features don&#8217;t seem to be anywhere near as good.  It doesn&#8217;t take much looking around on Google to see that there are a lot of *very* disappointed &#038; angry people out there in response to this, including me.  As much as I dislike writing posts of a negative nature, I can&#8217;t help this one, sorry.</p>
]]></content:encoded>
			<wfw:commentRss>http://digitalformula.net/technical/aptana-studio-drops-native-php-support/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Resharper Open Source License = Awesome (and free!)</title>
		<link>http://digitalformula.net/technical/resharper-open-source-license-awesome-and-free/</link>
		<comments>http://digitalformula.net/technical/resharper-open-source-license-awesome-and-free/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 01:54:07 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[c sharp]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[jetbrains]]></category>
		<category><![CDATA[jetbrains resharper]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[resharper]]></category>
		<category><![CDATA[visual studio]]></category>
		<category><![CDATA[visual studio add-on]]></category>
		<category><![CDATA[visual studio plugin]]></category>

		<guid isPermaLink="false">http://digitalformula.net/?p=761</guid>
		<description><![CDATA[A while ago I heard about an add-on for Visual Studio called Jetbrains Resharper &#8211; most people reading this article have probably heard of it, too. Anyway, I downloaded the evaluation version from the Resharper website and tried it out. If you are prepared to deal with a very slight slow-down in your Visual Studio [...]]]></description>
			<content:encoded><![CDATA[<p>A while ago I heard about an add-on for Visual Studio called <a href="http://www.jetbrains.com/resharper/" target="_blank">Jetbrains Resharper</a> &#8211; most people reading this article have probably heard of it, too.  Anyway, I downloaded the evaluation version from the Resharper website and tried it out.  If you are prepared to deal with a very slight slow-down in your Visual Studio environment (inevitable with add-ons) it&#8217;s an add-on well worth investigating.  From the Resharper website:<span id="more-761"></span></p>
<div style="padding: 10px; background: #eee; border-top: 2px solid; border-bottom: 2px solid; border-color: #ccc;">ReSharper provides solution-wide error highlighting on the fly, instant solutions for found errors, over 30 advanced code refactorings, superior unit testing tools, handy navigation and search features, single-click code formatting and cleanup, automatic code generation and templates, and a lot more productivity features for C#, VB.NET, ASP.NET, XML, and XAML.</div>
<p>Sounds like a pretty good deal to me.  A number of professional software engineer colleagues of mine, all of whom have worked on massive enterprise solutions, use Resharper themselves; Resharper isn&#8217;t just for people who can&#8217;t figure out errors themselves.</p>
<p>Ok so this sounds like a sales pitch but the main point of this article is that <strong>you can get Resharper for free</strong> if you&#8217;re developing open-source software.  I&#8217;ve developed a number of open-source libraries that I use in my own applications and I&#8217;ve decided to make them available on this website in case any other developers out there find them useful.  Because of the way I make them available I don&#8217;t tick all the boxes for the Resharper open-source license requirements.  I discussed this with the Resharper licensing people and they were happy to grant me an open-source license for the full version of Resharper anyway.  That&#8217;s pretty cool and means I&#8217;m happy to &#8216;sell&#8217; their product for them.</p>
<p>If you&#8217;re interested in this too, please visit the <a href="http://www.jetbrains.com/resharper/buy/buy.jsp#openSource" target="_blank">open-source licensing page for Resharper</a>.  Cool.</p>
<p>Check out <a href="http://www.jetbrains.com/resharper/plugins/index.html#StyleCop_for_ReSharper" target="_blank">StyleCop for Resharper</a> too!</p>
]]></content:encoded>
			<wfw:commentRss>http://digitalformula.net/technical/resharper-open-source-license-awesome-and-free/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP script to show files in directory with a bit of style &#8211; v0.4</title>
		<link>http://digitalformula.net/technical/php-script-to-show-files-in-directory-with-a-bit-of-style-v0-4/</link>
		<comments>http://digitalformula.net/technical/php-script-to-show-files-in-directory-with-a-bit-of-style-v0-4/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 13:44:12 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Development (Non-MS) - PHP]]></category>
		<category><![CDATA[php file list]]></category>
		<category><![CDATA[php list files]]></category>
		<category><![CDATA[php script]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[w3]]></category>
		<category><![CDATA[w3 valid css]]></category>
		<category><![CDATA[w3 valid html]]></category>
		<category><![CDATA[w3 valid xhtml]]></category>

		<guid isPermaLink="false">http://digitalformula.net/?p=681</guid>
		<description><![CDATA[I&#8217;m undecided on how to go about posting updates that relate to posts I&#8217;ve already made so please bear with me until I work it out. As with last time I wrote an updated post for the Digital Formula PHP File List System, a small project I&#8217;m using to &#8216;practice&#8217; PHP, this post is basically [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m undecided on how to go about posting updates that relate to posts I&#8217;ve already made so please bear with me until I work it out.  <img src='http://digitalformula.net/technical/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>As with last time I wrote an updated post for the Digital Formula PHP File List System, a small project I&#8217;m using to &#8216;practice&#8217; PHP, this post is basically a re-write of what was posted last time but with a few changes that relate to this specific version.  The changes between this version (0.4) and the previous version (0.3) are:<span id="more-681"></span></p>
<ul>
<li>Option to create missing thumbnails added &#8211; can be turned off by setting CREATE_MISSING_THUMBNAILS in constants.php (width/height can be controlled from there too)</li>
<li>Tidy of CSS i.e. styles moved from header.php to master.css</li>
<li>Option to calculate and output statistics added &#8211; can be turned off  by setting SHOW_STATISTICS in constants.php</li>
<li>Fixed bug where division by zero error during average file size calculations would occur if no files were found</li>
<li>Numerous code efficiency changes e.g. moving common code into functions</li>
<li>Corrected a number of comments that were leftover from previous versions</li>
</ul>
<p>This project started because I&#8217;m selling a couple of things on ebay at the moment.  Unfortunately I don&#8217;t have a lot of choice because there isn&#8217;t really an alternative here in Australia that can compete.  In NZ I would be using Trade Me, whose interface etc I really like, but here, it&#8217;s ebay.  Anyway, I sold 1 item recently and was shocked to find that I got charged to LIST the item, got charged when the item SOLD, got charged when the buyer PAID me and then, to add insult to injury, got charged again when I took MY own money from MY PayPal account!  You gotta be kidding me &#8230;</p>
<p>I&#8217;ve got a few more things to sell on ebay and rather than be allowed a single image for free and then pay AUD$0.25 for each subsequent image (Trade Me is the same but I think NZD$0.10 per additional photo is easier to stomach) I decided to throw together a quick PHP script that I&#8217;ve been meaning to write for some time.  It simply takes a list of the image files (JPG, JPEG, GIF and PNG) in a specified directory and builds a page to display them on.  The version I&#8217;m referencing in this article (0.4) has all the changes listed above plus a couple more configuration options that can be found in constants.php.</p>
<p>The list is displayed on screen with the thumbnail shown as a link to the main file, if available.  If no thumbnail was found and the option to create missing thumbnails is turned *off* in constants.php another image letting you know that no thumbnail was found is shown instead.  If the option to create missing thumbnails is turned *on* an appropriate thumbnail image is created in the thumbs directory specified in constants.php.</p>
<p>Hopefully someone finds this script useful.  Oh, and the script produces W3C-valid XHTML 1.0 markup and W3C-valid level 2.1 CSS, too &#8230; <img src='http://digitalformula.net/technical/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Usage examples:<br />
   <a href="http://digitalformula.net/demos/df_php_file_list_system_0.4/index.php?action=list&#038;id=orbea" target="_blank">&#8220;http://digitalformula.net/demos/df_php_file_list_system_0.4/index.php?action=list&#038;id=orbea</a> &#8211; Looks for all files that begin with orbea_ in the ./files/ directory relative to the script directory.  Looks for thumbnails named tn_orbea_* in the ./files/thumbs/ directory relative to the script directory.  Thumbnails exist for all the demo images.</p>
<p>Note: The code that used to be shown in the old article was a fully functional but slightly older version of the current version of this script.  If you would like to download the latest version of the Digital Formula PHP File List System v0.4 please go to the <a href="http://digitalformula.net/downloads/">Digital Formula Downloads page</a> and grab it from there instead.  Thanks!</p>
<p><em><strong>:: Code Removed 2009/08/28; Please use the <a href="http://digitalformula.net/downloads/">Digital Formula Downloads</a> page instead ::</strong></em></p>
]]></content:encoded>
			<wfw:commentRss>http://digitalformula.net/technical/php-script-to-show-files-in-directory-with-a-bit-of-style-v0-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
