<?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>The Graham Smith Site</title>
	<atom:link href="http://thegrahamsmithsite.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://thegrahamsmithsite.com</link>
	<description>Just another Web developer</description>
	<lastBuildDate>Fri, 27 Apr 2012 13:43:52 +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>Foundations</title>
		<link>http://thegrahamsmithsite.com/2011/10/foundations/</link>
		<comments>http://thegrahamsmithsite.com/2011/10/foundations/#comments</comments>
		<pubDate>Mon, 24 Oct 2011 14:03:06 +0000</pubDate>
		<dc:creator>Graham</dc:creator>
				<category><![CDATA[Web Design/Development]]></category>

		<guid isPermaLink="false">http://thegrahamsmithsite.com/?p=163</guid>
		<description><![CDATA[One year, Eight months. 1 and 2/3 rotations of the Sun. 166 billion stars born and lain to rest. Duke Nukem Forever, released. These are just some of the events that have transpired since handing in my last notice and traversing the seas of full-time self-employment. Those of you who have made the jump (of [...]]]></description>
			<content:encoded><![CDATA[<p>One year, Eight months.</p>
<p>1 and 2/3 rotations of the Sun. 166 billion stars born and lain to rest. Duke Nukem Forever, released.</p>
<p>These are just some of the events that have transpired since handing in my last notice and traversing the seas of full-time self-employment. Those of you who have made the jump (of your own choice), and those of you who are looking to, have probably all acquired the same nuggets of advice: &#8220;Build up a small base of clients&#8221;, &#8220;Save X number of months worth of salary&#8221;, etc&#8230; Well, that advice? Is exactly what I <em>didn&#8217;t</em> do. And I&#8217;m not ashamed to admit, I&#8217;ve been winging it ever since. If my business acumen were plotted on a graph, there just wouldn&#8217;t be a damned graph.</p>
<p><span id="more-163"></span></p>
<p>It should come as no surprise then, that this varied and rich tapestry of unstructured living has been slowly unravelling. The gaping holes of efficiency and process, dotted chaotically around like cigarette burns.</p>
<p>I have, of course, known about this for some time. But, often, you need to wait. Wait until you&#8217;ve become a slave to your neuroses; built enough of  those mental barriers we love to set up for ourselves. And then, one day, you snap. You know, that day when you&#8217;ve just dug into your tax savings for the fifth time. Or that day you had to pay the DVLA not to take you to court because you forgot to tell them you no longer own your vehicle. <em>Whichever</em>.</p>
<p>It&#8217;s time to streamline things a bit, then. Perform a kind of mental <del>Spring</del> Autumn clean. I don&#8217;t know what the future holds, but unless some wannabe Snake Plissken activates that network of EMP satellites, it&#8217;ll be technology based. Whatever happens, I don&#8217;t want to think that I was held back.</p>
<p>And here, finally, we return to the crux of this post: Foundations. It&#8217;s time to take a closer look at the fundamentals that underlie what I do; How do I make my processes more efficient, so that I can no longer find silly excuses, or set up stupid little neurotic mental barriers. What do <em>I</em> need to GET. SHIT. DONE. And so, all two of you who might care slightly, we begin this little journey. A carefully documented journey of all the decisions, research, frustrations, learning and the outcomes, as I try to find balance in this technologically rich life.</p>
<p>The only thing left to say is that while I can&#8217;t commit to a &#8216;money is no object&#8217; policy, I don&#8217;t mind saving up and spending a little extra, if that&#8217;s what it takes to find a solution that works for me. However, on the flip-side, I&#8217;m all for building things myself, physically or digitally to accomplish various tasks. In fact, I&#8217;m probably more inclined to take that route wherever possible.</p>
<p>Well, that&#8217;s that. If you got this far, thank you for reading. Prepare your overnight bags for the next leg of the journey as we start at the very bottom and deal with Home media/Fileservers.</p>
]]></content:encoded>
			<wfw:commentRss>http://thegrahamsmithsite.com/2011/10/foundations/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Primal living &#8211; An update</title>
		<link>http://thegrahamsmithsite.com/2011/04/primal-living-an-update/</link>
		<comments>http://thegrahamsmithsite.com/2011/04/primal-living-an-update/#comments</comments>
		<pubDate>Sat, 09 Apr 2011 12:24:43 +0000</pubDate>
		<dc:creator>Graham</dc:creator>
				<category><![CDATA[Health]]></category>

		<guid isPermaLink="false">http://thegrahamsmithsite.com/?p=131</guid>
		<description><![CDATA[About 3 weeks have passed on a pure primal diet. Sure, there have been a few cheat meals, where life and situation left me without many options, but I&#8217;ve stuck to it as best I could. The beauty of this lifestyle is that it isn&#8217;t about being strict. It&#8217;s about the general enjoyment of life [...]]]></description>
			<content:encoded><![CDATA[<p>About 3 weeks have passed on a pure primal diet. Sure, there have been a few cheat meals, where life and situation left me without many options, but I&#8217;ve stuck to it as best I could. The beauty of this lifestyle is that it isn&#8217;t about being strict. It&#8217;s about the general enjoyment of life itself. Don&#8217;t let it hold you back from simply going out and having fun. The closer you can stick to the food types, the better off you&#8217;ll be. And should you go off course a bit, you can be safe in the knowledge that your body will recover faster.<span id="more-131"></span></p>
<p>The process has been considerably easier than expected. Mainly because you can still be quite creative with the meals &#8211; more so, I&#8217;ve often found &#8211; and even if you haven&#8217;t planned anything in advance, frying up some meat and steaming a few vegetables doesn&#8217;t exactly tax the ol&#8217; noggin. I used to eat a lot of spaghettis and pizzas, so things like pasta and wheat were the trickiest to replace, but I&#8217;ve been having quite a bit of fun trying out foods that I never thought I&#8217;d eat otherwise. Asparagus? Are you mad? Oh, wait&#8230; It&#8217;s quite nice actually&#8230; And really, any diet where all you have to do is eat <em>quite a lot of meat</em>, can&#8217;t possibly be bad.</p>
<p>It turns out that there is a difference between &#8216;Paleo&#8217; and &#8216;Primal&#8217;. Paleo seems more to do with the diet, while Primal refers more to the way of living. Subtle differences adorn the foods one can eat. So, in the end, it&#8217;s comes down to preference. I personally drift between the two, following recipes from either.</p>
<p>The benefits have begin to hit me like a ton of bricks. What I&#8217;m finding most astonishing though, is that in my job there is a lot of sitting down and I&#8217;ve yet to ramp up my physical activities, yet I can feel marked improvements. Visible weight loss (not that I had much to lose), loads more energy at my disposal, increased focus, and even less stress. I even seem to be battling colds and illness better. Much of it could be psychosomatic, based on what I&#8217;m <em>expecting</em> to happen. But, regardless, I&#8217;m enjoying the diet, and feel great too. There&#8217;s little more I can ask for.</p>
]]></content:encoded>
			<wfw:commentRss>http://thegrahamsmithsite.com/2011/04/primal-living-an-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Keeping your browser rendered graphics in IE.</title>
		<link>http://thegrahamsmithsite.com/2011/03/keeping-your-browser-rendered-graphics-in-ie/</link>
		<comments>http://thegrahamsmithsite.com/2011/03/keeping-your-browser-rendered-graphics-in-ie/#comments</comments>
		<pubDate>Tue, 29 Mar 2011 23:13:50 +0000</pubDate>
		<dc:creator>Graham</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://thegrahamsmithsite.com/?p=134</guid>
		<description><![CDATA[What we have here folks, is a cheat. Plain and simple. But it&#8217;s a good one, so please, read on&#8230; What happens when you&#8217;ve put your heart and soul into the perfect CSS3 button, only to then be told it must look the same in IE? Personally, I used to go into a corner and [...]]]></description>
			<content:encoded><![CDATA[<p>What we have here folks, is a cheat. Plain and simple. But it&#8217;s a good one, so please, read on&#8230;</p>
<p>What happens when you&#8217;ve put your heart and soul into the perfect CSS3 button, only to then be told it <em>must</em> look the same in IE? Personally, I used to go into a corner and have a little cry. But not anymore! With this super swell tip, from yours truly, you can CSS3 until your heart literally explodes with joy, yet still retain that delicious Mac rendering goodness on the dastardly IE 8 and below.<span id="more-134"></span></p>
<h3>Step 1</h3>
<p>Get that page <a href="http://html5boilerplate.com/">marked up properly</a>, with particular focus on wrapping that &lt;html&gt; element with the appropriate conditional comments:<br />
<code>&lt;!--[if lt IE 7 ]&gt; &lt;html class="ie6" lang="en"&gt; &lt;![endif]--&gt;<br />
&lt;!--[if IE 7 ]&gt; &lt;html class="ie7" lang="en"&gt; &lt;![endif]--&gt;<br />
&lt;!--[if IE 8 ]&gt; &lt;html class="ie8" lang="en"&gt; &lt;![endif]--&gt;<br />
&lt;!--[if (gte IE 9)|!(IE)]&gt;&lt;!--&gt; &lt;html lang="en"&gt; &lt;!--&lt;![endif]--&gt;<br />
</code></p>
<h3>Step 2</h3>
<p>Mark up your splendificent button in a browser that, you know, doesn&#8217;t <em>smell like formaldehyde</em> &#8211; and other old people fragrances.<br />
Here&#8217;s one I made earlier (It&#8217;s true. I did) :</p>
<p><a href="http://thegrahamsmithsite.com/wp-content/uploads/2011/03/learn_more_screen.png"><img class="aligncenter size-full wp-image-138" title="learn_more_screen" src="http://thegrahamsmithsite.com/wp-content/uploads/2011/03/learn_more_screen.png" alt="A CSS3 styled button" width="400" height="320" /></a></p>
<p>Then, with your Mac keyboard shortcuts of <em>pure awesome</em> perform a simple Shift-⌘-4 and drag a selection around the box like so:<br />
<a href="http://thegrahamsmithsite.com/wp-content/uploads/2011/03/learn_more_selection.png"><img class="aligncenter size-full wp-image-139" title="learn_more_selection" src="http://thegrahamsmithsite.com/wp-content/uploads/2011/03/learn_more_selection.png" alt="Using the Mac OSX screen selecting tool to take a screen grab " width="400" height="320" /></a></p>
<p>This will save a lovingly crafted PNG file straight onto your very desktop! Probably some Moose magic going on there. Who knows.</p>
<h3>Step 3</h3>
<p>Throw that image class into your site&#8217;s images folder (I take no responsibility for broken monitors). And now, with those amazing classes you previously placed on the &lt;html&gt; element, head into your style sheet of wonders and lay on your basic image replacement code:</p>
<p><code>.ie7 #button, .ie8 #button {<br />
display: block;<br />
text-indent: -999em;<br />
overflow: hidden;<br />
background: url(/images/button.png) center center no-repeat;<br />
}<br />
</code></p>
<p>Tweak it to your image&#8217;s properties, like width and height, and be sure to remove any borders and padding you applied previously.</p>
<h3>Final Step</h3>
<p>Sit back, and smile. You&#8217;ve cheated the system. Treat yourself to a cookie.</p>
]]></content:encoded>
			<wfw:commentRss>http://thegrahamsmithsite.com/2011/03/keeping-your-browser-rendered-graphics-in-ie/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>The Paleo Diet</title>
		<link>http://thegrahamsmithsite.com/2011/03/the-paleo-diet/</link>
		<comments>http://thegrahamsmithsite.com/2011/03/the-paleo-diet/#comments</comments>
		<pubDate>Sun, 20 Mar 2011 18:40:46 +0000</pubDate>
		<dc:creator>Graham</dc:creator>
				<category><![CDATA[Health]]></category>

		<guid isPermaLink="false">http://thegrahamsmithsite.com/?p=115</guid>
		<description><![CDATA[I&#8217;ve recently started this diet and so it features heavily on my mind at the moment, which has led me to gush about it a bit. And I apologise. Fear not though! It&#8217;ll calm down soon enough. But at least I managed to get several of you intrigued, and so some folk asked me to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently started this diet and so it features heavily on my mind at the moment, which has led me to gush about it a bit. And I apologise. Fear not though! It&#8217;ll calm down soon enough. But at least I managed to get several of you intrigued, and so some folk asked me to maybe share my experiences as I make the switch.</p>
<p>There I was consuming the vast knowledge chasm of Merlin Mann and Dan Benjamin&#8217;s <a href="http://5by5.tv/b2w/">Back to Work podcast</a>, when the conversation turns to Dan&#8217;s diet: Paleo Nutrition. Dan has already written a <a href="http://hivelogic.com/articles/the-paleo-diet-a-link-primer">brief primer</a> on the subject with some very good links for us noobs to get started. From there I was on track to begin digesting the <em>vast</em> quantities of information necessary to begin on my path to extreme healthification.<span id="more-115"></span></p>
<p>A quick read on some Paleo blogs informed me that various health benefits of this diet were:</p>
<ul>
<li>increased energy</li>
<li>weight loss</li>
<li>better sleep</li>
<li>lower cholesterol and blood pressure</li>
<li>decreased chance of obtaining heart disease</li>
<li>decreased chance of becoming diabetic.</li>
<li>stronger immune system</li>
</ul>
<p>These were the sorts of benefits I wanted out of a diet, and the types of foods one has to consume for it are organic, free range meats for maximum omega-3 content, and organic, well, everything else. High quality <em>and</em> ethical.</p>
<p>I&#8217;d recently been trying to make some major lifestyle changes (not <em>those</em> kinds) &#8211; increase my work efficiency, be more focused, and hopefully gain more spare time to indulge in various side projects. I&#8217;d found that I was lacking energy a lot, and I&#8217;d begun to detect that wheat and/or dairy were playing a part in that. I wanted change.</p>
<h3>The Story So Far</h3>
<p>I started the diet roughly last Tuesday (<time>17/03/2011</time>). In the beginning I had intended on a slow transition. I started picking up vegetables, meat and nuts. I knew I&#8217;d already planned a few meals with friends that week that weren&#8217;t part of the diet, so attempting one Paleo meal a day, at least, seemed best. But I made the first step by cutting out processed sugar entirely, and I threw out all my bread. Yesterday, however, I decided to dive right in to the full Paleo plan I&#8217;m sticking to it.</p>
<p>Even with the the odd &#8216;cheat meal&#8217; during the initial transition, I&#8217;m already starting to feel a little more energetic, and I could swear I&#8217;ve already started to lose weight. I don&#8217;t own scales though. Mirrors are my guide (Ladies). Unfortunately, my body has a few tricks to play yet, which are inevitable for a diet change of this kind, namely: Ketosis.</p>
<p>What is Ketosis? Here&#8217;s a description taken from Wikipedia:</p>
<blockquote><p>If the diet is changed from a highly glycemic diet to a diet that does not provide sufficient carbohydrate to replenish glycogen stores, the body goes through a set of stages to enter ketosis. During the initial stages of this process, blood glucose levels are maintained through gluconeogenesis, and the adult brain does not burn ketones; however, the brain makes immediate use of this important substrate for lipid synthesis in the brain. After about 48 hours of this process, the brain starts burning ketones in order to more directly use the energy from the fat stores that are being depended upon, and to reserve the glucose only for its absolute needs, thus avoiding the depletion of the body&#8217;s protein store in the muscles.</p></blockquote>
<p>The consequences of which are a period of low energy as my body adapts back to using fat directly from its fat stores. Once that switch occurs, energy levels will rise, metabolism increases, and I&#8217;ll shed weight like a wife giving birth until I&#8217;m ready to re-introduce more carbs into my diet to offset it. More can be read about that <a href="http://www.marksdailyapple.com/dear-mark-ketosis/">here</a>.</p>
<p>So far so good. The main issue I&#8217;m dealing with right now is actually thinking ahead for my meals. Especially lunches, as I&#8217;ll not be able to depend on running out to Boots, or even a pub lunch (the horror!) if I find my cupboards empty.</p>
<h3>The Small Print</h3>
<p>Nutrition is a deep, dark hole, with a <em>lot</em> of information, much of it conflicting and contradictory. It could be easily confused with a belief system. Diets are what you want out of them and they are about self control. I&#8217;m certainly not saying this is the best, and I&#8217;m also not trying to preach. I don&#8217;t want to be that guy. I would rather be the test subject from which some of you learn, and hopefully, I can inspire a few of you towards a healthier life.</p>
<p><em><br />
**Disclaimer. I am most definitely not a nutritionist. If you have any kinds of medical conditions, then it&#8217;s wise to consult one before starting this diet. However, in my limited research so far, it appears there&#8217;s a good chance a lot of nutritionists are idiots.<br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://thegrahamsmithsite.com/2011/03/the-paleo-diet/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Getting Started with Git</title>
		<link>http://thegrahamsmithsite.com/2011/02/getting-started-with-git/</link>
		<comments>http://thegrahamsmithsite.com/2011/02/getting-started-with-git/#comments</comments>
		<pubDate>Tue, 08 Feb 2011 00:26:45 +0000</pubDate>
		<dc:creator>Graham</dc:creator>
				<category><![CDATA[Web Design/Development]]></category>

		<guid isPermaLink="false">http://thegrahamsmithsite.com/?p=93</guid>
		<description><![CDATA[A quick introduction: A friend of mine, Nathan Staines, wanted to pick my brains regarding this mythical beast known as &#8216;Version Control&#8217;. His company had requested its staff to install Dreamweaver for the check-in/check-out feature. Nathan, being wise beyond his years, knew there was an alternative. A better alternative. He pitched me a few questions [...]]]></description>
			<content:encoded><![CDATA[<p>A quick introduction: A friend of mine, <a href="http://twitter.com/nathanstaines">Nathan Staines</a>, wanted to pick my brains regarding this mythical beast known as &#8216;Version Control&#8217;. His company had requested its staff to install Dreamweaver for the check-in/check-out feature. Nathan, being wise beyond his years, knew there was an alternative. A better alternative. He pitched me a few questions and I&#8217;ve tried my best to answer them.<span id="more-93"></span></p>
<h3>Why Version Control? &#8211; a.k.a Convincing the Boss</h3>
<blockquote><p>&#8220;&#8230; I was hoping you could point me in the right direction as to how I&#8217;d go about convincing them to use something like Git or SVN as a better solution.&#8221;</p></blockquote>
<p>While I&#8217;ve sworn off Dreamweaver for life and, hence, don&#8217;t know the details of its check-in/check-out feature, I can guarantee that Git/SVN is a better solution. However, they&#8217;re also much harder to learn. While I&#8217;m personally a fan of Git over SVN, it isn&#8217;t for the faint-hearted. You may have seen Andy Clarke&#8217;s recent moan and, stubborn though he may be, his views mirrored the cries of many others.</p>
<p>In Nathan&#8217;s particular circumstance, I&#8217;d recommend SVN. Purely because it has superior Mac GUIs, (<a href="http://versionsapp.com">Versions</a>, <a href="http://www.zennaware.com/cornerstone/">Cornerstone</a>), a shallower learning curve, and is built to run from an externally hosted set of files (repository) making the concept of checking out files and committing changes easier to grasp initially. Windows has TortoiseSVN which integrates straight into menu system. Though, personally, I&#8217;m not a fan.</p>
<p>Git does have a similarly good GUI en-route (<a href="http://git-tower.com">Git Tower</a>), but it&#8217;s currently in Beta, and still trickier to fathom than, say, Versions. Windows has, wait for it&#8230; <a href="http://code.google.com/p/tortoisegit/">TortoiseGit!</a>, which is also still in development. You can of course use the command line for either, and you&#8217;ll see later that for Git, I prefer it.</p>
<p>For either version control system you&#8217;ll need a central repository for each project member to access. SVN has <a href="http://www.beanstalkapp.com">Beanstalk</a> and Git has <a href="http://github.com">Github</a>. There are others, but I&#8217;ve found those two to be the best so far. If you have a capable web developer, or server admin in your midst, they can set up repositories for free on a local server. But often you then can&#8217;t access them from outside the building.</p>
<p>I imagine Dreamweaver&#8217;s check-in system works on the premise of monitoring files modified in a central location, and simply updates files on each machine when it changes on another, kind of like Dropbox. However, version control typically stores changes, as opposed to the files themselves, except in the case of binary files, such as images. So, at every step of the way, you have a trail of amends made to each file from the moment they were initially checked in, allowing easy reverting to an earlier revision, or grabbing some long lost code fragments previously overwritten and bringing that into your current file. The number and frequency of these changes depends on how often &#8216;commits&#8217; are made.</p>
<p>The power of version control comes from features like &#8216;branching&#8217;. If you plan on trying something new and quite different, you can create a testing branch and make whatever changes you like, which prevents you from polluting the main branch with broken/untested code that could break the website, allowing you to merge new features later when you&#8217;re sure it all works.</p>
<blockquote><p>&#8220;Can you use Git to control an entire website, or is it more useful for smaller projects like themes and frameworks?&#8221;</p></blockquote>
<p>You can put anything you like under version control, but text files use the least space, and allow merging of changes between files. Binary files like images are just versioned as whole files because otherwise the merging process would create some very bizarre and undesired results. In all situations I&#8217;ve used version control, it&#8217;ll be a repository per whole website, whether that&#8217;s a Rails or Django project, or a WordPress site.</p>
<h3>Git or SVN?</h3>
<blockquote><p>&#8220;Besides the learning curve is there any reason why you&#8217;d use SVN over Git or vice-versa&#8230; ?&#8221;</p></blockquote>
<p>Being in position of knowing of and having used both, there is no earthly reason I&#8217;d use SVN over Git ever again, aside from being required to by companies who have an archive of SVN repositories.</p>
<blockquote><p>&#8220;I want to use either SVN or Git on my own WordPress site hosted by MediaTemple &#8230; Is there anything special I need to do?&#8221;</p></blockquote>
<p>If you want to get to grips with version control, Git is actually ideally suited to local development. It&#8217;s one of a newer breed of version control systems called a &#8216;DVCS&#8217;, Distributed Version Control System which, by design, does not need a central repository where all the code was kept. It uses that mechanism as an easier way to collaborate on projects.</p>
<p>Working locally, Git is also easier to setup and use than SVN. Particularly if you don&#8217;t mind getting your hands dirty in the Terminal/Command Prompt.</p>
<h3>Getting Up and Running</h3>
<p>Head over to: <a href="http://git-scm.com/">http://git-scm.com/</a> and download the latest version of Git. It should be a straightforward install. <del>If you&#8217;re not using a Mac, you should just kill yourself now, btw. No reason.</del></p>
<p>Once that&#8217;s done, place your website&#8217;s folder structure somewhere easy to maintain and access like the Sites folder in your home directory (Mac), if it&#8217;s not already. I think there&#8217;s a similar folder on Windows machines. Whip open the Terminal/Command Prompt and find the project you want under version control with a command like</p>
<p><code>cd ~/Sites/my-project</code></p>
<p>I think on Windows Vista/7 it would be something like</p>
<p><code>cd c:/Users/your-profile/sites/my-project</code></p>
<p>Then run</p>
<p><code>git init</code></p>
<p>Boom! Your project is now version controlled. Congratulations. Have a cookie.</p>
<p>It&#8217;s advisable to keep the Terminal/Cmd open from now onwards. All you do then is build your website as you would normally. Every so often, flip back to the Terminal/Cmd and, issue:</p>
<p><code>git add .</code></p>
<p>(the full stop is important. Tells git to add <em>all</em> changes), then:</p>
<p><code>git commit -m "description of your changes here"</code></p>
<p>and get back to building your site. You can think of each commit as a snapshot of your folder structure. The more commits you make, the more snapshots. Though, I wouldn&#8217;t worry too much about doing them too often. The &#8216;add&#8217; and &#8216;commit&#8217; functions can be rolled into one with the command:</p>
<p><code>git commit-a -m "description of your changes here"</code></p>
<p>but by splitting them up, you can perform several adds, or even remove/revert changes before finally committing. Not entirely necessary, but gives you that extra level of flexibility, should you need it.</p>
<p>Here is a good point to note that version control systems need telling when you&#8217;ve added or removed files from the folder structure. You&#8217;re telling the Git <em>what to and what not to</em> version. Thinking back to the snapshot idea, Git needs to know when files were added/removed so it can keep an accurate &#8216;state&#8217; of your project. If you&#8217;ve ever used or seen Time Machine, it performs a fairly similar visual representation of what version control does, at its simplest. If you removed a CSS file a two weeks ago, and committed that change, to get it back all you&#8217;d need to do was look back in the project version history and all &#8216;states&#8217; from that time and those preceding it will contain that file.</p>
<p><a href="http://gitref.org/">http://gitref.org/</a> looks to be a nice and concise reference to get you going quickly. Some of the commands you won&#8217;t need until you&#8217;re collaborating with other people and are using a repository, such as clone, pull and push.</p>
<p>Once you&#8217;re familiar with the basic concepts, I&#8217;d advise the getting to grips with Git Tower, currently the best GUI available, and stable enough to use. It makes life easier for deleting, reverting to previous versions, branching and merging. But frankly, if you&#8217;re using add and commit most of the time, I find the Terminal/Cmd is quicker and easier. But if you&#8217;re ever to convince your co-workers of the wonders of Git, it&#8217;ll be handy know how to use the GUI.</p>
]]></content:encoded>
			<wfw:commentRss>http://thegrahamsmithsite.com/2011/02/getting-started-with-git/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Designing in the browser &#8211; A corporate case</title>
		<link>http://thegrahamsmithsite.com/2010/12/designing-in-the-browser-a-corporate-case/</link>
		<comments>http://thegrahamsmithsite.com/2010/12/designing-in-the-browser-a-corporate-case/#comments</comments>
		<pubDate>Mon, 20 Dec 2010 10:36:30 +0000</pubDate>
		<dc:creator>Graham</dc:creator>
				<category><![CDATA[Web Design/Development]]></category>

		<guid isPermaLink="false">http://thegrahamsmithsite.com/?p=88</guid>
		<description><![CDATA[Reading one of Christian Heilmann&#8217;s excellent blog posts caused a great revelation upon my meagre mind (they have a tendency to do that). Imagine, if you will, a website. Not just any website; one that has been created by slicing up a Photoshop document. It&#8217;s for a small &#8211; medium business, so it&#8217;s entirely localised [...]]]></description>
			<content:encoded><![CDATA[<p>Reading one of Christian Heilmann&#8217;s excellent blog posts caused a great revelation upon my meagre mind (they have a tendency to do that). Imagine, if you will, a website. Not just any website; one that has been created by slicing up a Photoshop document. It&#8217;s for a small &#8211; medium business, so it&#8217;s entirely localised to the country from which it originates. This website needed to get out the door quickly so no extra effort was made during the construction.<span id="more-88"></span></p>
<p>And right there, tucked away in the bottom left of this site is a button. Simple, innocuous, but a button all the same. The button&#8217;s design <em>could</em> have been replicated using CSS, but alas, it was not.</p>
<p>Now the company is expanding. In fact, unbeknownst to even their expectations, it&#8217;s taken root in another country. So, now it&#8217;s time to get the translators and convert that site into another language. Oh, but wait, that button we had. Once comfortable in its fixed width glory, now breaks horribly under the weight of the extra characters imposed upon it by the different language. No problem, right? Let&#8217;s just whip open Photoshop and extend the width&#8230; Or do we.</p>
<p>We&#8217;ve all been there. Even us developers who have no right adjusting the design. What&#8217;s just happened, however, is that here we have a button, the development time of which &#8211; if built in pure CSS &#8211; could have taken about the same time as it took to load up Photoshop in the first place. So now we&#8217;ve just <strong>doubled</strong> the development time from the mere action of opening Photoshop at all. For a button. But wait, we&#8217;re not done. We still need to actually tweak the image itself then put it back onto the website. Hang on though, now we&#8217;ve increased the general size of the button in <em>our</em> language. That wasn&#8217;t in the plans. So maybe we should create a separate stylesheet for that language. And the implication soon dawns that, wait, <em>there are other languages too</em>. And yes&#8230; there are more buttons. And, of course, the matter of <strong>the entire website</strong>.</p>
<p>So, for what would have taken less time to implement in the first place, we&#8217;ve just increased development time for a single button by a factor of, what, 10? 20? 100? Maybe we&#8217;ve lost minutes, maybe you took the route of separate stylesheets and instead it&#8217;s now hours to this change. That equates into money very quickly, and this was just a button. And for what? Because it had to look the same in every browser?</p>
<p>Companies, by letting us do what we do best, and doing what we believe is right &#8211; simply because we <em>know what we&#8217;re doing</em> &#8211; we&#8217;re saving you money. A lot of money.</p>
<p>Thank you.</p>
]]></content:encoded>
			<wfw:commentRss>http://thegrahamsmithsite.com/2010/12/designing-in-the-browser-a-corporate-case/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Build Conference Journal &#8211; Day 5</title>
		<link>http://thegrahamsmithsite.com/2010/11/build-conference-journal-day-5/</link>
		<comments>http://thegrahamsmithsite.com/2010/11/build-conference-journal-day-5/#comments</comments>
		<pubDate>Sat, 13 Nov 2010 11:48:42 +0000</pubDate>
		<dc:creator>Graham</dc:creator>
				<category><![CDATA[Build Conference]]></category>

		<guid isPermaLink="false">http://thegrahamsmithsite.com/?p=76</guid>
		<description><![CDATA[I&#8217;m still alive. Let&#8217;s call that a win. The morning is primarily spent in the local Starbucks, writing the previous two day&#8217;s blogs. Nothing&#8217;s planned by any of the remaining Builders (why didn&#8217;t I use that name before?) and you can definitely feel everything winding down. There are 2 final fringe events, one of which [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m still alive. Let&#8217;s call that a win. The morning is primarily spent in the local Starbucks, writing the previous two day&#8217;s blogs. Nothing&#8217;s planned by any of the remaining Builders (why didn&#8217;t I use that name before?) and you can definitely feel everything winding down.</p>
<p>There are 2 final fringe events, one of which is a photo walk round Belfast. Luckily the weather, though cold, has delivered in spades; blue skies and minimal wind. 5 of us group up by the Waterfront and Andy arrives to show us the way. We don&#8217;t even make it 10 minutes before we&#8217;ve stopped off for some lunch, where we&#8217;re joined by one of my design heroes, Sam Brown (@sambrown) and his wife.<span id="more-76"></span></p>
<p>Here we can sit and reflect on the week as a whole. I take the time to congratulate Andy and quiz him on Build&#8217;s future plans. &#8220;When do preparations start for the next Build&#8221;, I ask. He replied, much to my disbelief, &#8220;Monday&#8221;. He really wasn&#8217;t joking when he said this was his job now. Andy is brimming with new ideas and next year&#8217;s will be bigger and better, it seems. There are no plans to ever increase the costs, nor let the conference spill over into a second week. Given how shattered Andy is at this point in the week I ask if he&#8217;ll get anyone to help that he can delegate jobs to. I understand completely when he replies &#8220;No&#8221;, as there&#8217;s a certain feeling of accomplishment attained by getting your hands dirty and being involved in absolutely every facet of the event.</p>
<p>Lunch over, we meander through the streets of Belfast, cameras in hand. Destination: Queen&#8217;s Fim Theatre, the final fringe event. We&#8217;re joined by a few more Builders and shortly thereafter we&#8217;re sitting happily in a theatre all to ourselves, settling down to watch Jurassic Park. A perfect end to a such a mind blowing &#8216;conference&#8217;.</p>
<p>&#8212;-</p>
<p><em>Epilogue</em></p>
<p>This week meant more to me than a simple conference &#8211; however simple it may not have been. I&#8217;d been working non-stop since going full-time freelance a mere 7 months previously, and even before then I can&#8217;t remember the last time I took a holiday. I was undeniably burnt out and this became a way for me to &#8216;pause&#8217;, in the words of Liz Danzico.</p>
<p>I met <em>so many</em> people I can barely remember any names. And each person was just as wonderful as the next. Everyone was so kind and approachable &#8211; speaker, &#8216;web celebrity&#8217; or otherwise. I only hope people found me similarly good natured. Though, when confronted with a man carrying two SLR cameras, it&#8217;s easy for them to be filled with a certain level of&#8230; apprehension. Speaking with them all gave me, in particular, a way to remove one&#8217;s self from our own little microcosms and get back in touch with the people who make this industry what it is. An industry all too easily defined by the work and the publicity of a few select outspoken &#8216;celebrities&#8217;.</p>
<p>Even if by next year I&#8217;m penniless and homeless, I shall strive to find a way to return. A big thank you to Andy, the speakers, and just as importantly, the other attendees. I shall, hopefully, see you all next year!</p>
<p>Now, if you&#8217;ll excuse me, I&#8217;m off to get lynched by the subjects of many of my photos&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://thegrahamsmithsite.com/2010/11/build-conference-journal-day-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Build Conference Journal &#8211; Day 4</title>
		<link>http://thegrahamsmithsite.com/2010/11/build-conference-journal-day-4/</link>
		<comments>http://thegrahamsmithsite.com/2010/11/build-conference-journal-day-4/#comments</comments>
		<pubDate>Fri, 12 Nov 2010 10:50:40 +0000</pubDate>
		<dc:creator>Graham</dc:creator>
				<category><![CDATA[Build Conference]]></category>

		<guid isPermaLink="false">http://thegrahamsmithsite.com/?p=74</guid>
		<description><![CDATA[With the main events having reached their zenith, we&#8217;re left with stonking great hangovers and a few more fringe events for us hardcore conference goers to enjoy for the remainder of the week. A number of us convene for the obligatory fry up, a little worse-for-wear, tired, hungover, but ultimately happy. There was a &#8216;fr00tball&#8217; [...]]]></description>
			<content:encoded><![CDATA[<p>With the main events having reached their zenith, we&#8217;re left with stonking great hangovers and a few more fringe events for us hardcore conference goers to enjoy for the remainder of the week. A number of us convene for the obligatory fry up, a little worse-for-wear, tired, hungover, but ultimately happy.</p>
<p>There was a &#8216;fr00tball&#8217; tournament taking place around midday for those who signed up. Not all it&#8217;s participants managed to turn up on time, and others&#8230; not at all. Several of us wiser folk made our way to the Malmaison&#8217;s cafe instead for coffee, chats and a bit of work. Gradually our numbers dwindled as they began to head off to catch their respective flights. Ultimately, our brains had given up, so we were happy enough to simply vegetate.<span id="more-74"></span></p>
<p>Having lounged our way through the day, we staggered onwards to &#8216;An evening with Threadless&#8217;. Brock Rumer (@brockrumer) took us on a trip through daily life at Threadless. It surprised me to learn just how community focused they are. Opinions of the customers are valued very highly. By the end, we pretty much all wanted to work for Threadless.</p>
<p>And finally there was an app launch party from Onotate (@onotate) but, due to an allergy&#8230; issue&#8230; I duck out and die slowly in my hotel. Fan. Tastic. Heard it was good though, with mentions of people &#8216;eating their own faces&#8217; in the form of decorative cupcakes.</p>
]]></content:encoded>
			<wfw:commentRss>http://thegrahamsmithsite.com/2010/11/build-conference-journal-day-4/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Build Conference Journal &#8211; Day 3</title>
		<link>http://thegrahamsmithsite.com/2010/11/build-conference-journal-day-3/</link>
		<comments>http://thegrahamsmithsite.com/2010/11/build-conference-journal-day-3/#comments</comments>
		<pubDate>Fri, 12 Nov 2010 10:19:10 +0000</pubDate>
		<dc:creator>Graham</dc:creator>
				<category><![CDATA[Build Conference]]></category>

		<guid isPermaLink="false">http://thegrahamsmithsite.com/?p=69</guid>
		<description><![CDATA[Yeah, so&#8230; the drinking. It&#8217;s like a week of pure pub-crawl. It&#8217;s a small miracle that we&#8217;ve made it on time. Though, the morning&#8217;s tweets have indicated several of today&#8217;s participants flew in only mere hours ago. The fools. Christopher Murphy (@fehler) does us proud by swaggering in, arms raised, proclaiming his fragile state. We [...]]]></description>
			<content:encoded><![CDATA[<p>Yeah, so&#8230; <em>the drinking</em>. It&#8217;s like a week of pure pub-crawl. It&#8217;s a small miracle that we&#8217;ve made it on time. Though, the morning&#8217;s tweets have indicated several of today&#8217;s participants flew in only mere hours ago. The fools. Christopher Murphy (@fehler) does us proud by swaggering in, arms raised, proclaiming his fragile state. We all feel better.</p>
<p>And so, we have survived (in a manner of speaking), and this is the day we&#8217;ve been waiting for. Now that all the attendees are here, it&#8217;s good catching up with other speakers and folk whom you&#8217;ve met at other conferences. Or Maybe that&#8217;s just me. I&#8217;m as inevitable to conferences as the post-conference hangover. There&#8217;s free coffee and tea, but, oddly, no free water. Then there&#8217;s the schwag. Buttons, badges, pens and pencils, notepads, stickers and the like, adorn table tops for us to cherry pick. And, pulling out all the stops, there&#8217;s free pick &#8216;n mix! Build branded Hoodies and Shirts are available shortly during the first break for us to purchase.<span id="more-69"></span></p>
<p>I won&#8217;t dwell too heavily on the talks. They&#8217;ll all be released in glorious haytch-dee-o-vision soon enough. Andy took to the stage to kick off the day and quickly introduces Tim Van Damme (@maxvoltar) and Keegan Jones (@keeg) who cover designing for mobile platforms. A two-man talk is a tricky style to pull off, and I&#8217;m not pesonally convinced of the format, but their talk is good; insightful and full of practical information, so I&#8217;ll let them off&#8230; For now. And during the talk, for our amusement, Tim gets groped by a sound technician after his microphone fails. Highlight of the event, that.</p>
<p>Tim Brown (@tbrown) does his best to inform me of the intricacies of typography, much of which goes over my head, you know, because of my stupidity. But his talk is well delivered (He informs me later that night it was his first time conference speaking. Fooled me, I tell you.) and considering the more niche subject, held my attention pretty capably.</p>
<p>I had heard already that lunch would take place in a &#8216;rented market&#8217;, but still couldn&#8217;t quite believe it until I&#8217;d seen it. Several vendors had set their stalls up in an unused marketplace for us to choose our food preference. I had soup. Tomato and Basil. Because I know you care. This was such a nice touch, and one I reckon it&#8217;ll be hard to top in other conferences.</p>
<p>Frank Chimero (@fchimero), robed in tweed, and Liz Danzic (@bobulate) change things up a bit in each of their talks by covering topics outside of the normal design discussions. Liz is right at home on stage and her talk in particular about &#8216;The Pause&#8217; makes a refreshing change from the usual conference topics but still maintains heaps of relevancy and tips for all facets of life, not just our work.</p>
<p>Meagan Fisher (@owltastic) has, by far, the most beautiful slides. With more than a hint of nerves she relates her work methodologies and inspirations, as we stare, mouths gaping at each hand-crafted slide illustrations.</p>
<p>Dan Cederholm (@simplebits), unfortunately, had the most disappointing talk in my opinion. A master craftsman and a leader in the field, the talk itself is fantastic and Dan is one of the more accomplished speakers I&#8217;ve seen in a while, but he&#8217;s using a battle hardened series of slides, the topic of which has become common knowledge in only a few months previous. Really, it&#8217;s more to do with the fact that I was already up to speed with what he was covering. I know others found it inspirational.</p>
<p>Aside from the slight microphone hiccup, the day went off without a hitch. Before we left, Andy revealed next year&#8217;s lineup, and other little secrets and plans headed our way in the not-to-distance future.</p>
<p>With the talks concluded we made our way on to the night&#8217;s proclivities. MediaTemple had graciously organised a free bar which lasted until some time after midnight. I&#8217;d lost track of time at that point. As had most people. The after-party gave us the opportunity to impress upon the speakers our <em>amazing knowledge</em>, or embarrass ourselves beyond all comprehension. I&#8217;m sure it was all there in equal measure.</p>
]]></content:encoded>
			<wfw:commentRss>http://thegrahamsmithsite.com/2010/11/build-conference-journal-day-3/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Build Conference Journal &#8211; Day 2</title>
		<link>http://thegrahamsmithsite.com/2010/11/build-conference-journal-day-2/</link>
		<comments>http://thegrahamsmithsite.com/2010/11/build-conference-journal-day-2/#comments</comments>
		<pubDate>Wed, 10 Nov 2010 11:40:31 +0000</pubDate>
		<dc:creator>Graham</dc:creator>
				<category><![CDATA[Build Conference]]></category>

		<guid isPermaLink="false">http://thegrahamsmithsite.com/?p=65</guid>
		<description><![CDATA[The previous day&#8217;s drinking makes itself known. Recovering as best I can I decide to finish up the blog from yesterday&#8217;s antics. I pay £5 for an hour of the hotel&#8217;s wifi only to squander the whole hour writing the post itself. I take a moment to have a little cry. Upon realising I&#8217;m close [...]]]></description>
			<content:encoded><![CDATA[<p>The previous day&#8217;s drinking makes itself known. Recovering as best I can I decide to finish up the blog from yesterday&#8217;s antics. I pay £5 for an hour of the hotel&#8217;s wifi only to squander <em>the whole hour</em> writing the post itself. I take a moment to have a little cry. Upon realising I&#8217;m close enough to spit on the venue where the day&#8217;s workshops are taking place from my room, I do. Then I go and say hi to Andy and steal their wifi instead.</p>
<p>A short consultation with Andy and I&#8217;m armed with the knowledge of good places for lunch. And with that, I take to the streets. This conference-turned-festival, after all, isn&#8217;t just about the events.<span id="more-65"></span></p>
<p>I&#8217;m going to go ahead and assume the workshops were awesome. During which time, I roamed the streets aimlessly, camera in hand, until lunchtime reared its empty belly. Tweets were tweeted, hashtags&#8230; umm&#8230; hashed. One epic burger later I&#8217;d made my way to Social 21, where we&#8217;d be quizzing like maniacs in the evening. I find several reprobates, also known as my quiz teammates, Cole (@cole007) and Robbie (@rougebert), accompanied by Sam (@sambrown) infesting the joint like a rash. I show them the way to the Duke of York and the switch from lunch to pub crawl is imperceptible.</p>
<p>At this point it&#8217;s best I tell you of a certain tradition, or perhaps, epidemic, that permeates conferences like these. Poopin&#8217;. Should you find someone&#8217;s smartphone laying helplessly on a table, the owner of which is either buying drinks, or <em>actually</em> headed to the toilet, it&#8217;s customary to open up their twitter app and post Poopin&#8217;. Hilarious, no? Anyway, it turns out that other devices are ripe for a poopin&#8217; situation. Such as my camera. The bastards. Thankfully, the photos remain of a family-friendly nature.</p>
<p>With many of our phones dying, we head back to our respective hotels for a recharge and about an hour later reconvene for Jessica&#8217;s talk.</p>
<p>The majority of the conference attendees have turned up. Jessica&#8217;s talk is fantastic. An accomplished speaker, she effortlessly weaves tales full of humour and charm around her beautiful designs and hand-crafting lettering.<br />
With the talk wrapped up, many gather round her Drop Cap collection still on display downstairs. As may be apparent by now, this conference is all about the people and the constant mingling.</p>
<p>Then: The quiz. Sweet baby jesus. The Standardistas have crafted questions made of pure torture. iPhones, iPads and Macs littered the tabletops as we battled against a form of psychological torture crafted deep within the pits of Tartarus. That night, we wept. At least there was beer.</p>
<p>I met <em>so many people</em> that night, it was ridiculous. There are no barriers here. Tomorrow, the talks begin. And there we were, 2.30 in the morning, in the Malmaison bar. Still drinking&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://thegrahamsmithsite.com/2010/11/build-conference-journal-day-2/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/

Page Caching using disk: enhanced
Database Caching using disk: basic
Object Caching 426/546 objects using disk: basic

Served from: thegrahamsmithsite.com @ 2012-05-19 11:47:46 -->
